-
Notifications
You must be signed in to change notification settings - Fork 332
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add simulate errors metrics (#3846)
* feat: add simulate errors metrics * feat: add error message * chore: add docs * chore: add unclog entry * chore: cargo fmt * Update .changelog/unreleased/features/3845-add-simulate-errors-metric.md Co-authored-by: Luca Joss <43531661+ljoss17@users.noreply.github.com> Signed-off-by: Sergey <83376337+freak12techno@users.noreply.github.com> * chore: renamed unreleased file * Update changelog entry --------- Signed-off-by: Sergey <83376337+freak12techno@users.noreply.github.com> Co-authored-by: Romain Ruetschi <romain@informal.systems> Co-authored-by: Luca Joss <43531661+ljoss17@users.noreply.github.com>
- Loading branch information
1 parent
8736bba
commit 5512d17
Showing
4 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
.changelog/unreleased/features/ibc-telemetry/3845-add-simulate-errors-metric.md
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
- Added a new Prometheus metric `simulate_errors` for tracking when a transaction simulation fails, with the following labels: | ||
* `recoverable` (can the execution continue if this happened?) | ||
* `account` (account from which the tx was sent) | ||
* `error_description` (description of the error) | ||
([\#3845](https://github.com/informalsystems/hermes/issues/3845)) | ||
|
||
``` | ||
# HELP simulate_errors_total Number of errors observed by Hermes when simulating a Tx | ||
# TYPE simulate_errors_total counter | ||
simulate_errors_total{account="osmo17ndx5qfku28ymxgmq6zq4a6d02dvpfjjul0hyh",error_description="Unknown error",recoverable="false",service_name="unknown_service",otel_scope_name="hermes",otel_scope_version=""} 4 | ||
``` |
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