distribution/registry
tifayuki e3c37a46e2 Add Prometheus Metrics
at the first iteration, only the following metrics are collected:

  - HTTP metrics of each API endpoint
  - cache counter for request/hit/miss
  - histogram of storage actions, including:
    GetContent, PutContent, Stat, List, Move, and Delete

Signed-off-by: tifayuki <tifayuki@gmail.com>
2018-02-09 14:27:51 -08:00
..
api registry: feed the linter by removing redundant err check 2017-09-29 13:27:49 -07:00
auth context: remove definition of Context 2017-08-11 15:53:31 -07:00
client Allow clients to request specific manifest media types 2017-10-03 17:06:11 -04:00
handlers Add Prometheus Metrics 2018-02-09 14:27:51 -08:00
listener [Server] Listen and serve on a unix socket 2015-05-11 16:00:14 +03:00
middleware context: remove definition of Context 2017-08-11 15:53:31 -07:00
proxy registry: feed the linter by removing redundant err check 2017-09-29 13:27:49 -07:00
storage Add Prometheus Metrics 2018-02-09 14:27:51 -08:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go Add Prometheus Metrics 2018-02-09 14:27:51 -08:00
registry_test.go Allow registry clients to connect via http2 2016-08-13 22:07:42 -04:00
root.go context: remove definition of Context 2017-08-11 15:53:31 -07:00