How LiteLLM OpenTelemetry tracing works and when to use it
A platform team running a self-hosted LiteLLM gateway often needs request-level traces in a backend it already operates, so a slow or failing model call can be followed from the incoming HTTP request to the provider response. LiteLLM's OpenTelemetry v2 integration, enabled with LITELLM_OTEL_V2=true, emits one trace per request covering HTTP handling, authentication, guardrails, the LLM call and database writes. The trace data follows the GenAI semantic conventions, so attribute names stay consistent with what other instrumented GenAI services emit.
OpenTelemetry is vendor-agnostic and does not store or visualize data. It generates and exports telemetry, so you still need a backend such as Jaeger or Tempo, usually reached through an OpenTelemetry Collector that receives OTLP from the gateway and forwards it onward. LiteLLM also ships presets for Arize, Phoenix, Langfuse and Weave. Confirm the exact preset settings and environment variables for your LiteLLM version in the LiteLLM OpenTelemetry documentation before you rely on them.
For a backend without a preset, the generic OTLP path is the route: point the gateway's OTLP exporter at your collector endpoint and let the collector handle batching, filtering and export to your store. Decide early whether prompt and response content appears in span attributes, because that determines who can read the traces and how long they are kept. Confirm with your security team which attributes the traces will carry, and test with synthetic prompts in a non-production environment first. Also confirm that the database write spans appear in your chosen backend, since they are useful for finding slow spend-update or key-lookup paths.
What you need before enabling LiteLLM traces
Tracing adds a telemetry path on top of a running gateway, so the gateway version, its data stores and the collector each need to be settled first. The cards below cover what to confirm in each layer before you set any tracing variables.
Confirm the LiteLLM release line
Check the release line you plan to run against the LiteLLM releases page before writing any configuration. The OpenTelemetry v2 integration is switched on with the LITELLM_OTEL_V2 setting, and the exact variable names, OTLP endpoint and header format must be confirmed in the LiteLLM OpenTelemetry documentation for the version you deploy. Pin the image tag so the tracing behavior does not change during a routine restart.
- Latest listed release
- v1.105.1
PostgreSQL for the proxy
The proxy needs a PostgreSQL database for virtual keys, budgets and spend records, and the database calls are part of the trace. Confirm the database is reachable from the proxy pods and that connection limits leave room for the proxy workers. Spans for database writes will show slow queries, so a database that is not sized for the proxy will make traces look like gateway latency.
LiteLLM production guideRedis when running multiple instances
Once more than one proxy instance runs, Redis 7.0 or newer holds shared rate limits, router state and cache. Without it, each instance sees different limit counters, so a trace may show a request that was allowed by one instance and blocked by another. Confirm the Redis version and that every proxy instance can reach the same Redis endpoint.
An OpenTelemetry Collector build and channel
Decide whether the Collector runs as an agent beside the proxy or as a gateway that receives traces from several sources. Choose a build from the contrib distribution or a custom build made with the Collector builder, and record the release version and channel you test. Verify each artifact's signature, SHA256 checksum and SBOM before it reaches a cluster you control.
Collector releasesTrace backend endpoint and credentials
Record the OTLP endpoint your backend accepts, the protocol it expects, and how it authenticates requests. Jaeger, Tempo and other backends differ in ports, paths and token headers, so confirm these in each backend's own documentation. Store any token in a secret manager and give the proxy the narrowest write permission the backend supports.
Network paths from proxy to collector
Map every hop from proxy pods to the Collector and from the Collector to the backend, including namespace policies, egress rules and any TLS inspection. A trace exporter that silently fails is hard to diagnose, so test a single request end to end and confirm the span appears before enabling tracing for all traffic. Check the configuration security practices for the Collector before exposing its receivers beyond the cluster.
Collector security practicesHow to configure LiteLLM traces to a collector
This sequence connects a self-hosted LiteLLM proxy to an OpenTelemetry Collector and confirms that each request produces one trace you can open in your tracing backend.
Confirm the LiteLLM version supports v2 tracing
Before changing anything, check the LiteLLM release your gateway runs against the OpenTelemetry integration page in the LiteLLM docs. The v2 integration is enabled with LITELLM_OTEL_V2=true and is the path that produces one trace per request across HTTP, auth, guardrails, the LLM call and database writes. Record the running version from the proxy and confirm it is on a supported release line, since LiteLLM supports the four most recent stable minor versions. You are done when the version is written down and the docs page matches it.
Set the v2 flag and OTLP exporter variables
Set LITELLM_OTEL_V2=true in the proxy environment, then add the OTLP exporter settings listed in the LiteLLM OpenTelemetry docs, such as the endpoint and any headers the receiver requires. Store any tokens for the receiver in your secret manager rather than in the config file or the container image. Restart the proxy and check its startup log for an OpenTelemetry initialization line with no export errors. You are done when the proxy starts cleanly with the flag and exporter settings applied.
Deploy a Collector with an OTLP receiver
Deploy the OpenTelemetry Collector in the agent or gateway pattern your platform team already runs. Use a gateway when many sources send telemetry to one place, and an agent when the Collector sits beside the LiteLLM pods. Configure an OTLP receiver that accepts the protocol LiteLLM exports, a batch processor, and an exporter for your backend such as Jaeger or Tempo. Use the contrib distribution only if you need a component it contains, and verify release artifacts against their checksums and SBOM files. You are done when the Collector starts and its health endpoint reports ready.
Add a debug exporter for first contact
Add a debug exporter to the Collector pipeline alongside the backend exporter. During initial setup it prints received spans to the Collector log, which separates two failure modes: LiteLLM not sending data, or the backend rejecting it. Keep the debug exporter off the production pipeline once the backend path is confirmed, because it writes full span content to logs. You are done when the Collector log shows span entries after a request reaches the proxy.
Set service name and environment attributes
Set the resource attributes that let you separate this gateway from other services in the backend, typically a service name and a deployment environment such as production or staging. Configure them through the OpenTelemetry resource settings in the Collector or the environment variables your LiteLLM deployment reads, and confirm the exact keys in the LiteLLM and OpenTelemetry docs for your versions. Check the debug output for the attributes on each span. You are done when every span carries the service name and environment value you chose.
Send a test request through the gateway
Send one request through the LiteLLM proxy using a test virtual key and a low-cost model that your team has approved, so the call runs through auth, routing and the provider. Avoid real customer prompts in the test. Note the time and the request ID returned by the proxy so you can find the matching trace. You are done when the request returns a normal response and the Collector log shows activity for it.
Confirm one trace shows every expected span
Open the trace in Jaeger or Tempo and search by service name and the time of the test request. A complete trace for one request should show the HTTP span, the auth span, any guardrail spans if guardrails are configured, the LLM call span with GenAI attributes, and the database write spans. If a span is missing, check whether that feature is enabled on your proxy before assuming a fault. You are done when one trace contains the expected spans and the attributes match the test request.
Record the configuration and retest after upgrades
Save the proxy environment keys, Collector pipeline and the test procedure in your configuration repository, with secret references in place of values. Repeat the test request after each LiteLLM or Collector upgrade, since span names and attributes can change between releases. Ask your engineering team to confirm which stability level each Collector component has in its README before relying on it in production. You are done when the configuration is versioned and the test has a written pass condition.
Which trace attributes map to which backend fields
This table compares each piece of LiteLLM request metadata with the GenAI semantic convention attribute it should map to and the filter it supports in Jaeger, Tempo or another backend. Read the third column first when planning searches and retention, because identifier fields need a privacy decision before export. Confirm the exact attribute names your LiteLLM version emits by inspecting a test trace before you build dashboards or alerts on them.
| Request metadata | GenAI convention attribute | Filter use and privacy note |
|---|---|---|
| Requested model | gen_ai.request.model | Filter traffic per model alias. Confirm whether the provider-returned model name is also recorded in gen_ai.response.model. |
| Provider | gen_ai.system or gen_ai.provider.name, depending on the convention version | Group calls by upstream provider. Confirm which key your version emits, because the convention has changed names over time. |
| Input and output token counts | gen_ai.usage.input_tokens and gen_ai.usage.output_tokens | Sum tokens by model or team for usage views. Check a sample of totals against provider invoices before relying on them for chargeback. |
| Latency | Span duration in the backend, plus any timing attribute LiteLLM adds | Find slow calls by duration filter. Confirm whether time-to-first-token is emitted for streaming requests. |
| Status and errors | Span status plus an error type attribute, where emitted | Isolate failed calls and provider errors. Confirm how errors from guardrails and rate limits appear, since they may not be provider failures. |
| Key or team alias | LiteLLM metadata attribute, not a standard GenAI field | Useful for ownership filters. Aliases can name individuals, so use role or team names and treat them as potential personal data. |
| User or end-user identifier | LiteLLM metadata attribute, not a standard GenAI field | Often an email address or employee number, which is personal data. Pseudonymize or omit it before the collector exports the span. |
| Prompt and response content | Opt-in content attributes, if emitted in your version | Highest privacy risk and largest storage cost. Confirm whether content is captured by default and keep it disabled unless a documented need exists. |
How a traced request moves from client to backend
A request starts at a client in the application network and reaches the LiteLLM proxy, which records spans for authentication, guardrails, the provider call and database writes as one trace. The proxy exports those spans over OTLP to an OpenTelemetry Collector, which forwards them to a backend such as Jaeger or Tempo. Check each boundary: what crosses from the gateway to the Collector, whether the export is authenticated, and which span attributes carry prompt content.
One request produces one trace that crosses four trust boundaries before storage.
Choosing a Collector pattern and a trace backend
The OpenTelemetry Collector is the piece that decides where LiteLLM traces go, and it is vendor-agnostic, so the choice of Collector pattern is separate from the choice of backend. A Collector can run as an agent beside each service, receiving telemetry from one workload on the same host or pod, or as a gateway that sits in a central tier and accepts OTLP from many sources. For a LiteLLM deployment, the deciding inputs are how many proxy instances you run and who will operate the pipeline. A single proxy on one host can often send OTLP straight to a Collector gateway with little else around it. A horizontally scaled fleet, with several pods behind a load balancer, usually benefits from a central gateway that handles batching, retries, credentials and routing in one place, so the proxy configuration stays small and identical across replicas. Confirm with your platform team who owns Collector configuration and on-call before you pick a pattern, because a gateway becomes a shared dependency that other applications will also use.
Jaeger and Tempo are both trace backends that a Collector can export to, and the choice between them should follow your existing operations, storage and query needs rather than anything LiteLLM itself requires. LiteLLM emits standard OTLP spans, so the proxy does not need to change when you move between backends. Ask which storage your team already runs and can back up and restore, how long traces must be kept, which query tools engineers already use (such as Grafana), and whether trace data will be joined with metrics and logs. Those answers usually settle the decision. Before you connect anything, check the current Jaeger and Tempo documentation for OTLP ingestion and the authentication options each offers, since the LiteLLM preset list does not cover every backend. For verification, the OpenTelemetry Collector repository is licensed under Apache-2.0, and its releases ship signed artifacts, SHA256 checksums and SBOM files, so your security team can check the binary and component inventory against your own supply chain policy before deployment. Pin the release version you verified and record the checksum in your change record.
Securing trace export and protecting prompt data
Traces from LiteLLM can reveal who called which model, with what metadata, and sometimes what they asked. The cards below cover how to authenticate every hop in the export path, protect backend credentials, restrict who can read traces, and decide what content belongs in span attributes before the first trace leaves the gateway.
Authenticate collector receivers and exporters
Trace data should only enter the Collector from known senders. Collector authenticator extensions can check OIDC tokens on incoming connections, and the oauth2client extension can attach credentials to outgoing exporter requests. Confirm which authenticator your Collector build includes, since component stability varies, and test that an unauthenticated sender is rejected before you rely on the pipeline.
Collector configuration docsKeep backend credentials in a secret manager
Ingest tokens, OAuth client secrets and basic-auth passwords for the trace backend should not be written into the Collector configuration file or the LiteLLM environment as plain text. Store them in the secret manager your organization already runs and inject them at startup. Ask who can read the Collector config, since that config often reveals the endpoint and the credential reference together.
Encrypt every hop with TLS
Spans move from the LiteLLM pod to the Collector, from the Collector to the trace backend, and often through a gateway or agent in between. Each hop should use TLS with certificates that your internal CA or the backend vendor issues, and the Collector should verify server certificates rather than skipping verification. Map each hop in the design document so no segment is left unchecked.
Restrict who can query traces
Trace storage is often read by a wider group than the people who run the gateway. Jaeger, Tempo and most vendor UIs can expose span attributes such as model names, team identifiers and key aliases to anyone with read access. Define read roles in the backend, use tenant or project separation where the backend supports it, and review who holds those roles on a schedule.
Decide whether prompt content enters spans
Span attributes are copied into backend storage, retained on the backend's schedule and visible to query roles. Decide before rollout whether request and response bodies may appear in spans at all, and record the decision with the team's data handling rules. Where prompts may contain personal or confidential data, keep content out of span attributes by default and mask or drop it in the Collector processing pipeline before export.
Collector config best practicesReview the Collector configuration as code
Security settings only hold if they survive changes. Keep the Collector configuration in version control, require review for changes to receivers, exporters, authentication and processors, and test the pipeline after each Collector upgrade. Check the Collector release notes for the version you run, since release artifacts are signed and include checksums and SBOM files that support verification.
Why traces are missing or incomplete
This table lists the failures that most often leave LiteLLM traces absent or partial, with the likely cause, the check to run and the fix for each. Work down the rows in order, since the first rows (flag, version and endpoint) account for most missing-trace reports. Confirm the exact variable names and endpoint paths against the LiteLLM OpenTelemetry documentation for your release before changing production settings.
| Symptom | Likely cause and check | Fix |
|---|---|---|
| No traces at all | The v2 integration is not enabled, or the variable is set on a different pod or container than the proxy. Check the environment of the running proxy process, not the Helm values or deployment template you edited. | Set LITELLM_OTEL_V2=true on the proxy workload itself, then restart it and confirm the variable inside the running container. |
| Traces appear for some requests only | Requests are reaching replicas where the setting is missing, often after a partial rollout or a second deployment that was not updated. | Apply the variable to every proxy replica and every environment, then send test calls through the load balancer to confirm each replica emits spans. |
| Version does not emit the v2 trace shape | The running release predates the v2 OpenTelemetry integration, so spans are missing, named differently or lack GenAI attributes. Check the image tag actually deployed. | Upgrade to a release that includes the v2 integration, confirm it against the LiteLLM releases page and retest span names and attributes. |
| Exporter sends nothing or errors in proxy logs | The OTLP endpoint, port or path points at the wrong service, or uses the wrong protocol for the receiver. Compare the configured endpoint with the Collector's listening ports and protocols. | Point the exporter at the Collector's OTLP receiver address and the port it actually listens on, and match the protocol the receiver expects. |
| Proxy reports connection timeouts to the Collector | Egress from the proxy namespace or subnet to the Collector is blocked by network policy, a firewall or a proxy setting. Test the connection from inside the proxy container. | Open egress from the proxy to the Collector address and port, add a network policy rule if the cluster enforces one, and retest from the same container. |
| Pipeline drops or ignores some components | Collector components are at mixed stability levels, and some receivers, processors or exporters may be in development or beta. Check each component's README in the Collector distribution you run. | Use only components with the stability level your change control allows, pin the Collector version, and record the stability of each component in your configuration review. |
| Spans for database writes are missing | Spend and key writes happen in a path that is not instrumented in the release you run, or the database call is made asynchronously after the response. Compare a trace with the database log for the same request ID. | Confirm in the release notes that database writes are covered, then test with a known request. If spans are still absent, raise it with the vendor and keep request logs as the fallback record. |
| Traces break between services | Trace context is not propagated from the caller, through an API gateway or service mesh, into the LiteLLM proxy, or it is stripped by a proxy in the path. Inspect the incoming traceparent header at each hop. | Configure every hop to forward W3C trace context headers, confirm the caller starts a span, and check that intermediaries do not overwrite or drop the header. |
| Traces arrive but are unauthenticated or unreadable | The Collector receiver accepts unauthenticated connections, or the exporter lacks the credentials the backend requires. Check the Collector's authenticator extension settings and the backend's ingest token requirements. | Add an authenticator extension on the receiver for inbound calls and on the exporter for outbound credentials, and store secrets in your secret manager rather than in config files. |
Questions buyers ask before adding LiteLLM tracing
How much effort does LiteLLM OpenTelemetry tracing take to set up?
Enabling the integration is a configuration change, but the effort that matters sits around it. The LITELLM_OTEL_V2=true setting turns on the v2 integration, and the LiteLLM docs describe the trace coverage, but the real work is deciding where traces go and what each span carries. The main drivers are the number of backends, how many services need correlated traces, how much metadata you want attached, and whether you need the GenAI semantic conventions mapped to your internal naming. Review the LiteLLM OpenTelemetry docs for the exporter settings before estimating. Ask any partner for a written scope that lists each backend, each environment and each review step.
Can an in-house team set up LiteLLM tracing without outside help?
Yes, if the team already runs a LiteLLM proxy, an OpenTelemetry Collector or a tracing backend and has someone who owns each piece. Most of the setup is configuration, so the skills that matter are Kubernetes or VM operations, familiarity with OTLP exporters and the ability to review trace content with security and privacy staff. Teams with no prior OpenTelemetry work usually spend their time learning the data model and agreeing on span attributes. An outside partner adds value when you need the work done on a fixed schedule, want a second review of what prompt data leaves the gateway, or need the collector and backend hardened to your standards.
What does the partner need from our team to start?
A partner needs access and decisions, not just a request. The usual list is:
- Cluster or host access to the LiteLLM proxy and the collector, with a named change owner.
- Access to the tracing backend, such as Jaeger, Tempo or a commercial service, including an ingest endpoint and credentials stored in your secret manager.
- Sign-off on span content, meaning which request fields, metadata and any prompt-related attributes may leave the gateway.
- A test environment that mirrors production traffic patterns.
Ask for these items to be written into the scope so both sides know who provides each one and by when.
How long does tracing work take when the collector and backend are not ready?
The duration depends mostly on readiness. If the OpenTelemetry Collector and the backend already run, configuration and testing can move quickly. If either is missing, the work expands to include deployment, network paths, authentication and retention decisions. The OpenTelemetry Collector releases are published on a regular cadence, so the chosen version and its stability level for each component should be confirmed before the plan is fixed, since core components have mixed stability levels. Ask for a timeline that separates collector readiness, backend readiness and the LiteLLM change, with a named dependency for each.
Does tracing add cost or operational load to the gateway?
Yes, tracing adds recurring costs and some runtime load. Recurring costs include the collector hosts or pods, storage and query capacity in the trace backend, and the staff time to watch pipelines. Runtime load comes from building and exporting spans for every request, so the volume of traffic and the amount of attached metadata both matter. Retention is the largest lever on storage cost, and sampling and attribute limits are the main levers on volume. Ask any quote to show one-time setup separately from ongoing hosting, retention and on-call work, and to state which sampling and retention settings it assumes.
What should we check in span content before tracing goes live?
Check every attribute that a span can carry before it reaches a shared backend. Request metadata, user identifiers, team names and any content fields can all end up in traces that many people can read. Confirm which fields the GenAI semantic conventions populate in your setup, which custom attributes your team adds, and who can query the backend. Treat the trace store as a data store with its own access controls and retention, because the data it holds may include personal information. Record the decision in writing so the security and privacy reviewers can compare it with the actual configuration.
Will traces from the gateway stay useful if we later change backends?
Yes, if the traces go through the OpenTelemetry Collector and the span design is kept in your own configuration. OpenTelemetry is vendor-agnostic and is not itself a backend, so the collector can route data to a different store with a configuration change rather than a new instrumentation effort. Keep backend-specific presets and credentials separate from the core span design, and document which attributes are required. This keeps the migration path open, but it does not remove the need to re-check retention and access rules for the new backend.
How to verify traces before production use
Verify the trace pipeline against a staging copy of the gateway before any team relies on it. Start with the functional test that defines success: send one request through the LiteLLM proxy and confirm it produces one trace, not several fragments. In the backend you chose, open that trace and check that the span tree contains the HTTP entry span, the auth span, a guardrail span if you have guardrails enabled, the LLM call span and the database write spans. If any of these are missing, record which configuration flag or enabled feature caused the gap before you move on. Then confirm that the GenAI attributes are populated on the LLM span, including the operation, the model and the token usage fields, by comparing them against the attribute names in the LiteLLM OpenTelemetry documentation. Do not assume the attribute set is identical across backends, because each preset can map fields differently.
Next, test failure paths and data hygiene, which are the checks security reviewers ask about first. Force a provider error, for example with a deliberately invalid upstream key in a test route, and confirm the LLM span carries an error status and a usable error message. Then search exported data for the values that must never leave the gateway: the LITELLM_MASTER_KEY, virtual key strings, provider credentials and any test prompt containing a marker string you planted. Run the same search at the Collector, because that is where you can still drop or redact attributes. Confirm whether prompt and response bodies are captured at all, and record the setting that controls it. Treat any unexpected match as a blocking defect.
Finish with two operational checks. For load, run a sustained test at the request rate you expect in production, then watch the Collector queue, refused spans and exporter errors, and confirm the backend ingests every trace you sent without growing lag. Ask the backend and Collector owners for their own limits and alerting thresholds, because those numbers depend on your environment. For recovery, restart the Collector while traffic flows, then confirm that traces resume after it returns and record how many requests were lost during the gap. Repeat the restart once with the Collector under load. Document the results with the Collector version you tested, which you can check against the OpenTelemetry Collector releases page, so the same test can be repeated after each upgrade.
Official sources to read before you start
Six primary sources cover the LiteLLM side of the integration, the OpenTelemetry concepts it relies on, and the Collector you will likely run between them. Read them in this order before you choose a backend or write any configuration, because the version you deploy and the stability of each component decide what you can rely on.
LiteLLM OpenTelemetry integration docs
This is the source for what LiteLLM actually emits. Check how the v2 integration is enabled with LITELLM_OTEL_V2=true, which spans appear for HTTP, auth, guardrails, the LLM call and database writes, and which presets exist for Arize, Phoenix, Langfuse and Weave. Confirm whether your target backend needs a preset or a generic OTLP exporter, and confirm which attributes are recorded on each span before you decide what your collector should keep or drop.
LiteLLM OpenTelemetry docsWhat is OpenTelemetry
This page explains the scope of OpenTelemetry: a framework for generating, exporting and collecting traces, metrics and logs that does not store or visualize data itself. Use it to separate the instrumentation decision from the backend decision. Note that Jaeger, Tempo or another system still has to receive, store and display the traces, so you need a backend owner before the pipeline is designed.
What is OpenTelemetryOpenTelemetry Collector docs
The Collector receives, processes and exports telemetry, and it can run as an agent beside a service or as a central gateway that accepts data from many sources. For a LiteLLM gateway, the gateway pattern is usually the question: whether one shared collector sits between LiteLLM and several backends. Check the receiver, processor and exporter components you plan to use, and confirm that each one is available in the distribution you intend to run.
Collector docsCollector configuration reference
This reference defines the receivers, processors, exporters, extensions and service pipelines that make up a Collector config file. Use it to write the OTLP receiver and exporter blocks, the pipeline wiring for traces, and any authenticator extension. Authenticator extensions can check incoming OIDC tokens or add OAuth2 client credentials to exporter requests, which matters when the collector sends traces to a backend outside your network.
Collector configurationCollector releases page
Check the release history before you pin a version. Releases are published on a regular cadence, and each one ships the contrib distribution with signed artifacts, SHA256 checksums and SBOM files, along with the builder and OpAMP supervisor. Record the version you test against, verify checksums on download, and plan a process for moving to newer releases so your pipeline does not fall behind the components LiteLLM expects.
Collector releasesStatus page and configuration best practices
The status page shows that trace APIs and SDKs are stable in most languages, but core Collector components have mixed stability levels documented in each component's README. Read it before you rely on a processor or exporter in production. Then read the configuration best practices for hardening guidance on TLS, authentication and exposed endpoints, and confirm each setting against your own security review.
OpenTelemetry statusWhat DeployOpen scopes, delivers and supports
DeployOpen plans and delivers LiteLLM tracing as a fixed-scope engagement, agreed in writing before work starts. The work covers four parts: the trace design, the LiteLLM configuration that enables tracing, the OpenTelemetry Collector pipeline that receives and forwards spans, and the security controls and test plan that prove the pipeline works. The trace design fixes which spans LiteLLM emits for HTTP, authentication, guardrails, the LLM call and database writes, which request metadata is attached, and which attributes must never leave the gateway. The configuration work sets LITELLM_OTEL_V2=true, the exporter endpoint and headers, and any backend preset. The Collector work runs in your cloud accounts, data centers or air-gapped network, so trace data does not pass through a DeployOpen-hosted system.
Security controls are part of the scope, not an add-on. DeployOpen sets how the Collector authenticates incoming OTLP connections and how it adds credentials to outgoing exporter requests, typically with the authenticator extensions described in the Collector configuration documentation. Exporter tokens and endpoint secrets are kept in your secret manager, and receivers are restricted to the networks that should reach them. The test plan checks that every request yields one trace, that the expected spans appear in your backend, that prompt content is absent where your policy forbids it, and that a failed exporter does not block LLM traffic. Results are documented so your security and operations teams can repeat the checks after upgrades.
Ongoing support is available as a retainer. Typical retainer work includes reviewing the Collector version and upgrade plan, tuning sampling and batching as traffic grows, updating backend presets when LiteLLM or the backend changes, and rerunning the test plan after configuration changes. Before you request a quote, confirm which backend you run, whether your Collector will be self-managed or deployed by your platform team, which LiteLLM release line you are on, and who owns trace retention and access. Those answers determine the written scope and the work that recurs after handover.
How DeployOpen delivers LiteLLM tracing
DeployOpen scopes LiteLLM tracing as part of the gateway it runs in your infrastructure, so each request trace covers HTTP, auth, guardrails, the LLM call and database writes. We connect the OpenTelemetry output to the trace backend your team already operates, whether that is Jaeger, Tempo or another OTLP-compatible collector. Engagements are fixed-scope.
How we scope
- Confirm which trace backend, collector layout and retention your teams already run before any configuration starts.
- Agree in writing which request stages, metadata fields and environments the trace work covers.
- Identify which attributes count as sensitive, so prompt content is kept out of trace storage unless you approve it.
How we build
- Enable the LiteLLM OpenTelemetry v2 integration and configure OTLP exporters to your collector endpoint.
- Route traces through an OpenTelemetry Collector that you control, with its receivers, processors and exporters set in configuration as code.
- Check that each request produces one trace with the expected spans, GenAI attributes and database write timing in a non-production environment.
How we hand over
- Deliver the written configuration, collector pipeline definition, exporter settings and a test plan your engineers can rerun.
- Document how to read a LiteLLM trace in your backend, including which spans to check first when a call looks slow.
- Walk your operations and security teams through the authentication settings for collector connections and the data each trace holds.
How we support
- Support is available as a retainer for upgrades to LiteLLM and the OpenTelemetry Collector, which both publish regular releases.
- Retainers can cover re-testing trace output after version changes, collector configuration updates and new backend onboarding.
- Ask for a quote that lists the scope items, the support hours and which parts recur after handover.

