-
Notifications
You must be signed in to change notification settings - Fork 833
add write consumed capacity to ddb metrics #5481
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
Conversation
Signed-off-by: Wen Xu <[email protected]>
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. thanks!
pkg/ring/kv/dynamodb/metrics.go
Outdated
dynamodbUsageMetrics := promauto.With(registerer).NewCounterVec(prometheus.CounterOpts{ | ||
Name: "dynamodb_kv_read_capacity_total", | ||
Help: "Total used read capacity on dynamodb", | ||
Name: "dynamodb_kv_read_write_capacity_total", |
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.
Should we add a changelog for this?
I think the problem is that we are changing the name of the metric and if someone is already using it, it might break their usecase.
Also how about dynamodb_kv_consumed_capacity_total
. Might be more a clear relation with ddb info.
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.
makes sense. I will make the change and add statement in ChangeLog.
Signed-off-by: Wen Xu <[email protected]>
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.
Thanks
Signed-off-by: Wen Xu <[email protected]>
* clean up no step evaluation interval in QFE codec Signed-off-by: Ben Ye <[email protected]> * fix tests Signed-off-by: Ben Ye <[email protected]> --------- Signed-off-by: Ben Ye <[email protected]>
…t#5486) Signed-off-by: Alan Protasio <[email protected]>
Signed-off-by: Wen Xu <[email protected]>
What this PR does:
Before we only have Query, Get, List label value for the ddb_read_capacity_consumed metrics
Now adding more dimensions, including Batch, Delete, Put,
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]