File tree Expand file tree Collapse file tree 5 files changed +14
-0
lines changed
Expand file tree Collapse file tree 5 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -196,6 +196,9 @@ MEV_RELAYS=https://0xab78bf8c781c58078c3beb5710c57940874dd96aef2835e7742c866b4c7
196196# Prometheus service owner used to uniquely identify user from which metrics are pushed.
197197#SERVICE_OWNER=charon_user
198198
199+ # Discord user IDs for alert notifications (comma-separated).
200+ #ALERT_DISCORD_IDS=
201+
199202# Uncomment these if you have log exporting with Promtail
200203# and want to disable log export on a particular container.
201204#EL_NETHERMIND_PROMTAIL_MONITORED=false
Original file line number Diff line number Diff line change @@ -196,6 +196,9 @@ MEV_RELAYS=https://0x98f0ef62f00780cf8eb06701a7d22725b9437d4768bb19b363e882ae871
196196# Prometheus service owner used to uniquely identify user from which metrics are pushed.
197197#SERVICE_OWNER=charon_user
198198
199+ # Discord user IDs for alert notifications (comma-separated).
200+ #ALERT_DISCORD_IDS=
201+
199202# Uncomment these if you have log exporting with Promtail
200203# and want to disable log export on a particular container.
201204#EL_NETHERMIND_PROMTAIL_MONITORED=false
Original file line number Diff line number Diff line change @@ -196,6 +196,9 @@ MEV_RELAYS=https://0xa15b52576bcbf1072f4a011c0f99f9fb6c66f3e1ff321f11f461d15e31b
196196# Prometheus service owner used to uniquely identify user from which metrics are pushed.
197197#SERVICE_OWNER=charon_user
198198
199+ # Discord user IDs for alert notifications (comma-separated).
200+ #ALERT_DISCORD_IDS=
201+
199202# Uncomment these if you have log exporting with Promtail
200203# and want to disable log export on a particular container.
201204#EL_NETHERMIND_PROMTAIL_MONITORED=false
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ scrape_configs:
2323 - job_name: "charon"
2424 static_configs:
2525 - targets: ["charon:3620"]
26+ relabel_configs:
27+ - target_label: alert_discord_ids
28+ replacement: "$ALERT_DISCORD_IDS"
29+
2630 - job_name: "lodestar"
2731 static_configs:
2832 - targets: ["lodestar:5064"]
Original file line number Diff line number Diff line change 1414
1515sed -e " s|\$ PROM_REMOTE_WRITE_TOKEN|${PROM_REMOTE_WRITE_TOKEN} |g" \
1616 -e " s|\$ SERVICE_OWNER|${SERVICE_OWNER} |g" \
17+ -e " s|\$ ALERT_DISCORD_IDS|${ALERT_DISCORD_IDS} |g" \
1718 /etc/prometheus/prometheus.yml.example > /etc/prometheus/prometheus.yml
1819
1920/bin/prometheus \
You can’t perform that action at this time.
0 commit comments