forked from coop-cloud/monitoring-ng
Compare commits
1 Commits
shorter-na
...
traefik-se
| Author | SHA1 | Date | |
|---|---|---|---|
| 5172806135 |
2
abra.sh
2
abra.sh
@ -16,7 +16,7 @@ export GRAFANA_ALERTS_NODE_VERSION=v1c
|
||||
# creates a default prometheus scrape config for a given node
|
||||
add_node(){
|
||||
name=$1
|
||||
add_domain "$name" "$name:8082"
|
||||
add_domain "$name" "metrics.traefik.$name"
|
||||
add_domain "$name" "node.monitoring.$name"
|
||||
add_domain "$name" "cadvisor.monitoring.$name"
|
||||
cat "/prometheus/scrape_configs/$name.yml"
|
||||
|
||||
@ -5,3 +5,5 @@ COMPOSE_FILE="$COMPOSE_FILE:compose.grafana-oidc.yml"
|
||||
2. SMTP was moved into a seperate compose file. If you have smtp configured you need to add the following line to you .env file:
|
||||
|
||||
COMPOSE_FILE="$COMPOSE_FILE:compose.grafana-smtp.yml"
|
||||
|
||||
3. The scape-config.example.yml file and add_node() command were updated to use a secure endpoint for the traefik metrics instead http. This requires an updated Traefik recipe that publishes the metrics on https.
|
||||
@ -1,4 +1,4 @@
|
||||
- targets:
|
||||
- 'example.org:8082'
|
||||
- 'metrics.traefik.example.org'
|
||||
- 'node.monitoring.example.org'
|
||||
- 'cadvisor.monitoring.example.org'
|
||||
|
||||
Reference in New Issue
Block a user