Skip to content

Bump go.opentelemetry.io/otel/metric from 1.24.0 to 1.25.0

Bumps go.opentelemetry.io/otel/metric from 1.24.0 to 1.25.0.

Changelog

Sourced from go.opentelemetry.io/otel/metric's changelog.

[1.25.0/0.47.0/0.0.8/0.1.0-alpha] 2024-04-05

Added

  • Add WithProxy option in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#4906)
  • Add WithProxy option in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracehttp. (#4906)
  • Add AddLink method to the Span interface in go.opentelemetry.io/otel/trace. (#5032)
  • The Enabled method is added to the Logger interface in go.opentelemetry.io/otel/log. This method is used to notify users if a log record will be emitted or not. (#5071)
  • Add SeverityUndefined const to go.opentelemetry.io/otel/log. This value represents an unset severity level. (#5072)
  • Add Empty function in go.opentelemetry.io/otel/log to return a KeyValue for an empty value. (#5076)
  • Add go.opentelemetry.io/otel/log/global to manage the global LoggerProvider. This package is provided with the anticipation that all functionality will be migrate to go.opentelemetry.io/otel when go.opentelemetry.io/otel/log stabilizes. At which point, users will be required to migrage their code, and this package will be deprecated then removed. (#5085)
  • Add support for Summary metrics in the go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc exporters. (#5100)
  • Add otel.scope.name and otel.scope.version tags to spans exported by go.opentelemetry.io/otel/exporters/zipkin. (#5108)
  • Add support for AddLink to go.opentelemetry.io/otel/bridge/opencensus. (#5116)
  • Add String method to Value and KeyValue in go.opentelemetry.io/otel/log. (#5117)
  • Add Exemplar support to go.opentelemetry.io/otel/exporters/prometheus. (#5111)
  • Add metric semantic conventions to go.opentelemetry.io/otel/semconv/v1.24.0. Future semconv packages will include metric semantic conventions as well. (#4528)

Changed

  • SpanFromContext and SpanContextFromContext in go.opentelemetry.io/otel/trace no longer make a heap allocation when the passed context has no span. (#5049)
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc now create a gRPC client in idle mode and with "dns" as the default resolver using grpc.NewClient. (#5151) Because of that WithDialOption ignores grpc.WithBlock, grpc.WithTimeout, and grpc.WithReturnConnectionError. Notice that grpc.DialContext which was used before is now deprecated.

Fixed

  • Clarify the documentation about equivalence guarantees for the Set and Distinct types in go.opentelemetry.io/otel/attribute. (#5027)
  • Prevent default ErrorHandler self-delegation. (#5137)
  • Update all dependencies to address [GO-2024-2687]. (#5139)

Removed

  • Drop support for [Go 1.20]. (#4967)

Deprecated

  • Deprecate go.opentelemetry.io/otel/attribute.Sortable type. (#4734)
  • Deprecate go.opentelemetry.io/otel/attribute.NewSetWithSortable function. (#4734)
  • Deprecate go.opentelemetry.io/otel/attribute.NewSetWithSortableFiltered function. (#4734)
Commits
  • 6628407 Release v1.25.0/v0.47.0/v0.0.8/v0.1.0-alpha (#5154)
  • 82b49b4 Add otlploghttp package documentation (#5150)
  • 5bd5582 dependabot updates Thu Apr 4 20:43:44 UTC 2024 (#5155)
  • 6394b02 semconv: Add metric generation (#4880)
  • 35c9570 Prevent default ErrorHandler self-delegation (#5137)
  • 98fd439 Bump bump google.golang.org/grpc from 1.62.1 to 1.63.0 and use grpc.NewClient...
  • 0168437 Add exemplar support to the prometheus exporter (#5111)
  • e6e4e4a build(deps): bump benchmark-action/github-action-benchmark (#5142)
  • 73ee3bb build(deps): bump codecov/codecov-action from 4.1.1 to 4.2.0 (#5140)
  • 14e3f6b Add otlploghttp exporter skeleton (#5138)
  • Additional commits viewable in compare view

Merge request reports