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
Remove non-specific webhook request metrics #1428
Remove non-specific webhook request metrics #1428
Conversation
As g8r once had only a validation webhook, certain metrics (request_count, request_count_duration_seconds) were implemented without qualifiers. i.e., the fact that they applied to the validation webhook was _assumed_. As g8r now has both validation and mutation webhooks, separate metrics for both are required. These metrics have already been implemented, and have been released since v3.4.0. The original metrics were deprecated (but retained) at the time of that release. As we are approaching v3.6, it is finally time to remove these metrics. This PR removes the code and updates the metrics README. Fixes open-policy-agent#1010 Signed-off-by: juliankatz <juliankatz@google.com>
Codecov Report
@@ Coverage Diff @@
## master #1428 +/- ##
==========================================
- Coverage 50.04% 49.99% -0.06%
==========================================
Files 75 75
Lines 5061 5047 -14
==========================================
- Hits 2533 2523 -10
+ Misses 2178 2175 -3
+ Partials 350 349 -1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
… deprecate-non-specific-metrics Signed-off-by: juliankatz <juliankatz@google.com>
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
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
… deprecate-non-specific-metrics Signed-off-by: juliankatz <juliankatz@google.com>
… deprecate-non-specific-metrics Signed-off-by: juliankatz <juliankatz@google.com>
As g8r once had only a validation webhook, certain metrics (request_count, request_count_duration_seconds) were implemented without qualifiers. i.e., the fact that they applied to the validation webhook was _assumed_. As g8r now has both validation and mutation webhooks, separate metrics for both are required. These metrics have already been implemented, and have been released since v3.4.0. The original metrics were deprecated (but retained) at the time of that release. As we are approaching v3.6, it is finally time to remove these metrics. This PR removes the code and updates the metrics README. Fixes open-policy-agent#1010 Signed-off-by: juliankatz <juliankatz@google.com>
As g8r once had only a validation webhook, certain metrics
(request_count, request_count_duration_seconds) were implemented without
qualifiers. i.e., the fact that they applied to the validation webhook
was assumed.
As g8r now has both validation and mutation webhooks, separate metrics
for both are required. These metrics have already been implemented, and
have been released since v3.4.0. The original metrics were deprecated
(but retained) at the time of that release.
As we are approaching v3.6, it is finally time to remove these metrics.
This PR removes the code and updates the metrics README.
Fixes #1010
Signed-off-by: juliankatz juliankatz@google.com