Telemetry collection
Telemetry data (logs, metrics, and traces) are collected for
GlobalDcc.Api.Server
, GlobalDcc.Backend.Server
, and
GlobalDcc.RoadNetManager.Server
. For each of these projects their Startup
classes calls static methods to take care of setting this up.
The OTEL...
environment variables set in
\dev\docker-compose\docker-compose.yml
and \dev\docker-compose\.env
ensures
that logs, metrics, and traces are send to AMCS's Grafana Playground environment
when Global DCC is started from docker-compose (i.e. when you as a developer
starts Global DCC). To view logs, metrics, and traces in Grafana Playground:
- Go to Explore in the Grafana dashboard.
- In the search box type "play".
- From the search box's drop down select:
- "Mimir Playground" to query metrics.
- "Loki Playground" to query logs.
- "Tempo Playground" to query traces.
- To only see data from Global DCC api/backend/road net manager set the service name gdcc-api/gdcc-backend/gdcc-roadnetmanager in the query.
See also DevOps's guide.