Python API service built with FastAPI and instrumented with OpenTelemetry for traces, metrics, and logs.
Implements /health and /forward endpoints. Exports telemetry via OTLP/gRPC
to an OpenTelemetry Collector.
docker run -p 8080:8080 \
-e OTEL_EXPORTER_OTLP_ENDPOINT=http://collector:4317 \
-e PY_FASTAPI_FORWARD_URLS="https://httpbin.org/get" \
cameronx/otel-polyglot-py-fastapi
Full documentation, configuration, and development instructions:
https://github.com/CameronXie/otel-polyglot/tree/main/services/py-fastapi
Content type
Image
Digest
sha256:4b1ac4f4d…
Size
59.6 MB
Last updated
5 months ago
docker pull cameronx/otel-polyglot-py-fastapi