Skip to content

Commit 5641b30

Browse files
committed
fix(collectors): add fallback_scrape_protocol
This is now effectively a required parameter, see: open-telemetry/opentelemetry-collector-contrib#36873 (comment)
1 parent bfbf94a commit 5641b30

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/backendconnection/otelcolresources/daemonset.config.yaml.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ to be compatible with the well-known configuration via annotations.
160160
# * `prometheus.io/port`: Scrape the pod on the indicated port instead of the default of `9102`.
161161
- job_name: 'dash0-kubernetes-pods-scrape-config'
162162
honor_labels: true
163+
fallback_scrape_protocol: "PrometheusText1.0.0"
163164

164165
kubernetes_sd_configs:
165166
- role: pod
@@ -232,6 +233,7 @@ to be compatible with the well-known configuration via annotations.
232233
# * `prometheus.io/port`: Scrape the pod on the indicated port instead of the default of `9102`.
233234
- job_name: 'dash0-kubernetes-pods-scrape-config-slow'
234235
honor_labels: true
236+
fallback_scrape_protocol: "PrometheusText1.0.0"
235237

236238
scrape_interval: 5m
237239
scrape_timeout: 30s

0 commit comments

Comments
 (0)