Skip to content

Release v1.14.0/v0.37.0/v0.0.4

Compare
Choose a tag to compare
@MrAlias MrAlias released this 27 Feb 22:03
· 915 commits to main since this release
v1.14.0
2e54fbb

Part of #3809

This release is the last to support Go 1.18.
The next release will require at least Go 1.19.

Added

  • The event type semantic conventions are added to go.opentelemetry.io/otel/semconv/v1.17.0. (#3697)
  • Support Go 1.20. (#3693)
  • The go.opentelemetry.io/otel/semconv/v1.18.0 package.
    The package contains semantic conventions from the v1.18.0 version of the OpenTelemetry specification. (#3719)
    • The following const renames from go.opentelemetry.io/otel/semconv/v1.17.0 are included:
      • OtelScopeNameKey -> OTelScopeNameKey
      • OtelScopeVersionKey -> OTelScopeVersionKey
      • OtelLibraryNameKey -> OTelLibraryNameKey
      • OtelLibraryVersionKey -> OTelLibraryVersionKey
      • OtelStatusCodeKey -> OTelStatusCodeKey
      • OtelStatusDescriptionKey -> OTelStatusDescriptionKey
      • OtelStatusCodeOk -> OTelStatusCodeOk
      • OtelStatusCodeError -> OTelStatusCodeError
    • The following func renames from go.opentelemetry.io/otel/semconv/v1.17.0 are included:
      • OtelScopeName -> OTelScopeName
      • OtelScopeVersion -> OTelScopeVersion
      • OtelLibraryName -> OTelLibraryName
      • OtelLibraryVersion -> OTelLibraryVersion
      • OtelStatusDescription -> OTelStatusDescription
  • A IsSampled method is added to the SpanContext implementation in go.opentelemetry.io/otel/bridge/opentracing to expose the span sampled state.
    See the README for more information. (#3570)
  • The WithInstrumentationAttributes option to go.opentelemetry.io/otel/metric. (#3738)
  • The WithInstrumentationAttributes option to go.opentelemetry.io/otel/trace. (#3739)
  • The following environment variables are supported by the periodic Reader in go.opentelemetry.io/otel/sdk/metric. (#3763)
    • OTEL_METRIC_EXPORT_INTERVAL sets the time between collections and exports.
    • OTEL_METRIC_EXPORT_TIMEOUT sets the timeout an export is attempted.

Changed

  • Fall-back to TextMapCarrier when it's not HttpHeaders in go.opentelemetry.io/otel/bridge/opentracing. (#3679)
  • The Collect method of the "go.opentelemetry.io/otel/sdk/metric".Reader interface is updated to accept the metricdata.ResourceMetrics value the collection will be made into.
    This change is made to enable memory reuse by SDK users. (#3732)
  • The WithUnit option in go.opentelemetry.io/otel/sdk/metric/instrument is updated to accept a string for the unit value. (#3776)

Fixed

  • Ensure go.opentelemetry.io/otel does not use generics. (#3723, #3725)
  • Multi-reader MeterProviders now export metrics for all readers, instead of just the first reader. (#3720, #3724)
  • Remove use of deprecated "math/rand".Seed in go.opentelemetry.io/otel/example/prometheus. (#3733)
  • Do not silently drop unknown schema data with Parse in go.opentelemetry.io/otel/schema/v1.1. (#3743)
  • Data race issue in OTLP exporter retry mechanism. (#3755, #3756)
  • Wrapping empty errors when exporting in go.opentelemetry.io/otel/sdk/metric. (#3698, #3772)
  • Incorrect "all" and "resource" definition for schema files in go.opentelemetry.io/otel/schema/v1.1. (#3777)

Deprecated

  • The go.opentelemetry.io/otel/metric/unit package is deprecated.
    Use the equivalent unit string instead. (#3776)
    • Use "1" instead of unit.Dimensionless
    • Use "By" instead of unit.Bytes
    • Use "ms" instead of unit.Milliseconds