Wobserver is configured to display data from the
/metrics endpoint in a web interface. To view, go to
/wobserver for the chain you would like to view.
BlockScout is setup to export Prometheus metrics at
brew install prometheus
Start the web server
iex -S mix phx.server
The Grafana dashboard may also be used for metrics display.
brew install grafana
Install Pie Chart panel plugin:
grafana-cli plugins install grafana-piechart-panel
brew services start grafana
Add Prometheus as a Data Source
Click "+ Add data source"
Put "Prometheus" for "Name"
Change "Type" to "Prometheus"
Set "URL" to "http://localhost:9090"
Set "Scrape Interval" to "10s"
Add the dashboards from https://github.com/deadtrickster/beam-dashboards: For each
*.json file in the repo.
Copy the contents of the JSON file in the "Or paste JSON" entry
View the dashboards. (You will need to click-around and use BlockScout for the web-related metrics to show up.)
Examples of dashboards: