-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
ttljob: add metrics to row level TTL #76701
Conversation
45d547d
to
a2c2dba
Compare
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.
minor nits and questions
double post'd! |
d6f2ad4
to
3102d51
Compare
a782405
to
86690e8
Compare
This commit adds metrics about the row-level TTL job. Note new metrics are created on a per-TTL table basis, which forms the basis of the "relation" label. This allows monitoring of TTL jobs per table. Release note: None
bors r+ assuming nits are non-blocking, they've all been addressed! |
Build succeeded: |
} | ||
|
||
func makeRowLevelTTLAggMetrics(histogramWindowInterval time.Duration) metric.Struct { | ||
sigFigs := 2 |
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.
btw, are we sure we want sigFigs=2? Wouldn't 1 be sufficient?
This commit adds metrics about the row-level TTL job. Note new metrics
are created on a per-TTL table basis, which forms the basis of the
"relation" label. This allows monitoring of TTL jobs per table.
Release note: None