-
Notifications
You must be signed in to change notification settings - Fork 453
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
[coordinator] Add continue to rule when matching Graphite rules #2063
[coordinator] Add continue to rule when matching Graphite rules #2063
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me.
Codecov Report
@@ Coverage Diff @@
## r/fix-graphite-tag-options-end-to-end #2063 +/- ##
========================================================================
+ Coverage 59.4% 72% +12.6%
========================================================================
Files 864 1006 +142
Lines 76619 86990 +10371
========================================================================
+ Hits 45555 62699 +17144
+ Misses 27533 20024 -7509
- Partials 3531 4267 +736
Continue to review full report at Codecov.
|
// Break because we only want to apply one rule per metric based on which | ||
// ever one matches first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment is no longer valid right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
break | ||
} | ||
} | ||
err := i.writeWithOptions(ctx, resources, timestamp, value, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could throw these writes into a consumer queue if rule.rule.Continue is true? Don't know if it's necessary atm
What this PR does / why we need it:
Allows multiple graphite rules to be matched.
Special notes for your reviewer:
Does this PR introduce a user-facing and/or backwards incompatible change?:
Does this PR require updating code package or user-facing documentation?: