diff --git a/README.md b/README.md index d146725..6f187e1 100644 --- a/README.md +++ b/README.md @@ -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`. - + ## Alerting Alerting has been added to the stack with Slack integration. 2 Alerts have been added and are managed diff --git a/images/Add_Data_Source.png b/images/Add_Data_Source.png new file mode 100644 index 0000000..6c4f54d Binary files /dev/null and b/images/Add_Data_Source.png differ diff --git a/images/Import_Dashboard.png b/images/Import_Dashboard.png new file mode 100644 index 0000000..06824de Binary files /dev/null and b/images/Import_Dashboard.png differ