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(cascadingfilterprocessor): do not attach sampling.rule attribute if trace accept rules are not specified #575

Merged
merged 2 commits into from
May 17, 2022

Conversation

pmm-sumo
Copy link
Contributor

This makes sure that sampling.rule attr is attached only when trace accept filters are defined only.

Previously, when drop trace filters were specified the sampling.rule=filtered attribute was attached, which in lack of probabilistic filter caused Trace2Metrics calculations create no actual metrics

@pmm-sumo pmm-sumo requested a review from a team as a code owner May 16, 2022 20:25
@github-actions github-actions bot added documentation Improvements or additions to documentation go labels May 16, 2022
Do not attach sampling.rule attribute if trace accept rules are not specified
@pmm-sumo pmm-sumo force-pushed the processor/cascading/apply-filter-on-accept-rule-only branch from 234ea94 to 87c5a1c Compare May 16, 2022 20:33
@pmm-sumo pmm-sumo enabled auto-merge (squash) May 17, 2022 12:44
@pmm-sumo pmm-sumo merged commit 0be367a into main May 17, 2022
@pmm-sumo pmm-sumo deleted the processor/cascading/apply-filter-on-accept-rule-only branch May 17, 2022 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation go
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants