Closed strelok29 closed 1 month ago
Auto-instrumentation doesn't generate metrics. Usually the types of metrics you're after are generated from spans (traces). Most APM products do this, but you can also use the opentelemetry collector's spanmetrics connector
Describe your environment
We are encountering an issue when trying to implement OTEL on our Laravel app, and we are trying to get the traces and metrics from our app using auto instrumentation. The traces part works fine, but the metrics seem to be empty or not working
Below are the details of our conditions.
Environment:
We are using these OTEL packages
Environment variables on our app
Steps to reproduce deploy Laravel app using the given details
What is the expected behavior? I can find the metrics on Prometheus https://opentelemetry.io/docs/specs/semconv/http/http-metrics/
What is the actual behavior? I can't find the metrics on my Prometheus server