This repository contains comprehensive OpenTelemetry setup examples for different programming languages and frameworks. This README serves as a directory for LLMs to quickly locate and understand the available documentation and examples.
- Main Documentation:
go/README.md
- Generic OpenTelemetry setup that works with any Go HTTP framework
- Comprehensive examples for traces, metrics, and logs using OTLP exporters
- HTTP instrumentation compatible with standard library and popular frameworks
- Structured logging with slog integration
- Tested dependency versions in
go/go.mod
- Main Documentation:
python/README.md
- Overview of Python OpenTelemetry instrumentation approaches
- Both manual and automatic instrumentation methods
- Comprehensive coverage of traces, metrics, and logs using OTLP exporters
- Framework-agnostic patterns and best practices
-
FastAPI:
python/fastapi/README.md
- Async/await compatible OpenTelemetry setup for FastAPI applications
- ASGI middleware integration and background task instrumentation
- Tested dependency versions:
python/fastapi/requirements.txt
-
Flask:
python/flask/README.md
- WSGI-based OpenTelemetry setup for Flask applications
- Route-level instrumentation and error handler integration
- Tested dependency versions:
python/flask/requirements.txt
-
gRPC:
python/grpc/README.md
- Client and server instrumentation for gRPC applications
- Protobuf integration and bidirectional streaming support
- Tested dependency versions:
python/grpc/requirements.txt
- Main Documentation:
typescript/README.md
- Generic setup using NodeSDK with automatic instrumentation
- Works with Express, Fastify, Koa, and other Node.js frameworks
- Separate server and client configurations
- Tested dependency versions:
- Server:
typescript/server/package.json
- Client:
typescript/client/package.json
- Server:
- TanStack Start:
typescript/tanstack-start/README.md
- Specific setup instructions for TanStack Start applications
- Server and client entry point configurations
- Environment variable handling for client-side telemetry