apm-agent-php
apm-agent-php copied to clipboard
Elastic APM PHP Agent
See meta issue for the description and details: - Meta issue: https://github.com/elastic/apm/issues/671
- [x] #826 - [x] #827 - [ ] #812 - [ ] #816 - [ ] Automatically discover service name - [ ] #905 - [ ] Automatically name...
Checks are for keys 'restart_pending' and 'restart_in_progress'
The elastic [guide](https://www.elastic.co/guide/en/apm/guide/current/reduce-apm-storage.html#_reduce_collected_stack_trace_information) says: > Elastic APM agents collect stacktrace information under certain circumstances. This can be very helpful in identifying issues in your code, but it also comes with...
When php-curl-class sets `CURLOPT_CUSTOMREQUEST` to `null`: https://github.com/php-curl-class/php-curl-class/blob/57745cabd6077c2f4ac7fed837e246d83e18ec74/src/Curl/Curl.php#L754 `CurlHandleTracker` checks if the value of `CURLOPT_CUSTOMREQUEST` is a `string`: https://github.com/elastic/apm-agent-php/blob/a457869b0c15e95b61a41bd75da7208a64b18c94/src/ElasticApm/Impl/AutoInstrument/CurlHandleTracker.php#L350-L352 Becase of it's `null` the agent throws an error: ``` InternalFailureException: Unexpected...
This should solve #575, #596, and #639. This could probably use some cleaning up, but it worked when I tested it, and it gathered the latency of mysqli requests. I'm...
I have a default config for .ini files but I can't overwrite them with ENV config. Seems like the configuration first looks in ini file and if it exists returns...