Story #14645

Updated by Peter Amstutz almost 3 years ago

Report client latency on keep requests.

GET average latency (across all keepstores; parameterized by keepstore) (if possible, time to first byte)
PUT average latency (across all keepstores; parameterized by keepstore)

GET average transfer speed (across all keepstores; parameterized by keepstore)
PUT average transfer speed (across all keepstores; parameterized by keepstore)

Average over: last 30 seconds, last 5 minutes, since start.

Use @prometheus_client@ Python Prometheus library to aggregate counters/averages, read them
back out and report them in current crunchstat format. Because the counters are in @arvados.keep.KeepClient@ this means @prometheus_client@ will become a dependency of @arvados-python-client@.

Back