NethermindEth / near-sffl

https://nffl.nethermind.io/
MIT License
6 stars 3 forks source link

Add checkpoint metrics fields to panel label #226

Open Hyodar opened 4 weeks ago

Hyodar commented 4 weeks ago

The aggregator panel for operator messaging doesn't include fields in labels for checkpoints such as in the other messages. For example, the errored field.

panel

We should add the fields to the checkpoint label as well. It's only a matter of changing the label to be e.g. Checkpoint (errored: {{errored}}, not_found: {{not_found}}).

The easiest way to do this is to run the docker compose environment and access grafana. Then, after it's changed, you copy the JSON dashboard descriptor to grafana/dashboards/AVSs/aggregator.json.

Important: The operator metrics rows are auto-generated from the operatorId global variable. In order to change the panel rows, you should first go to the row settings and disable auto-generating from the options, then set a fixed operatorId, change whatever is required and then revert the process.