New topic for cluster metrics

This commit is contained in:
ddeyo 2018-09-07 10:43:38 -07:00
parent 2d5142f252
commit cd9541f1e9
2 changed files with 28 additions and 1 deletions

View File

@ -4,7 +4,6 @@ keywords: prometheus, metrics
title: Collect Docker metrics with Prometheus
redirect_from:
- /engine/admin/prometheus/
- /config/thirdparty/prometheus/
---
[Prometheus](https://prometheus.io/) is an open-source systems monitoring and

View File

@ -0,0 +1,28 @@
---
description: Collecting cluster metrics with Prometheus
keywords: prometheus, metrics
title: Collect cluster metrics with Prometheus
redirect_from:
- /engine/admin/prometheus/
---
> Beta disclaimer
>
> This is beta content. It is not yet complete and should be considered a work in progress. This content is subject to change without notice.
[Prometheus](https://prometheus.io/) is an open-source systems monitoring and
alerting toolkit. You can configure Docker as a Prometheus target. This topic
shows you how to configure Docker, set up Prometheus to run as a Docker
container, and monitor your Docker instance using Prometheus.
> **Warning**: The available metrics and the names of those metrics are in
> active development and may change at any time.
Currently, you can only monitor Docker itself. You cannot currently monitor your
application using the Docker target.
In UCP 3.0, Prometheus servers were standard containers. In UCP 3.1, Prometheus runs as a Kubernetes deployment. By default, this will be a daemonset that runs on every manager node. One benefit of this change is you can set the daemonset to not schedule on any nodes, which effectively disables Prometheus if you dont use the UCP web interface.
The data is stored locally on disk for each Prometheus server, so data is not replicated on new managers or if you schedule Prometheus to run on a new node. Metrics are not kept longer than 24 hours.
> **Warning**: Upgrading UCP from 3.0.x to 3.1.x causes loss of metrics data.