-
-
Notifications
You must be signed in to change notification settings - Fork 229
feat(metrics): Trace-connected Metrics (Implementation) #4834
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
Open
Flash0ver
wants to merge
30
commits into
main
Choose a base branch
from
feat/trace-connected-metrics
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
6be1e01
feat(metrics): Trace-connected Metrics (Implementation)
Flash0ver e462457
Merge branch 'main' into feat/trace-connected-metrics-implementation
Flash0ver 6c5ca23
add CHANGELOG entry
Flash0ver 9485ca4
more public overloads for convenience
Flash0ver aa46acb
more public overloads for convenience (API Approval Tests)
Flash0ver e9c349e
release: 6.1.0-alpha.1
getsentry-bot 484f17f
Merge branch 'release/6.1.0-alpha.1' into feat/trace-connected-metrics
e65db5f
rename APIs, validate parameters, fix attributes
Flash0ver 5228fbe
feat(metrics): add SentryMetricUnits class for supported units
Flash0ver 32caf06
Update SentryUnits.cs
Flash0ver d730432
update API Approval Tests
Flash0ver cc43b38
release: 6.1.0-alpha.2
getsentry-bot c2108da
Merge branch 'release/6.1.0-alpha.2' into feat/trace-connected-metrics
7e6dbb9
revert: VersionPrefix to main
Flash0ver eebb0f5
Merge branch 'main' into feat/trace-connected-metrics
Flash0ver 31dd7bc
docs: clean up Changelog
Flash0ver 6f3a785
docs: fix indentation of Changelog
Flash0ver 40a1635
test(metrics): Trace-connected Metrics (Tests) (#4839)
Flash0ver 41e67c2
feat(metrics): Trace-connected Metrics (Samples) (#4841)
Flash0ver eb5d7a4
Merge branch 'main' into feat/trace-connected-metrics
Flash0ver cb812b0
docs: add comment to sample
Flash0ver 7faa682
feat: add Scope-only overloads to Distribution and Gauge method groups
Flash0ver 4a080e7
feat!: make public Metrics type non-generic
Flash0ver de47d35
Merge branch 'main' into feat/trace-connected-metrics
Flash0ver afb011b
ref: cleanup unused code
Flash0ver b078621
ref: remove unused code
Flash0ver 5cfacba
Merge branch 'main' into feat/trace-connected-metrics
Flash0ver a9e4e9a
ref: de-duplicate internal method and unit tests
Flash0ver be699bf
ref!: rename "trace_metric" type
Flash0ver 98e9919
ref: make BatchProcessor abstract and derive sealed types for Logs an…
Flash0ver 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
24 changes: 24 additions & 0 deletions
24
...t.Artifacts/results/Sentry.Benchmarks.BatchProcessorBenchmarks-report-github.md
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| ``` | ||
|
|
||
| BenchmarkDotNet v0.13.12, macOS 26.1 (25B78) [Darwin 25.1.0] | ||
| Apple M3 Pro, 1 CPU, 12 logical and 12 physical cores | ||
| .NET SDK 10.0.100 | ||
| [Host] : .NET 8.0.14 (8.0.1425.11118), Arm64 RyuJIT AdvSIMD | ||
| DefaultJob : .NET 8.0.14 (8.0.1425.11118), Arm64 RyuJIT AdvSIMD | ||
|
|
||
|
|
||
| ``` | ||
| | Method | BatchCount | OperationsPerInvoke | Mean | Error | StdDev | Median | Gen0 | Allocated | | ||
| |------------------------- |----------- |-------------------- |-------------:|------------:|-------------:|-------------:|-------:|----------:| | ||
| | **EnqueueAndFlush** | **10** | **100** | **1,896.9 ns** | **9.94 ns** | **8.81 ns** | **1,894.2 ns** | **0.6104** | **5 KB** | | ||
| | EnqueueAndFlush_Parallel | 10 | 100 | 16,520.9 ns | 327.78 ns | 746.51 ns | 16,350.4 ns | 1.1292 | 9.29 KB | | ||
| | **EnqueueAndFlush** | **10** | **200** | **4,085.5 ns** | **80.03 ns** | **74.86 ns** | **4,087.1 ns** | **1.2207** | **10 KB** | | ||
| | EnqueueAndFlush_Parallel | 10 | 200 | 39,371.8 ns | 776.85 ns | 1,360.59 ns | 38,725.0 ns | 1.6479 | 13.6 KB | | ||
| | **EnqueueAndFlush** | **10** | **1000** | **18,829.3 ns** | **182.18 ns** | **142.24 ns** | **18,836.4 ns** | **6.1035** | **50 KB** | | ||
| | EnqueueAndFlush_Parallel | 10 | 1000 | 151,934.1 ns | 2,631.83 ns | 3,232.12 ns | 151,495.9 ns | 3.6621 | 31.31 KB | | ||
| | **EnqueueAndFlush** | **100** | **100** | **864.9 ns** | **2.16 ns** | **1.68 ns** | **865.0 ns** | **0.1469** | **1.2 KB** | | ||
| | EnqueueAndFlush_Parallel | 100 | 100 | 7,414.9 ns | 74.86 ns | 70.02 ns | 7,405.9 ns | 0.5722 | 4.61 KB | | ||
| | **EnqueueAndFlush** | **100** | **200** | **1,836.9 ns** | **15.28 ns** | **12.76 ns** | **1,834.9 ns** | **0.2937** | **2.41 KB** | | ||
| | EnqueueAndFlush_Parallel | 100 | 200 | 37,119.5 ns | 726.04 ns | 1,252.39 ns | 36,968.9 ns | 0.8545 | 7.27 KB | | ||
| | **EnqueueAndFlush** | **100** | **1000** | **8,567.2 ns** | **84.25 ns** | **74.68 ns** | **8,547.4 ns** | **1.4648** | **12.03 KB** | | ||
| | EnqueueAndFlush_Parallel | 100 | 1000 | 255,284.5 ns | 5,095.08 ns | 12,593.77 ns | 258,313.9 ns | 1.9531 | 19.02 KB | |
24 changes: 0 additions & 24 deletions
24
...esults/Sentry.Benchmarks.StructuredLogBatchProcessorBenchmarks-report-github.md
This file was deleted.
Oops, something went wrong.
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.
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.