package metrics
import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/google/cadvisor/metrics"
Index ¶
Types ¶
type PrometheusCollector ¶
type PrometheusCollector struct {
// contains filtered or unexported fields
}
PrometheusCollector implements prometheus.Collector.
func NewPrometheusCollector ¶
func NewPrometheusCollector(infoProvider subcontainersInfoProvider) *PrometheusCollector
NewPrometheusCollector returns a new PrometheusCollector.
func (*PrometheusCollector) Collect ¶
func (c *PrometheusCollector) Collect(ch chan<- prometheus.Metric)
Collect fetches the stats from all containers and delivers them as Prometheus metrics. It implements prometheus.PrometheusCollector.
func (*PrometheusCollector) Describe ¶
func (c *PrometheusCollector) Describe(ch chan<- *prometheus.Desc)
Describe describes all the metrics ever exported by cadvisor. It implements prometheus.PrometheusCollector.
Source Files ¶
prometheus.go
- Version
- v0.14.0
- Published
- Mar 30, 2015
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 43 seconds ago –
Tools for package owners.