Skip to content

Commit fa88dbb

Browse files
authored
add env vars in comment + add mev-boost in promtail (#334)
1 parent fd8ba8c commit fa88dbb

3 files changed

Lines changed: 26 additions & 0 deletions

File tree

.env.sample.holesky

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,14 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://checkpoint-sync.holesky.ethpandaops.io/
140140
# Grafana Loki docker container image version, e.g. `latest` or `2.8.2`.
141141
# See available tags https://hub.docker.com/r/grafana/loki/tags.
142142
#LOKI_VERSION=
143+
144+
# Uncomment these if you have log exporting with Promtail
145+
# and want to disable log export on a particular container.
146+
147+
# NETHERMIND_PROMTAIL_MONITORED=false
148+
# LIGHTHOUSE_PROMTAIL_MONITORED=false
149+
# CHARON_PROMTAIL_MONITORED=false
150+
# LODESTAR_PROMTAIL_MONITORED=false
151+
# MEV_BOOST_PROMTAIL_MONITORED=false
152+
# EJECTOR_PROMTAIL_MONITORED=false
153+
# DV_EXIT_PROMTAIL_MONITORED=false

.env.sample.hoodi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,3 +140,14 @@ LIGHTHOUSE_CHECKPOINT_SYNC_URL=https://checkpoint-sync.hoodi.ethpandaops.io/
140140
# Grafana Loki docker container image version, e.g. `latest` or `2.8.2`.
141141
# See available tags https://hub.docker.com/r/grafana/loki/tags.
142142
#LOKI_VERSION=
143+
144+
# Uncomment these if you have log exporting with Promtail
145+
# and want to disable log export on a particular container.
146+
147+
# NETHERMIND_PROMTAIL_MONITORED=false
148+
# LIGHTHOUSE_PROMTAIL_MONITORED=false
149+
# CHARON_PROMTAIL_MONITORED=false
150+
# LODESTAR_PROMTAIL_MONITORED=false
151+
# MEV_BOOST_PROMTAIL_MONITORED=false
152+
# EJECTOR_PROMTAIL_MONITORED=false
153+
# DV_EXIT_PROMTAIL_MONITORED=false

promtail/config.yml.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ scrape_configs:
3737
regex: '.*lighthouse.*'
3838
replacement: 'lighthouse'
3939
target_label: 'job'
40+
- source_labels: ['container']
41+
regex: '.*mev-boost.*'
42+
replacement: 'mev-boost'
43+
target_label: 'job'
4044
- target_label: 'cluster_name'
4145
replacement: $CLUSTER_NAME
4246
- target_label: 'cluster_peer'

0 commit comments

Comments
 (0)