No need for the extremely long container ID in labels

Just name is enough for meaningful results
This commit is contained in:
Sander Saares 2019-12-24 09:15:37 +02:00
parent 7226c7c3cc
commit b394173b60
6 changed files with 26 additions and 32 deletions

View file

@ -21,7 +21,7 @@ Example Prometheus scrape configuration:
# What metrics are exported?
Basic state (running or not), lifecycle (unexpected restart count) and resource usage metrics for each container, labeled by container ID and name. Metrics are collected from the same instance of Docker that is running the exporter app.
Basic state (running or not), lifecycle (unexpected restart count) and resource usage metrics for each container, labeled by container name. Metrics are collected from the same instance of Docker that is running the exporter app.
To see the detailed list and documentation on each metric type, open the `/metrics` URL of the running app and read the output.