-
Notifications
You must be signed in to change notification settings - Fork 121
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
Metric suggestions #184
Comments
We do have http total (cumulative) latency: "/tensorstore/http/total_time_ms" Several other drivers also include read_latency_ms / write_latency_ms, which are histograms and should give a good summary of read/write latency. I can make some of these more consistent, but not all kvstores will support all metrics. You probably want |
💯 on having the total wherever possible.
Understood, but a vote for
👍 |
With cc9fb66 I made the kvstore metrics a bit more consistent. I think that the latency metrics are pretty close to what you want: /tensorstore/kvstore/driver/read_latency_ms They will report buckets as well as aggregate latency values. |
Thanks, @laramiel! I've updated and now see:
I might be misinterpreting but what I would like to achieve is something of the form:
I can get the delta in read size from the total (by tracking the previous value) but with the aggregates for time, I can't, right? |
The total time is count * mean. Here it should be 5. So, for example, if I have this:
Then my total read time = But also the latency value may not be quite what we want; the start time is recorded somewhat before os |
👍 Understood and thanks.
Ah, this is good to know. I'm not overly concerned, but if there's a ever a different property that need to test, just let me know. 👍 |
In working on converting from OME-Zarr filesets from Zarr v2 to Zarr v3, I've been using zarr-python for the group and metadata migration and tensorstore for the large array conversion. The metrics API has been a welcome tool. Kudos and 👍 for it being non-experimental.
I have a few suggestions, though, ignoring how practical they may be to implement 🙂
Store
implementation that returns the bytes_{read,written} etc. metrics with a generic prefix.You can find some of these ideas loosely implemented in the simple
TSMetrics
class below:Example usage:
The text was updated successfully, but these errors were encountered: