Skip to content

Release v1.7.0/v0.30.0

Compare
Choose a tag to compare
@MrAlias MrAlias released this 28 Apr 16:01
· 852 commits to main since this release
v1.7.0
a50cf6a

Added

  • Add the go.opentelemetry.io/otel/semconv/v1.8.0 package.
    The package contains semantic conventions from the v1.8.0 version of the OpenTelemetry specification. (#2763)
  • Add the go.opentelemetry.io/otel/semconv/v1.9.0 package.
    The package contains semantic conventions from the v1.9.0 version of the OpenTelemetry specification. (#2792)
  • Add the go.opentelemetry.io/otel/semconv/v1.10.0 package.
    The package contains semantic conventions from the v1.10.0 version of the OpenTelemetry specification. (#2842)
  • Added an in-memory exporter to metrictest to aid testing with a full SDK. (#2776)

Fixed

  • Globally delegated instruments are unwrapped before delegating asynchronous callbacks. (#2784)
  • Remove import of testing package in non-tests builds of the go.opentelemetry.io/otel package. (#2786)

Changed

  • The WithLabelEncoder option from the go.opentelemetry.io/otel/exporters/stdout/stdoutmetric package is renamed to WithAttributeEncoder. (#2790)
  • The LabelFilterSelector interface from go.opentelemetry.io/otel/sdk/metric/processor/reducer is renamed to AttributeFilterSelector.
    The method included in the renamed interface also changed from LabelFilterFor to AttributeFilterFor. (#2790)
  • The Metadata.Labels method from the go.opentelemetry.io/otel/sdk/metric/export package is renamed to Metadata.Attributes.
    Consequentially, the Record type from the same package also has had the embedded method renamed. (#2790)

Deprecated

  • The Iterator.Label method in the go.opentelemetry.io/otel/attribute package is deprecated.
    Use the equivalent Iterator.Attribute method instead. (#2790)
  • The Iterator.IndexedLabel method in the go.opentelemetry.io/otel/attribute package is deprecated.
    Use the equivalent Iterator.IndexedAttribute method instead. (#2790)
  • The MergeIterator.Label method in the go.opentelemetry.io/otel/attribute package is deprecated.
    Use the equivalent MergeIterator.Attribute method instead. (#2790)

Removed

  • Removed the Batch type from the go.opentelemetry.io/otel/sdk/metric/metrictest package. (#2864)
  • Removed the Measurement type from the go.opentelemetry.io/otel/sdk/metric/metrictest package. (#2864)