-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(localenv): add performance metrics (#2999)
* refactor(backend): add NoopTelemetryServiceImpl to make tel optional * refactor(backend): rm unecessary telemetry exists check * fix(localenv): rm telemetry log noise * feat(backend): add startTimer tel method * feat: update local grafana dash w/ performance metrics - the underlying metrics for the new promql queries/grafana visualizations do not exist yet and should be added in later commit * feat(backend): add telemetry service dep to services * feat(backend): add accounting service timer metrics * feat(backend): add service timer metrics - liquidity resolver, op lifecycle, op service create * feat(backend): add more performance timer metrics * chore: rename performance metrics, update dashbaord * chore: format * fix(backend): rm problematic connector middleware timers * fix(backend): fix deposit outgoing payment liquidity performance metrics * chore: format * chore: rename metric for case * fix(backend): balance tests, missing tel dep * feat(backend): switch tel servive impl in dep definition * fix(backend): test deps setup * chore(backend): cleanup test * chore: restore erroneously rm test, fix dep * fix(localenv): dashboard visualization name * chore: format * fix(backend): rm dupe class from merge * Update packages/backend/src/open_payments/quote/service.ts Co-authored-by: Max Kurapov <[email protected]> * refactor(backend): use try/catch/finally to enforce stopTimer * feat(backend): support additional attributes on stopTimer and add tests * chore: format * chore: format * chore: generate auth gql * refactor(backend): timer callNames to include scope * fix(localenv): rm deprecated otel collector log config --------- Co-authored-by: Max Kurapov <[email protected]>
- Loading branch information
1 parent
b3c7fa7
commit aa77aea
Showing
21 changed files
with
1,834 additions
and
326 deletions.
There are no files selected for viewing
1,527 changes: 1,298 additions & 229 deletions
1,527
localenv/telemetry/grafana/provisioning/dashboards/example.json
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,6 @@ processors: | |
batch: | ||
|
||
exporters: | ||
logging: | ||
loglevel: info | ||
debug: | ||
verbosity: detailed | ||
prometheus: | ||
|
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
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
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
Oops, something went wrong.