Skip to content

Commit

Permalink
[chore] Update tests for confmap strict type change (#34027)
Browse files Browse the repository at this point in the history
Make room for
open-telemetry/opentelemetry-collector#10554

---------

Co-authored-by: Pablo Baeyens <[email protected]>
  • Loading branch information
TylerHelmuth and mx-psi authored Jul 11, 2024
1 parent 02d5636 commit c5cc10c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion connector/failoverconnector/testdata/config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
failover:

failover/default:
priority_levels: [traces]
priority_levels:
- [traces]

failover/full:
priority_levels:
Expand Down
2 changes: 1 addition & 1 deletion exporter/datadogexporter/examples/k8s-chart/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ data:
encoding: "json"
initial_fields:
# Add the service field to every log line. It can be used for filtering in Datadog.
- service: "otel-collector"
service: "otel-collector"
pipelines:
metrics:
receivers: [hostmetrics, otlp]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ receivers:
processors:

probabilistic_sampler/traces:
sampling_percentage: +Inf
sampling_percentage: +.Inf

exporters:
nop:
Expand Down
2 changes: 1 addition & 1 deletion receiver/snmpreceiver/testdata/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ snmp/no_version:
snmp/bad_version:
collection_interval: 10s
endpoint: "udp://localhost:161"
version: 9999
version: '9999'
community: public
metrics:
m3:
Expand Down
2 changes: 1 addition & 1 deletion receiver/sqlqueryreceiver/testdata/config-logs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sqlquery:
datasource: "host=localhost port=5432 user=me password=s3cr3t sslmode=disable"
queries:
- sql: "select * from test_logs where log_id > ?"
tracking_start_value: 10
tracking_start_value: '10'
tracking_column: log_id
logs:
- body_column: log_body

0 comments on commit c5cc10c

Please sign in to comment.