Skip to content
Latest (currently 2026.10.2) has the newest features, bug fixes, and CVE patches of Solo Enterprise for agentgateway.

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

Page as Markdown

Configure agentgateway to send traces to Grafana Cloud.

Important

You can send traces to a different backend, such as Datadog, Jaeger, Grafana Cloud, and others. However, if you do not use the built-in enterprise-agentgateway-ui-telemetry-collector OTel collector that the Solo Enterprise for agentgateway Helm chart creates, traces are not stored in ClickHouse and will not appear in the management UI Tracing page.

Grafana Cloud is a managed observability platform. You can send traces to your Grafana Cloud OTLP endpoint from the agentgateway proxy via an OpenTelemetry Collector.

Note

Grafana Cloud requires an Authorization header on every OTLP request. Because the agentgateway tracing policy does not support custom HTTP headers, you must route traces through an OTel Collector that injects the header before forwarding to Grafana Cloud.

Before you begin

  1. Set up an agentgateway proxy.
  2. Install the httpbin sample app.

Configure tracing

Step 1: Set up the OTel Collector

  1. Follow the OTel Collector setup guide to install a collector in your cluster. Then update the collector’s exporter config to forward traces to Grafana Cloud.

  2. In Grafana Cloud, go to My Account → Stack → OpenTelemetry to find your OTLP endpoint, instance ID, and API token. Then, base64-encode your credentials.

    echo -n "<instanceID>:<apiToken>" | base64
  3. Add the following exporter to your collector config:

    exporters:
      otlp/grafana:
        endpoint: https://<your-grafana-otlp-endpoint>:443
        headers:
          Authorization: "Basic <base64-encoded-instanceID:apiToken>"

Step 2: Point the tracing policy at the collector

Create an EnterpriseAgentgatewayPolicy that points the agentgateway proxy at the OTel Collector — not at Grafana Cloud directly.

kubectl apply -f- <<EOF
apiVersion: enterpriseagentgateway.solo.io/v1alpha1
kind: EnterpriseAgentgatewayPolicy
metadata:
  name: tracing
  namespace: agentgateway-system
spec:
  targetRefs:
    - kind: Gateway
      name: agentgateway-proxy
      group: gateway.networking.k8s.io
  frontend:
    tracing:
      backendRef:
        name: opentelemetry-collector
        namespace: tracing
        port: 4317
      protocol: GRPC
      randomSampling: "true"
EOF

Cleanup

You can remove the resources that you created in this guide.

Delete the EnterpriseAgentgatewayPolicy resource.

kubectl delete EnterpriseAgentgatewayPolicy tracing -n agentgateway-system