Skip to content

Commit 87f70e6

Browse files
committed
Apply suggestions from code review
Hope this isn't too forward. Keen to get everything to rc while i'm on a roll. Signed-off-by: Oisín Kyne <[email protected]>
1 parent 4c9641a commit 87f70e6

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

.env.sample.holesky

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ LIDODVEXIT_EXIT_EPOCH=256
259259
# To get Alerted with Obol Agent monitoring on Discord, specify your Discord ID(s) below.
260260
# Enable developer mode on discord with User Settings > Advanced.
261261
# Then right click on a user's profile picture or name and select Copy ID to get a unique 18-digit number that represents their account.
262-
# Specify multiple discord IDs using comma separation. (e.g. `DISCORD_IDS=123456789098765432,098765432123456789`)
262+
# Specify multiple discord IDs using comma separation. (e.g. `ALERT_DISCORD_IDS=123456789098765432,098765432123456789`)
263263
#ALERT_DISCORD_IDS=""
264264

265265
# Uncomment these if you have log exporting with Promtail

.env.sample.hoodi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ LIDODVEXIT_EXIT_EPOCH=256
265265
# To get Alerted with Obol Agent monitoring on Discord, specify your Discord ID(s) below.
266266
# Enable developer mode on discord with User Settings > Advanced.
267267
# Then right click on a user's profile picture or name and select Copy ID to get a unique 18-digit number that represents their account.
268-
# Specify multiple discord IDs using comma separation. (e.g. `DISCORD_IDS=123456789098765432,098765432123456789`)
268+
# Specify multiple discord IDs using comma separation. (e.g. `ALERT_DISCORD_IDS=123456789098765432,098765432123456789`)
269269
#ALERT_DISCORD_IDS=""
270270

271271
# Uncomment these if you have log exporting with Promtail

.env.sample.mainnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ LIDODVEXIT_EXIT_EPOCH=194048
265265
# To get Alerted with Obol Agent monitoring on Discord, specify your Discord ID(s) below.
266266
# Enable developer mode on discord with User Settings > Advanced.
267267
# Then right click on a user's profile picture or name and select Copy ID to get a unique 18-digit number that represents their account.
268-
# Specify multiple discord IDs using comma separation. (e.g. `DISCORD_IDS=123456789098765432,098765432123456789`)
268+
# Specify multiple discord IDs using comma separation. (e.g. `ALERT_DISCORD_IDS=123456789098765432,098765432123456789`)
269269
#ALERT_DISCORD_IDS=""
270270

271271
# Uncomment these if you have log exporting with Promtail

compose-monitoring.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ services:
99
user: ":"
1010
networks: [dvnode]
1111
environment:
12-
PROM_REMOTE_WRITE_TOKEN: ${PROM_REMOTE_WRITE_TOKEN}
13-
SERVICE_OWNER: ${SERVICE_OWNER}
14-
ALERT_DISCORD_IDS: "${ALERT_DISCORD_IDS}"
15-
CLUSTER_NAME: ${CLUSTER_NAME}
16-
CLUSTER_PEER: ${CLUSTER_PEER}
12+
PROM_REMOTE_WRITE_TOKEN: ${PROM_REMOTE_WRITE_TOKEN:-}
13+
SERVICE_OWNER: ${SERVICE_OWNER:-}
14+
ALERT_DISCORD_IDS: "${ALERT_DISCORD_IDS:-}"
15+
CLUSTER_NAME: ${CLUSTER_NAME:-}
16+
CLUSTER_PEER: ${CLUSTER_PEER:-}
1717
volumes:
1818
- ./prometheus:/etc/prometheus
1919
- ./data/prometheus:/prometheus

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -180,11 +180,11 @@ services:
180180
user: ":"
181181
networks: [dvnode]
182182
environment:
183-
PROM_REMOTE_WRITE_TOKEN: ${PROM_REMOTE_WRITE_TOKEN}
184-
SERVICE_OWNER: ${SERVICE_OWNER}
185-
ALERT_DISCORD_IDS: "${ALERT_DISCORD_IDS}"
186-
CLUSTER_NAME: ${CLUSTER_NAME}
187-
CLUSTER_PEER: ${CLUSTER_PEER}
183+
PROM_REMOTE_WRITE_TOKEN: ${PROM_REMOTE_WRITE_TOKEN:-}
184+
SERVICE_OWNER: ${SERVICE_OWNER:-}
185+
ALERT_DISCORD_IDS: "${ALERT_DISCORD_IDS:-}"
186+
CLUSTER_NAME: ${CLUSTER_NAME:-}
187+
CLUSTER_PEER: ${CLUSTER_PEER:-}
188188
volumes:
189189
- ./prometheus:/etc/prometheus
190190
- ./data/prometheus:/prometheus

prometheus/prometheus.yml.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ remote_write:
1010
credentials: $PROM_REMOTE_WRITE_TOKEN
1111
write_relabel_configs:
1212
- source_labels: [job]
13-
regex: "charon|nethermind|lighthouse|lodestar|mev-boost"
13+
regex: "charon|mev-boost"
1414
action: keep # Keeps charon metrics and drop metrics from other containers.
1515

1616
scrape_configs:

0 commit comments

Comments
 (0)