Commit Graph

14 Commits

Author SHA1 Message Date
Eddy Nakamura a3bf19d450
Removing Todos (#1029)
* Removing Todos

renaming parameter

adding tests

updating spanbuilderShim

updating to internal

renaming to spanAttributes

solving build issue

adding spec reference

Continue Refactoring TracerProvider. (#1035)

* optimize the flow

* fix instrumenataion

* move mroe things to provider ctor

* move logic arounds

Co-authored-by: Reiley Yang <reyang@microsoft.com>

changing to class and following spec to replace value

replacing from default to null

updating package

adding xunit.runner

renaming method

* removing duplicated files

* adding some tests and updating to default constructor

* removing to be compliant to spec

Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
2020-08-11 07:50:53 -07:00
Eddy Nakamura da8cd0d5c8
Adding array of primitives to TelemetrySpan (#999)
* Adding array of primitives to TelemetrySpan

* updating tests

* removing baggage methods
2020-08-04 13:57:48 -07:00
Cijo Thomas d2c93610e8
Update to preview 8 of DiagnosticSource and associated changes - part1 (#954)
* Initial make build fix commit

* change Link public API to accept ActivityTagsCollection

* Add more SetAttribute overload to support int bool float and bool

* changelog

* Replace AddTag with SetTag in Activity

* disable a test for temporary progress

* reformat

* url fix

* Update Diagnosticourcepackage

* version fix

* ActivityTagsCollection

* console exporter fix

* one basic test

* minor
2020-08-03 11:25:24 -07:00
Eddy Nakamura c68061fa0c
dotnet-format check (#958)
* dotnet-format check

updating name

updating order

Update dotnet-format.yml

updating job name

Updating files based on dotnet-format

updating sanitycheck

updating os

* updating workflows

* adding path to editorconfig

Co-authored-by: Mikel Blanchard <mblanchard@macrosssoftware.com>
2020-07-31 18:46:08 -07:00
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