-
Notifications
You must be signed in to change notification settings - Fork 681
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add error type label to the
near_num_invalid_blocks
metric (#…
…10164) The metric `near_num_invalid_blocks` counts the number of invalid blocks processed by neard. Up until now there was no information why the blocks are invalid. Let's add a label that describes what kind of error caused the block to be invalid. This will make it easier to diagnose what's wrong when there are lots of invalid blocks. The label is called "error", an example prometheus report looks like this: ``` near_num_invalid_blocks{error="chunks_missing"} 1234 ``` Fixes: #9661
- Loading branch information
1 parent
bfb3b58
commit 9a7b03a
Showing
3 changed files
with
68 additions
and
3 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