ASP.NET Core 7: using OpenTelemetry to send traces/metrics to Grafana
I'm trying to send metrics/traces from my ASP.NET Core 7 application to Grafana. Here's my Docker Compose file. version: '3.4' networks: my-network: name: my_network services: sample.restaurant.server: image: ${DOCKER_REGISTRY-}samplerestaurantserver build: context: . dockerfile: sample/Sample.Restaurant.Server/Dockerfile environment: - ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_URLS=https://+:443;http://+:80 - OTEL_EXPORTER_OTLP_ENDPOINT=grpc://otel-collector:4317…