LiteLLM · Direct Setup
Settings Config
Save to litellm_config.yaml on your LiteLLM proxy:
litellm_settings:
callbacks: ["otel"]
# Redacts prompts, completions, and tool-result text from all callbacks.
# Token counts, model, latency, and user attribution are still sent.
turn_off_message_logging: True
environment_variables:
OTEL_EXPORTER: "otlp_http"
OTEL_ENDPOINT: "https://telemetry.mstone.ai/v1/traces"
OTEL_HEADERS: "x-shared-secret=<your-shared-secret>"
Restart LiteLLM proxy
Close and reopen the LiteLLM proxy for settings to take effect.