mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
b8b3ef02e4
This adds tooling to debug and inspect traces locally, please refer to the README.md in this commit for more details. |
||
---|---|---|
.. | ||
docker-compose.yml | ||
otel-collector-config.yaml | ||
prometheus.yml | ||
README.md |
Telemetry tools
Running the services specified in the docker-compose.yml
file will give you access to:
- The Jaeger UI with both the
/monitor
(latency, errors, req/sec) and/search
(traces) tabs ready to use. - A Prometheus server used by Jaeger with enhanced monitoring data provided by OpenTelemetry.
To get started:
- Start the necessary services by running
docker compose up
in this directory. - Start the Fleet server with telemetry enabled and configured with this:
OTEL_SERVICE_NAME="fleet" \
OTEL_EXPORTER_OTLP_ENDPOINT="http://localhost:4317" \
./build/fleet serve \
--logging_tracing_enabled=true \
--logging_tracing_type=opentelemetry \
--dev --logging_debug
Afterward, you can navigate to http://localhost:16686/ to access the Jaeger UI.