forked from ChainSafe/lodestar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use job name to differentiate beacon and validator metrics (ChainSafe…
…#4952) Grafana dashboards now use the "job" default label instead of "scrape_location" custom label to differentiate between beacon and validator metrics. The prometheus config files are updated to use the expected job name.
- Loading branch information
Showing
7 changed files
with
37 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
global: | ||
scrape_interval: 20s | ||
scrape_timeout: 20s | ||
|
||
# Tags (values starting with #) have to be replaced in the Dockerfile with sed | ||
# Modified datasource to work with a network_mode: host | ||
scrape_configs: | ||
- job_name: Lodestar | ||
scrape_interval: 20s | ||
scrape_timeout: 20s | ||
- job_name: beacon | ||
metrics_path: /metrics | ||
static_configs: | ||
# This tag is to be replaced in the Dockerfile with sed | ||
# Modified datasource to work with a network_mode: host | ||
- targets: ["#BEACON_URL", "#VC_URL"] | ||
- targets: ["#BEACON_URL"] | ||
- job_name: validator | ||
metrics_path: /metrics | ||
static_configs: | ||
- targets: ["#VC_URL"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters