-
Notifications
You must be signed in to change notification settings - Fork 631
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Function call success and error metrics (#7613)
Provides visibility into the success rate of processing function call actions. In case of errors, this PR also counts the error types and sub-types where it makes sense. Would be useful to have `shard_id` in these metrics, but the runtime is not supposed to know anything about epochs, shard layouts, etc. ``` # HELP near_function_call_processed The number of function calls processed since starting this node # TYPE near_function_call_processed counter near_function_call_processed{result="FunctionCallError"} 17 near_function_call_processed{result="ok"} 1088 # HELP near_function_call_processed_function_call_errors The number of function calls resulting in function call errors, since starting this node # TYPE near_function_call_processed_function_call_errors counter near_function_call_processed_function_call_errors{error_type="HostError"} 17 # HELP near_function_call_processed_host_errors The number of function calls resulting in host errors, since starting this node # TYPE near_function_call_processed_host_errors counter near_function_call_processed_host_errors{error_type="GasLimitExceeded"} 5 near_function_call_processed_host_errors{error_type="GuestPanic"} 12 ```
- Loading branch information
Showing
5 changed files
with
177 additions
and
48 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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