apm-agent-php icon indicating copy to clipboard operation
apm-agent-php copied to clipboard

Can't block `Unnamed transaction` from /status php-fpm

Open goffyara opened this issue 5 months ago • 0 comments

I use healthcheck by https://github.com/renatomefi/php-fpm-healthcheck that requests /status endpoint php-fpm.

Several options to ignore this url doesn't work: ENV ELASTIC_APM_TRANSACTION_IGNORE_URLS="health, status" ENV ELASTIC_APM_TRANSACTION_IGNORE_URLS="/health, ^/status" ENV ELASTIC_APM_TRANSACTION_IGNORE_URLS="/health, /status" ENV ELASTIC_APM_TRANSACTION_IGNORE_URLS="/health, */status*"

Client apm version: 1.13.1.

Image

Steps to reproduce the behavior:

  1. Config php-fpm status
[www]
listen = 9000
pm.status_path = /status
  1. config by envs ENV ELASTIC_APM_TRANSACTION_IGNORE_URLS="/health, /status"
  2. Run php-fpm-healthcheck

Expected behavior No Unnamed transaction transaction in APM

goffyara avatar Sep 04 '24 15:09 goffyara