Update module go.opentelemetry.io/otel/sdk to v0.14.0 #1566
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.
This PR contains the following updates:
v0.13.0
->v0.14.0
Release Notes
open-telemetry/opentelemetry-go
v0.14.0
Compare Source
Added
EventOption
and the relatedNewEventConfig
function are added to thego.opentelemetry.io/otel
package to configure Span events. (#1254)TextMapPropagator
and associatedTextMapCarrier
are added to thego.opentelemetry.io/otel/oteltest
package to testTextMap
type propagators and their use. (#1259)SpanContextFromContext
returnsSpanContext
from context. (#1255)DeploymentEnvironmentKey
added togo.opentelemetry.io/otel/semconv
package. (#1323)SpanProcessor.OnStart
to follow the specification. (#1333)sdk/trace/attributes_map.go
. (#1337)Changed
go.opentelemetry.io/otel/api/trace
package intogo.opentelemetry.io/otel/trace
with the following changes. (#1229) (#1307)ID
has been renamed toTraceID
.IDFromHex
has been renamed toTraceIDFromHex
.EmptySpanContext
is removed.go.opentelemetry.io/otel/api/trace/tracetest
package intogo.opentelemetry.io/otel/oteltest
. (#1229)Kind
type from thego.opentelemetry.io/otel/api/metric
package was renamed toInstrumentKind
to more specifically describe what it is and avoid semantic ambiguity. (#1240)MetricKind
method of theDescriptor
type in thego.opentelemetry.io/otel/api/metric
package was renamed toDescriptor.InstrumentKind
.This matches the returned type and fixes misuse of the term metric. (#1240)
go.opentelemetry.io/otel/api/apitest
package intogo.opentelemetry.io/otel/oteltest
. (#1241)go.opentelemetry.io/otel/api/metric/metrictest
package intogo.opentelemetry.io/oteltest
as part of #964. (#1252)go.opentelemetry.io/otel/api/metric
package intogo.opentelemetry.io/otel/metric
as part of #1303. (#1321)go.opentelemetry.io/otel/api/metric/registry
package intogo.opentelemetry.io/otel/metric/registry
as a part of #1303. (#1316)Number
type (together with related functions) fromgo.opentelemetry.io/otel/api/metric
package intogo.opentelemetry.io/otel/metric/number
as a part of #1303. (#1316)AddEvent
method ingo.opentelemetry.io/otel
is updated to no longer take an unused context and instead take a required name and a variable number ofEventOption
s. (#1254)RecordError
method ingo.opentelemetry.io/otel
is updated to no longer take an unused context and instead take a required error value and a variable number ofEventOption
s. (#1254)go.opentelemetry.io/otel/api/global
package togo.opentelemetry.io/otel
. (#1262) (#1330)Version
function fromgo.opentelemetry.io/otel/sdk
togo.opentelemetry.io/otel
. (#1330)"otcorrelations"
to"baggage"
to match the OpenTelemetry specification. (#1267)Code.UnmarshalJSON
to work with valid JSON only. (#1276)resource.New()
method changes signature to support builtin attributes and functional options, includingtelemetry.sdk.*
andhost.name
semantic conventions; the former method is renamedresource.NewWithAttributes
. (#1235)UpDownCounter
s) as gauges. (#1210)Span.End
method documentation in theotel
API to state updates are not allowed on a span after it has ended. (#1310)semconv.HTTPUrlKey
tosemconv.HTTPURLKey
. (#1338)Removed
ErrInvalidHexID
,ErrInvalidTraceIDLength
,ErrInvalidSpanIDLength
,ErrInvalidSpanIDLength
, orErrNilSpanID
from thego.opentelemetry.io/otel
package are unexported now. (#1243)AddEventWithTimestamp
method on theSpan
interface ingo.opentelemetry.io/otel
is removed due to its redundancy.It is replaced by using the
AddEvent
method with aWithTimestamp
option. (#1254)MockSpan
andMockTracer
types are removed fromgo.opentelemetry.io/otel/oteltest
.Tracer
andSpan
from the same module should be used in their place instead. (#1306)WorkerCount
option is removed fromgo.opentelemetry.io/otel/exporters/otlp
. (#1350)Fixed
MergeItererator
toMergeIterator
in thego.opentelemetry.io/otel/label
package. (#1244)go.opentelemetry.io/otel/api/global
packages global TextMapPropagator now delegates functionality to a globally set delegate for all previously returned propagators. (#1258)label.Any
. (#1299)TracerProvider
to pass options to its configured provider. (#1329)ExactKind
aggregator in OTLP metrics transformer (#1309)Raw changes made between v0.13.0 and v0.14.0
575df22
(HEAD -> master, tag: v0.14.0, tag: sdk/v0.14.0, tag: exporters/trace/zipkin/v0.14.0, tag: exporters/trace/jaeger/v0.14.0, tag: exporters/stdout/v0.14.0, tag: exporters/otlp/v0.14.0, tag: exporters/metric/prometheus/v0.14.0, tag: example/zipkin/v0.14.0, tag: example/prometheus/v0.14.0, tag: example/otel-collector/v0.14.0, tag: example/namedtracer/v0.14.0, tag: example/jaeger/v0.14.0, tag: example/basic/v0.14.0, tag: bridge/opentracing/v0.14.0, tag: bridge/opencensus/v0.14.0, tag: bridge/opencensus/examples/bridge/v0.14.0, upstream/master, origin/master, origin/HEAD) Release v0.14.0 (#1355)34aa681
revert part of #1334. Move binary propagation to contrib (#1353)6eb6801
Some cleanups in otlp exporter (#1350)5b5b4ab
Update OTLP to v0.6.0 (#1354)4619c06
Add opencensus bridge example and readme (#1348)2c2f985
Add missing tests for attributesMap (#1337)fd3c82b
support exact kind in OTLP metrics exporter (#1309)c857a3d
Pass options to configured TracerProvider (#1329)7022c12
Update the package docs for the new API layout (#1346)bbc9465
Add opencensus binary propagation to bridge (#1334)73a0539
chore(semconv): Add PR number to changelog (#1323)3207770
Set telemetry.sdk.name resource attribute to "opentelemetry" (#1332)380d945
s/HTTPUrlKey/HTTPURLKey/ in semconv (#1338)3d6e8b5
Move Version function and code from global to toplevel (#1330)20c78fe
Bump github.com/google/go-cmp from 0.5.2 to 0.5.3 (#1339)070b657
Add parent context to SpanProcessor.OnStart (#1333)63a1114
Move baggage and propagation to separate packages (#1325)f6df5df
add opencensus tracing bridge (#1305)27aa1f6
update go documentation badge image (#1322)75d4911
Move metric code to a separate package (#1321)386331a
Prepare to move metrics code to separate subpackage (#1316)f9984f2
Support configurable AggregationTemporality in exporters; add OTLP missing sum point temporality/monotonic fields (#1296)3a06b39
Update span collection limits to 1000 (#1318)b7508da
Export non monotonic counters as gauge values from the prometheus exporter (#1269)757030d
Update Span End method documentation (#1310)a354c02
Clean up SDK span field docs (#1312)1041ada
Bump github.com/golangci/golangci-lint in /internal/tools (#1315)3268501
Move tracing code to trace package (#1307)9ac3a08
Remove MockSpan and MockTracer (#1306)c9ae670
Fix zipkin example module name (#1308)e22a48d
chore: adds vanity import for files that don't have it. (#1297)911d7be
Check marshalled value instead of iface (#1299)238d2c0
Bump github.com/golangci/golangci-lint in /internal/tools (#1301)187adeb
Change resource.New() to use functional options; add builtin attributes for (host., telemetry.sdk.) (#1235)0341956
Update README and documentation to better communicate pre-GA state (#1281)23e32b1
Minor readability fixes to the Jeager example (#1282)d98ad10
FixCode.UnmarshalJSON
to work with valid json only (#1276)a6b31e0
Update SpanProcessor Shutdown with context and error (#1264)412ee70
Fix typo in example (#1278)da3f60a
Bump github.com/golangci/golangci-lint in /internal/tools (#1274)d75ccbb
Add a Shutdown method to sdk TraceProvider (#1227)230bdd1
Add SpanContextFromContext() (#1255)c9bc90b
Renaming otcorrelations header to baggage (#1267)d6dd84f
Move the otel/api/global package to otel/global (#1262)818c7b1
Move metric api package intootel
(#1252)90de306
Add global propagator testing and other fixes (#1260)b7197d5
Update the internal global TextMapPropagator (#1261)ec300b2
Update Span API event methods (#1254)786a78e
Add delegating global propagator (#1258)8fd4b26
Add oteltest TextMap propagator and carrier (#1259)8ed55f5
Update README with Org GA project board (#1253)4ea0a20
Update semconv comments (#1249)5c21e88
Update documentation forotel/oteltest
(#1248)396dd60
(spanfromcontext) Rename Kind from theapi/metric
package (#1240)65044a1
Moveapi/apitest
into theotel/oteltest
package (#1241)a46f88e
Fix lint issues in otel package (#1243)bafde86
Fix lint issues in the label package (#1244)7ecc555
Update documentation for the OTLP exporter (#1242)f60f51d
Move asyncronous metrics state helper out of apimetric/metrictes (#1234)02cd123
Call sampler on local child spans. (#1233)25ccf5a
Update proto v0.5.0 (#1230)27c84d6
Move trace api package intootel
(#1229)Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.