Skip to content

Commit

Permalink
DOC: Adds exporters section into auto-scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjpfan committed May 31, 2018
1 parent 863daf9 commit 6551d19
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/auto-scaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,17 @@ docker stack ps monitor

Please wait a few moments if some of the replicas do not yet have the status set to `running`.

Now that the `monitor` stack is up and running, we should proceed with deployment of Jenkins and its agent.
## Deploying Exporters

Prometheus is a pull based system. It scrapes exporters and stores metrics in its internal database. We'll deploy exporter stack defined in the [stacks/exporters-tutorial.yml](https://github.com/docker-flow/docker-flow-monitor/blob/master/stacks/exporters-tutorial.yml). It contains two services: `cadvisor` and `node-exporter`. Please consult the [Collecting Metrics And Defining Alerts tutorial](https://monitor.dockerflow.com/tutorial/#collecting-metrics-and-defining-alerts) for details on these exporters.

```bash
docker stack deploy \
-c stacks/exporters-tutorial.yml \
exporter
```

Please wait until the service in the stack are up-and-running. You can check their status by executing `docker stack ps exporter` command. Once the `exporter` stack is up and running, we should proceed with deployment of Jenkins and its agent.

## Deploying Jenkins

Expand Down

0 comments on commit 6551d19

Please sign in to comment.