Loading .gitlab-ci.yml +1 −5 Original line number Diff line number Diff line Loading @@ -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 README.md +4 −2 Original line number Diff line number Diff line Loading @@ -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" } ``` Loading Loading
.gitlab-ci.yml +1 −5 Original line number Diff line number Diff line Loading @@ -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
README.md +4 −2 Original line number Diff line number Diff line Loading @@ -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" } ``` Loading