In this article
Test proxy and delegated Langfuse environments independently, then inspect release metadata on trace and generation; exporter labels are provenance, not authorization.
LiteLLM v1.111.0-dev.4 restores environment, release and version metadata on Langfuse exports under OTel v2. The November 15 prerelease keeps environment labels local to the intended exporter rather than globally relabeling unrelated destinations. Evaluation teams should verify provenance at the destination they query, because a trace in default environment can mix runs that belong to different deployment cohorts.
Use deliberately different environments
Configure a synthetic proxy environment and a key destination with another environment label. Export one harmless request to both and inspect received attributes. The values should follow their intended exporter. A shared resource object or a globally mutated span can accidentally leak one label into another destination. Include a generic OTLP receiver as a control where used, checking it does not inherit a Langfuse-only environment attribute unintentionally.
Release and version need the right observation level
Send known synthetic release and version markers and inspect both trace-level and generation-level views. The PR documents cases where metadata can appear on a model span without updating the enclosing trace by itself. Do not treat a missing trace badge as proof the span lost its attribute. Record the exact destination configuration so an evaluation query uses the level where the tested setup actually exposes the provenance.
Caller metadata must not redefine destination policy
Attempt to supply an environment through an unsupported request-body field in a harmless fixture and inspect rejection. Compare that with a permitted destination configuration. An environment label helps organize telemetry; it is not an access-control boundary by itself. The application should still enforce who may route traces to each project. A working label change must not be interpreted as permission for a caller to impersonate another deployment’s telemetry.
Cohort comparisons need verified labels
Build a small known set of requests from two synthetic releases and compare counts through the actual evaluation query. Unknown or default labels should remain visible rather than be assigned to a convenient cohort. The prerelease corrects metadata transport, not evaluation methodology. A useful adoption record shows exporter isolation, expected trace-versus-span placement and an honest treatment of records whose release identity cannot be established.
Sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.