Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
0.16.0 - 2020-01-13
Added
ReadOnlySpan
andReadWriteSpan
interfaces to provide better control for accessing span data. (Add RO/RW span interfaces #1360)NewGRPCDriver
function returns aProtocolDriver
that maintains a single gRPC connection to the collector. (Split connection management away from exporter #1369)NewSplitDriver
for OTLP exporter that allows sending traces and metrics to different endpoints. (Add a split protocol driver for otlp exporter #1418)exporters/otlp/otlphttp
. Currently it only supports the binary protobuf payloads. (Move gRPC driver to a subpackage and add an HTTP driver #1420)Changed
internal/testing
tointernal/internaltest
. (Rename internal/testing to internal/internaltest #1449)export.SpanData
toexport.SpanSnapshot
and use it only for exporting spans. (Add RO/RW span interfaces #1360)SpanContext
rather than just its span ID in thespan
struct. (Add RO/RW span interfaces #1360)array
aggregator renamedexact
to match itsaggregation.Kind
(Remove Quantile aggregation, DDSketch aggregator; add Exact timestamps #1412)exact
aggregator includes per-point timestamps (Remove Quantile aggregation, DDSketch aggregator; add Exact timestamps #1412)NewExporter
fromexporters/otlp
now takes aProtocolDriver
as a parameter. (Split connection management away from exporter #1369)uint64
. (1430)SamplingResult
now passed aTracestate
from the parentSpanContext
(Add Tracestate into the SamplingResult struct #1432)exporters/otlp/otlpgrpc
. (Move gRPC driver to a subpackage and add an HTTP driver #1420)TraceContext
propagator now correctly propagatesTraceState
through theSpanContext
. (Handle tracestate in TraceContext propagator #1447)WithExporter()
andStart()
to configure Push behaviorStart()
is optional; useCollect()
andForEach()
for Pull behaviorStart()
andStop()
accept Context. (Combine the Push and Pull metric controllers #1378)Removed
errUninitializedSpan
as its only usage is now obsolete. (Add RO/RW span interfaces #1360)Fixed
BatchSpanProcessor.Shutdown()
will now shutdown underlyingexport.SpanExporter
. (Shutdown underlying span exporter while shutting down BatchSpanProcessor #1443)