github open-telemetry/opentelemetry-go v0.14.0
Release v0.14.0

latest releases: v1.26.0, exporters/stdout/stdoutlog/v0.2.0-alpha, exporters/otlp/otlplog/otlploghttp/v0.2.0-alpha...
3 years ago

Added

  • An EventOption and the related NewEventConfig function are added to the go.opentelemetry.io/otel package to configure Span events. (#1254)
  • A TextMapPropagator and associated TextMapCarrier are added to the go.opentelemetry.io/otel/oteltest package to test TextMap type propagators and their use. (#1259)
  • SpanContextFromContext returns SpanContext from context. (#1255)
  • DeploymentEnvironmentKey added to go.opentelemetry.io/otel/semconv package. (#1323)
  • Add an OpenCensus to OpenTelemetry tracing bridge. (#1305)
  • Add a parent context argument to SpanProcessor.OnStart to follow the specification. (#1333)
  • Add missing tests for sdk/trace/attributes_map.go. (#1337)

Changed

  • Move the go.opentelemetry.io/otel/api/trace package into go.opentelemetry.io/otel/trace with the following changes. (#1229) (#1307)
    • ID has been renamed to TraceID.
    • IDFromHex has been renamed to TraceIDFromHex.
    • EmptySpanContext is removed.
  • Move the go.opentelemetry.io/otel/api/trace/tracetest package into go.opentelemetry.io/otel/oteltest. (#1229)
  • OTLP Exporter updates:
    • supports OTLP v0.6.0 (#1230, #1354)
    • supports configurable aggregation temporality (default: Cumulative, optional: Stateless). (#1296)
  • The Sampler is now called on local child spans. (#1233)
  • The Kind type from the go.opentelemetry.io/otel/api/metric package was renamed to InstrumentKind to more specifically describe what it is and avoid semantic ambiguity. (#1240)
  • The MetricKind method of the Descriptor type in the go.opentelemetry.io/otel/api/metric package was renamed to Descriptor.InstrumentKind.
    This matches the returned type and fixes misuse of the term metric. (#1240)
  • Move test harness from the go.opentelemetry.io/otel/api/apitest package into go.opentelemetry.io/otel/oteltest. (#1241)
  • Move the go.opentelemetry.io/otel/api/metric/metrictest package into go.opentelemetry.io/oteltest as part of #964. (#1252)
  • Move the go.opentelemetry.io/otel/api/metric package into go.opentelemetry.io/otel/metric as part of #1303. (#1321)
  • Move the go.opentelemetry.io/otel/api/metric/registry package into go.opentelemetry.io/otel/metric/registry as a part of #1303. (#1316)
  • Move the Number type (together with related functions) from go.opentelemetry.io/otel/api/metric package into go.opentelemetry.io/otel/metric/number as a part of #1303. (#1316)
  • The function signature of the Span AddEvent method in go.opentelemetry.io/otel is updated to no longer take an unused context and instead take a required name and a variable number of EventOptions. (#1254)
  • The function signature of the Span RecordError method in go.opentelemetry.io/otel is updated to no longer take an unused context and instead take a required error value and a variable number of EventOptions. (#1254)
  • Move the go.opentelemetry.io/otel/api/global package to go.opentelemetry.io/otel. (#1262) (#1330)
  • Move the Version function from go.opentelemetry.io/otel/sdk to go.opentelemetry.io/otel. (#1330)
  • Rename correlation context header from "otcorrelations" to "baggage" to match the OpenTelemetry specification. (#1267)
  • Fix Code.UnmarshalJSON to work with valid JSON only. (#1276)
  • The resource.New() method changes signature to support builtin attributes and functional options, including telemetry.sdk.* and
    host.name semantic conventions; the former method is renamed resource.NewWithAttributes. (#1235)
  • The Prometheus exporter now exports non-monotonic counters (i.e. UpDownCounters) as gauges. (#1210)
  • Correct the Span.End method documentation in the otel API to state updates are not allowed on a span after it has ended. (#1310)
  • Updated span collection limits for attribute, event and link counts to 1000 (#1318)
  • Renamed semconv.HTTPUrlKey to semconv.HTTPURLKey. (#1338)

Removed

  • The ErrInvalidHexID, ErrInvalidTraceIDLength, ErrInvalidSpanIDLength, ErrInvalidSpanIDLength, or ErrNilSpanID from the go.opentelemetry.io/otel package are unexported now. (#1243)
  • The AddEventWithTimestamp method on the Span interface in go.opentelemetry.io/otel is removed due to its redundancy.
    It is replaced by using the AddEvent method with a WithTimestamp option. (#1254)
  • The MockSpan and MockTracer types are removed from go.opentelemetry.io/otel/oteltest.
    Tracer and Span from the same module should be used in their place instead. (#1306)
  • WorkerCount option is removed from go.opentelemetry.io/otel/exporters/otlp. (#1350)

Fixed

  • Rename MergeItererator to MergeIterator in the go.opentelemetry.io/otel/label package. (#1244)
  • The go.opentelemetry.io/otel/api/global packages global TextMapPropagator now delegates functionality to a globally set delegate for all previously returned propagators. (#1258)
  • Fix condition in label.Any. (#1299)
  • Fix global TracerProvider to pass options to its configured provider. (#1329)
  • Fix missing handler for 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 Fix Code.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 into otel (#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 for otel/oteltest (#1248)
396dd60 (spanfromcontext) Rename Kind from the api/metric package (#1240)
65044a1 Move api/apitest into the otel/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 into otel (#1229)

Don't miss a new opentelemetry-go release

NewReleases is sending notifications on new releases.