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.13.0] - 2020-10-08
Added
Code
struct from thego.opentelemetry.io/otel/codes
package now supports JSON marshaling and unmarshaling as well as implements theStringer
interface. (Update codes to match specification #1214)Changed
HTTPSupplier
,HTTPExtractor
,HTTPInjector
, andHTTPPropagator
from thego.opentelemetry.io/otel/api/propagation
package were replaced with unifiedTextMapCarrier
andTextMapPropagator
in thego.opentelemetry.io/otel
package. (Update propagation to conform with OpenTelemetry specification #1212)New
function from thego.opentelemetry.io/otel/api/propagation
package was replaced withNewCompositeTextMapPropagator
in thego.opentelemetry.io/otel
package. (Update propagation to conform with OpenTelemetry specification #1212)go.opentelemetry.io/otel/codes
package have been updated to match the latest OpenTelemetry specification.They now are
Unset
,Error
, andOk
.They no longer track the gRPC codes. (Update codes to match specification #1214)
StatusCode
field of theSpanData
struct in thego.opentelemetry.io/otel/sdk/export/trace
package now uses the codes package from this package instead of the gRPC project. (Update codes to match specification #1214)go.opentelemetry.io/otel/api/baggage
package intogo.opentelemetry.io/otel/propagators
. (Add Baggage API and move Baggage propagator #1217)Fixed
go.opentelemetry.io/otel/label.ArrayValue()
are now used in the returnedValue
instead of using the mutable data itself. (Update label.ArrayValue to store copies of 1D arrays #1226)Removed
ExtractHTTP
andInjectHTTP
functions from thego.opentelemetry.io/otel/api/propagation
package were removed. (Update propagation to conform with OpenTelemetry specification #1212)Propagators
interface from thego.opentelemetry.io/otel/api/propagation
package was removed to conform to the OpenTelemetry specification.The explicit
TextMapPropagator
type can be used in its place as this is thePropagator
type the specification defines. (Update propagation to conform with OpenTelemetry specification #1212)SetAttribute
method of theSpan
from thego.opentelemetry.io/otel/api/trace
package was removed given its redundancy with theSetAttributes
method. (feat(span): remove SetAttribute method #1216)HostHostNameKey
in Resource semantic conventions. (Remove duplicate hostname in Resource #1219)