Commit Graph

24 Commits

Author SHA1 Message Date
Paulo Janotti cab77a9bef
Add a Jaeger Activity Exporter (#693)
* Add a Jaeger Activity Exporter

* Fix a comment and code doc

* Fix code doc
2020-05-23 06:10:36 -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
Mikel Blanchard 78324b98df
Moved TestServer to OpenTelemetry.Tests and renamed TestHttpServer. Linked into Benchmarks, ZipkinTraceExporterTests, & OpenTelemetry.Adapter.Dependencies.Tests. (#634)
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-04-27 15:36:41 -07:00
Mikel Blanchard 94c412ef35
Switched back to a local fork of ApacheThrift in JaegerExporter. (#627)
* Switched back to a local fork of Thrift to fix issues introduced consuming the official package.

* Code review.
2020-04-23 00:43:55 -07:00
Eddy Nakamura fbcd1a0244
Adding files with blank space (#600) 2020-04-15 13:11:28 -07:00
Mikel Blanchard 1c82e6aaa3
Fixed up allocations in JaegerUdpClient. (#537)
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-03-17 13:26:53 -07:00
Łukasz Pyrzyk 6ea1238117
New using syntax (#528)
Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-03-06 10:07:19 -08:00
Mikel Blanchard 1420a100ce
JaegerExporter: Performance Improvements 2 (#524)
* Fixed boxing of Link & SpanContext structs in Jaeger.

* Enumerations in Jaeger are now allocation free.

* Removed a few spots where allocations were happening for no reason.

* Refactoring.

* Refactor.

* Turned off TieredCompilation for benchmarks because it can lead to false-positives when running through VS.

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-03-05 21:51:02 -08:00
Sergey Kanzhelev 3138d14613
rename samplers and Decision to SamplingResult (#523)
* rename samplers and Decision to SamplingResult

* forgotten rename to make tests pass
2020-03-05 09:30:48 -08:00
Mikel Blanchard d5b4248261
JaegerExporter: Performance Improvements (#494)
* Initial work.

* First complete version of Jaeger with perf improvements.

* Added JaegerExporter benchmarks.

* More performance revisions.

* ValueTask perf improvements.

* Missed a couple tasks.

* Removed null check against struct.

* Tweaked how structs are used.

* Figured out why the structs were eating more memory. Fixed up unit tests.

* Reverted change to ToJaegerSpan extension signature.

* Fixed JaegerUdpBatcher not calling CloseAsync in dispose, fixed SpanExporters not being disposed.

* Reference System.Threading.Tasks.Extensions for net46 & netstandard2.0 builds of Thirft to add in ValueTask.

* Removed the fork of Thrift in favor of the official package.

* Increased number of spans per iteration in jaeger benchmarks. Switched ApacheThrift to PrivateAssets=all in jaeger exporter project.

* New algorithm for memory management.

* Fixed double-allocation of tags.

* Immutable structs. Added cancellationToken to IJaegerClient interface.

* Added lists that can be backed be pooled buffers.

* Everything in implementation folder is now internal.

* Return ref from PooledList indexer.

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-02-26 14:49:39 -08:00
Mikel Blanchard a7206200a5
Zipkin Exporter: Specify RemoteEndpoint (#483)
* Switched to System.Text.Json for .NET Standard 2.0 target. Added caching of ZipkinEndpoints. Added support for sending RemoteEndpoint to Zipkin API.

* Code review feedback.

* Code review.

* Zipkin performance improvements.

* Made json header static.

* Removed debug code.

* Bumped up the numbers of spans in benchmark to get more consistent results.

* Code review.

Co-authored-by: Sergey Kanzhelev <S.Kanzhelev@live.com>
2020-02-18 15:16:15 -08:00
Liudmila Molkova 633dda37bd
Convert ISpan to abstract class and rename to TelemetrySpan (#464) 2020-01-27 15:28:55 -08:00
Liudmila Molkova 18e5b2f127 parent d49ce958a3 (#411)
author Liudmila Molkova <lmolkova@microsoft.com> 1576626312 -0800
committer Liudmila Molkova <lmolkova@microsoft.com> 1576862429 -0800

Link, SpanContext to struct
2019-12-20 10:31:50 -08:00
Liudmila Molkova 40a51b69bc
Move test infra to .NET Core 3.0 (#403)
* Add W3C TraceContext validation test app

* fix linux build

* some fixes

* Use ASP.NET Core test app as W3C test suite example

* broken solution

* remove new project

* move tests to 3.0

* update minver

* fix http tests to force 2.0

* minver is in common props, remove from projects

* move lightstep tests to 3.1
2019-12-19 13:46:57 -08:00
Liudmila Molkova 5ead3908ba
Make ITracer an abstract class and rename to tracer (#402) 2019-12-18 12:22:42 -08:00
Liudmila Molkova 287f08fa74
Update sampling API according to the spec (#369)
* Update sampling API according to the spec

* clean up public surface of probability sampler
2019-12-04 12:18:09 -08:00
Liudmila Molkova 5090cf777b
Add convenience methods to start active span (#305)
* first

* Add friendly API to start active spans

* update readme and add test

* rename benchmarks

* Remove StartActiveRootSpan - this is rare case

* Move active spans creation to extensions, WithSpan has flag to control lifetime

* tests pass

* cleanup

* a few more tests

* test

* docs

* I hate stylecop

* fix broken test

* Dispose spans on end (when span lifetime is the same as scope lifetime)
2019-10-25 07:11:09 -10:00
Liudmila Molkova c6c87ab59a
Multiple processors on tracer: configuration (#286)
* test

* Multiple processor chains

* Update src/OpenTelemetry/Trace/Export/Internal/NoopSpanProcessor.cs

Co-Authored-By: Sergey Kanzhelev <S.Kanzhelev@live.com>

* clean up and make tests pass

* more clean up

* Tests for multiple processors

* readme and rebase
2019-10-21 17:42:30 -07:00
Liudmila Molkova e9a0218525
Fix InvalidCastException in AzureSdkListener (#289) 2019-10-18 14:51:22 -07:00
Liudmila Molkova fe5f228b8a
Don't require SpanExporter in SpanProcessor constructor (#285) 2019-10-18 11:26:58 -07:00
Liudmila Molkova 3838e81aca minor style fixes (#274)
* usings outside in Abstractions

* Move usings outside of namespace and apply style

* more style fixes

* merge with master

* build fix
2019-10-14 11:57:21 -07:00
Liudmila Molkova 7141ee23d8
Tracing configuration API (#267)
* tracer factory configuration

* review

* default factory

* review

* Tests and readme

* Update README.md

Co-Authored-By: Austin Parker <austin@lightstep.com>

* null checks

* rebase from master
2019-10-11 18:53:11 -07:00
Liudmila Molkova afb1381bbd
Remove span builder (#268)
* Remove SpanBuilder

* tests

* more tests and readme

* review feedback
2019-10-11 15:47:19 -07:00
Liudmila Molkova 3e35c23b5f
Basic benchmarks (#262) 2019-10-08 17:42:07 -07:00