diff --git a/prometheus_grafana/readme.md b/prometheus_grafana/readme.md
index 078bfe0..b337f15 100644
--- a/prometheus_grafana/readme.md
+++ b/prometheus_grafana/readme.md
@@ -447,37 +447,37 @@ groups:
```
-
- prometheus.yml
- ```
- global:
- scrape_interval: 15s
- evaluation_interval: 15s
+
+prometheus.yml
+```
+global:
+ scrape_interval: 15s
+ evaluation_interval: 15s
- scrape_configs:
- - job_name: 'nodeexporter'
- static_configs:
- - targets: ['nodeexporter:9100']
+scrape_configs:
+ - job_name: 'nodeexporter'
+ static_configs:
+ - targets: ['nodeexporter:9100']
- - job_name: 'cadvisor'
- static_configs:
- - targets: ['cadvisor:8080']
+ - job_name: 'cadvisor'
+ static_configs:
+ - targets: ['cadvisor:8080']
- - job_name: 'prometheus'
- static_configs:
- - targets: ['localhost:9090']
+ - job_name: 'prometheus'
+ static_configs:
+ - targets: ['localhost:9090']
- alerting:
- alertmanagers:
- - scheme: http
- static_configs:
- - targets:
- - 'alertmanager:9093'
+alerting:
+ alertmanagers:
+ - scheme: http
+ static_configs:
+ - targets:
+ - 'alertmanager:9093'
- rule_files:
- - '/etc/prometheus/rules/alert.rules'
- ```
-
+rule_files:
+ - '/etc/prometheus/rules/alert.rules'
+```
+
test:
`curl -H 'Content-Type: application/json' -d '[{"labels":{"alertname":"blabla"}}]' https://alert.example.com/api/v1/alerts`