-
Notifications
You must be signed in to change notification settings - Fork 23
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
Expose cache size as an operational metric #398
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
pkg/pipeline/encode/encode_prom.go
Outdated
mChacheLen := operational.DefineMetric( | ||
"encode_prom_metrics_reported", | ||
"Total number of prometheus metrics reported by this stage", | ||
operational.TypeGauge, | ||
"stage", | ||
) |
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.
At the beginning of this file, there are definitions of some other operational metrics (metricsProcessed
, metricsDropped
and encodePromErrors
). I think this definition should move there.
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.
done
Codecov Report
@@ Coverage Diff @@
## main #398 +/- ##
==========================================
+ Coverage 63.63% 63.78% +0.14%
==========================================
Files 92 92
Lines 6471 6481 +10
==========================================
+ Hits 4118 4134 +16
+ Misses 2113 2105 -8
- Partials 240 242 +2
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 2 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
02e5c20
to
d5acdf3
Compare
No description provided.