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

Fix YAML config issues #220

Merged
merged 2 commits into from
Mar 11, 2021
Merged

Fix YAML config issues #220

merged 2 commits into from
Mar 11, 2021

Conversation

puckpuck
Copy link
Contributor

When using YAML to specify config rules, the values can be interpreted as int instead of int64, leading to rule conditions not getting evaluated. This fixes the compare function for RulesBasedSampler to check for the int type as well when doing a compare.

@puckpuck puckpuck requested review from martin308 and a team March 10, 2021 01:51
@vreynolds vreynolds added type: bug Something isn't working version: bump patch A PR with release-worthy changes and is backwards-compatible. labels Mar 11, 2021
@puckpuck puckpuck merged commit 4b836be into main Mar 11, 2021
@puckpuck puckpuck deleted the puckpuck.yaml-config-issue branch March 11, 2021 18:11
ghost pushed a commit to opsramp/tracing-proxy that referenced this pull request Jul 5, 2024
* yaml config: add int as a type for rules compare

* test case for int compare
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working version: bump patch A PR with release-worthy changes and is backwards-compatible.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants