-
Notifications
You must be signed in to change notification settings - Fork 38
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
feat/Add metrics per container and per shard #2437
feat/Add metrics per container and per shard #2437
Conversation
ff7586b
to
22fd58b
Compare
Codecov Report
@@ Coverage Diff @@
## master #2437 +/- ##
==========================================
+ Coverage 29.41% 29.43% +0.02%
==========================================
Files 399 399
Lines 30346 30384 +38
==========================================
+ Hits 8925 8945 +20
- Misses 20680 20696 +16
- Partials 741 743 +2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
payloadSize = prometheus.NewGaugeVec(prometheus.GaugeOpts{ | ||
Namespace: storageNodeNameSpace, | ||
Subsystem: engineSubsystem, | ||
Name: "payload_size", |
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 name seems to generic to me, how about shard_payload_size/volume
?
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.
it will always have a "shard"
label valued with its ID. do you still think it is required (i dont mind just confirm it, please)?
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.
if shard
will be mentioned, then it's ok
22fd58b
to
8a60360
Compare
8a60360
to
fc51eb8
Compare
No need to store everything in a `map` but at the same time, it makes things more complex. Signed-off-by: Pavel Karpy <[email protected]>
Closes nspcc-dev#2116. Signed-off-by: Pavel Karpy <[email protected]>
Closes nspcc-dev#2023. Signed-off-by: Pavel Karpy <[email protected]>
fc51eb8
to
c97e432
Compare
No description provided.