kubernetes/pkg/kubelet/server/stats
Kubernetes Submit Queue 578195873a Merge pull request #51553 from wongma7/pvc-prometheus
Automatic merge from submit-queue

Expose PVC metrics via kubelet prometheus

This depends on https://github.com/kubernetes/kubernetes/pull/51448, opening early though. second commit is mine and mostly a copy/paste job.

implements metrics listed in here https://github.com/kubernetes/community/pull/855 following method here https://github.com/kubernetes/community/pull/930#issuecomment-325509736

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: https://github.com/kubernetes/features/issues/363

**Special notes for your reviewer**:

**Release note**:

```release-note
PersistentVolumeClaim metrics like "volume_stats_inodes" and "volume_stats_capacity_bytes" are now reported via kubelet prometheus
```
2017-09-02 21:22:43 -07:00
..
testing Change StatsProvider interface to provide container stats from either cadvisor or CRI and implement this interface using cadvisor 2017-08-25 13:11:26 -07:00
BUILD Expose PVC metrics via kubelet prometheus 2017-09-01 12:50:17 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
fs_resource_analyzer.go fix typo 2017-08-15 16:11:36 +08:00
handler.go Change StatsProvider interface to provide container stats from either cadvisor or CRI and implement this interface using cadvisor 2017-08-25 13:11:26 -07:00
resource_analyzer.go Change StatsProvider interface to provide container stats from either cadvisor or CRI and implement this interface using cadvisor 2017-08-25 13:11:26 -07:00
summary_test.go Change StatsProvider interface to provide container stats from either cadvisor or CRI and implement this interface using cadvisor 2017-08-25 13:11:26 -07:00
summary.go Skip system container cgroup stats if undefined 2017-08-29 20:34:50 -04:00
volume_stat_calculator_test.go Add PVCRef to VolumeStats 2017-08-29 23:12:20 -07:00
volume_stat_calculator.go Expose PVC metrics via kubelet prometheus 2017-09-01 12:50:17 -04:00