For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Observability stack
Learn about the enterprise built-in observability stack and how to migrate from the OSS observability setup.
Solo Enterprise for agentgateway ships a built-in observability pipeline as part of the management UI installation. The observability pipeline captures traces, metrics, and access logs via an OpenTelemetry (OTel) Collector and sends all signals to a ClickHouse instance. The management UI uses this data to provide health and performance information for your agentgateway environment.
Architecture
When you install the management UI, two observability components are deployed alongside the UI.
| Component | Pod name | What it does |
|---|---|---|
| OpenTelemetry Collector | enterprise-agentgateway-ui-telemetry-collector-0 | Receives OTLP traces and access logs that are pushed by the agentgateway proxy, scrapes proxy metrics via a Prometheus receiver, and routes all signals to ClickHouse. |
| ClickHouse | enterprise-agentgateway-clickhouse-shard0-0 | Stores all telemetry data. The management UI reads directly from ClickHouse to display traces, resource overviews, and cost breakdowns. |
Review the architecture of the observability stack that is deployed for you when you install the management UI. You do not need to install and configure a separate observability stack to start capturing telemetry data. The components are ready as soon as the management UI is deployed.
flowchart TD
A["Application Traffic"] --> B["agentgateway proxy"]
B -->|"Traces & Logs (OTLP push, port 4317)"| C["enterprise-agentgateway-ui-telemetry-collector"]
C -->|"Metrics (Prometheus scrape, port 15020)"| B
C -->|"Traces, Logs, Metrics"| D["ClickHouse"]
E["Management UI"] --> D
Enable telemetry
Metrics are collected automatically. The enterprise OTel collector scrapes the metrics endpoints of the control plane and data plane, and stores the data in ClickHouse. No additional configuration is required, unless you want to export metrics to your own backend.
Traces and access logs require a policy so the proxy knows where to push data. The collector is already configured to receive telemetry data on port 4317 and export this data to ClickHouse. You need to create an EnterpriseAgentgatewayPolicy resource to point the proxy at this collector.
Migrate from the OSS observability stack
OSS agentgateway does not ship an observability stack out of the box. Instead, you install your own OTel stack that includes Grafana, Loki, Tempo, and separate OpenTelemetry Collectors for metrics, traces, and logs.
OSS vs. enterprise stack
| OSS (self-installed) | Enterprise (built-in) | |
|---|---|---|
| Trace & log collector | opentelemetry-collector-traces and opentelemetry-collector-logs in the telemetry namespace | enterprise-agentgateway-ui-telemetry-collector in agentgateway-system namespace |
| Trace storage | Grafana Tempo | ClickHouse |
| Log storage | Grafana Loki | ClickHouse |
| Metrics collection | Prometheus scrapes metrics from the control and data plane via ServiceMonitor/PodMonitor resources. The resources are automatically created via the monitoring.enabled Helm value. | enterprise-agentgateway-ui-telemetry-collector includes a Prometheus receiver and pushes metrics to ClickHouse. |
| Visualization | Grafana | Management UI |
| Installation | Self-install via Helm (multiple charts) | Included in the enterprise-agentgateway Helm chart, as the enterprise-agentgateway-ui subchart |
Important
The enterprise built-in stack is designed to replace your OSS observability stack. Because the agentgateway proxy can only push traces and access logs to one collector at a time, you cannot send them to the management UI (enterprise) and Loki and Tempo (OSS) at the same time. Before you migrate to the enterprise observability stack, make sure to decide on the tools that you want to use to monitor your environment.
Decide on your approach
Review the following information to understand what is involved when you migrate to the enterprise stack or keep the OSS stack.
| Approach | What happens |
|---|---|
| Migrate to enterprise (recommended) | Update your trace and access log policies to point to the enterprise collector. All signals flow to ClickHouse, and the management UI shows traces, access logs, cost data, and resource overviews. You can decommission the OSS OTel collectors for Tempo and Loki. Metrics are available in the management UI. To also keep metrics in Prometheus for PromQL queries or Grafana alert rules, enable monitoring.enabled=true in the enterprise Helm chart to create the corresponding PodMonitor and ServiceMonitor resources. |
| Stay on the OSS stack | Keep your existing EnterpriseAgentgatewayPolicy resources unchanged. Traces and access logs continue flowing to Tempo and Loki. However, because traces and access logs are not exported to ClickHouse, the corresponding views in the management UI will be empty. Note that metrics are available in both the management UI and the Prometheus instance that you installed in OSS, because the enterprise-agentgateway-ui-telemetry-collector enterprise collector automatically scrapes metrics from the proxy and sends them to ClickHouse. The OSS Prometheus instance also scrapes the same metrics by using the ServiceMonitor/PodMonitor resources that the OSS chart created. |
Migrate each signal type
If you decide to migrate to the enterprise stack, update each signal type separately. You can migrate one at a time. The OSS collectors can continue to run until you decommission them, but any signal that is sent to the OSS stack will not appear in the management UI.
Traces
In OSS, tracing is configured via an AgentgatewayPolicy. Create a new EnterpriseAgentgatewayPolicy to point the proxy at the enterprise telemetry collector, then delete the OSS policy.
Create the EnterpriseAgentgatewayPolicy resource with your tracing policy.
kubectl apply -f- <<EOF apiVersion: enterpriseagentgateway.solo.io/v1alpha1 kind: EnterpriseAgentgatewayPolicy metadata: name: tracing namespace: agentgateway-system spec: targetRefs: - group: gateway.networking.k8s.io kind: Gateway name: agentgateway-proxy frontend: tracing: backendRef: name: enterprise-agentgateway-ui-telemetry-collector namespace: agentgateway-system kind: Service port: 4317 protocol: GRPC randomSampling: "true" EOFDelete the OSS tracing policy so the proxy stops sending traces to the OSS collector.
kubectl delete agentgatewaypolicy tracing -n agentgateway-systemSend traffic through the gateway and verify that traces appear in the Tracing view of the management UI.
Remove the OSS trace collector and Grafana Tempo.
helm uninstall otel-collector-traces -n telemetry helm uninstall tempo -n telemetry
Access logs
In OSS, access log export is configured via an AgentgatewayPolicy resource. Create a new EnterpriseAgentgatewayPolicy resource to point the proxy at the enterprise telemetry collector, then delete the OSS policy.
Create the EnterpriseAgentgatewayPolicy resource with your access log policy.
kubectl apply -f- <<EOF apiVersion: enterpriseagentgateway.solo.io/v1alpha1 kind: EnterpriseAgentgatewayPolicy metadata: name: access-logs namespace: agentgateway-system spec: targetRefs: - group: gateway.networking.k8s.io kind: Gateway name: agentgateway-proxy frontend: accessLog: otlp: backendRef: name: enterprise-agentgateway-ui-telemetry-collector namespace: agentgateway-system kind: Service port: 4317 protocol: GRPC EOFDelete the OSS access log policy so the proxy stops sending logs to the OSS collector.
kubectl delete agentgatewaypolicy access-logs -n agentgateway-systemVerify that access logs are arriving in ClickHouse.
kubectl exec -it -n agentgateway-system enterprise-agentgateway-clickhouse-shard0-0 -- \ clickhouse-client --query "SELECT Timestamp, Body FROM agentgateway.otel_logs_json LIMIT 10"Remove the OSS log collector and Grafana Loki.
helm uninstall otel-collector-logs -n telemetry helm uninstall loki -n telemetry
Metrics
Unlike access logs and traces, metrics are set up automatically when you install the enterprise OTel stack. Any action is dependent on whether you want to keep sending metrics to your OSS Prometheus instance.
Metrics in the management UI: No action required. The enterprise OTel collector includes a built-in Prometheus receiver that automatically scrapes the proxy and stores metrics in ClickHouse.
Metrics in Prometheus: If you want to keep the Prometheus instance that you installed as part of the OSS OTel stack, you must enable the monitoring.enabled setting in the enterprise Helm chart to get the ServiceMonitor and PodMonitor resources that Prometheus needs to scrape the enterprise-specific workloads. Enabling monitoring.enabled also creates a pre-built Grafana dashboard ConfigMap that the Grafana dashboard sidecar can load automatically. For setup instructions, see Export metrics to an external system.
helm upgrade -i enterprise-agentgateway oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway \
--reuse-values \
--version v2026.10.2 \
--set monitoring.enabled=true \
--set monitoring.serviceMonitor.extraLabels.release=<your-prometheus-release-name>