Add basic out-of-band metrics collection
Collect Duration metrics form the http handlers. Instrument each handler using the promhttp package. The metrics are partitioned on their status code, the name of the handler serving the request and the HTTP method, as "code", "handler" and "method" respectively. To avoid unbounded cardinality an approximation of the request's url is used as the "handler" dimension. The handlers roughly correspond to the different api resource path & the api version. Issue: #525 Signed-off-by: Ross Guarino <rssguar@gmail.com>
R
Ross Guarino committed
d69511349bdb610688e2632fabdbe32fd434c6e0
Parent: 20a6d49
Committed by Torin Sandall <torinsandall@gmail.com>
on 2/4/2018, 11:17:16 PM