elastic / elastic/apm-agent-php
Can't block `Unnamed transaction` from /status php-fpm
- Dominant language
- PHP
- Stars
- 268
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
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.

Steps to reproduce the behavior:
1. Config php-fpm status
```sh
[www]
listen = 9000
pm.status_path = /status
```
3. config by envs ENV ELASTIC_APM_TRANSACTION_IGNORE_URLS="/health, /status"
4. Run `php-fpm-healthcheck`
**Expected behavior**
No `Unnamed transaction` transaction in APM
Contributor guide
Assessment
This issue has not been assessed yet.