mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
* sally forth into the great otel unknown * make the build env identification slightly more durable * docs updates * wasm recompile |
||
---|---|---|
.. | ||
docker-compose.yml | ||
grafana-datasources.yaml | ||
loki-local-config.yaml | ||
multi_curl.sh | ||
prometheus.yml | ||
README.md | ||
startup.sh | ||
tempo.yaml |
OpenTelemetry for Kanidm
First, start the containers. You can use docker-compose if you know how, or ./startup.sh
is a
shortcut. You'll need docker (or similar) and docker-compose (or something that can handle
docker-compose.yml
).
Once that's stopped scrolling for a bit, run the Kanidm server, setting the otel_grpc_url
to
http://localhost:4317
Then access the Grafana UI and start clicking on traces 😁
Architecture of the docker containers
graph TD;
K[Kanidmd] --"OTLP tcp/4317"--> T
U[User] --tcp/3000--> G[Grafana]
G --tcp/3200-->T["Tempo (Traces)"]
G --tcp/9090-->P["Prometheus (Metrics)"]
T--cache-->TDV["Tempo Docker Volume"]
T--tcp/9000-->M["Minio (S3 Storage)"]
P--tcp/9000-->M
P--cache-->PDV["Prometheus Docker Volume"]
M-->DVM["Minio Docker Volume"]