commit
97bdef76fc
|
@ -7,7 +7,7 @@ Before we get started installing the Prometheus stack. Ensure you install the la
|
|||
##Installation & Configuration
|
||||
Clone the project locally 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.
|
||||
If you would like to change which targets should be monitored or make configuration changes edit the [/prometheus/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.
|
||||
|
||||
Once configurations are done let's start it up. From the /prometheus project directory run the following command:
|
||||
|
||||
|
@ -36,11 +36,12 @@ Alerts - `prometheus/alert.rules`
|
|||
Slack configuration - `alertmanager/config.yml`
|
||||
|
||||
The Slack configuration requires to build a custom integration.
|
||||
* Open your slack team in your browser https://<your-slack-team>.slack.com/apps
|
||||
* Open your slack team in your browser `https://<your-slack-team>.slack.com/apps`
|
||||
* Click build in the upper right corner
|
||||
* Make Custom integration
|
||||
* Choose Incomming Web Hooks
|
||||
* Make a Custom integration
|
||||
* Choose Incoming Web Hooks
|
||||
* Select which channel
|
||||
* Click on Add Incoming WebHooks integration
|
||||
* Copy the Webhook URL into the `alertmanager/config.yml` URL section
|
||||
* Fill in Slack username and channel
|
||||
|
||||
|
|
Loading…
Reference in New Issue