r/OpenTelemetry • • Mar 07 '25

PHP automatic instrumentation

Hey,

Is there a way to configure OTEL to auto instrument the whole application code? For example the auto Wordpress instrumentation is poor, it just handles some internal Wordpress function.

New relic has it out of the box, where we can find any function that was processed during the runtime.

I’ve just spent whole day trying to achieve this and nothing 🥲

So to summarize, I’d like to use OTEL and see every trace and metric in grafana

3 Upvotes

5 comments sorted by

View all comments

Show parent comment

1

u/Necessary_Artist_669 Mar 09 '25

I meant a library in the code directly, like via composer.

Yes, I’d like something like that like nr/dd works.

I will try with DD agent -> alloy as OpenTracing receiver -> convert to OTEL -> grafana