Skip to content

Explicitly set exporter to none#81

Merged
tnederlof merged 1 commit into
mainfrom
tn/fix-metrics-issue
Jun 2, 2026
Merged

Explicitly set exporter to none#81
tnederlof merged 1 commit into
mainfrom
tn/fix-metrics-issue

Conversation

@tnederlof

@tnederlof tnederlof commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Before this change, metrics.enabled=false did not set OTEL_METRICS_EXPORTER in the worker pod. An unset exporter causes the OpenTelemetry package default to OTLP, so workers with metrics disabled still attempted to send metrics to the default local collector endpoint. Because no collector is running in the pod, customers saw repeated errors in their work pods such as:

failed to upload metrics: Post "https://localhost:4318/v1/metrics": dial tcp [::1]:4318: connect: connection refused

This change makes the disabled Helm default explicit by setting OTEL_METRICS_EXPORTER=none, preventing unintended metric export attempts and eliminating the misleading log noise.

Verified before and after in a kind cluster.

@tnederlof tnederlof requested a review from ianhodge June 2, 2026 22:47

@ianhodge ianhodge left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice find!

@tnederlof tnederlof merged commit 8f7ee33 into main Jun 2, 2026
7 checks passed
@tnederlof tnederlof deleted the tn/fix-metrics-issue branch June 2, 2026 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants