pull/35/head
DoTheEvo 2 years ago
parent 83ee8dd953
commit 142879cfc2

@ -299,6 +299,7 @@ To add pushgateway functionality to the current stack:
<details> <details>
<summary>docker-compose.yml</summary> <summary>docker-compose.yml</summary>
```yml ```yml
services: services:
@ -324,6 +325,7 @@ To add pushgateway functionality to the current stack:
<details> <details>
<summary>Caddyfile</summary> <summary>Caddyfile</summary>
```php ```php
push.{$MY_DOMAIN} { push.{$MY_DOMAIN} {
reverse_proxy pushgateway:9091 reverse_proxy pushgateway:9091
@ -335,6 +337,7 @@ To add pushgateway functionality to the current stack:
<details> <details>
<summary>prometheus.yml</summary> <summary>prometheus.yml</summary>
```yml ```yml
global: global:
scrape_interval: 15s scrape_interval: 15s
@ -395,6 +398,7 @@ To add alertmanager to the current stack:
<details> <details>
<summary>alertmanager.yml</summary> <summary>alertmanager.yml</summary>
```yml ```yml
route: route:
receiver: 'email' receiver: 'email'
@ -421,6 +425,7 @@ To add alertmanager to the current stack:
<details> <details>
<summary>alert.rules</summary> <summary>alert.rules</summary>
```yml ```yml
groups: groups:
- name: host - name: host
@ -440,6 +445,7 @@ To add alertmanager to the current stack:
<details> <details>
<summary>prometheus.yml</summary> <summary>prometheus.yml</summary>
```yml ```yml
global: global:
scrape_interval: 15s scrape_interval: 15s
@ -534,6 +540,7 @@ To add alertmanager to the current stack:
<details> <details>
<summary>Caddyfile</summary> <summary>Caddyfile</summary>
```php ```php
alert.{$MY_DOMAIN} { alert.{$MY_DOMAIN} {
reverse_proxy alertmanager:9093 reverse_proxy alertmanager:9093

Loading…
Cancel
Save