Apm: when to support php?

Created on 14 Nov 2018  路  12Comments  路  Source: elastic/apm

when to support php? apm-agent-php

Most helpful comment

Our PHP agent repo is now live! With this repo now available, we are one step closer to a preview release. Check out the repo and leave us feedback!

All 12 comments

We don't have official support for PHP, and it's currently not on the roadmap.

But there exist a few Elastic APM PHP agents build by the community:

(I haven't personally used any of them, so I don't know how good they are)

Thank you for your answer. And May I ask why apm-agent-php is not on your roadmap?

@jianzzz we have a lot of other tasks that have higher priority. Personally I'd like to see an official PHP agent for Elastic APM, but I hope the community versions that have been developed serve the immediate need.

I can't unfortunately say when it will be added to the roadmap as it depends on a lot of factors, but believe me, it's something we'd really like to do.

I've used both NewRelic and AppDynamics in the past. Either of those C libraries would be perfectly suited for APM inside PHP - obviously ES would need to negotiate a license for their PHP C code to enable APM metrics collection for PHP 7+. It would be great to not have to use PHP code to get data in and also to not have to edit the source code of my application to do it.

@watson PHP is the most widely used language on the internet you guys are clearly underestimating it by not prioritising it, just saying...

@aftabnaveed I hear you 馃憤 We actually had more requests for .NET and Java than we did for PHP which is why we prioritized those agents higher. The Java recently went out of beta and the .NET agent is currently under development. But I completely agree that it would be good to have an official PHP agent as well, as there's quite a few requests for that as well.

Can I ask if you're tried to use the one of the community developed PHP agents, for example https://github.com/philkra/elastic-apm-php-agent?

I'd love to get your feedback on it 馃槂

@watson yes I did try and it just works, but not having an official backing will always lack new features and bug fixes. I am an elastic cloud customer and really like the stack but ignoring one of the popular languages and not having a timeframe for it is a bit annoying.

Btw, if it can be used as inspiration, Datadog has released their beta client for PHP tracing, which includes an extension to allow for monkey patching: https://github.com/DataDog/dd-trace-php

is there any updates regarding official php client?
Both community clients seem to have been abandoned

@nehaduggal Do we have any tentative dates for the release? This will help us in planning a lot internally.

Our PHP agent repo is now live! With this repo now available, we are one step closer to a preview release. Check out the repo and leave us feedback!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

axw picture axw  路  11Comments

felixbarny picture felixbarny  路  7Comments

alvarolobato picture alvarolobato  路  7Comments

axw picture axw  路  6Comments

watson picture watson  路  3Comments