* Build OpenTelemetry.Exporter.Ocagent.csproj based on latest .proto files
.proto files forked from https://github.com/open-telemetry/opentelemetry-proto
@4b6ff88e525739a2b1d2cbed619301076c6687e7
and build using Grpc.Tools
* Adding README file with a SHA for .proto files fork
* Moving OpenTelemetry.Exporter.Ocagent to OpenTelemetry.Exporter.OpenTelemetryProtocol
* minor corrections for IsRemote for completeness
* Update src/OpenTelemetry.Api/Trace/SpanContext.cs
Co-Authored-By: Bruno Garcia <bruno@brunogarcia.com>
* RemoteBlandk->BlankRemote for better intellisense
Apparently the build pipeline for the master branch ci is not looking
exclusively at the .sln, so this project must build.
This is simply a build fix and nothing else.
Adding the otelcol exporter to the .sln
* Revert "remove Ocagent exporter (#235)"
This reverts commit 2e14b8c69c
except for the changes to the .sln file.
* Removing unused file for now
* Restore most current version of the .sln file
* 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)
* Populate SpanContext in the Span ctor BEFORE calling any SpanProcessor
* Fixing a cut and paste error
* Patching a timestamp comparison function used in a bunch of non-deterministic time checks. :(
* Add missing shutdown call to Exporter from Span Processor
* Logging Exporter
Simple exporter (proof of concept) that prints to console.
* LoggingExporter
Also log span ids.
Add helper method for indenting.
Rename test methods (RunFoo...)
* Fix build issue due to AddProcessorPipeline refactoring.
* Fix build issue
* Fix build error. File is not part of this PR
* Logging Exporter
Simple exporter (proof of concept) that prints to console.
* LoggingExporter
Also log span ids.
Add helper method for indenting.
Rename test methods (RunFoo...)
* Fix build issue due to AddProcessorPipeline refactoring.
* Fix build error. File is not part of this PR
* Fixed conflict
* Prefix for named Tracer was never set
* Add missing shutdown call to Exporter from Span Processor
* Fix test expectations
* Update src/OpenTelemetry/Trace/Export/BatchingSpanProcessor.cs
Co-Authored-By: Liudmila Molkova <lmolkova@microsoft.com>
* Test for "Shutdown" case explicitly in TestExporter.
* wip
* ref: Take func for Links
* ref: Avoid allocation when no links
* ref: Allocate only if necessary
* fix some unit tests
* ref: Overload taking IEnumerable
* fix: overload
* ref: use overload with enumerator
* ref; use enumerator overload
* fix: Cast double to long to match expected
* ref: Use .Any()
* ref: Pass null thru for IEnumerable
* test: SpanTest
* ref: Align params
* ref: Use List<Link> in Span
* ref: Got cough being lazy
* fix: Ludimila fixes my shitty code
* ref: including max value
Co-Authored-By: Liudmila Molkova <lmolkova@microsoft.com>
* ref: remove redundant list allocation
* 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
If the incoming request contains no W3C Trace Context, Extract was throwing
System.InvalidOperationException: 'Sequence contains no elements'
from
var traceparent = traceparentCollection?.First();
We can filter out that condition (no traceparent) without the exception.
* Use IsEnabled DS callback to filter out requests
* Update src/OpenTelemetry.Collector.Dependencies/DependenciesCollectorOptions.cs
Co-Authored-By: Bruno Garcia <bruno@brunogarcia.com>
* Update src/OpenTelemetry.Collector.AspNetCore/RequestsCollectorOptions.cs