Repository navigation
feat: Configure Istio to export Envoy traces to OTel Collector for Kind clusters - #795
Conversation
|
/run-e2e |
E2E HyperShift Tests StartedTriggered by: @evaline-ju Tests are running on OpenShift 4.20.11. This typically takes 30-45 minutes. To re-run tests after new commits, comment |
E2E HyperShift Tests FailedCommit: To re-run tests after fixing issues, comment |
Add meshConfig.extensionProviders to istiod Helm values to register the OTel Collector as a tracing backend, and create an Istio Telemetry CR in kagenti-deps to enable 100% trace sampling. This allows Envoy proxy traces (including MCP Gateway requests) to flow through to Phoenix alongside agent-level OTel traces. Co-Authored-By: Claude Opus 4.6 <[email protected]> Signed-off-by: Evaline Ju <[email protected]>
Signed-off-by: Evaline Ju <[email protected]>
c6e1b15 to
cd5eedf
Compare
New Commits DetectedThe New HEAD: For maintainers: Please review the new changes and comment Security checklistBefore running E2E tests, verify the PR does NOT contain:
This is an automated security measure to prevent TOCTOU attacks |
pdettori
left a comment
There was a problem hiding this comment.
Clean, well-scoped PR that adds Envoy-level trace export to the OTel Collector for Kind clusters. The three changes (meshConfig provider, gRPC receiver, Telemetry CR) form a complete and consistent tracing pipeline. All CI checks pass.
Areas reviewed: Helm/K8s, Ansible, Security
Commits: 2 commits, both signed-off
CI status: All passing (E2E HyperShift pending maintainer trigger)
| tracing: | ||
| - providers: | ||
| - name: otel-tracing | ||
| randomSamplingPercentage: 100 |
There was a problem hiding this comment.
suggestion: randomSamplingPercentage: 100 is fine for Kind dev clusters. Consider adding a .Values override (e.g., .Values.istio.traceSamplingPercentage) to make it configurable for future environments. Low priority since this is guarded by not .Values.openshift.
| extensionProviders: | ||
| - name: otel-tracing | ||
| opentelemetry: | ||
| service: otel-collector.kagenti-system.svc.cluster.local |
There was a problem hiding this comment.
nit: The service FQDN otel-collector.kagenti-system.svc.cluster.local is hardcoded. If the kagenti-deps namespace ever changes, this would silently break tracing. Consider using an Ansible variable for the namespace. Low risk for Kind-only.
| @@ -158,6 +158,8 @@ data: | |||
| receivers: | |||
| otlp: | |||
| protocols: | |||
| grpc: | |||
There was a problem hiding this comment.
praise: Good addition - the gRPC receiver was missing from the config despite the container port and Service already exposing 4317. This aligns the config with the existing infrastructure.
Signed-off-by: Evaline Ju <[email protected]>
Summary
This allows Envoy proxy traces (including MCP Gateway requests) to flow through to observability platforms alongside agent-level OTel traces. Focusing the change only on Kind clusters for now [MCP gateway router tracing is not yet in the latest 0.5 release, and there may still be issues with e2e MCP gateway usage on OpenShift/HyperShift]
Related issue(s)
Related to initiative of tracing agent->gateway->tool in #619