OpenTelemetry Metrics
I'm trying to configure an ASP.NET Core application to send metrics that I can then view via Grafana. I'm pretty confused about the whole observability architecture.
Key points:
My confusion: I'm lost in the architecture.
Key points:
- Everything is running within Docker Compose
- I've managed to configure ASP -> OTLP -> Loki -> Grafana
- I've managed to configure Prometheus to scrape OTLP metrics
HttpProtobuf mode with the HTTP endpoint injected from env.My confusion: I'm lost in the architecture.
- Do I need OTLP? Why is it useful?
- How does Prometheus come into play? Do I send metrics ASP -> OTLP and then configure Prom. to scrape that? Or expose my ASP metrics for Prom. to scrape and expose to Grafana?
Excerpt fromdocker-compose.yml