You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(k8s): enable telemetry for roadmap-service and k8s services #1197
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/k8sKubernetes commands, Helm charts, pods, services, and policiesscope/telemetryOpenTelemetry tracing spans, Prometheus metrics, and Jaegertype/featureType feature: a new function
The in-cluster roadmap-service and cluster workloads in the devops namespace currently have telemetry disabled in devops-cli-config ConfigMap (telemetry.enabled: false). Furthermore, k8s/devops/networkpolicy.yaml (devops-default-perimeter) restricts egress to DNS, LLM gateway, and public HTTPS, dropping all outbound traffic to the in-cluster OpenTelemetry Collector in namespace otel.
Proposed Solution
In k8s/devops/configmap.yaml, enable telemetry and configure the in-cluster endpoint http://otel-collector-opentelemetry-collector.otel.svc.cluster.local:4318.
In k8s/devops/networkpolicy.yaml, add an egress rule permitting TCP ports 4318 (HTTP) and 4317 (gRPC) to namespace otel.
In k8s/devops/roadmap-service/deployment.yaml, set environment variable OTEL_SERVICE_NAME: roadmap-service.
In src/devops_cli/server/service.py, add OpenTelemetry request tracing middleware to create_service_app (suppressing probe spam for /healthz, /readyz, and /metrics) and trace batch job executions in RepoWorker._execute_batch.
Update tests in tests/test_k8s_devops_runtime.py and tests/test_k8s_roadmap_service.py to validate the new telemetry settings and four perimeter egress rules.
Moved to the backlog: after v0.2.27 started, only a critical fix can join it. A person can place it in a planned release, and that placement stands. (devops roadmap reprioritize)
Moved to the backlog: after v0.2.27 started, only a critical fix can join it. A person can place it in a planned release, and that placement stands. (devops roadmap reprioritize)
Acceptance Criteria of docs/agent/tasks/task-1197-enable-k8s-telemetry.md:
k8s/devops/configmap.yaml enables telemetry targeting the in-cluster OpenTelemetry collector at http://otel-collector-opentelemetry-collector.otel.svc.cluster.local:4318.
k8s/devops/networkpolicy.yaml permits egress on TCP 4318 and 4317 to namespace otel.
src/devops_cli/server/service.py instruments HTTP requests and batch executions with OpenTelemetry spans and headers while bypassing /healthz, /readyz, /metrics.
k8s/README.md documents OTel collector egress in k8s/devops/.
Unit and contract tests pass with 100% verification across all modified files.
Changelog fragment changelog.d/1197.md is present.
uv run devops ci passes with 100% green status across all quality gates.
Pending a person: Live cluster deployment verification with kubectl apply and span inspection in Jaeger UI.
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/k8sKubernetes commands, Helm charts, pods, services, and policiesscope/telemetryOpenTelemetry tracing spans, Prometheus metrics, and Jaegertype/featureType feature: a new function
Activity
dan-petty-bot commentedon Oct 5, 2026
Moved to the backlog: after v0.2.27 started, only a critical fix can join it. A person can place it in a planned release, and that placement stands. (devops roadmap reprioritize)
dan-petty-bot commentedon Oct 5, 2026
Moved to the backlog: after v0.2.27 started, only a critical fix can join it. A person can place it in a planned release, and that placement stands. (devops roadmap reprioritize)
dan-petty-bot commentedon Oct 5, 2026
Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.
This change enhances observability and is important for monitoring service health but does not address an immediate issue or bug.Enabling telemetry improves the ability to monitor and debug services, which is valuable for operational reliability.The changes involve configuration updates, network policy modifications, code integration of tracing middleware, and test updates.feat(k8s): enable telemetry for roadmap-service and k8s services (#1197…
dan-petty-bot commentedon Oct 5, 2026
What changed
#1198, merged into
release/v0.2.27as 6e9ba6d.11 file(s) changed.
How it was verified
Check runs at e4ed2b7:
Acceptance Criteria of
docs/agent/tasks/task-1197-enable-k8s-telemetry.md:k8s/devops/configmap.yamlenables telemetry targeting the in-cluster OpenTelemetry collector athttp://otel-collector-opentelemetry-collector.otel.svc.cluster.local:4318.k8s/devops/networkpolicy.yamlpermits egress on TCP 4318 and 4317 to namespaceotel.k8s/devops/roadmap-service/deployment.yamlsetsOTEL_SERVICE_NAME: roadmap-service.src/devops_cli/server/service.pyinstruments HTTP requests and batch executions with OpenTelemetry spans and headers while bypassing/healthz,/readyz,/metrics.k8s/README.mddocuments OTel collector egress ink8s/devops/.changelog.d/1197.mdis present.uv run devops cipasses with 100% green status across all quality gates.kubectl applyand span inspection in Jaeger UI.feat(release): v0.2.27 (#1257)