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