Skip to content

Conversation

wenxu1024
Copy link
Contributor

@wenxu1024 wenxu1024 commented Jul 25, 2023

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

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. thanks!

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",
Copy link
Contributor

@danielblando danielblando Jul 25, 2023

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.

Copy link
Contributor Author

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.

Copy link
Contributor

@danielblando danielblando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

yeya24 and others added 3 commits July 26, 2023 17:40
* 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]>
@pull-request-size pull-request-size bot added size/L and removed size/M labels Jul 26, 2023
@wenxu1024 wenxu1024 closed this Jul 26, 2023
@wenxu1024 wenxu1024 deleted the ddb_metrics branch July 26, 2023 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants