* Added an extension method to add ConsoleExporter for logs; Updated the logs getting-started docs to add ConsoleExporter
* Updated CHANGELOG.md
* Addressing PR comments
Co-authored-by: Cijo Thomas <cithomas@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>
On net452 Baggage.Current is stored in the CallContext which uses a
workaround to avoid marshalling Baggage instance accross AppDomains.
In a diffent AppDomain the private field value is null so we need to return
default Baggage in that case.
* Rename IPropagator to ITextMapPropagator, TextMapPropagator to TraceContextPropagator
* changelogs
* build fix
* make ITextMapPropagator an abstract class
* Renaming ITextMapPropagator to TextMapPropagator
* CompositeTextMapPropagator rename
* fix changhelog
* add support for true in x-b3-sampled
* fix order of properties
* set string comparer on hashset and clean up tests
* add information to changelog
* fix line endings
* Updating status and protos
* Fixing rule to send DeprecatedCode
* adding pragma to ignore warning
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Update the collection from IEnumerable<KeyValuePair<string, object>> to ActivityTagsCollection
* Removed extra space
* Use indexer to add tags instead of Add method
* Updated the tag names; Added a link to the spec for best practices in naming tags
* Fix markdown lint errors
* Fix markdown lint length limit exceeded error
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Refactor peer service logic into a shared location. Support building peer.service tag in OtlpExporter.
* Added unit tests for OtlpExporter peer service support. Refactored a few things around to resolve types ending up in multiple assemblies.
* Refactored Zipkin to use the new PeerServiceResolver.
* Updated changelog.
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Updated ZipkinExporter to take service name & send tags from Resource if it is set.
* Added LocalEndpoint.Tags code to net452 path.
* Updated CHANGELOG.
* Remove the old Zipkin LocalEndpoint override as it now has the Resource mechanism.
Co-authored-by: Eddy Nakamura <ednakamu@microsoft.com>
* Perf improvements for the OtlpExporter.
* Added an interface to the grpc service so that it is easier to mock.
* Fixed up unit tests.
* Fixed up formatting.
* Fixed up merge issues.
* Removed unused field.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
* Added perf test for ActivityStarted event.
* Moved ActivityStarted & ActivityStopped events behind an IsEnabled check.
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>