fix(deps): update opentelemetry #4863
Open
+69
−63
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.60.0
->v0.63.0
v0.62.0
->v0.63.0
v0.60.0
->v0.63.0
v0.62.0
->v0.63.0
v0.60.0
->v0.63.0
v0.60.0
->v0.63.0
v0.12.2
->v0.14.0
v0.12.2
->v0.14.0
v1.37.0
->v1.38.0
v1.36.0
->v1.38.0
v1.37.0
->v1.38.0
v1.37.0
->v1.38.0
v1.37.0
->v1.38.0
v0.57.0
->v0.60.0
v1.37.0
->v1.38.0
v0.12.2
->v0.14.0
v1.37.0
->v1.38.0
v0.12.2
->v0.14.0
v1.37.0
->v1.38.0
Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc)
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)v0.13.0
Added
Code
struct from thego.opentelemetry.io/otel/codes
package now supports JSON marshaling and unmarshaling as well as implements theStringer
interface. (#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. (#1212)New
function from thego.opentelemetry.io/otel/api/propagation
package was replaced withNewCompositeTextMapPropagator
in thego.opentelemetry.io/otel
package. (#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. (#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. (#1214)go.opentelemetry.io/otel/api/baggage
package intogo.opentelemetry.io/otel/propagators
. (#1217)Fixed
go.opentelemetry.io/otel/label.ArrayValue()
are now used in the returnedValue
instead of using the mutable data itself. (#1226)Removed
ExtractHTTP
andInjectHTTP
functions from thego.opentelemetry.io/otel/api/propagation
package were removed. (#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. (#1212)SetAttribute
method of theSpan
from thego.opentelemetry.io/otel/api/trace
package was removed given its redundancy with theSetAttributes
method. (#1216)HostHostNameKey
in Resource semantic conventions. (#1219)Raw changes made between v0.12.0 and v0.13.0
9ebca88
Pre release v0.13.0 (#1231)5660b0b
Update label.ArrayValue to store copies of 1D arrays (#1226)577b217
Update codes to match specification (#1214)e9c80e6
Bump github.com/openzipkin/zipkin-go from 0.2.4 to 0.2.5 in /exporters/trace/zipkin (#1224)b0fd424
Bump github.com/itchyny/gojq from 0.11.1 to 0.11.2 in /internal/tools (#1225)5e66340
Add Baggage API and move Baggage propagator (#1217)de50711
feat(span): remove SetAttribute method (#1216)6e184cd
Update propagation to conform with OpenTelemetry specification (#1212)dc79f7f
Remove duplicate hostname in Resource (#1219)423c891
Set default propagator to no-op propagator (#1204)04297f4
Enable exporting Histogram aggregation to OTLP metric (#1209)a69f8fb
Add integration tests for span processor ordering (#1208)3a9f5fe
Test benchmarks in precommit (#1207)Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone America/New_York, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.