* 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
* Attempting to improve the Resource API.
* XML comment change.
* Updated Resource API based on feedback.
* CHANGELOG update.
* Tweaked variable name.
* CHANGELOG updates.
* Removed OtelEnvResourceDetector from default Resource. Fixed some XML comments.
* Past tense fix for CHANGELOG.
* CHANGELOG formatting.
* Removed the ability to change the environment variable name for OtelEnvResourceDetector.
* Updates for recent refactors.
* Code review.
* Example updates.
* Cleanup.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Most of the common props stuff
* remove coverlet from Zpages Test
* Clean up other mention of coverlet in comment
* Moving appropriate package versions to nonprod
* Common.props removal of packagevers
* reverting some changes to a grpc package
* Fixing tabs and adding one more packagae referecne
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
* Mark activity extensions as internal
* format
* test proj adjustments
* more cleanups
* temporarily remove benchmark. this should be brought back after splitting the project into multiple projects
* fix w3ctracecontext tes
* fix grpctest refs
* Update src/OpenTelemetry.Api/CHANGELOG.md
Co-authored-by: Reiley Yang <reyang@microsoft.com>
Co-authored-by: Reiley Yang <reyang@microsoft.com>
* Added support for Logs; Removed disaplayAsJson option from ConsoleExporter; Added net451 as a traget framework for OpenTelemetry.Exporter.Console
* Print LogRecord exception on console
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Add GlobalPropagators API and have instrumentation default to it
* changelog
* fix name
* reset after
* min comment address
* move id format to same place as context propagator
* renam
* renai
* text initialize correctly
* modify microsoervice example to pick global propagator
* make Global propagator get only in api
* Add SetDefaultPropagato to SDK
* Updated Jaeger & Zipkin exporters to check for default activity.ParentSpanId.
* Tabs are less filling, but spaces taste great.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>