Skip to content

Commit

Permalink
Add fallback scrape protocol to ddexporter exporter tests
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
  • Loading branch information
ArthurSens committed Jan 21, 2025
1 parent 7c46a87 commit c26b562
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions exporter/datadogexporter/examples/collector-metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ receivers:
scrape_configs:
- job_name: 'otelcol'
scrape_interval: 10s
fallback_scrape_protocol: "PrometheusText1.0.0"
static_configs:
- targets: ['0.0.0.0:8888']

Expand Down
1 change: 1 addition & 0 deletions exporter/datadogexporter/examples/ootb-ec2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ receivers:
scrape_configs:
- job_name: 'otelcol'
scrape_interval: 10s
fallback_scrape_protocol: "PrometheusText1.0.0"
static_configs:
- targets: ['0.0.0.0:8888']

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ receivers:
scrape_configs:
- job_name: 'otelcol'
scrape_interval: 1s
fallback_scrape_protocol: "PrometheusText1.0.0"
static_configs:
- targets: [ 'localhost:8888' ]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ receivers:
scrape_configs:
- job_name: 'otelcol'
scrape_interval: 1s
fallback_scrape_protocol: "PrometheusText1.0.0"
static_configs:
- targets: [ 'localhost:8888' ]
metric_relabel_configs:
Expand Down

0 comments on commit c26b562

Please sign in to comment.