OpenTelemetry - CNCF/opentelemetry-go: Release v0.10.0
Name: opentelemetry-go
Owner: OpenTelemetry - CNCF
Release: Release v0.10.0
Released: 2020-07-30
License: Apache-2.0
Release Assets:
This release migrates the default OpenTelemetry SDK into its own Go module, decoupling the SDK from the API and reducing dependencies for instrumentation packages.
Added
- The Zipkin exporter now has
NewExportPipeline
andInstallNewPipeline
constructor functions to match the common pattern. These function build a new exporter with default SDK options and register the exporter with theglobal
package respectively. (#944) - Add propagator option for gRPC instrumentation. (#986)
- The
testtrace
package now tracks thetrace.SpanKind
for each span. (#987)
Changed
- Replace the
RegisterGlobal
Option
in the Jaeger exporter with anInstallNewPipeline
constructor function. This matches the other exporter constructor patterns and will register a new exporter after building it with default configuration. (#944) - The trace (
go.opentelemetry.io/otel/exporters/trace/stdout
) and metric (go.opentelemetry.io/otel/exporters/metric/stdout
)stdout
exporters are now merged into a single exporter atgo.opentelemetry.io/otel/exporters/stdout
. This new exporter was made into its own Go module to follow the pattern of all exporters and decouple it from thego.opentelemetry.io/otel
module. (#956, #963) - Move the
go.opentelemetry.io/otel/exporters/test
test package togo.opentelemetry.io/otel/sdk/export/metric/metrictest
. (#962) - The
go.opentelemetry.io/otel/api/kv/value
package was merged into the parentgo.opentelemetry.io/otel/api/kv
package. (#968)value.Bool
was replaced withkv.BoolValue
.value.Int64
was replaced withkv.Int64Value
.value.Uint64
was replaced withkv.Uint64Value
.value.Float64
was replaced withkv.Float64Value
.value.Int32
was replaced withkv.Int32Value
.value.Uint32
was replaced withkv.Uint32Value
.value.Float32
was replaced withkv.Float32Value
.value.String
was replaced withkv.StringValue
.value.Int
was replaced withkv.IntValue
.value.Uint
was replaced withkv.UintValue
.value.Array
was replaced withkv.ArrayValue
.
- Rename
Infer
toAny
in thego.opentelemetry.io/otel/api/kv
package. (#972) - Rename
go.opentelemetry.io/otel/sdk/metric/aggregator/test
package togo.opentelemetry.io/otel/sdk/metric/aggregator/aggregatortest
. (#980) - Make the SDK into its own Go module called
go.opentelemetry.io/otel/sdk
. (#985) - Changed the default trace
Sampler
fromAlwaysOn
toParentOrElse(AlwaysOn)
. (#989)
Removed
- The
IndexedAttribute
function from thego.opentelemetry.io/otel/api/label
package was removed in favor ofIndexedLabel
which it was synonymous with. (#970)
Fixed
- Bump github.com/golangci/golangci-lint from 1.28.3 to 1.29.0 in /tools. (#953)
- Bump github.com/google/go-cmp from 0.5.0 to 0.5.1. (#957)
- Use
global.Handle
for span export errors in the OTLP exporter. (#946) - Correct Go language formatting in the README documentation. (#961)
- Remove default SDK dependencies from the
go.opentelemetry.io/otel/api
package. (#977) - Remove default SDK dependencies from the
go.opentelemetry.io/otel/instrumentation
package. (#983) - Move documented examples for
go.opentelemetry.io/otel/instrumentation/grpctrace
interceptors into Go example tests. (#984)
Raw changes made between v0.9.0 and v0.10.0
fd61d2edece005195116e6b9218801a460a3868d (HEAD -> master, tag: v0.10.0, tag: sdk/v0.10.0, tag: exporters/trace/zipkin/v0.10.0, tag: exporters/trace/jaeger/v0.10.0, tag: exporters/stdout/v0.10.0, tag: exporters/otlp/v0.10.0, tag: exporters/metric/prometheus/v0.10.0, tag: example/zipkin/v0.10.0, tag: example/prometheus/v0.10.0, tag: example/otel-collector/v0.10.0, tag: example/namedtracer/v0.10.0, tag: example/jaeger/v0.10.0, tag: example/http/v0.10.0, tag: example/grpc/v0.10.0, tag: example/basic/v0.10.0, upstream/master, origin/master, origin/HEAD) Release v0.10.0 (#990) 12992106de1648c1ec17d4485f3206d57515adde Change default Sampler to ParentOrElse(AlwaysOn) (#989) fa883d426b122906d4d0e81192d3ac942e2616b4 testtrace.Span tracks and returns its SpanKind. (#987) 26e85e1830a4b183e83718fced9271b66b71da3b Add propagator option for gRPC instrumentation (#986) 8fbaa9d432262bfc586d32a385104648a2d9b08a Make the SDK into its own Go module (#985) d6bf2fbfc302cd06ed4536c309abc9f3bd15f5a3 Decouple instrumentation from SDK (#983) 42c2a86ea483f3952c92f490d6184c1dfb7d4ca6 Move grpctrace examples from comment to code (#984) e06c9da91674151020fdd4c9a9b35424c9d350da Rename aggregator/test to aggregatortest (#980) 67a2c2301677f2650f6ec7c23b7bfc9b53884570 Update Changelog (#982) 2833212bd9ce73cef3ffb44ccc78f3fb3dd16d3b Decouple API from SDK (#977) 7f1dc4a23720177a46280e2b92be046b099abfd6 Update Contributing style guide section (#971) 691716712372ddadd4559d9b5b482e6b94e301a3 Rename kv.Infer to kv.Any (#969) (#972) c9c81379541b7bec5f4ce6e3b31f8f6865dae07e Remove IndexedAttribute from api/label (#970) 3b01a854d1cbdcaebf38f89af8b2f28fb90489eb Make the stdout exporter a package (#963) c6611f44785883c1d5dfa712a3464493d285dba6 Move export test package to SDK (#962) d99ac0993ef027dc9d4fac95b2accbbc2fc15572 Remove sub-package value from kv (#968) fd54b6c6422b64712ac0ef880365a610046f7af7 paivagustavo to emeritus for now (#960) 79180706177b5dc834311c911cb3fcab9d21b441 README: fixup spaces on code example (#961) 452256cbf419c51b3cec0bdf64c0cff64980e9f4 Unify trace and metric stdout exporters (#956) f31d8ec1d082a480cdaba3b553005f50412c63a0 Unify trace and metric exporter helpers (#944) c5d77d234cf2e28cd72e46ec5621b3827071b1b5 Bump github.com/google/go-cmp from 0.5.0 to 0.5.1 (#957) c8b657eb6ce7d15d4e7fb7825c240c85fceadc60 use global handler for span export err in otlp (#946) f6b51df544b1cc386aa799c241ad12557d6b5482 Bump github.com/golangci/golangci-lint from 1.28.3 to 1.29.0 in /tools (#953)