Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] Update tests for confmap strict type change #34027

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]
Copy link
Contributor

Choose a reason for hiding this comment

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

should this be - traces?

Copy link
Member Author

Choose a reason for hiding this comment

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

The field is a [][]


failover/full:
priority_levels:
Expand Down
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