An open API service indexing awesome lists of open source software.

https://github.com/cirocosta/sample-collect-docker-metrics

Example of how to integrate Prometheus, Grafana and Docker Daemon metrics
https://github.com/cirocosta/sample-collect-docker-metrics

containers docker grafana metrics monitoring prometheus

Last synced: 5 months ago
JSON representation

Example of how to integrate Prometheus, Grafana and Docker Daemon metrics

Awesome Lists containing this project

README

          

Sample Docker daemon metrics collection



How to collect Docker Daemon Metrics




An example of how to make use of [Prometheus](https://prometheus.io/), [Grafana](https://grafana.com/) and [Docker daemon metrics](https://docs.docker.com/config/thirdparty/prometheus/) to graph Docker daemon statistics.


![Illustration of the Docker metrics collection](https://ops.tips/gists/-/images/docker-daemon-grafana-metrics.png)


### Usage

```sh
make run # builds grafana and prometheus
# images and initializes all three containers
# that forms the infra (grafana, prometheus and
# node_exporter).

make update-dashboards # updates the list of json files that represent
# the dashboards configured in Grafana.

```

### More

See:

- [Initializing Grafana with preconfigured dashboards](https://ops.tips/blog/initialize-grafana-with-preconfigured-dashboards/).