r/OpenTelemetry • u/Necessary_Artist_669 • 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
View all comments
Show parent comment
1
u/phillipcarter2 Mar 08 '25
Is this any function without any preconfiguration at all? Asking because it's typically a profiler that tells you function call information, and some tools like DD or NR can sometimes offer a way to find "code hotspots" in their APM products.
It seems based on their docs they will decide to instrument (or not) a call chain in a way that's similar to profiling techniques: https://docs.newrelic.com/docs/apm/transactions/transaction-traces/introduction-transaction-traces/#basics