Sample application showing how to write up ASP.NET Core REST API application with OpenTelemetry and export:
- metrics to the Prometheus;
- logs to the Grafana Loki;
- traces to the Grafana Tempo.
- all telemetry to the Azure Application Insights
Three architectural solutions are used:
- The Prometheus scrapes metrics from the application.
- The application pushes logs to Loki.
- The application pushes traces to Tempo.
- The application pushes logs, traces, and metrics to the OpenTelemetry Collector.
- The Prometheus scrapes metrics from the Collector. The collector pushes logs to the Loki and traces to the Tempo.
- The application pushes logs, traces, and metrics to the Azure Application Insights.
The solution was based on an article.
Video record: https://youtu.be/GXtUC_5pgco (rus)