chore(deps): update opentelemetry-go monorepo to v0.15.0 #6
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/opentelemetry-go-monorepo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v0.0.0-20240518090000-14441aefdf88->v0.15.0v0.3.0->v0.15.0v0.3.0->v0.15.0v0.3.0->v0.15.0Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc)
v0.15.0Compare Source
Added
WithIDGeneratorTracerProviderOptionis added to thego.opentelemetry.io/otel/tracepackage to configure anIDGeneratorfor theTracerProvider. (#1363)Changed
NewExporterandStartfunctions ingo.opentelemetry.io/otel/exporters/otlpnow receivecontext.Contextas a first parameter. (#1357)exampledirectory. (#1359)internal.IDGeneratorinterface in to thesdk/tracepackage to enable support for externally-defined ID generators. (#1363)github.com/google/go-cmpfrom 0.5.3 to 0.5.4 (#1374)github.com/golangci/golangci-lintin/internal/tools(#1375)Fixed
SumObserverandUpDownSumObserverinstruments correctness fixes. (#1381)Raw changes made between v0.14.0 and v0.15.0
61e07a0(HEAD -> master, tag: v0.15.0, tag: sdk/v0.15.0, tag: exporters/trace/zipkin/v0.15.0, tag: exporters/trace/jaeger/v0.15.0, tag: exporters/stdout/v0.15.0, tag: exporters/otlp/v0.15.0, tag: exporters/metric/prometheus/v0.15.0, tag: example/zipkin/v0.15.0, tag: example/prometheus/v0.15.0, tag: example/otel-collector/v0.15.0, tag: example/opencensus/v0.15.0, tag: example/namedtracer/v0.15.0, tag: example/jaeger/v0.15.0, tag: example/basic/v0.15.0, tag: bridge/opentracing/v0.15.0, tag: bridge/opencensus/v0.15.0, upstream/master, origin/master, origin/HEAD) Release v0.15.0 (#1392)599c080Fix typo in readme (#1390)eb28005Metric Accumulator fix for SumObservers (#1381)970755bEnable support for externally-defined ID generators (#1363)0021ab0Rework proto generation (#1371)787e3f4chore(zipkin-exporter): relay on the status code for the request but still read the response body. (#1328)66db2d8(johananl/master) Build examples last (#1370)958041dBump github.com/golangci/golangci-lint in /internal/tools (#1375)e1ff2d1Bump github.com/google/go-cmp from 0.5.3 to 0.5.4 (#1374)5d0372dFix typo in comment (#1377)55ff277Fix golint issue caused by typo (#1372)5a728dbAnother batch of cleanups in otlp exporter (#1357)e081978Move opencensus example to the example directory (#1359)v0.14.0Compare Source
Added
EventOptionand the relatedNewEventConfigfunction are added to thego.opentelemetry.io/otelpackage to configure Span events. (#1254)TextMapPropagatorand associatedTextMapCarrierare added to thego.opentelemetry.io/otel/oteltestpackage to testTextMaptype propagators and their use. (#1259)SpanContextFromContextreturnsSpanContextfrom context. (#1255)DeploymentEnvironmentKeyadded togo.opentelemetry.io/otel/semconvpackage. (#1323)SpanProcessor.OnStartto follow the specification. (#1333)sdk/trace/attributes_map.go. (#1337)Changed
go.opentelemetry.io/otel/api/tracepackage intogo.opentelemetry.io/otel/tracewith the following changes. (#1229) (#1307)IDhas been renamed toTraceID.IDFromHexhas been renamed toTraceIDFromHex.EmptySpanContextis removed.go.opentelemetry.io/otel/api/trace/tracetestpackage intogo.opentelemetry.io/otel/oteltest. (#1229)Kindtype from thego.opentelemetry.io/otel/api/metricpackage was renamed toInstrumentKindto more specifically describe what it is and avoid semantic ambiguity. (#1240)MetricKindmethod of theDescriptortype in thego.opentelemetry.io/otel/api/metricpackage was renamed toDescriptor.InstrumentKind.This matches the returned type and fixes misuse of the term metric. (#1240)
go.opentelemetry.io/otel/api/apitestpackage intogo.opentelemetry.io/otel/oteltest. (#1241)go.opentelemetry.io/otel/api/metric/metrictestpackage intogo.opentelemetry.io/oteltestas part of #964. (#1252)go.opentelemetry.io/otel/api/metricpackage intogo.opentelemetry.io/otel/metricas part of #1303. (#1321)go.opentelemetry.io/otel/api/metric/registrypackage intogo.opentelemetry.io/otel/metric/registryas a part of #1303. (#1316)Numbertype (together with related functions) fromgo.opentelemetry.io/otel/api/metricpackage intogo.opentelemetry.io/otel/metric/numberas a part of #1303. (#1316)AddEventmethod ingo.opentelemetry.io/otelis updated to no longer take an unused context and instead take a required name and a variable number ofEventOptions. (#1254)RecordErrormethod ingo.opentelemetry.io/otelis updated to no longer take an unused context and instead take a required error value and a variable number ofEventOptions. (#1254)go.opentelemetry.io/otel/api/globalpackage togo.opentelemetry.io/otel. (#1262) (#1330)Versionfunction fromgo.opentelemetry.io/otel/sdktogo.opentelemetry.io/otel. (#1330)"otcorrelations"to"baggage"to match the OpenTelemetry specification. (#1267)Code.UnmarshalJSONto work with valid JSON only. (#1276)resource.New()method changes signature to support builtin attributes and functional options, includingtelemetry.sdk.*andhost.namesemantic conventions; the former method is renamedresource.NewWithAttributes. (#1235)UpDownCounters) as gauges. (#1210)Span.Endmethod documentation in theotelAPI to state updates are not allowed on a span after it has ended. (#1310)semconv.HTTPUrlKeytosemconv.HTTPURLKey. (#1338)Removed
ErrInvalidHexID,ErrInvalidTraceIDLength,ErrInvalidSpanIDLength,ErrInvalidSpanIDLength, orErrNilSpanIDfrom thego.opentelemetry.io/otelpackage are unexported now. (#1243)AddEventWithTimestampmethod on theSpaninterface ingo.opentelemetry.io/otelis removed due to its redundancy.It is replaced by using the
AddEventmethod with aWithTimestampoption. (#1254)MockSpanandMockTracertypes are removed fromgo.opentelemetry.io/otel/oteltest.TracerandSpanfrom the same module should be used in their place instead. (#1306)WorkerCountoption is removed fromgo.opentelemetry.io/otel/exporters/otlp. (#1350)Fixed
MergeItereratortoMergeIteratorin thego.opentelemetry.io/otel/labelpackage. (#1244)go.opentelemetry.io/otel/api/globalpackages global TextMapPropagator now delegates functionality to a globally set delegate for all previously returned propagators. (#1258)label.Any. (#1299)TracerProviderto pass options to its configured provider. (#1329)ExactKindaggregator 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)34aa681revert part of #1334. Move binary propagation to contrib (#1353)6eb6801Some cleanups in otlp exporter (#1350)5b5b4abUpdate OTLP to v0.6.0 (#1354)4619c06Add opencensus bridge example and readme (#1348)2c2f985Add missing tests for attributesMap (#1337)fd3c82bsupport exact kind in OTLP metrics exporter (#1309)c857a3dPass options to configured TracerProvider (#1329)7022c12Update the package docs for the new API layout (#1346)bbc9465Add opencensus binary propagation to bridge (#1334)73a0539chore(semconv): Add PR number to changelog (#1323)3207770Set telemetry.sdk.name resource attribute to "opentelemetry" (#1332)380d945s/HTTPUrlKey/HTTPURLKey/ in semconv (#1338)3d6e8b5Move Version function and code from global to toplevel (#1330)20c78feBump github.com/google/go-cmp from 0.5.2 to 0.5.3 (#1339)070b657Add parent context to SpanProcessor.OnStart (#1333)63a1114Move baggage and propagation to separate packages (#1325)f6df5dfadd opencensus tracing bridge (#1305)27aa1f6update go documentation badge image (#1322)75d4911Move metric code to a separate package (#1321)386331aPrepare to move metrics code to separate subpackage (#1316)f9984f2Support configurable AggregationTemporality in exporters; add OTLP missing sum point temporality/monotonic fields (#1296)3a06b39Update span collection limits to 1000 (#1318)b7508daExport non monotonic counters as gauge values from the prometheus exporter (#1269)757030dUpdate Span End method documentation (#1310)a354c02Clean up SDK span field docs (#1312)1041adaBump github.com/golangci/golangci-lint in /internal/tools (#1315)3268501Move tracing code to trace package (#1307)9ac3a08Remove MockSpan and MockTracer (#1306)c9ae670Fix zipkin example module name (#1308)e22a48dchore: adds vanity import for files that don't have it. (#1297)911d7beCheck marshalled value instead of iface (#1299)238d2c0Bump github.com/golangci/golangci-lint in /internal/tools (#1301)187adebChange resource.New() to use functional options; add builtin attributes for (host., telemetry.sdk.) (#1235)0341956Update README and documentation to better communicate pre-GA state (#1281)23e32b1Minor readability fixes to the Jeager example (#1282)d98ad10FixCode.UnmarshalJSONto work with valid json only (#1276)a6b31e0Update SpanProcessor Shutdown with context and error (#1264)412ee70Fix typo in example (#1278)da3f60aBump github.com/golangci/golangci-lint in /internal/tools (#1274)d75ccbbAdd a Shutdown method to sdk TraceProvider (#1227)230bdd1Add SpanContextFromContext() (#1255)c9bc90bRenaming otcorrelations header to baggage (#1267)d6dd84fMove the otel/api/global package to otel/global (#1262)818c7b1Move metric api package intootel(#1252)90de306Add global propagator testing and other fixes (#1260)b7197d5Update the internal global TextMapPropagator (#1261)ec300b2Update Span API event methods (#1254)786a78eAdd delegating global propagator (#1258)8fd4b26Add oteltest TextMap propagator and carrier (#1259)8ed55f5Update README with Org GA project board (#1253)4ea0a20Update semconv comments (#1249)5c21e88Update documentation forotel/oteltest(#1248)396dd60(spanfromcontext) Rename Kind from theapi/metricpackage (#1240)65044a1Moveapi/apitestinto theotel/oteltestpackage (#1241)a46f88eFix lint issues in otel package (#1243)bafde86Fix lint issues in the label package (#1244)7ecc555Update documentation for the OTLP exporter (#1242)f60f51dMove asyncronous metrics state helper out of apimetric/metrictes (#1234)02cd123Call sampler on local child spans. (#1233)25ccf5aUpdate proto v0.5.0 (#1230)27c84d6Move trace api package intootel(#1229)v0.13.0Added
Codestruct from thego.opentelemetry.io/otel/codespackage now supports JSON marshaling and unmarshaling as well as implements theStringerinterface. (#1214)Changed
HTTPSupplier,HTTPExtractor,HTTPInjector, andHTTPPropagatorfrom thego.opentelemetry.io/otel/api/propagationpackage were replaced with unifiedTextMapCarrierandTextMapPropagatorin thego.opentelemetry.io/otelpackage. (#1212)Newfunction from thego.opentelemetry.io/otel/api/propagationpackage was replaced withNewCompositeTextMapPropagatorin thego.opentelemetry.io/otelpackage. (#1212)go.opentelemetry.io/otel/codespackage have been updated to match the latest OpenTelemetry specification.They now are
Unset,Error, andOk.They no longer track the gRPC codes. (#1214)
StatusCodefield of theSpanDatastruct in thego.opentelemetry.io/otel/sdk/export/tracepackage now uses the codes package from this package instead of the gRPC project. (#1214)go.opentelemetry.io/otel/api/baggagepackage intogo.opentelemetry.io/otel/propagators. (#1217)Fixed
go.opentelemetry.io/otel/label.ArrayValue()are now used in the returnedValueinstead of using the mutable data itself. (#1226)Removed
ExtractHTTPandInjectHTTPfunctions from thego.opentelemetry.io/otel/api/propagationpackage were removed. (#1212)Propagatorsinterface from thego.opentelemetry.io/otel/api/propagationpackage was removed to conform to the OpenTelemetry specification.The explicit
TextMapPropagatortype can be used in its place as this is thePropagatortype the specification defines. (#1212)SetAttributemethod of theSpanfrom thego.opentelemetry.io/otel/api/tracepackage was removed given its redundancy with theSetAttributesmethod. (#1216)HostHostNameKeyin Resource semantic conventions. (#1219)Raw changes made between v0.12.0 and v0.13.0
9ebca88Pre release v0.13.0 (#1231)5660b0bUpdate label.ArrayValue to store copies of 1D arrays (#1226)577b217Update codes to match specification (#1214)e9c80e6Bump github.com/openzipkin/zipkin-go from 0.2.4 to 0.2.5 in /exporters/trace/zipkin (#1224)b0fd424Bump github.com/itchyny/gojq from 0.11.1 to 0.11.2 in /internal/tools (#1225)5e66340Add Baggage API and move Baggage propagator (#1217)de50711feat(span): remove SetAttribute method (#1216)6e184cdUpdate propagation to conform with OpenTelemetry specification (#1212)dc79f7fRemove duplicate hostname in Resource (#1219)423c891Set default propagator to no-op propagator (#1204)04297f4Enable exporting Histogram aggregation to OTLP metric (#1209)a69f8fbAdd integration tests for span processor ordering (#1208)3a9f5feTest benchmarks in precommit (#1207)v0.12.0Compare Source
Added
SpanConfigurefunction ingo.opentelemetry.io/otel/api/traceto create a newSpanConfigfromSpanOptions. (#1108)go.opentelemetry.io/otel/api/tracepackage,NewTracerConfigwas added to construct newTracerConfigs.This addition was made to conform with our project option conventions. (#1155)
SpanProcessorinterface now has aForceFlush()method. (#1166)Changed
This change adds a new optional implementation of the udp conn interface used to detect changes to an agent's host dns record.
It then adopts the new destination address to ensure the exporter doesn't get stuck. This change was ported from jaegertracing/jaeger-client-go#520. (#1063)
StartOptionandEndOptioningo.opentelemetry.io/otel/api/tracewithSpanOption.This change is matched by replacing the
StartConfigandEndConfigwith a unifiedSpanConfig. (#1108)LinkedTospan option ingo.opentelemetry.io/otel/api/tracewithWithLinks.This is be more consistent with our other option patterns, i.e. passing the item to be configured directly instead of its component parts, and provides a cleaner function signature. (#1108)
go.opentelemetry.io/otel/api/traceTracerOptionwas changed to an interface to conform to project option conventions. (#1109)B3andTraceContextfrom within thego.opentelemetry.io/otel/api/tracepackage to their owngo.opentelemetry.io/otel/propagatorspackage.This removal of the propagators is reflective of the OpenTelemetry specification for these propagators as well as cleans up the
go.opentelemetry.io/otel/api/traceAPI. (#1118)ProbabilitySamplertoTraceIDRatioBasedand change semantics to ignore parent span sampling status. (#1115)toolspackage underinternal. (#1141)go.opentelemetry.io/otel/api/correlationpackage togo.opentelemetry.io/otel/api/baggage. (#1142)The
correlation.CorrelationContextpropagator has been renamedbaggage.Baggage. Other exported functions and types are unchanged.ParentOrElsesampler toParentBasedand allow setting samplers depending on parent span. (#1153)go.opentelemetry.io/otel/api/tracepackage,SpanConfigurewas renamed toNewSpanConfig. (#1155)dependabot.ymlto add aSkip Changeloglabel to dependabot-sourced PRs. (#1161)recommend the use of
newConfig()instead ofconfigure(). (#1163)otlp.Configtype has been unexported and changed tootlp.config, along with its initializer. (#1163)Style Guide to reflect this styling rule. (#1172)
go.opentelemetry.io/otel/api/metric.ConfigureInstrumenttoNewInstrumentConfigandgo.opentelemetry.io/otel/api/metric.ConfigureMetertoNewMeterConfig.go.opentelemetry.io/otel/api/unitpackage togo.opentelemetry.io/otel/unit. (#1185)ProvidertoMeterProviderin thego.opentelemetry.io/otel/api/metricpackage. (#1190)NoopProvidertoNoopMeterProviderin thego.opentelemetry.io/otel/api/metricpackage. (#1190)NewProvidertoNewMeterProviderin thego.opentelemetry.io/otel/api/metric/metrictestpackage. (#1190)ProvidertoMeterProviderin thego.opentelemetry.io/otel/api/metric/registrypackage. (#1190)NewProvidertoNewMeterProviderin thego.opentelemetry.io/otel/api/metri/registrycpackage. (#1190)ProvidertoTracerProviderin thego.opentelemetry.io/otel/api/tracepackage. (#1190)NoopProvidertoNoopTracerProviderin thego.opentelemetry.io/otel/api/tracepackage. (#1190)ProvidertoTracerProviderin thego.opentelemetry.io/otel/api/trace/tracetestpackage. (#1190)NewProvidertoNewTracerProviderin thego.opentelemetry.io/otel/api/trace/tracetestpackage. (#1190)WrapperProvidertoWrapperTracerProviderin thego.opentelemetry.io/otel/bridge/opentracingpackage. (#1190)NewWrapperProvidertoNewWrapperTracerProviderin thego.opentelemetry.io/otel/bridge/opentracingpackage. (#1190)Providermethod of the pull controller toMeterProviderin thego.opentelemetry.io/otel/sdk/metric/controller/pullpackage. (#1190)Providermethod of the push controller toMeterProviderin thego.opentelemetry.io/otel/sdk/metric/controller/pushpackage. (#1190)ProviderOptionstoTracerProviderConfigin thego.opentelemetry.io/otel/sdk/tracepackage. (#1190)ProviderOptiontoTracerProviderOptionin thego.opentelemetry.io/otel/sdk/tracepackage. (#1190)ProvidertoTracerProviderin thego.opentelemetry.io/otel/sdk/tracepackage. (#1190)NewProvidertoNewTracerProviderin thego.opentelemetry.io/otel/sdk/tracepackage. (#1190)SamplingDecisionvalues to comply with OpenTelemetry specification change. (#1192)ot.status_code & ot.status_descriptiontootel.status_code & otel.status_description. (#1201)SpanProcessors in the order they were registered with theTracerProvider. (#1195)Removed
go.opentelemetry.io/otel/propagators. It is now located in thego.opentelemetry.io/contrib/propagators/module. (#1191)HTTPStatusTextKeyfrom packagego.opentelemetry.io/otel/semconv. (#1194)Fixed
ParentSampler, corrected toParentBased. (#1171)Raw changes made between v0.11.0 and v0.12.0
0b348c3(HEAD -> master, tag: v0.12.0, tag: sdk/v0.12.0, tag: exporters/trace/zipkin/v0.12.0, tag: exporters/trace/jaeger/v0.12.0, tag: exporters/stdout/v0.12.0, tag: exporters/otlp/v0.12.0, tag: exporters/metric/prometheus/v0.12.0, tag: example/zipkin/v0.12.0, tag: example/prometheus/v0.12.0, tag: example/otel-collector/v0.12.0, tag: example/namedtracer/v0.12.0, tag: example/jaeger/v0.12.0, tag: example/basic/v0.12.0, tag: bridge/opentracing/v0.12.0, origin/master, origin/HEAD) Prepare v0.12.0 release (#1205)
8c3cc43Use LastValue by default for ValueObserver instruments (#1165)304d4cdensure batch span processors are shutdown in examples (#1199)1e72b51Add example test for a custom SpanProcessor (#1196)b97533aRegister/unregister in the fixed order (#1198)559fecdUpdate the attribute names for the OTel attributes for the zipkin exporter (#1201)7d71867Rename *Provider names (#1190)5dd2962Remove semantic convention for http status text (#1194)038f505Remove B3 propagator from otel repo (#1191)e7e1dceUpdate sampling decision names (#1192)b9357d7Remove flaky BatchSpanProcessor.ForceFlush() test (#1189)fa74147Bump google.golang.org/api from 0.31.0 to 0.32.0 in /exporters/trace/jaeger (#1188)4b46365Move api/unit to top level (#1185)930b4d0Fix missing shutdown of the batch processor (#1186)995be31Add ForceFlush() method to SpanProcessor interface (#1166)a12224aEnsure exported interfaces have named method parameters (#1172)2621bd4Convert XConfigure into constructor for metrics (#1175)3de7a07Merge otel into one file and add package doc (#1176)1f7c220Don't consider unset env var to be an error during resource detection (#1170)77de199Minor change: ParentSampler -> ParentBased in Zipkin example description (#1171)6f048ebAdd more semantic conventions for k8s as resource attributes (#1167)d91de43Recommend use of initializers for config structs (#1163)c9726efAllow up to 0.5% coverage change before failing build (#1162)0041e2dRename ParentOrElse sampler to ParentBased and enhance it according to the spec (#1153)34c02d1Add Skip Changelog label to Dependabot-sourced PRs (#1161)9f45258Convert XConfigure into constructors (#1155)a787f09Update CONTRIBUTING.md to reflect PR process-as-applied (#1159)36c323fAdd the missing vanity import path directive (#1157)7fac279Rename package.go to doc.go for consistency (#1156)4c5f834Documentmake testfor testing (#1154)06689a0Rename CorrelationContext to Baggage (#1142)9a4981cBump google.golang.org/grpc from 1.31.1 to 1.32.0 in /sdk (#1145)422188aCorrect SDK trace Exporter interface (#1078)da96fd0Bump google.golang.org/grpc from 1.31.1 to 1.32.0 in /exporters/otlp (#1146)a1b43b4Bump google.golang.org/grpc from 1.31.1 to 1.32.0 in /exporters/stdout (#1148)9326386Bump google.golang.org/grpc from 1.31.1 to 1.32.0 in /exporters/trace/jaeger (#1151)71a1b23Bump github.com/golangci/golangci-lint from 1.30.0 to 1.31.0 in /internal/tools (#1152)e58e347Bump google.golang.org/grpc from 1.31.1 to 1.32.0 in /exporters/trace/zipkin (#1149)dd3d4f2Bump github.com/openzipkin/zipkin-go from 0.2.3 to 0.2.4 in /exporters/trace/zipkin (#1150)2f0538aBump google.golang.org/grpc in /example/otel-collector (#1147)2e221fdMove tools package under internal (#1141)1d21890Add workflow to check for presence of CHANGELOG changes on PRs (#1067)a2c75c6Unexport NoopXXX trace types (#1134)f1dad21Move propagators out of API and into their own package (#1118)bc1a592Add a test for jaeger udp client (#1137)224629bBump google.golang.org/api from 0.30.0 to 0.31.0 in /exporters/trace/jaeger (#1124)b0f978cAdd receiver names to TraceContext methods (#1136)9ad4824Added missing package document and canonical import paths (#1125)7435710Add missing argument names to the Span interface (#1135)d143b8fUnify API Span Start/End Options (#1108)4d83d5bChange name of ProbabilitySampler to TraceIdRatioBased (#1115)f38e190Add InstrumentationLibrary info to Zipkin/Jaeger exporters (#1119)440c4bdStopfindcomplaining due to missing directory starting point (#1116)0fec280Update trace API TracerOption (#1109)a304e82Add reconnecting udp connection type to jaeger exporter (#1063)e3abf31Make trace testhelpers public (#1111)1ab708eRename global SetTraceProvider and TraceProvider (#1102)f36759aAdd @XSAM as project approver (#1110)1c3626e#872 Make metric test helpers public (#1040)5d9daf0Bump google.golang.org/grpc from 1.31.0 to 1.31.1 in /sdk (#1105)06a0be7Update README.md (#1106)3b3c263Update dependabot config (#1100)737d812Bump github.com/google/go-cmp from 0.5.1 to 0.5.2 (#1093)170b6c6Bump github.com/google/go-cmp from 0.5.1 to 0.5.2 in /exporters/otlp (#1095)2351c8cBump github.com/google/go-cmp from 0.5.1 to 0.5.2 in /exporters/trace/jaeger (#1097)9ce71feBump google.golang.org/grpc from 1.31.0 to 1.31.1 in /exporters/trace/zipkin (#1096)b933f31Bump google.golang.org/grpc from 1.31.0 to 1.31.1 in /exporters/trace/jaeger (#1098)750848eBump google.golang.org/grpc from 1.31.0 to 1.31.1 in /exporters/stdout (#1099)v0.11.0Compare Source
Added
NoopandInMemorySpanBatcherimplementations to help with testing integrations. (#994)Changed
sdk/metric/processor/testtosdk/metric/processor/processortest. (#1049)sdk/metric/controller/testtosdk/metric/controller/controllertest. (#1049)api/testharnesstoapi/apitest. (#1049)api/trace/testtracetoapi/trace/tracetest. (#1049)go.opentelemetry.io/otel/bridge/opentracingbridge package has been made into its own module.This removes the package dependencies of this bridge from the rest of the OpenTelemetry based project. (#1038)
go.opentelemetry.io/otel/api/standardpackage togo.opentelemetry.io/otel/semconvto avoid the ambiguous and generic namestandardand better describe the package as containing OpenTelemetry semantic conventions. (#1016)OTEL_RESOURCE_LABELStoOTEL_RESOURCE_ATTRIBUTES(#1042)WithSyncerwithWithBatcherin examples. (#1044)google.golang.org/grpc/codesdependency in the API with an equivalentgo.opentelemetry.io/otel/codespackage. (#1046)go.opentelemetry.io/otel/api/labelandgo.opentelemetry.io/otel/api/kvinto the newgo.opentelemetry.io/otel/labelpackage. (#1060)Rename
*Callbackwith*Func. (#1061)Removed
Use the
Samplerinterface provided by the SDK instead.grpctraceinstrumentation was moved to thego.opentelemetry.io/contribrepository and out of this repository.This move includes moving the
grpcexample to thego.opentelemetry.io/contribas well. (#1027)WithSpanmethod of theTracerinterface.The functionality this method provided was limited compared to what a user can provide themselves.
It was removed with the understanding that if there is sufficient user need it can be added back based on actual user usage. (#1043)
RegisterSpanProcessorandUnregisterSpanProcessorfunctions.These were holdovers from an approach prior to the TracerProvider design. They were not used anymore. (#1077)
oterrorpackage. (#1026)othttpandhttptraceinstrumentations were moved togo.opentelemetry.io/contrib. (#1032)Fixed
semconv.HTTPServerMetricAttributesFromHTTPRequest()function no longer generates the high-cardinalityhttp.request.content.lengthlabel. (#1031)Endmethod is called during a panic (i.e. it was deferred). (#1043)go.opentelemetry.io/otelto the OTLP exporter to reduce dependency overhead. (#1050)otel-collectorexample referenced outdated collector processors. (#1006)v0.10.0Compare Source
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
NewExportPipelineandInstallNewPipelineconstructor functions to match the common pattern.These function build a new exporter with default SDK options and register the exporter with the
globalpackage respectively. (#944)testtracepackage now tracks thetrace.SpanKindfor each span. (#987)Changed
RegisterGlobalOptionin the Jaeger exporter with anInstallNewPipelineconstructor function.This matches the other exporter constructor patterns and will register a new exporter after building it with default configuration. (#944)
go.opentelemetry.io/otel/exporters/trace/stdout) and metric (go.opentelemetry.io/otel/exporters/metric/stdout)stdoutexporters 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 the
go.opentelemetry.io/otelmodule. (#956, #963)go.opentelemetry.io/otel/exporters/testtest package togo.opentelemetry.io/otel/sdk/export/metric/metrictest. (#962)go.opentelemetry.io/otel/api/kv/valuepackage was merged into the parentgo.opentelemetry.io/otel/api/kvpackage. (#968)value.Boolwas replaced withkv.BoolValue.value.Int64was replaced withkv.Int64Value.value.Uint64was replaced withkv.Uint64Value.value.Float64was replaced withkv.Float64Value.value.Int32was replaced withkv.Int32Value.value.Uint32was replaced withkv.Uint32Value.value.Float32was replaced withkv.Float32Value.value.Stringwas replaced withkv.StringValue.value.Intwas replaced withkv.IntValue.value.Uintwas replaced withkv.UintValue.value.Arraywas replaced withkv.ArrayValue.InfertoAnyin thego.opentelemetry.io/otel/api/kvpackage. (#972)go.opentelemetry.io/otel/sdk/metric/aggregator/testpackage togo.opentelemetry.io/otel/sdk/metric/aggregator/aggregatortest. (#980)go.opentelemetry.io/otel/sdk. (#985)SamplerfromAlwaysOntoParentOrElse(AlwaysOn). (#989)Removed
IndexedAttributefunction from thego.opentelemetry.io/otel/api/labelpackage was removed in favor ofIndexedLabelwhich it was synonymous with. (#970)Fixed
global.Handlefor span export errors in the OTLP exporter. (#946)go.opentelemetry.io/otel/apipackage. (#977)go.opentelemetry.io/otel/instrumentationpackage. (#983)go.opentelemetry.io/otel/instrumentation/grpctraceinterceptors into Go example tests. (#984)Raw changes made between v0.9.0 and v0.10.0
fd61d2e(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)1299210Change default Sampler to ParentOrElse(AlwaysOn) (#989)fa883d4testtrace.Span tracks and returns its SpanKind. (#987)26e85e1Add propagator option for gRPC instrumentation (#986)8fbaa9dMake the SDK into its own Go module (#985)d6bf2fbDecouple instrumentation from SDK (#983)42c2a86Move grpctrace examples from comment to code (#984)e06c9daRename aggregator/test to aggregatortest (#980)67a2c23Update Changelog (#982)2833212Decouple API from SDK (#977)7f1dc4aUpdate Contributing style guide section (#971)6917167Rename kv.Infer to kv.Any (#969) (#972)c9c8137Remove IndexedAttribute from api/label (#970)3b01a85Make the stdout exporter a package (#963)c6611f4Move export test package to SDK (#962)d99ac09Remove sub-package value from kv (#968)fd54b6cpaivagustavo to emeritus for now (#960)7918070README: fixup spaces on code example (#961)452256cUnify trace and metric stdout exporters (#956)f31d8ecUnify trace and metric exporter helpers (#944)c5d77d2Bump github.com/google/go-cmp from 0.5.0 to 0.5.1 (#957)c8b657euse global handler for span export err in otlp (#946)f6b51dfBump github.com/golangci/golangci-lint from 1.28.3 to 1.29.0 in /tools (#953)v0.9.0Compare Source
This release includes a new
Resourceauto-detector interface and a generation of the OTLP locally.Added
internal/opentelemetry-proto-gen. (#938)open-telemetry/opentelemetry-protoimported as a git submodule underinternal/opentelemetry-proto. References togithub.com/open-telemetry/opentelemetry-protochanged togo.opentelemetry.io/otel/internal/opentelemetry-proto-gen. (#942)Changed
structs for key-value pairs will be marshalled using JSON rather thanSprintf. (#948)Removed
github.com/open-telemetry/opentelemetry-collector. (#943)Raw changes made between v0.8.0 and v0.9.0
58e50e2(HEAD -> master, tag: v0.9.0, tag: exporters/trace/zipkin/v0.9.0, tag: exporters/trace/jaeger/v0.9.0, tag: exporters/otlp/v0.9.0, tag: exporters/metric/prometheus/v0.9.0, tag: example/zipkin/v0.9.0, tag: example/prometheus/v0.9.0, tag: example/otel-collector/v0.9.0, tag: example/namedtracer/v0.9.0, tag: example/jaeger/v0.9.0, tag: example/http/v0.9.0, tag: example/grpc/v0.9.0, tag: example/basic/v0.9.0, upstream/master, origin/master, origin/HEAD) Release v0.9.0 (#952)e6537c6Fix typo in comment (#951)99c2998OT resource detector (#939)b2b23e1supports marshaling values as json (#948)d6ad4d4[jaeger] Stop ignoring uints (#945)4f3fab3Remove github.com/open-telemetry/opentelemetry-collector dependency (#943)166c703Import open-telemetry/opentelemetry-proto submodule and generate protobuf bindings locally (#942)dd79483Create protobuf generation GitHub action (#938)31dd06aBump github.com/golangci/golangci-lint from 1.28.2 to 1.28.3 in /tools (#936)9edcad3Backport tag script from contrib repo (#934)v0.8.0Compare Source
This release includes additions and changes to implements the v0.6.0 OpenTelemetry specification and other fixes.
Added
B3Encodingtype to represent the B3 encoding(s) the B3 propagator can inject.A value for HTTP supported encodings (Multiple Header:
MultipleHeader, Single Header:SingleHeader) are included. (#882)FlagsDeferredtrace flag to indicate if the trace sampling decision has been deferred. (#882)FlagsDebugtrace flag to indicate if the trace is a debug trace. (#882)peer.servicesemantic attribute. (#898)faas.coldstartandcontainer.id. (#909)http.request_content_lengthin HTTP request basic attributes. (#905)WithBatchMaxCountoption to specify the maximum number of spans sent in a batch. (#931)Changed
CONTRIBUTING.mdto ask for updates toCHANGELOG.mdwith each pull request. (#879)SingleHeaderfield has been replaced withInjectEncoding.This new field can be set to combinations of the
B3Encodingbitmasks and will inject trace information in these encodings.If no encoding is set, the propagator will default to
MultipleHeaderencoding. (#882)Preference is given to Single Header encoding with Multiple Header being the fallback if Single Header is not found or is invalid.
This behavior change is made to dynamically support all correctly encoded traces received instead of having to guess the expected encoding prior to receiving. (#882)
api/standardpackage, theFaaS*key names are appended with a suffix ofKey. (#920)"api/standard".FaaSName->FaaSNameKey"api/standard".FaaSID->FaaSIDKey"api/standard".FaaSVersion->FaaSVersionKey"api/standard".FaaSInstance->FaaSInstanceKeyRemoved
FlagsUnusedtrace flag is removed.The purpose of this flag was to act as the inverse of
FlagsSampled, the inverse ofFlagsSampledis used instead. (#882)B3SingleHeader,B3DebugFlagHeader,B3TraceIDHeader,B3SpanIDHeader,B3SampledHeader,B3ParentSpanIDHeader) are removed.If B3 header keys are needed the authoritative OpenZipkin package constants should be used instead. (#882)
Fixed
b3instead of the previousX-B3. (#881)b3: 0,b3: 1, orb3: d) for a Single B3 Header. (#882)This removes the behavior of changing the debug flag into a set sampling bit.
Instead, this now follow the B3 specification and omits the
X-B3-Samplingheader. (#882)X-B3-Samplingheader when injecting. (#882)UnixNano. (#896)Unknownwhen no HTTP status code is provided as it is assumed to be200 OK. (#908)httptrace.clientTracercloseshttp.headersspan. (#912)HTTPClientAttributesFromHTTPRequest. (#905)grpctraceinstrumentation uses a span name conforming to the OpenTelemetry semantic conventions (does not contain a leading slash (/)). (#922)grpctraceinstrumentation includes anrpc.methodattribute now set to the gRPC method name. (#900, #922)grpctraceinstrumentationrpc.serviceattribute now contains the package name if one exists.This is in accordance with OpenTelemetry semantic conventions. (#922)
Commits since previous tag v0.7.0
aff7a80(HEAD -> master, tag: v0.8.0, tag: exporters/trace/zipkin/v0.8.0, tag: exporters/trace/jaeger/v0.8.0, tag: exporters/otlp/v0.8.0, tag: exporters/metric/prometheus/v0.8.0, tag: example/zipkin/v0.8.0, tag: example/prometheus/v0.8.0, tag: example/otel-collector/v0.8.0, tag: example/namedtracer/v0.8.0, tag: example/jaeger/v0.8.0, tag: example/http/v0.8.0, tag: example/grpc/v0.8.0, tag: example/basic/v0.8.0, upstream/master, origin/master, origin/HEAD) Release v0.8.0 (#929)9e99b44Bump github.com/golangci/golangci-lint from 1.28.1 to 1.28.2 in /tools (#930)4dec0ad[jaeger] Added WithBatchMaxCount as an option (#931)d979977Add semantic conventions for OS process as resource attributes (#919)54fffd6Update grpctrace instrumentation span names (#922)d2913b7Bump google.golang.org/api from 0.28.0 to 0.29.0 in /exporters/trace/jaeger (#925)c719588Avoid replacing existing correlation map data in context when correlation context extractor does not find any valid data (#923)fab431eFixapi/standardconstant names and documentation (#920)cf6462cBump github.com/itchyny/gojq from 0.10.4 to 0.11.0 in /tools (#926)03cd779Add http content size semantic conventions (#905)1c9aab6Extend semantic convetions for RPC (#900)918c654Update Changelog with omitted changes (#921)c506e99Fix B3 propagator and add tests (#882)3475d55Fix incorrect aggregation; Prometheus exporter behavior (#903)808345cBump CircleCI instance size (#917)c219029Update otel-collector example to use collector v0.5.0 (#915)1c6ca87Ensure clientTracer closes http.headers span (#912)463c458Add more database-specific semantic attributes (#899)5a4b68cAdd semantic convention forfaas.coldstartandcontainer.id(#909)eaa94e9Avoid setting span status to Unknown when no HTTP status is provided; stdlib assumes it to be200 OK(#908)9342eb2Bump github.com/golangci/golangci-lint from 1.28.0 to 1.28.1 in /tools (#913)27e892aRemove -v from Go tests (#904)bd1e174Add "peer.service" semantic to standard attributes (#898)8d1f448Bump github.com/golangci/golangci-lint from 1.27.0 to 1.28.0 in /tools (#901)550d365fix trace event time conversion from internal to otlp (#896)f1e3536Update opentracing dependency (#885)f4b1568Bump github.com/itchyny/gojq from 0.10.3 to 0.10.4 in /tools (#883)8205b0bUpdate B3 header names (#881)2635f96Ask for changelog updates with PRs (#879)v0.7.0Compare Source
This release implements the v0.5.0 version of the OpenTelemetry specification.
Added
Accumulationtype to metric SDK to transport telemetry fromAccumulators toProcessors.This replaces the prior
Recordstructuse for this purpose. (#835)MeterandTracerimplementations accept instrumentation version version as an optional argument.This instrumentation version is passed on to exporters. (#811) (#805) (#802)
aggregation.Kindin the export metric API. (#808)SetNameduring span initialization. (#791)go.opentelemetry.io/otel/api/oterrorpackage to uniformly support error handling and definitions for the project. (#778)globaldefault implementation of thego.opentelemetry.io/otel/api/oterror.Handlerinterface to be used to handle errors prior to an user definedHandler.There is also functionality for the user to register their
Handleras well as a convenience functionHandleto handle an error with this globalHandler(#778)application/jsonheader for the Zipkin exporter is included in all exports. (#774)api/standardpackage. #769Changed
IntegratortoProcessorin the metric SDK. (#863)AggregationSelectortoAggregatorSelector. (#859)SynchronizedCopytoSynchronizedMove. (#858)simpleintegrator tobasicintegrator. (#857)With these changes, cumulative and delta specific exporters are able to request the correct kind of aggregation from the SDK. (#840)
Aggregator.CheckpointAPI is renamed toSynchronizedCopyand adds an argument, a differentAggregatorinto which the copy is stored. (#812)export.Aggregatorcontract is thatUpdate()andSynchronizedCopy()are synchronized with each other.All the aggregation interfaces (
Sum,LastValue, ...) are not meant to be synchronized, as the caller is expected to synchronize aggregators at a higher level after theAccumulator.Some of the
Aggregatorsused unnecessary locking and that has been cleaned up. (#812)metric.Numberwas replaced byint64now that we usesync.Mutexin theMinMaxSumCountandHistogramAggregators. (#812)AlwaysParentSamplewithParentSample(fallback)to match the OpenTelemetry v0.5.0 specification. (#810)sdk/export/metric/aggregatortosdk/export/metric/aggregation. #808global.Handlefunction. (#791)plugindirectory toinstrumentationto match the OpenTelemetry specification. (#779)New()consistent. (#781)Removed
Uint64NumberKindand related functions from the API. (#864)Aggregator.CheckpointandIntegrator.Processas they were unused. (#803)SpanIDis no longer included in parameters for sampling decision to match the OpenTelemetry specification. (#775)Fixed
go.sumandgo.modwhen running dependabot tidy-up. (#871)Aggregatortesting has been updated and cleaned. (#812)metric.Number(0)expressions are replaced by0where possible. (#812)globalhandler_test.gotest failure. #804BatchSpanProcessor.Shutdownto wait until all spans are processed. (#766)api/standardkeys instead of custom keys. (#782)v0.6.0Compare Source
Added
Resources in the prometheus exporter. (#757)UpDownSumObserverinstrument. (#750)SumObserverinstrument. (#747)UpDownCounterinstrument. (#745)Optionand configuration functionWithTimeoutto the push controller. (#742)api/standardspackage to implement semantic conventions and standard key-value generation. (#731)Changed
Register*functions in the metric API toNew*for allObserverinstruments. (#761)[]float64for histogram boundaries, not[]metric.Number. (#758)Syncerinstead of as an unneededBatcher. (#756)WithResourceAttributes()withWithResource()in the trace SDK. (#754)ScheduleDelayMillistoBatchTimeoutin the traceBatchSpanProcessor.(#752)Resourcefrom theExportmethod parameter into the metric exportRecord. (#739)Observerinstrument toValueObserver. (#734)Provider()) to return ametric.Providerinstead of the oldMetermethod that acted as ametric.Provider. (#738)Measureinstrument byValueRecorderinstrument. (#732)"Correlation-Context"to"otcorrelations"to match the OpenTelemetry specification. 727)Fixed
ClientStreamoverride methods do not panic in grpctrace package. (#755)BatchSpanProcessortest until a fix is found. (#743)stringcase inkvInferfunction. (#746)api/metricspush controller and addCheckpointSetsynchronization. (#737)golang-1.14for examples. (#733)UnaryInterceptorClient. (#695)api/metriccode layout. (#724)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: ci/go.sum
fffb567af2tof7190d0786f7190d0786to9694c3f936fix(deps): update opentelemetry-go monorepoto chore(deps): update opentelemetry-go monorepo to v0.10.09694c3f936to672ac204c5672ac204c5to6edd01ba3b6edd01ba3bto85336a02c385336a02c3to9eec45c4259eec45c425tof39a2f5dddchore(deps): update opentelemetry-go monorepo to v0.10.0to chore(deps): update opentelemetry-go monorepo to v0.11.0f39a2f5dddto928232d8f0928232d8f0to6e846833fechore(deps): update opentelemetry-go monorepo to v0.11.0to chore(deps): update opentelemetry-go monorepo to v0.12.16e846833fetoa95cf4202fchore(deps): update opentelemetry-go monorepo to v0.12.1to chore(deps): update opentelemetry-go monorepo to v0.12.2a95cf4202fto19d88a0e78chore(deps): update opentelemetry-go monorepo to v0.12.2to chore(deps): update opentelemetry-go monorepo to v0.13.019d88a0e78to2b939f88c0chore(deps): update opentelemetry-go monorepo to v0.13.0to chore(deps): update opentelemetry-go monorepo to v0.14.02b939f88c0toc0305d3430chore(deps): update opentelemetry-go monorepo to v0.14.0to chore(deps): update opentelemetry-go monorepo to v0.15.0View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.