Repository navigation
Description
Context & Rationale
The OpenTelemetry collector starts before Jaeger is accepting connections and logs a burst of connection refused against jaeger.otel.svc.cluster.local:4317 until it recovers. The warnings are harmless and self-resolving, which is the problem: they are indistinguishable from a real outage when read later, and they were the first thing found when reviewing these logs.
Scope & Deliverables
- Context & Rationale*: The OpenTelemetry collector starts before Jaeger is accepting connections and logs a burst of
connection refusedagainstjaeger.otel.svc.cluster.local:4317until it recovers. The warnings are harmless and self-resolving, which is the problem: they are indistinguishable from a real outage when read later, and they were the first thing found when reviewing these logs. - Deliverable*: Express the dependency rather than retrying into the log — a readiness gate on the collector, or an explicit backoff that reports once rather than per attempt.
Strategic Alignment
- Milestone:
v0.2.23(Foundational Architectural Guardrails & Project Hygiene) - Roadmap Reference:
docs/ROADMAP.md
Monitoring cleanup amendment (2026-10-03)
#1135 replaces Jaeger with Tempo (release tempo in otel). The startup ordering applies to the collector's otlp_grpc/tempo exporter in the same way. Related to #1128, not a child.
Proposed design
Problem statement
The OpenTelemetry collector starts before Jaeger is accepting connections, causing it to log a burst of 'connection refused' warnings against jaeger.otel.svc.cluster.local:4317 until it recovers. These warnings are harmless but indistinguishable from real outages when reviewed later, and they occur during startup ordering.
Acceptance criteria
- Criterion 1: The OpenTelemetry collector waits for the Tempo exporter endpoint to be ready before starting to send traces.
Verification: Verify that the collector's configuration includes a readiness probe or explicit backoff logic before attempting to connect to the Tempo exporter. - Criterion 2: The startup sequence ensures that the Tempo service is fully initialized and accepting connections before the collector attempts to export traces.
Verification: Run a test deployment where the collector starts after Tempo and verify no 'connection refused' errors appear in logs during startup.
Key questions
- What specific mechanism should be used to express the dependency between the OpenTelemetry collector and the Tempo service?: A readiness gate on the collector or an explicit backoff that reports once rather than per attempt should be implemented. (proposed)
Open questions
- How does replacing Jaeger with Tempo in issue feat(telemetry): traces are stored in tempo on a volume, and grafana and devops-cli read them, linked to logs and profiles #1135 affect this startup ordering concern? (missing verified source)
Fit
Fits in one pull request.
Suspected block
None.
Dependencies
None.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
dan-petty commentedon Sep 30, 2026
Moved from v0.2.25 to the backlog. v0.2.25 is capped at 12 items (#740), and only the next two planned releases keep a milestone (#739), so P2 items wait in the backlog until reprioritization pulls them in.
dan-petty commentedon Oct 2, 2026
Grooming (2026-10-02): Priority p2-medium → p3-low. The issue says the warnings are harmless and recover on their own. This is log hygiene with no outage or data loss, so it is polish.
Checked against the code at the release/v0.2.25 tip.
fix(k8s): the collector starts after the tempo it exports traces to
fix(k8s): the collector starts after the tempo it exports traces to (#…
dan-petty commentedon Oct 21, 2026
What changed
#1788, merged into
release/v0.2.38as 68e968a.6 file(s) changed.
How it was verified
Check runs at 2db5089:
Acceptance Criteria of
docs/agent/tasks/task-409-collector-starts-after-tempo.md:No Acceptance Criteria section.
feat(release): v0.2.38 (#1799)
feat(release): v0.2.38 (#1798)