Skip to content
ricochet

OpenTelemetry

Ricochet can send traces to any OpenTelemetry (OTel) backend over the OpenTelemetry Protocol (OTLP). Jaeger and Grafana are two examples.

Ricochet shows up as the ricochet-server service and sends spans in async batches.

Add an [otel] section to ricochet-config.toml. Set endpoint to the URL of your OTLP collector:

[otel]
endpoint = "http://localhost:4317"

Jaeger is an open source OTLP collector that works with ricochet out of the box.

Start the Jaeger container:

Terminal window
docker run -d --name jaeger \
-p 4317:4317 \
-p 16686:16686 \
cr.jaegertracing.io/jaegertracing/jaeger:<version>

Add the following to ricochet-config.toml:

[otel]
endpoint = "http://localhost:4317"

Start ricochet and open http://localhost:16686 to see traces in the Jaeger UI.