Merge pull request #590 from juliusv/prometheus-docs

Add Prometheus documentation.
This commit is contained in:
Rohit Jnagal 2015-03-14 21:31:20 -07:00
commit 8e787e010b
2 changed files with 7 additions and 0 deletions

View File

@ -36,6 +36,8 @@ See the more detailed instructions in the [build page](docs/build.md). This incl
cAdvisor supports exporting stats to [InfluxDB](http://influxdb.com). See the [documentation](docs/influxdb.md) for more information and examples.
cAdvisor also exposes container stats as [Prometheus](http://prometheus.io) metrics. See the [documentation](docs/prometheus.md) for more information.
[Heapster](https://github.com/GoogleCloudPlatform/heapster) enables cluster wide monitoring of containers using cAdvisor.
## Web UI

5
docs/prometheus.md Normal file
View File

@ -0,0 +1,5 @@
# Monitoring cAdvisor with Prometheus
cAdvisor exposes container statistics as [Prometheus](http://prometheus.io) metrics out of the box. By default, these metrics are served under the `/metrics` HTTP endpoint. This endpoint may be customized by setting the `-prometheus_endpoint` command-line flag.
To monitor cAdvisor with Prometheus, simply configure one or more jobs in Prometheus which scrape the relevant cAdvisor processes at that metrics endpoint. For details, see Prometheus's [Configuration](http://prometheus.io/docs/operating/configuration/) documentation, as well as the [Getting started](http://prometheus.io/docs/introduction/getting_started/) guide.