diff --git a/compose-mev.yml b/compose-mev.yml index 5e1f1b2c..4da84dc7 100644 --- a/compose-mev.yml +++ b/compose-mev.yml @@ -39,6 +39,9 @@ services: -request-timeout-getheader=${MEV_TIMEOUT_GETHEADER:-950} -request-timeout-getpayload=${MEV_TIMEOUT_GETPAYLOAD:-4000} -request-timeout-regval=${MEV_TIMEOUT_REGVAL:-3000} + -metrics + -metrics-addr 0.0.0.0:18551 + labels: - "promtail-monitored=${MEV_MEV_BOOST_PROMTAIL_MONITORED:-true}" networks: [dvnode] diff --git a/prometheus/prometheus.yml.example b/prometheus/prometheus.yml.example index 52146208..b689d10f 100644 --- a/prometheus/prometheus.yml.example +++ b/prometheus/prometheus.yml.example @@ -10,7 +10,7 @@ remote_write: credentials: $PROM_REMOTE_WRITE_TOKEN write_relabel_configs: - source_labels: [job] - regex: "charon" + regex: "charon|mev-boost" action: keep # Keeps charon metrics and drop metrics from other containers. scrape_configs: @@ -23,6 +23,9 @@ scrape_configs: - job_name: "charon" static_configs: - targets: ["charon:3620"] + - job_name: "mev-boost" + static_configs: + - targets: ["mev-mevboost:18551"] - job_name: "lodestar" static_configs: - targets: ["lodestar:5064"]