Skip to content
agentgateway has joined the Agentic AI FoundationLearn more

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

SaaS platform

Page as Markdown

Export agentgateway traces to a cloud-hosted SaaS observability platform such as Langfuse over HTTPS.

SaaS observability backends, such as Langfuse, are cloud-hosted services that require no local infrastructure and expose a public OTLP endpoint over HTTPS. Use policies.requestHeaderModifier to pass authentication credentials and policies.backendTLS to enable TLS. The same agentgateway configuration works regardless of whether you run the binary, Docker, or Helm.

Langfuse:

# yaml-language-server: $schema=https://agentgateway.dev/schema/config
frontendPolicies:
  tracing:
    host: us.cloud.langfuse.com:443
    protocol: http
    path: /api/public/otel
    randomSampling: true
    policies:
      backendTLS: {}
      requestHeaderModifier:
        set:
          Authorization: "Basic <base64-encoded-public-key:secret-key>"
    attributes:
      gen_ai.operation.name: '"chat"'
      gen_ai.system: "llm.provider"
      gen_ai.request.model: "llm.requestModel"
      gen_ai.response.model: "llm.responseModel"
      gen_ai.usage.input_tokens: "llm.inputTokens"
      gen_ai.usage.output_tokens: "llm.outputTokens"

For more LLM observability platform integrations, see LLM Observability integrations.

Was this page helpful?
Agentgateway assistant

Ask me anything about agentgateway configuration, features, or usage.

Note: AI-generated content might contain errors; please verify and test all returned information.

Tip: one topic per conversation gives the best results. Use the + button in the chat header to start a new conversation.

Switching topics? Starting a new conversation improves accuracy.
↑↓ navigate select esc dismiss

What could be improved?

Your feedback helps us improve assistant answers and identify docs gaps we should fix.

Need more help? Join us on Discord: https://discord.gg/y9efgEmppm

Want to use your own agent? Add the Solo MCP server to query our docs directly. Get started here: https://search.solo.io/.