* prom prototype
* minor refactor
* improve mem
* skeleton of the PrometheusSerializer
* a working server
* clear up test
* specialize netframework
* clean up
* update test
* fix unit test
* minor improvement
* comment
* escape metric names
* handle inf/nan
* minor name change
* nit
* more assertion
* patch for old frameworks
* add comment explaining why we use empty string if the label value is null
* Updated PrometheusExporterMiddleware for new PrometheusSerializer API.
* Added some exception handling.
* Test fix.
Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
* WIP working on reproducing and fixing lost baggage.
* TelemetryHttpModule now restores Baggage.
* Updated public api.
* Unit tests.
* Use SuppressFlow for more accurate test.
* CHANGELOG update.
* Attempting to fix unstable test.
* Attempting to fix unstable test #2.
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API. (#2249)
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 2 (#2254)
* Use a single context.Items key for state management to make things more efficient.
* Added a comment for clarity.
* Code review.
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 3 (#2256)
* Update ASP.NET instrumentation to use the new TelemetryHttpModule.
* Fixed TelemetryHttpModule not starting its Activity objects. Added an example of request suppression.
* Tweaks an logging improvements.
* Sealed AspNetInstrumentationEventSource.
* Code review.
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 4 (#2258)
* Fixed up TelemetryHttpModule unit tests.
* Added tests for the new HasStarted helper and added checks for StartedButNotSampledObj when not sampled.
* Code review.
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 5 (#2261)
* Updated ASP.NET instrumentation tests for new TelemetryHttpModule.
* Added a test for the new RecordException option.
* Code review.
* New design for TelemetryHttpModule using ActivitySource + OpenTelemetry.API part 6 (#2264)
* CHANGELOG & README updates.
* Apply suggestions from code review
Co-authored-by: Reiley Yang <reyang@microsoft.com>
Co-authored-by: Reiley Yang <reyang@microsoft.com>
* Lint + sanity checks.
* Lint attempt 2.
* Restored CHANGELOG changes lost in merge.
Co-authored-by: Reiley Yang <reyang@microsoft.com>
* Add OtlpExporter as an option to ASP.NET example application
* Fixed indentation
* Added an extra line before EOF
* Removing set ApContext switch for unencrypted channel support
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Added examples for remaining Jaeger Exporter options
* updated process tags to use index initializer syntax
* removed process tags example
* removing process tags, checking format
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Jaeger and API changes and ProviderMethod
* Changelog
* Fix whitespace
* Not just checking first element of default resource but querying for servicename
* Including the servicename fallback in Zipkin options
* Resolving tests
* we previously removed the adapting of new servicenames from resources in jaeger, this undoes that
* Removing servicename from Jaeger ctor
* re-adding servicename to Ctor for Jaeger
* CodeBlanch 's implementation for preserving servicename
* Scrubbed ServiceName from ZipkinExporterOptions
* Messed up ternary operator order again
* reordering using for SA compliance
* more instances of zipkinoptions.servicename
* removed servicename from API
* Changelog in right places
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Use Grpc.Net.Client for netstandard2.1
* Fix AspNetCore example app
* Better comment for Http2UnencryptedSupport switch
* Update PublicAPI
* Update changelog
* Fix line endings
* Suppress instrumentation on export
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Send StatusCode as a string. Send error flag in Zipkin & Jaeger when StatusCode == Error.
* Missed one spot.
* Removed code setting otel.status_description to http status description.
* Unit test fixup.
* Update CHANGELOG.
* Updated http instrumentation CHANGELOG.
* Code review.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Remove ServiceName from OtlpExporterOptions
* Update PublicAPI
* Update changelog
* Add back default service name when resource does not have service.name
* Fix test
* Fix examples post merge