Commit Graph

5 Commits

Author SHA1 Message Date
Ross Guarino d69511349b 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>
2018-02-04 15:17:16 -08:00
Tristan Swadell 35049d4a6f Revendor OPA dependencies 2018-01-11 08:59:28 -08:00
Matthew Mussomele 86e9114572 Update vendor 2017-06-29 13:10:36 -04:00
Torin Sandall d8f8a103da Vendoring: Add gopkg.in/fsnotify.v1 and update 2016-10-24 15:18:52 -07:00
Torin Sandall d1ac1d024d Vendoring: Add siphash and update dependencies 2016-07-11 15:32:38 -07:00