Leverage OpenTelemetry with Portkey for comprehensive LLM application observability, combining gateway insights with full-stack telemetry.
YOUR_PORTKEY_API_KEY
with your actual Portkey API Key found in your Portkey Dashboard.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT="https://api.portkey.ai/v1/otel/v1/traces"
For Logs:
OTEL_EXPORTER_OTLP_LOGS_ENDPOINT="https://api.portkey.ai/v1/otel/v1/logs"
OTEL_EXPORTER_OTLP_HEADERS
with your API key for these as well.Get your Portkey API key
Choose an instrumentation library
Configure the endpoint
https://api.portkey.ai/v1/logs/otel
with your API keyStart tracing