-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(localenv): add performance metrics #2999
Merged
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
5de7ad9
refactor(backend): add NoopTelemetryServiceImpl to make tel optional
BlairCurrey 751ffa9
refactor(backend): rm unecessary telemetry exists check
BlairCurrey a003c3e
fix(localenv): rm telemetry log noise
BlairCurrey 10b4ea4
feat(backend): add startTimer tel method
BlairCurrey 6c660ad
feat: update local grafana dash w/ performance metrics
BlairCurrey 46e00aa
feat(backend): add telemetry service dep to services
BlairCurrey bbddc36
feat(backend): add accounting service timer metrics
BlairCurrey ff3fd70
feat(backend): add service timer metrics
BlairCurrey 6357f79
feat(backend): add more performance timer metrics
BlairCurrey 0b83806
chore: rename performance metrics, update dashbaord
BlairCurrey 29143f4
chore: format
BlairCurrey 522b339
fix(backend): rm problematic connector middleware timers
BlairCurrey 3033c2a
fix(backend): fix deposit outgoing payment liquidity performance metrics
BlairCurrey 0ede073
chore: format
BlairCurrey a3efc73
chore: rename metric for case
BlairCurrey 84f825f
fix(backend): balance tests, missing tel dep
BlairCurrey dfd8b2b
feat(backend): switch tel servive impl in dep definition
BlairCurrey c8753fc
Merge branch 'main' into bc/2980/refactor-telemetry-optionality
BlairCurrey f70cc29
Merge branch 'bc/2980/refactor-telemetry-optionality' into bc/2983/pe…
BlairCurrey b1b1866
fix(backend): test deps setup
BlairCurrey 87e73d3
chore(backend): cleanup test
BlairCurrey e050a40
chore: restore erroneously rm test, fix dep
BlairCurrey 328ebbe
fix(localenv): dashboard visualization name
BlairCurrey 5c06039
chore: format
BlairCurrey b5143b7
Merge branch 'main' into bc/2983/performance-metrics
BlairCurrey fb19aeb
fix(backend): rm dupe class from merge
BlairCurrey 4ae9649
Update packages/backend/src/open_payments/quote/service.ts
BlairCurrey 2ad883b
refactor(backend): use try/catch/finally to enforce stopTimer
BlairCurrey 24a5eff
feat(backend): support additional attributes on stopTimer and add tests
BlairCurrey ba42a29
chore: format
BlairCurrey 6803522
Merge branch 'main' into bc/2983/performance-metrics
BlairCurrey ef85d8b
chore: format
BlairCurrey 658f85f
chore: generate auth gql
BlairCurrey 03d929b
refactor(backend): timer callNames to include scope
BlairCurrey ed1b5d3
fix(localenv): rm deprecated otel collector log config
BlairCurrey 7f07761
Merge branch 'main' into bc/2983/performance-metrics
BlairCurrey File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe a finally would be nice here to avoid calling
stopTimer()
multiple timesThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea. put everything in a new try and removed the
stopTimer
s. catch just re-throws and finally callsstopTimer
. This is a good pattern for this sort of thing... ensures we dont miss a place to stop the timer.