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

Conversation

TylerHelmuth
Copy link
Member

@@ -4,7 +4,7 @@ receivers:
processors:

probabilistic_sampler/traces:
sampling_percentage: +Inf
sampling_percentage: 999_999_999_999_999_999_999_999_999_999_999_999_999
Copy link
Contributor

Choose a reason for hiding this comment

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

is +Inf no longer supported?

Copy link
Member Author

@TylerHelmuth TylerHelmuth Jul 10, 2024

Choose a reason for hiding this comment

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

I wasn't able to find a way to get it interpreted as a float. I tried !!float +Inf and got this error message:

cannot resolve the configuration: cannot retrieve the configuration: yaml: cannot decode !!str `+Inf` as a !!float

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Updated this on dde0255

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks!

@@ -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 [][]

@mx-psi mx-psi merged commit c5cc10c into open-telemetry:main Jul 11, 2024
154 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants