Commit Graph

10 Commits

Author SHA1 Message Date
Cijo Thomas c470f0bb9c
TracerProvider renamings (#887)
* TracerProvider renamings

* rename

* Remove customization.md as its contents are part of SDK readme

* read only Default in TracerPRovier
2020-07-23 00:09:50 -07:00
Rajkumar Rangaraj 609c57c31f
Update OpenTracingShim to use OpenTelemetry shim (#859)
* Update otlp test

* Converted Span to Activity

* Modified tests

* Changed dispose in tests and added exporters sample

* Renamed all activity to span

* Modified activity to Activity

* Modified existing tests, no need to use Activity based shim

* Modified sample.

* Incorporating Cijo's feedback
2020-07-21 17:03:26 -07:00
Cijo Thomas 30f841b2ef
Remove year from Copyright header (#671)
* Remove year from Copyright header

* some projects were unloaded and hence change didnt apply. this commit fixed it
2020-05-07 11:53:43 -07:00
Eddy Nakamura fbcd1a0244
Adding files with blank space (#600) 2020-04-15 13:11:28 -07:00
Liudmila Molkova 633dda37bd
Convert ISpan to abstract class and rename to TelemetrySpan (#464) 2020-01-27 15:28:55 -08:00
Liudmila Molkova db20d36e55
Cleanup: Remove SetAttribute(string) and AddEvent(name, attributes) overloads on Span (#412)
* Remove extra SetAttribte and AddEvent overloads on Span

* return bool double and long attribues

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2019-12-26 09:58:45 -08:00
Bruno Garcia d48e702286 ref: Move using outside namespace (#277) 2019-10-12 10:03:45 -07:00
Peter Wiese 84cdde8d5c Support explicit timestamps for OpenTracing ISpanBuilder and ISpan operations (#256) 2019-10-02 13:20:37 -07:00
Liudmila Molkova be7b57fefc
Expose Attributes, Link, Events, Start/End timestamps on span (#221)
* Expose Attributes, Link, Events, Start/End timestamps on span

* fix

* fix tests
2019-09-23 08:35:25 -07:00
Peter Wiese 541390ffb1 Initial implementation of the OpenTracing bridge. (#197)
This is, where possible, a direct port of the current Java shim. There are some holes/TODOS. Notably:

-Missing the Binary injection/extraction of the span context. This doesn't exist with the current implementation of OpenTracing yet.
-Missing explicit timestamps for calls to OpenTracing ISpan::Log.
-Missing explicit timestamps for calls to OpenTracing ISpan::Finish
-Various calls to set/get baggage are not implemented. Requires OpenTelemetry DistributedContext to be finalized.

Other oddities worth nothing:

-The SpanBuilderShim has some conditional code for calling OpenTel SetCreateChild(true|false)
-The ScopeManagerShim is actively tracking scopes returned by calls to OpenTel WithSpan and associated those with the OpenTel ISpan used when calling WithSpan.

I tested this shim against an ASP.NET Core 3 Preview 8 service wired up with OpenTracing netcore and grpc collectors and exporting to Jaeger backend.

The included tests are unit tests only; no E2E tests.
2019-09-06 15:41:32 -07:00