-
Notifications
You must be signed in to change notification settings - Fork 686
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dashboard for different network and a few fix (#1590)
* dashboard for different network and a few fix * Merge refs/heads/staging into dashboard-for-different-network * Merge refs/heads/staging into dashboard-for-different-network * Merge refs/heads/staging into dashboard-for-different-network * Merge refs/heads/staging into dashboard-for-different-network * Merge refs/heads/staging into dashboard-for-different-network * Merge refs/heads/staging into dashboard-for-different-network
- Loading branch information
1 parent
97188f8
commit 183fec3
Showing
3 changed files
with
58 additions
and
40 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
if [[ -z "${1}" ]]; then | ||
echo "Usage: generate_dashboard_for_network.sh network_name_in_prometheus" | ||
exit 1 | ||
fi | ||
|
||
sed "s/staging-testnet/${1}/g" $(dirname $0)/grafana-dashboard.json > $(dirname $0)/grafana-dashboard-${1}.json |
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