Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Grafana Dashboard Enhancements

cryptovestor21 edited this page Sep 11, 2020 · 7 revisions

Below are some basic instruction for adding some extra dashboards to the existing Graph dashboards. You might find some of them useful. If you have created more useful dashboard views for Graph metrics, please share them in this document.

Indexing status

NOTE: You must be running the latest version of the graph-node source code for these metrics to work (as of 11th Sept2020)

New panels: Blocks behind over time and Blocks behind over time (all subgraphs)

These panels present the current blocks behind for each subgraph - one shows the data per subgraph and the other shows the data as a sum of all subgraphs. This can be useful in getting an immediate view on historical indexing performance across your deployment.

If you know how to use them you can import these panel jsons (update the datasource to your own), otherwise follow the guides below.

BlocksBehindOverTime

BlocksBehindOverTimeAllSubgraphs

Add a new panel and use your main Prometheus endpoint as the data source.

Set the metric query to deployment_blocks_behind and the visualization type in the panel tab to Graph

In order to create the same panel but as a total for all subgraphs, repeat the above instructions but change the query to sum(deployment_blocks_behind)

Make sure to apply and save your changes.

New panels: Blocks processed per minute and Blocks processed per minute (all subgraphs)

These panels present the historical performance of blocks processed per minute - one shows the data per subgraph and the other shows the data as a sum of all subgraphs. This can be useful in getting an immediate view on historical indexing performance across your deployment.

If you know how to use them you can import these panel jsons (update the datasource to your own), otherwise follow the guides below.

BlocksProcessedPerMinute

BlocksProcessedPerMinuteAllSubgraphs

Add a new panel and use your main Prometheus endpoint as the data source.

Set the metric query to increase(deployment_block_processing_duration_sum[1m]) and the visualization type to Graph

If you want some extra summary information in the legend, you can add min, max, avg values in the legend section of the panel tab:

In order to create the same panel but as a total for all subgraphs, repeat the above instruction but change the query to sum(increase(deployment_block_processing_duration_sum[1m]))

Make sure to apply and save your changes.