-
Notifications
You must be signed in to change notification settings - Fork 852
Adding MinMax to Histograms #2735
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
Merged
Merged
Changes from all commits
Commits
Show all changes
164 commits
Select commit
Hold shift + click to select a range
f53d8b6
Squashed commit of the following:
mic-max e51aca6
Merge remote-tracking branch 'upstream/main' into main
mic-max 3d15631
Merge remote-tracking branch 'upstream/main' into main
mic-max 472eabb
Merge remote-tracking branch 'upstream/main' into main
mic-max 4295758
Merge remote-tracking branch 'upstream/main'
mic-max 4de8d0f
Merge remote-tracking branch 'upstream/main'
mic-max ccd3b53
Guard Type summary comment fix
mic-max 1cac13f
Update TracerProviderBuilder.cs
mic-max d971dae
TryFetch optional param to skip obj null check
mic-max 8ba84c5
Make guard internal
mic-max 45d4caf
GuardTest doesn't need to be a static class
mic-max 0b4c80e
Update src/OpenTelemetry/DiagnosticSourceInstrumentation/PropertyFetc…
mic-max 964e9a6
Update Guard.cs
mic-max eae26ac
Merge branch 'main' of https://github.com/mic-max/opentelemetry-dotnet
mic-max 169547a
Add Compile Guard to required project files
mic-max a473889
Update OpenTelemetry.Instrumentation.Http.csproj
mic-max e256363
Merge branch 'main' into main
cijothomas 307ca0a
Merge remote-tracking branch 'upstream/main'
mic-max a67164e
Merge remote-tracking branch 'upstream/main'
mic-max ebe09e7
Merge remote-tracking branch 'upstream/main'
mic-max 46deabc
Merge remote-tracking branch 'upstream/main'
mic-max 88867c6
Merge remote-tracking branch 'upstream/main'
mic-max 583e946
Merge remote-tracking branch 'upstream/main'
mic-max 28c0299
Merge remote-tracking branch 'upstream/main'
mic-max 18fc9c9
Merge remote-tracking branch 'upstream/main'
mic-max 7734ff6
Merge remote-tracking branch 'upstream/main'
mic-max 34f9c83
Merge remote-tracking branch 'upstream/main'
mic-max 6dc71f0
Merge remote-tracking branch 'upstream/main'
mic-max d0d778d
Merge remote-tracking branch 'upstream/main'
mic-max 01c4577
WIP compacting MetricPoint struct part 2.
CodeBlanch d6da88a
Smaller storage size for MetricPointStatus.
CodeBlanch 7faec57
Cleanup and xml comments.
CodeBlanch eb3eed3
Histogram MinMax Configurable
mic-max 41ed3f0
Fix test + fix sum and count for HistogramWithMinMax
mic-max 8e85649
Refactor and fix RequestMetricIsCaptured in MetricTest.cs
mic-max 87816e0
Update PublicAPI.Unshipped.txt
mic-max 3429248
Fixed failing tests
mic-max f151e29
add another test case
mic-max ce6db94
histogram update and snapshot generalisation
mic-max 7c3e806
Inlining: Aggressive instead of No
mic-max bb72e5d
Update MetricViewTests.cs
mic-max 746e546
Merge branch 'main' into hist-min-max
cijothomas ecf8698
aggregation types
mic-max 436c328
Update MetricPoint.cs
mic-max 24e658d
Merge branch 'main' into hist-min-max
cijothomas 8a05290
add: HistogramWithMinMax MetricType
mic-max 823d28f
Merge remote-tracking branch 'upstream/main' into histogram-min-max
mic-max 6ba455b
remove api
mic-max a69121c
Binary search for large bucket count histograms
mic-max 6e446cd
Update CHANGELOG.md
mic-max e420a15
netcoreapp3.1 was complaining
mic-max e8913b2
ci rerun
mic-max 4ade35a
ci rerun
mic-max 52e2c43
Update MetricTestData.cs
mic-max f7e88af
use 400 buckets
mic-max 51d7219
Update ExplicitBucketHistogramConfiguration.cs
mic-max 1bb61e9
separate nan part
mic-max 685b46e
Address PR comments
mic-max 773fefd
Merge branch 'hist-binary' of https://github.com/mic-max/opentelemetr…
mic-max de60b0e
update to 140
mic-max 020c42e
remove double.nan from invalid hist bounds
mic-max daf1a80
Refactor and perf to histogram bucket index find
mic-max 5bc4998
fine tune bound limit to switch to binary search
mic-max e84127a
included benchmark results in comment
mic-max fb1ad6b
histogram stress test update
mic-max 99bd6f1
Merge remote-tracking branch 'upstream/main' into hist-binary
mic-max 05cc3c1
fix changelog
mic-max 15c3464
spacing fix
mic-max 99b0862
Merge remote-tracking branch 'upstream/main' into hist-min-max
mic-max e203c2f
Fix some (all?) build errors
mic-max a13fb6a
change already amde
mic-max acfebca
add min and max to otlp exporter
mic-max a2c0e5d
sealed bucket class
mic-max ef28da0
ci
mic-max 1810ddd
Merge branch 'main' into hist-binary
mic-max 543a6d5
double.negative infinity
mic-max 19ddae3
Merge branch 'hist-binary' of https://github.com/mic-max/opentelemetr…
mic-max f2a20f7
update order of operations
mic-max c9f3a3d
remove stress test change
mic-max a201b86
ci
mic-max d0d92a7
Add histogram binary mode tests
mic-max 7f8d32b
ci
mic-max 53ad017
Merge branch 'main' into hist-binary
utpilla b41879c
Merge branch 'main' into hist-binary
mic-max dbc5f3e
pr review changes
mic-max 3046ac7
Merge branch 'hist-binary' of https://github.com/mic-max/opentelemetr…
mic-max 881caca
Merge branch 'main' into hist-binary
mic-max 370fb1a
allocated column - hist benchmark
mic-max 07689ac
Merge branch 'hist-binary' of https://github.com/mic-max/opentelemetr…
mic-max 4fe19f9
Merge branch 'main' into hist-binary
mic-max 4d97b4e
Merge branch 'main' into hist-binary
utpilla 664d85a
Merge branch 'main' into hist-min-max
utpilla 7b324c6
Merge branch 'main' into hist-min-max
cijothomas 8307bf8
Merge branch 'main' into hist-binary
mic-max 3b2f762
CI
mic-max 2030736
Merge branch 'hist-binary' of https://github.com/mic-max/opentelemetr…
mic-max 2ff79a9
add public api (still borked?)
mic-max 2166c5a
Merge branch 'main' into hist-min-max
mic-max 9485159
Merge branch 'main' into hist-min-max
utpilla 4566b92
Exponential Bucket Histogram - part 6 (#3494)
reyang 7f8801a
Minor fixes to Stress Tests (#3496)
cijothomas 16f1e3f
Asp.Net Core Unit test [Activity started in middleware is modified by…
vishweshbankwar 8854de3
Exponential Bucket Histogram - part 7 (#3499)
reyang 7e65f56
OTLP exporter support for limiting activity tags, events, and links (…
alanwest df97482
EnvironmentVariableHelper support for boolean (#3457)
Kielek 4e0dccd
[Logs] Add extension for registering OpenTelemetryLoggerProvider with…
CodeBlanch e3450b2
[Prometheus] Split up projects based on hosting mechanism. (#3430)
Yun-Ting 8a4d395
Fix nits (#3502)
reyang c475666
fix: replace all newtonsoft.json usages (#3478)
ness001 eb49e4d
Fix Remote IP Address - NULL reference exception (#3481)
a3397aa
improve test coverage: OpenTelemetry.Api `CallerArgumentExpressionAtt…
ba2986a
Exponential Bucket Histogram - part 8 (#3505)
reyang 7517702
[Prometheus] Remove shared project and move the shared code under lis…
Yun-Ting cc5a56e
Dust off Prometheus Exporters (#3507)
reyang 365828c
Nit fixed in prometheus for asp.net core (#3510)
cijothomas 61ba0ed
Nit fixes to prometheus asp.net core (#3511)
cijothomas 493ab1a
[Prometheus] Update changelog and minor cleanup. (#3512)
Yun-Ting 9b0cc13
Aligning formats for CHANGLOG.md files. (#3513)
Yun-Ting fec60fe
ConsoleLogExporter special casing original format (#3516)
cijothomas 0244fa0
refactor test exporters, use instead `DelegatingTestExporter` (#3486)
59ed033
Improve PrometheusHttpListener options (#3521)
reyang 0846309
Minor improvements to Prometheus Exporter (ASP.NET Core) (#3522)
reyang 4362115
Fix OpenTracing shim under legacy AspNetCore activities (#3506)
pjanotti 15e2e0a
Update CHANGELOG for 1.4.0-alpha.1 release (#3523)
utpilla b519072
Nit cleanup (#3518)
cijothomas dad7f99
Nit internal fixes for PrometheusExporter (#3525)
cijothomas e60763c
Add Min and Max to Histograms
mic-max 9693e39
Forgot HistogramConfiguration.cs file
mic-max efb9aea
publicApi
mic-max f7eb066
Merge remote-tracking branch 'upstream/main' into min-max
mic-max 7656430
Merge branch 'hist-min-max' of https://github.com/mic-max/opentelemet…
mic-max 5b9116a
Merge remote-tracking branch 'upstream/main' into hist-min-max
mic-max 4e58fef
bump
mic-max 87dd299
Delete PublicAPI.Unshipped.txt
mic-max 24dceb8
undo
mic-max d122198
fix
mic-max f834a90
Update PublicAPI.Unshipped.txt
mic-max 637225f
Update MetricPoint.cs
mic-max 922d19a
Initial upload
mic-max aa94f89
Add HistogramConfiguration.cs
mic-max f13ee18
Merge branch 'main' into hist-min-max
mic-max 4ec2787
Merge branch 'main' into hist-min-max
mic-max 6d126aa
Merge branch 'main' into hist-min-max
cijothomas efa15c8
Merge branch 'main' into hist-min-max
cijothomas 47c4342
Merge branch 'main' into hist-min-max
cijothomas 0760c35
mention MetricType.HistogramWithMinMax in changelog
mic-max f1f0a3f
reset running values to -/+ inf
mic-max 5d81019
Merge branch 'hist-min-max' of https://github.com/mic-max/opentelemet…
mic-max d182298
Update AggregationType.cs
mic-max b2f84e6
Merge branch 'main' into hist-min-max
cijothomas e3e96e6
Update CHANGELOG.md
mic-max 67dd44c
Merge branch 'main' into hist-min-max
mic-max c8fb75c
undo addition of histogramwithminmax metrictype
mic-max d9bdf1b
unfold hist update and snapshot
mic-max fea3c65
move recordminmax to metricstreamidentity
mic-max 61be3b5
Merge remote-tracking branch 'upstream/main' into latest-min-max
mic-max 3bad254
remove logs publicapi
mic-max 1ad4a54
this one
mic-max fe853f3
TryGetHistogram Min/Max
mic-max 3a868ae
Do not throw for minmax histogram
mic-max cb744d7
hasminmax strategy
mic-max a3dcdef
fix logic
mic-max 7169a98
only aggtype for hasminmax
mic-max a282844
Merge branch 'main' into hist-min-max
mic-max 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| // <copyright file="HistogramConfiguration.cs" company="OpenTelemetry Authors"> | ||
| // Copyright The OpenTelemetry Authors | ||
| // | ||
| // Licensed under the Apache License, Version 2.0 (the "License"); | ||
| // you may not use this file except in compliance with the License. | ||
| // You may obtain a copy of the License at | ||
| // | ||
| // http://www.apache.org/licenses/LICENSE-2.0 | ||
| // | ||
| // Unless required by applicable law or agreed to in writing, software | ||
| // distributed under the License is distributed on an "AS IS" BASIS, | ||
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| // See the License for the specific language governing permissions and | ||
| // limitations under the License. | ||
| // </copyright> | ||
|
|
||
| namespace OpenTelemetry.Metrics; | ||
|
|
||
| public class HistogramConfiguration : MetricStreamConfiguration | ||
utpilla marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| { | ||
| /// <summary> | ||
| /// Gets or sets a value indicating whether Min, Max | ||
| /// should be collected. | ||
| /// </summary> | ||
| public bool RecordMinMax { get; set; } = true; | ||
| } | ||
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.