add screenshots

This commit is contained in:
Brian Christner 2017-02-21 16:02:06 +01:00
parent 8d0a6f42a6
commit 8160376656
No known key found for this signature in database
GPG key ID: 8453AD0CB29591D1
3 changed files with 6 additions and 2 deletions

View file

@ -10,7 +10,11 @@ Clone the project to your Docker host.
If you would like to change which targets should be monitored or make configuration changes edit the [/prom/prometheus.yml](https://github.com/vegasbrianc/prometheus/blob/version-2/prometheus/prometheus.yml) file. The targets section is where you define what should be monitored by Prometheus. The names defined in this file are actually sourced from the service name in the docker-compose file. If you wish to change names of the services you can add the "container_name" parameter in the `docker-compose.yml` file.
## Configuration
In order to pull GitHub stats consistently it is recommended you create a personal access token inside of GitHub. This token will allow you to query the GitHub API more frequently than a public user. [Create GitHub Token](https://github.com/settings/tokens). Copy the GitHub Token you created and paste into the bottom of [docker-compose.yml](https://github.com/vegasbrianc/github-monitoring/blob/master/docker-compose.yml) file under the metrics service section.
In order to pull GitHub stats consistently it is recommended you create a personal access token inside of GitHub. This token will allow you to query the GitHub API more frequently than a public user. [Create GitHub Token](https://github.com/settings/tokens).
Copy the GitHub Token you created and paste into the bottom of the [docker-compose.yml](https://github.com/vegasbrianc/github-monitoring/blob/master/docker-compose.yml) file under the metrics service section replacing the `GITHUB_TOKEN` with your newly created token.
metrics:
tty: true
@ -46,7 +50,7 @@ Now we need to create the Prometheus Datasource in order to connect Grafana to P
* Click `Data Sources`
* Click the green button `Add Data Source`.
<img src="https://github.com/vegasbrianc/prometheus/blob/version-2/images/Add_Data_Source.png" width="400" heighth="400">
<img src="https://github.com/vegasbrianc/github-monitoring/blob/version-2/images/Add_Data_Source.png" width="400" heighth="400">
## Alerting
Alerting has been added to the stack with Slack integration. 2 Alerts have been added and are managed

BIN
images/Add_Data_Source.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
images/Import_Dashboard.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB