-
-
Notifications
You must be signed in to change notification settings - Fork 201
Add Metrics API #985
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
Closed
Closed
Add Metrics API #985
Changes from all commits
Commits
Show all changes
103 commits
Select commit
Hold shift + click to select a range
9d1e2dd
add metrics option
tustanivsky c0d9b94
add stubs for metrics emission methods
tustanivsky 105d378
add proper gauge and set values initialization
tustanivsky 8c2aeaa
add measurement units setter
tustanivsky 5cd23ca
add metrics capturing method stub
tustanivsky c103996
add metrics aggregation
tustanivsky 64bdd3f
fix gauge counting
tustanivsky d6eb67a
fix bucket filling
tustanivsky 60b489a
add metrics statsd encoding
tustanivsky 95b59d2
add metrics transport
tustanivsky 4ba191c
Update changelog
tustanivsky 6f61d94
Use timestamp in seconds
tustanivsky f51fb19
Fix some lint errors
tustanivsky b72da6e
Fix more lint errors
tustanivsky 5fcbf60
Fix more lint errors
tustanivsky 9bdaed9
Fix more lint errors
tustanivsky 6433100
Fix lint errors final
tustanivsky 6234cd4
Fix formatting
tustanivsky f243f3c
Fix CI build errors
tustanivsky 702359b
Fix lint errors
tustanivsky fa73188
Fix more CI build errors
tustanivsky 008eb04
Comment
tustanivsky ef75253
Add tag value sanitization util
tustanivsky 73f62ff
Fix tests
tustanivsky 03569f7
Fix lint error
tustanivsky de4550c
Add statsd string sanitize utils
tustanivsky 2374bfd
Fix tests
tustanivsky 5085033
Fix tests
tustanivsky aea93a8
Fix tests
tustanivsky feffc22
Fix tests
tustanivsky a5609aa
Fix tests
tustanivsky 81fe828
Fix tests
tustanivsky d1c6c9b
Fix tests
tustanivsky c6c0f47
Fix tests
tustanivsky 333712f
Add some metrics force flush considerations
tustanivsky 304691d
Remove empty method
tustanivsky d3c7ef0
Add proper force flush logic
tustanivsky bdbf5f9
Add periodical metrics flushing
tustanivsky 3ffc331
Add check if periodical metrics flushing should be stopped
tustanivsky c6b2ec7
Fix lint errors
tustanivsky 0660363
Remove unused method
tustanivsky 280a859
Add metric creation test
tustanivsky da7c86c
Add tests for more metric types
tustanivsky 09d33e4
Fix tags check
tustanivsky ac6798d
Fix lint errors
tustanivsky fd11a4d
Move sleep util definition to sentry_sync.h
tustanivsky f845bed
Replace camel case with snake case
tustanivsky a270272
Fix CI errors
tustanivsky 8577b25
Rework metrics public API
tustanivsky 148f528
Fix lint errors
tustanivsky 21ae71f
Fix CI build errors
tustanivsky 840dc02
Remove deprecated tests
tustanivsky bb5e3e4
Fix methods signature
tustanivsky 3c96a89
Rename some internal variables
tustanivsky dc52dd4
Add extra check for name sanitizer
tustanivsky a5329ff
Fix test errors
tustanivsky 1fd53df
Revert previous changes
tustanivsky f80a0b6
Add integration tests stubs
tustanivsky c66c281
Merge branch 'master' into feat/metrics-api
tustanivsky 3f52d11
Remove metrics flush delay for tests
tustanivsky 70dccea
Merge branch 'feat/metrics-api' of github.com:tustanivsky/sentry-nati…
tustanivsky 2f5df02
Fix timestamp
tustanivsky aa83a16
Fix lint erros
tustanivsky 81f7cda
Fix lint errors
tustanivsky 3dccae5
Fix lint errors
tustanivsky bf8bbbf
Update src/sentry_metrics.c
tustanivsky 15148d7
Add convenience macro for metrics test checks
tustanivsky 37d9abe
Fix copy-paste
tustanivsky b56640d
Fix integration test
tustanivsky 70772d2
Fix timeout
tustanivsky 8246474
Add basic integration tests
tustanivsky 108eab8
Fix unused variable during tests
tustanivsky ce261dc
Fix tests
tustanivsky 2d28039
Fix tests
tustanivsky 86665eb
Fix tests
tustanivsky bd1fc8a
Fix lint errors
tustanivsky 5b9e22b
Fix tests
tustanivsky db92384
Add tests cleanup
tustanivsky 59fd55d
Try fix test
tustanivsky d2330d2
Test another fix
tustanivsky beb11d2
Try fix leak
tustanivsky 6aae289
Fix
tustanivsky e3ce410
Fix
tustanivsky 782a210
Update defines
tustanivsky ae25e87
Try to fix string sanitize on Android
tustanivsky 3de7700
Fix include
tustanivsky 699ca26
Another fix
tustanivsky 293135d
Fix
tustanivsky e490f40
Revert char check
tustanivsky b73a37a
Remove metrics enable option
tustanivsky 8af929d
Add convenience for metrics emission
tustanivsky 033af5c
Fix macro
tustanivsky 2f2c057
Refactor
tustanivsky 3399f78
Replace stringify usages
tustanivsky d9ae8ac
Revert "Replace stringify usages"
tustanivsky 77fcaef
Add metrics check
tustanivsky 9959deb
Add bucket weight test
tustanivsky 849ff0f
Add more tests
tustanivsky 58b8dab
Fix memory leak
tustanivsky c9b1bb6
Fix another memory leak
tustanivsky 5b8a038
Merge remote-tracking branch 'origin/master' into feat/metrics-api
tustanivsky d65b93a
Update changelog
tustanivsky c52e3c7
ensure that we throw away any non-ASCII chars before the isalnum check
supervacuus 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
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.