Crate polkadot_node_subsystem::jaeger
source · Expand description
Polkadot Jaeger related primitives
Provides primitives used by Polkadot for interfacing with Jaeger.
Integration
See https://www.jaegertracing.io/ for an introduction.
The easiest way to try Jaeger is:
- Start a docker container with the all-in-one docker image (see below).
- Open your browser and navigate to https://localhost:16686 to access the UI.
The all-in-one image can be started with:
podman login docker.io
podman run -d --name jaeger \
-e COLLECTOR_ZIPKIN_HTTP_PORT=9411 \
-p 5775:5775/udp \
-p 6831:6831/udp \
-p 6832:6832/udp \
-p 5778:5778 \
-p 16686:16686 \
-p 14268:14268 \
-p 14250:14250 \
-p 9411:9411 \
docker.io/jaegertracing/all-in-one:1.21
Structs
- Configuration for the jaeger tracing.
- Jaeger configuration builder.
- A special “per leaf span”.
Enums
- Stateful convenience wrapper around
mick_jaeger
. - A description of an error during jaeger initialization.
- A wrapper type for a span.
- A helper to annotate the stage with a numerical value to ease the life of the tooling team creating viable statistical metrics for which stage of the inclusion pipeline drops a significant amount of candidates, statistically speaking.
Functions
- A helper to convert the hash to the fixed size representation needed for jaeger.