LiteLLM logging and observability

Sending LiteLLM request logs, traces, metrics and alerts to the observability, SIEM and storage tools teams already run.

LiteLLM with Langfuse for traces and prompt logs

Sending LiteLLM traffic to self-hosted or cloud Langfuse: the OpenTelemetry v2 langfuse_otel preset versus the SDK callback, Langfuse v3 and v4 requirements, and which metadata to attach for useful traces.

LiteLLM logs in Splunk Observability Cloud

Sending LiteLLM traces to Splunk Observability Cloud with the built-in OpenTelemetry callback: ingest token and realm, the /v2/trace/otlp endpoint, and where LiteLLM data lands in Splunk.

Archiving LiteLLM request logs to S3, GCS or Azure Blob

Keeping durable copies of gateway request logs in object storage for audits and investigations: bucket callbacks, service account setup, the Enterprise license for GCS and Azure Blob export, and retention rules on the bucket.

Storing prompts and responses in LiteLLM request logs

Deciding whether LiteLLM should keep request and response bodies: the default of metadata only, store_prompts_in_spend_logs from the UI or config, storage growth, masking content before it reaches logging callbacks, and per-team logging opt-outs.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.