graph LR;
pino["Pino Opentelemetry Transport"]
otel["OTEL Collector"]
loki["Loki"]
grafana["Grafana"]
pino-->otel;
otel-->loki;
loki-->grafana;
Run the required infra locally with
docker compose up
It will boot Grafana, Loki and an Opentelemetry Collector.
Loki ingester readiness can be checked at http://localhost:3100/ready.
The logs can be inspected in Grafana UI at http://localhost:3000/explore.
This article explains how to inspect OTLP data in the Grafana UI.
Run the trace-context example, but skip the docker compose up
part