# Transaction headers for APM

**URL:** <https://discuss.elastic.co/t/transaction-headers-for-apm/362713>\
**Category:** APM\
**Tags:** php\
**Created:** [July 8, 2024, 1:19pm UTC](https://discuss.elastic.co/t/transaction-headers-for-apm/362713 "2024-07-08T13:19:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KleinenberG](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kleinenberg/32/125623_2.png) [@KleinenberG](https://discuss.elastic.co/u/KleinenberG)\
**Post date:** [July 8, 2024, 1:19pm UTC](https://discuss.elastic.co/t/transaction-headers-for-apm/362713/1 "2024-07-08T13:19:27Z")

</div>

Hello everyone! I'm facing a problem. Maybe you can tell me something. Deployed php elastic apm agent. In the logs I fix errors

```auto
$_SERVER does not contain `HTTP_HOST' key
Failed to discover path part of URL to derive transaction name - using default transaction name
$_SERVER does not contain `REQUEST_URI' key

```

Errors appear when scraping metrics by `php-fpm-exporter` from endpoint `tcp://127.0.0.0.1:9000/php-fpm-status`  
In general, as I understand, it is logical, apm sees the variables, because the connection goes to the socket(9000) and is scolded, hence the exception of this uri in the config `transaction_ignore_urls` does not work.  
Is there any other way to exclude these transactions from apm?

Translated with [DeepL Translate: The world's most accurate translator](http://www.DeepL.com/Translator) (free version)

---

<div class="post-metadata">

**Author:** ![Sergey\_Kleyman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergey_kleyman/32/39333_2.png) [@Sergey\_Kleyman](https://discuss.elastic.co/u/Sergey_Kleyman)\
**Post date:** [July 16, 2024, 7:23am UTC](https://discuss.elastic.co/t/transaction-headers-for-apm/362713/2 "2024-07-16T07:23:46Z")

</div>

Hi @KleinenberG - welcome to the community!

If we make it possible to include default transaction name (i.e., `Unnamed transaction`) in `transaction_ignore_urls`'s value will it solve your use case?
