-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
[kv store] add metrics #21385
base: main
Are you sure you want to change the base?
[kv store] add metrics #21385
Conversation
3da464e
to
ae088d5
Compare
ae088d5
to
acfe7a7
Compare
acfe7a7
to
988e223
Compare
988e223
to
bdc12d6
Compare
let num_keys_requested = keys.len(); | ||
let result = self.multi_get_internal(table_name, keys).await; | ||
let labels = [&self.client_name, table_name]; | ||
match &self.metrics { |
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.
I think having metrics in multi_get
labeled by table is very useful. But I wonder if it would be useful to all group by method because we have multiple methods that may hit the same table, like get_latest_object
and get_objects
and it would be useful to know if their metrics are somehow different.
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 PR only covers multi_get
, and there is only one method per column family.
reversed_scan
can be added as followup.
Just curious, why the indexer needs to rely on the KV store for get_latest_object call?
bdc12d6
to
09053bb
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
09053bb
to
dcd0f4e
Compare
Description
bigtable get metrics
Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.