Files
kubernetes/pkg
Kubernetes Submit Queue 18ffc95308 Merge pull request #36704 from fabxc/client-metrics2
Automatic merge from submit-queue

Use Prometheus instrumentation conventions

The `System` and `Subsystem` parameters are subject to removal.
(x-ref: https://github.com/prometheus/client_golang/issues/240)

All metrics should use base units, which is seconds in the duration
case.

Counters should always end in `_total` and metrics should avoid
referring to potential label dimensions. Those should rather be
mentioned in the documentation string.

@kubernetes/sig-instrumentation 

Reference docs:
https://prometheus.io/docs/practices/instrumentation/
https://prometheus.io/docs/practices/naming/

**Release note**:
```
Breaking change: Renamed REST client Prometheus metrics to follow the instrumentation conventions ("request_latency_microseconds" -> "rest_client_request_latency_seconds", "request_status_codes" -> "rest_client_requests_total"). Please update your alerting pipeline if you rely on them. 
```
2017-03-10 09:04:18 -08:00
..
2017-03-09 18:24:37 -05:00
API
2017-02-28 23:05:40 -08:00
2017-03-10 07:24:38 +01:00
2017-01-19 09:50:16 -05:00
2017-03-02 08:56:26 +01:00
2017-03-02 10:23:58 +01:00
2017-03-09 18:24:37 -05:00
2017-03-09 18:24:37 -05:00
2017-03-02 08:56:26 +01:00