Project

General

Profile

Story #13198

Updated by Tom Clegg over 6 years ago

Use As a starting point report the same approach stats as keepstore metrics added in #13025 (prometheus, etc). 

 Easiest metrics to provide: 
 * reqDuration (partitioned by method and status) using promhttp.InstrumentHandlerDuration 
 * timeToStatus (ditto) using log.AddHook, as in #13025 

 This should be refactored into a go package (sdk/go/httpserver?) instead of copying code from keepstore to keep-web. 

 Keep-web specific metrics to provide: 
 * time to fetch block from keep 
 * cache hits, misses 
 arv-mount

Back