For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Jaeger
Configure agentgateway to send traces to Jaeger.
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.
Jaeger is an open-source distributed tracing platform. The following steps show you how to install Jaeger in your cluster and configure agentgateway to send traces to it.
Before you begin
- Set up an agentgateway proxy.
- Install the httpbin sample app.
Install Jaeger
Add the Jaeger Helm repository and install Jaeger.
helm repo add jaegertracing https://jaegertracing.github.io/helm-charts helm repo update helm install jaeger jaegertracing/jaeger \ --namespace tracing \ --create-namespace \ --set allInOne.enabled=true \ --set provisionDataStore.cassandra=false \ --set storage.type=memoryVerify that the Jaeger pod is running.
kubectl get pods -n tracingExample output:
NAME READY STATUS RESTARTS AGE jaeger-7f6697849c-8q8vw 1/1 Running 0 50s
Configure tracing
Create an EnterpriseAgentgatewayPolicy that points the agentgateway proxy at the Jaeger collector.
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: jaeger
namespace: tracing
port: 4317
protocol: GRPC
randomSampling: "true"
EOFVerify traces
Port-forward the Jaeger UI.
kubectl port-forward -n tracing svc/jaeger 16686:16686Send a request to the httpbin app.
curl -vi -X POST http://$INGRESS_GW_ADDRESS:80/post \ -H "host: www.example.com"curl -vi -X POST localhost:8080/post \ -H "host: www.example.com"Open the Jaeger UI at http://localhost:16686 and select
agentgatewayas the service. You should see a span for the request you sent.
Cleanup
You can remove the resources that you created in this guide.Delete the EnterpriseAgentgatewayPolicy resource.
kubectl delete EnterpriseAgentgatewayPolicy tracing -n agentgateway-systemUninstall Jaeger.
helm uninstall jaeger -n tracing kubectl delete namespace tracing