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.
Added
Marshaler
config option tootlphttp
to enable otlp over json or protobufs. (Add HTTP/JSON to the otlp exporter #1586)ForceFlush
method to the"go.opentelemetry.io/otel/sdk/trace".TracerProvider
to flush all registeredSpanProcessor
s. (Add ForceFlush method to TracerProvider #1608)WithSampler
andWithSpanLimits
to tracer provider. (Avoid overriding configuration of tracer provider #1633, Rename WithDefaultSampler TracerProvider option to WithSampler and update docs #1702)"go.opentelemetry.io/otel/trace".SpanContext
now has aremote
property, andIsRemote()
predicate, that is true when theSpanContext
has been extracted from remote context data. (Add flag to determine whether SpanContext is remote #1701)Valid
method to the"go.opentelemetry.io/otel/attribute".KeyValue
type. (Comply with OpenTelemetry attributes specification #1703)Changed
trace.SpanContext
is now immutable and has no exported fields. (Make SpanContext Immutable #1573)trace.NewSpanContext()
can be used in conjunction with thetrace.SpanContextConfig
struct to initialize a newSpanContext
where all values are known.ForceFlush
method signature to the"go.opentelemetry.io/otel/sdk/trace".SpanProcessor
to accept acontext.Context
and return an error. (Add ForceFlush method to TracerProvider #1608)Shutdown
method to the"go.opentelemetry.io/otel/sdk/trace".TracerProvider
return an error on shutdown failure. (Add ForceFlush method to TracerProvider #1608)SpanExporter
and gracefully ignore subsequent calls toOnEnd
afterShutdown
is called. (Update the SimpleSpanProcessor #1612)"go.opentelemetry.io/sdk/metric/controller.basic".WithPusher
is replaced withWithExporter
to provide consistent naming across project. (exporter: swap pusher for exporter #1656)Attribute
keys. (Add non-empty string check for attribute keys #1659)description
to SpanStatus only whenStatusCode
is set to error. ( SpanStatus description set only when status code is set to Error #1662)resource.Default
'sservice.name
if the exported Span does not have one. (Populate Jaeger's Span.Process from Resource #1673)LabelSet
method of"go.opentelemetry.io/otel/sdk/resource".Resource
toSet
. (Rename resource pkg label vars and methods #1692)WithSDK
toWithSDKOptions
to accept variadic arguments ofTracerProviderOption
type ingo.opentelemetry.io/otel/exporters/trace/jaeger
package. (sdk/trace: removing ApplyConfig and Config #1693)WithSDK
toWithSDKOptions
to accept variadic arguments ofTracerProviderOption
type ingo.opentelemetry.io/otel/exporters/trace/zipkin
package. (sdk/trace: removing ApplyConfig and Config #1693)"go.opentelemetry.io/otel/sdk/resource".NewWithAttributes
will now drop any invalid attributes passed. (Comply with OpenTelemetry attributes specification #1703)"go.opentelemetry.io/otel/sdk/resource".StringDetector
will now error if the produced attribute is invalid. (Comply with OpenTelemetry attributes specification #1703)Removed
serviceName
parameter from Zipkin exporter and uses resource instead. (Zipkin exporter should take service.name from Resource #1549)WithConfig
from tracer provider to avoid overriding configuration. (Avoid overriding configuration of tracer provider #1633)SimpleSpanProcessor
andBatchSpanProcessor
structs.These are now returned as a SpanProcessor interface from their respective constructors. (Unexport the simple and batch SpanProcessors #1638)
WithRecord()
fromtrace.SpanOption
when creating a span. (Remove WithRecord() option from trace.SpanOption when starting a span #1660)Error
while recording an error as a span event inRecordError
. (Removed setting error status while recording err as span event #1663)jaeger.WithProcess
configuration option. (Populate Jaeger's Span.Process from Resource #1673)ApplyConfig
method from"go.opentelemetry.io/otel/sdk/trace".TracerProvider
and the now unneededConfig
struct. (sdk/trace: removing ApplyConfig and Config #1693)Fixed
SamplingResult.TraceState
is correctly propagated to a newly created span'sSpanContext
. (Add tests for propagation of Sampler Tracestate changes #1655)otel-collector
example now correctly flushes metric events prior to shutting down the exporter. (Flush metric events prior to shutdown in OTLP example #1678)SpanStatusFromHTTPStatusCode
if it can be inferred fromhttp.status_code
. (Span status from HTTP code: Do not set status message if it can be inferred #1681)TracerProvider
. (Fix issue #1490, apply same logic as in the SDK #1687)