Closed mnbp1371 closed 3 years ago
Firstly, did you register the provider? do you have the agent extension installed on your host machine? Secondly, due to the breaking changes in the elastic apm agent, it'll break. it will not be maintained due to the breaking changes. after the agent become stable, will work on it hopefully.
I had registered the provider in app.php and i had installed the apm-agent-php from https://github.com/elastic/apm-agent-php/releases/tag/v1.0.0
Now I get the following error:
Call to undefined method Elastic\Apm\Impl\Span::setLabel()
This seems to be a problem with your package. Do I guess right?
tanks
Firstly, the package was unmaintained due to the instability of the dependency. and check the installation process. https://www.elastic.co/guide/en/apm/agent/php/current/setup.html
seyed php agent extention works and sends all the reports to the apm system but your package gives the error I told you about. It should be noted that I am using the lumen.
If you missed the readme, please go through it again. Thanks. https://github.com/ssi-anik/elastic-apm-php/blob/03ddc1c2283474394a309dd42e0d5de7aa9cccf8/readme.md
I installed this package by composer but the below error occurred:
Class apm-agent does not exist.
Is there any requirements for this package? Or what should I do for config that?