Sign inSign up

cameronx/otel-polyglot-py-fastapi

By cameronx

•Updated 5 months ago

Image
0

368

cameronx/otel-polyglot-py-fastapi repository overview

⁠otel-polyglot-py-fastapi

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.

⁠Quick Start

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

⁠Documentation

Full documentation, configuration, and development instructions:

https://github.com/CameronXie/otel-polyglot/tree/main/services/py-fastapi⁠

Tag summary

Content type

Image

Digest

sha256:4b1ac4f4d…

Size

59.6 MB

Last updated

5 months ago

docker pull cameronx/otel-polyglot-py-fastapi