* Clean up metric exporters to use new DI patterns.
* Support named options with in-memory exporter build-up.
* Support named options in ConsoleExporter metrics extensions.
* Support named options in OtlpExporter metrics extensions.
* Support named options in PrometheusExporter AspNetCore metrics extensions.
* Support named options in PrometheusExporter HttpListener metrics extensions.
* CHANGELOG updates.
* Unit tests.
* Binary search for large bucket count histograms
* Update CHANGELOG.md
* netcoreapp3.1 was complaining
* ci rerun
* ci rerun
* Update MetricTestData.cs
* use 400 buckets
* Update ExplicitBucketHistogramConfiguration.cs
Binary search for large bucket count histograms
Update CHANGELOG.md
netcoreapp3.1 was complaining
ci rerun
ci rerun
Update MetricTestData.cs
use 400 buckets
* separate nan part
* Address PR comments
- Remove conversion to float from `FindHistogramBucketIndexBinary`
- Make `DefaultHistogramCountForBinarySearch` a `const` instead of a `static readonly`
* update to 140
* remove double.nan from invalid hist bounds
* Refactor and perf to histogram bucket index find
Thanks to @CodeBlanch !!
* fine tune bound limit to switch to binary search
* included benchmark results in comment
* new bench result
* histogram stress test update
* fix changelog
* spacing fix
* sealed bucket class
* ci
* double.negative infinity
* update order of operations
when testing with large MaxValue this would end up having same value bounds
* remove stress test change
* ci
* Add histogram binary mode tests
* ci
* pr review changes
* allocated column - hist benchmark
* CI
Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Move common Prometheus exporter tests to their own project
* Skip test for net462
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Utkarsh Umesan Pillai <utpilla@microsoft.com>
* TracerBuilder depedency injection improvements.
* Fixes and API updates.
* Update skipped test.
* Tweak.
* Tweaks.
* Test fix.
* Turn on options in TracerProviderBuilderBase.
* Updated CHANGELOGs.
* Added XML comments to AddOpenTelemetryTracing methods.
* Tweaks.
* Added export helpers and restored removed API from hosting library so that there is no breakage during upgrades.
* Export extension tweaks.
* Tweak.
* Tracer builder improvements.
* Fix hosting multiple configurations test.
* Cleanup.
* Cleanup and fixes.
* Added "UseOpenTelemetry" extensions.
* Cleanup.
* Code review.
* Code review.
* Rename SDK extension "Configure" and restore "Add" in the hosting lib.
* Doc clarification.
* Some test coverage.
* README updates.
* Fix double dispose of TracerProvider when using Sdk.CreateTracerProviderBuilder.
* AddExporter tests.
* More test coverage.
* More test coverage.
* Code review.
* Remove enumeration helper and use new net7 enumeration APIs.
* Bug fixes.
* Add note.
* Don't use list pools in OTLP exporter. Implement drop counts.
* Added asserts for drop counts in span limits test.
* Added issue link to skip text.
* Populate DroppedAttributesCount on links & events.
* Code review.
* Code review.
* Added CHANGELOG note about dropped counts.
* Use runtime intrinsics to count leading zero
* Fix using order
* Add correct guard for using
* Exclude non-applicable tests
* Revert "Exclude non-applicable tests"
This reverts commit 6991fec04a.