Skip to content

feat: Add additionalHeaders support to Langfuse setup#209

Open
PylotLight wants to merge 1 commit into
danny-avila:mainfrom
PylotLight:pl/additional_headers
Open

feat: Add additionalHeaders support to Langfuse setup#209
PylotLight wants to merge 1 commit into
danny-avila:mainfrom
PylotLight:pl/additional_headers

Conversation

@PylotLight

@PylotLight PylotLight commented May 29, 2026

Copy link
Copy Markdown

Summary

Add support for passing custom OTLP headers into Langfuse span processor setup.

Why

Some deployments need arbitrary headers forwarded to the Langfuse OTLP exporter without changing the existing auth flow. This enables me to conditionally apply langfuse tracing for a specific agent that registers for it instead of applying via env vars for the whole app instance.

Changes

  • add additionalHeaders support to the Langfuse config
  • pass those headers through to the OTLP/Langfuse exporter
  • keep existing public/secret key auth intact
  • add coverage for header propagation

@PylotLight PylotLight changed the title Add additionalHeaders support to Langfuse setup feat: Add additionalHeaders support to Langfuse setup May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant