Skip to content
This repository has been archived by the owner on Jan 22, 2022. It is now read-only.

Bump go.opentelemetry.io/otel version to v0.14.0 #40

Merged
merged 2 commits into from
Dec 4, 2020

Conversation

MrAlias
Copy link
Contributor

@MrAlias MrAlias commented Nov 20, 2020

Upstream release notes:

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

575df22b7973e921dcbc52df61701e8f62f69a83 (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)
34aa6816c1e568dc910344fd5eb10e87b42c901d revert part of #1334. Move binary propagation to contrib (#1353)
6eb68013b5afc4b68f38e6a8e01d4b170dcf1476 Some cleanups in otlp exporter (#1350)
5b5b4ab1ea9ecec5cb6d3a9d8de9c693aa5455b2 Update OTLP to v0.6.0 (#1354)
4619c068e28176797b333c5a8eaf64206332f8f6 Add opencensus bridge example and readme (#1348)
2c2f9852fef1d85d8a08e6d763777ccea3797648 Add missing tests for attributesMap (#1337)
fd3c82bec5fc8012da1fdd0402149b38bd8ec59d support exact kind in OTLP metrics exporter (#1309)
c857a3da18cb85194b8906531684e07a82327850 Pass options to configured TracerProvider (#1329)
7022c12bfce8bad1de7244f9c7b690dbff64a239 Update the package docs for the new API layout (#1346)
bbc9465ddb47b3791db8213d0b47e6d4c9be8b1b Add opencensus binary propagation to bridge (#1334)
73a05393a0a1824565e03cc00f3ea6dcd69bbf6e chore(semconv): Add PR number to changelog (#1323)
3207770f88d4ef840a3aae3d958fbc966e3e7351 Set telemetry.sdk.name resource attribute to "opentelemetry" (#1332)
380d9455fd1bf1735c6d5510f1e428d1a9fd5036 s/HTTPUrlKey/HTTPURLKey/ in semconv (#1338)
3d6e8b5078443c822c3800e89bdb84289d82b084 Move Version function and code from global to toplevel (#1330)
20c78fed0ab37829680e98147e3be1f6e059bc25 Bump github.com/google/go-cmp from 0.5.2 to 0.5.3 (#1339)
070b657c215f4cd2087492a7d6a800a82c61f5c7 Add parent context to SpanProcessor.OnStart (#1333)
63a11144cf5a5fd185e40eba7dd22bce2b2980ef Move baggage and propagation to separate packages (#1325)
f6df5df9388279ee4627ed9e4999f0b83d09d1a8 add opencensus tracing bridge (#1305)
27aa1f601124468cde6c796935460435b6723700 update go documentation badge image (#1322)
75d4911c95a66b3ed4e869790c0b62d76b10d326 Move metric code to a separate package (#1321)
386331a472deda26020f125501cba346cacf0193 Prepare to move metrics code to separate subpackage (#1316)
f9984f2d4ec2a09f42358406d3bac8d83b589494 Support configurable AggregationTemporality in exporters; add OTLP missing sum point temporality/monotonic fields (#1296)
3a06b393b98134c2db0b7af9baa2b01a2aeadb3c Update span collection limits to 1000 (#1318)
b7508da6fa3f7c76f51c65de9db47123aafd1876 Export non monotonic counters as gauge values from the prometheus exporter (#1269)
757030dc78051d90dd1c33c1d292c4d4e8fa63cb Update Span End method documentation (#1310)
a354c026b64309830d152572a4be1afbc3d96d22 Clean up SDK span field docs (#1312)
1041adaf58b889eecf5262a599bee6975c3f3e7a Bump github.com/golangci/golangci-lint in /internal/tools (#1315)
32685019109ef57e44919ad7d7ed6e016df3eee6 Move tracing code to trace package (#1307)
9ac3a08eef14d96687edb260e2c27114a658d6b7 Remove MockSpan and MockTracer (#1306)
c9ae670c8a96d779e63cbb31d8644ec1b0706a19 Fix zipkin example module name (#1308)
e22a48de5a1353fb5450783ca9bb5edf651e9849 chore: adds vanity import for files that don't have it. (#1297)
911d7be43dc815d9fe5a87d8751243e2450692fc Check marshalled value instead of iface (#1299)
238d2c015ceeb03faa4f9c230916027a1735f098 Bump github.com/golangci/golangci-lint in /internal/tools (#1301)
187adeb25163b4deb529b770649ec5d0afd21206 Change resource.New() to use functional options; add builtin attributes for (host., telemetry.sdk.) (#1235)
034195692aa8cf728c01af2621440c068610fd4a Update README and documentation to better communicate pre-GA state (#1281)
23e32b19ec227702d6f9d62b1b8aec69c075d21b Minor readability fixes to the Jeager example (#1282)
d98ad1042ccf788482b47e7c75ef3b9cf9ad6223 Fix Code.UnmarshalJSON to work with valid json only (#1276)
a6b31e0da1ad6c0e7e66624386a4fc8fd932f521 Update SpanProcessor Shutdown with context and error (#1264)
412ee70ad27befbdb0c0c1071f07b0d17767ce62 Fix typo in example (#1278)
da3f60ac96779dee397a46a450bd3de7b929c56b Bump github.com/golangci/golangci-lint in /internal/tools (#1274)
d75ccbb378461144d53c878b043ff9f18b44d8ef Add a Shutdown method to sdk TraceProvider (#1227)
230bdd10f0d3a2d00eaebcb153a5341f0882548f Add SpanContextFromContext() (#1255)
c9bc90b3e40247aa20dde76ef74b93dd6b466ae9 Renaming otcorrelations header to baggage (#1267)
d6dd84f6fa740ddfcf028dab0d79c07513b072cb Move the otel/api/global package to otel/global (#1262)
818c7b14b39eccf708aec8ea45e94c94c3ba9208 Move metric api package into otel (#1252)
90de306c2542309a1576f7b0e5bad5039e8932a5 Add global propagator testing and other fixes (#1260)
b7197d568f02a0cbc29cc4472300674188238722 Update the internal global TextMapPropagator (#1261)
ec300b28ada49f907c9e65b8140573fa441eba69 Update Span API event methods (#1254)
786a78ea367796751e301d9b3d178c0c8a1c97b3 Add delegating global propagator (#1258)
8fd4b2665503854067c8ae5a6afd4e2eef864daf Add oteltest TextMap propagator and carrier (#1259)
8ed55f5980611f2e1effe471f9946aba263f255d Update README with Org GA project board (#1253)
4ea0a208851651020cf1a65b7f139e63f0157816 Update semconv comments (#1249)
5c21e88fde7869105120bb1f5b23dbad72d83638 Update documentation for otel/oteltest (#1248)
396dd6053cbb7643d04fe1a468e1994f40ee44ba (spanfromcontext) Rename Kind from the api/metric package (#1240)
65044a118bc4a26d40b694c11f142e43fd083544 Move api/apitest into the otel/oteltest package (#1241)
a46f88ee8db8b63ecc04b94395f9e55314b94c01 Fix lint issues in otel package (#1243)
bafde86b29eac6dddae4c12221b40ab97ca4ee34 Fix lint issues in the label package (#1244)
7ecc55581b013a7d44b8f979dc13ee7c65328d9c Update documentation for the OTLP exporter (#1242)
f60f51d0a20f0df2c95d86dc4ff241cc9ea2b00e Move asyncronous metrics state helper out of apimetric/metrictes (#1234)
02cd1235426d16656120f78cf57c859c77072456 Call sampler on local child spans. (#1233)
25ccf5a08ac6d7fd63192be7c30c6d8f9aeaebdc Update proto v0.5.0 (#1230)
27c84d689d64167e8a1873311782750da6defa39 Move trace api package into otel (#1229)

Closes #41

Copy link
Contributor

@RichVanderwal RichVanderwal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MrAlias MrAlias merged commit 3cbb923 into newrelic:master Dec 4, 2020
@MrAlias MrAlias deleted the otel-v0.14.0 branch December 4, 2020 16:23
@MrAlias MrAlias mentioned this pull request Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new version v0.14.0 of opentelemetry-go broke the exporter
2 participants