Commit d4fe0d3e authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Merge branch 'dev' into 'master'

Actualiza documentación, revisa ci

See merge request redmic-project/metric/dockerd-exporter!3
parents c1307373 cd014bbd
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -6,10 +6,6 @@ include:
stages:
  - deploy

variables:
  PROJECT_PARENT_NAME: metric

.deploy:
  variables:
    STACK: ${PROJECT_PARENT_NAME}
    SERVICES_TO_CHECK: ${PROJECT_PARENT_NAME}_${CI_PROJECT_NAME}
    STACK: metric
+4 −2
Original line number Diff line number Diff line
@@ -4,14 +4,16 @@ Prometheus exporter for Docker daemon metrics. Inspired by https://github.com/st

## Requirements

You must enable Docker experimental metrics-addr in all Swarm nodes.
You must enable Docker `metrics-addr` in all Swarm nodes.

When you are using a Docker version prior to v20.10.0, `experimental` flags must be enabled too.

Edit `/etc/docker/daemon.json` to add these properties:

```json
{
	...
	"experimental": true,
	"experimental": true, #don't set this when Docker version >= 20.10.0
	"metrics-addr": "0.0.0.0:9323"
}
```