Skip to content
Help guide the future of agentgateway — Take the survey

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

Grafana Cloud

Verified : Code examples on this page have been automatically tested and verified.
Page as Markdown

Export agentgateway traces to Grafana Cloud by using its OTLP ingestion endpoint.

Grafana Cloud is a managed observability platform. You can send traces directly to your Grafana Cloud OTLP endpoint by setting a Base64-encoded Authorization header on every export request.

Find your OTLP endpoint and instance credentials in Grafana Cloud under Connections → OpenTelemetry.

Add the following tracing configuration to your config.yaml. Replace the host with your Grafana Cloud OTLP endpoint and the Authorization value with your Base64-encoded instance-id:api-token.

# yaml-language-server: $schema=https://agentgateway.dev/schema/config
frontendPolicies:
  tracing:
    host: <your-grafana-otlp-endpoint>:443
    protocol: grpc
    randomSampling: true
    policies:
      backendTLS: {}
      requestHeaderModifier:
        set:
          Authorization: "Basic <base64-encoded-instance-id:api-token>"

Tip

To generate the Base64-encoded token, run: echo -n "<instance-id>:<api-token>" | base64

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/.