Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump go.opentelemetry.io/otel/metric from 0.37.0 to 0.38.1 #557

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github May 3, 2023

Bumps go.opentelemetry.io/otel/metric from 0.37.0 to 0.38.1.

Changelog

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

[1.15.1/0.38.1] 2023-05-02

Fixed

  • Remove unused imports from sdk/resource/host_id_bsd.go which caused build failures. (#4040, #4041)

[1.15.0/0.38.0] 2023-04-27

Added

  • The go.opentelemetry.io/otel/metric/embedded package. (#3916)
  • The Version function to go.opentelemetry.io/otel/sdk to return the SDK version. (#3949)
  • Add a WithNamespace option to go.opentelemetry.io/otel/exporters/prometheus to allow users to prefix metrics with a namespace. (#3970)
  • The following configuration types were added to go.opentelemetry.io/otel/metric/instrument to be used in the configuration of measurement methods. (#3971)
    • The AddConfig used to hold configuration for addition measurements
      • NewAddConfig used to create a new AddConfig
      • AddOption used to configure an AddConfig
    • The RecordConfig used to hold configuration for recorded measurements
      • NewRecordConfig used to create a new RecordConfig
      • RecordOption used to configure a RecordConfig
    • The ObserveConfig used to hold configuration for observed measurements
      • NewObserveConfig used to create a new ObserveConfig
      • ObserveOption used to configure an ObserveConfig
  • WithAttributeSet and WithAttributes are added to go.opentelemetry.io/otel/metric/instrument. They return an option used during a measurement that defines the attribute Set associated with the measurement. (#3971)
  • The Version function to go.opentelemetry.io/otel/exporters/otlp/otlpmetric to return the OTLP metrics client version. (#3956)
  • The Version function to go.opentelemetry.io/otel/exporters/otlp/otlptrace to return the OTLP trace client version. (#3956)

Changed

  • The Extrema in go.opentelemetry.io/otel/sdk/metric/metricdata is redefined with a generic argument of [N int64 | float64]. (#3870)
  • Update all exported interfaces from go.opentelemetry.io/otel/metric to embed their corresponding interface from go.opentelemetry.io/otel/metric/embedded. This adds an implementation requirement to set the interface default behavior for unimplemented methods. (#3916)
  • Move No-Op implementation from go.opentelemetry.io/otel/metric into its own package go.opentelemetry.io/otel/metric/noop. (#3941)
    • metric.NewNoopMeterProvider is replaced with noop.NewMeterProvider
  • Add all the methods from "go.opentelemetry.io/otel/trace".SpanContext to bridgeSpanContext by embedding otel.SpanContext in bridgeSpanContext. (#3966)
  • Wrap UploadMetrics error in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/ to improve error message when encountering generic grpc errors. (#3974)
  • The measurement methods for all instruments in go.opentelemetry.io/otel/metric/instrument accept an option instead of the variadic "go.opentelemetry.io/otel/attribute".KeyValue. (#3971)
    • The Int64Counter.Add method now accepts ...AddOption
    • The Float64Counter.Add method now accepts ...AddOption
    • The Int64UpDownCounter.Add method now accepts ...AddOption
    • The Float64UpDownCounter.Add method now accepts ...AddOption
    • The Int64Histogram.Record method now accepts ...RecordOption
    • The Float64Histogram.Record method now accepts ...RecordOption
    • The Int64Observer.Observe method now accepts ...ObserveOption
    • The Float64Observer.Observe method now accepts ...ObserveOption
  • The Observer methods in go.opentelemetry.io/otel/metric accept an option instead of the variadic "go.opentelemetry.io/otel/attribute".KeyValue. (#3971)
    • The Observer.ObserveInt64 method now accepts ...ObserveOption
    • The Observer.ObserveFloat64 method now accepts ...ObserveOption
  • Move global metric back to go.opentelemetry.io/otel/metric/global from go.opentelemetry.io/otel. (#3986)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 3, 2023
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.opentelemetry.io/otel/metric-0.38.1 branch from cff9966 to 4268a5c Compare May 3, 2023 16:40
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.opentelemetry.io/otel/metric-0.38.1 branch from 4268a5c to 7678741 Compare May 16, 2023 14:24
Bumps [go.opentelemetry.io/otel/metric](https://github.com/open-telemetry/opentelemetry-go) from 0.37.0 to 0.38.1.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@metric/v0.37.0...metric/v0.38.1)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/metric
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.opentelemetry.io/otel/metric-0.38.1 branch from 7678741 to 6760bc8 Compare May 17, 2023 12:38
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 23, 2023

Superseded by #575.

@dependabot dependabot bot closed this May 23, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/go.opentelemetry.io/otel/metric-0.38.1 branch May 23, 2023 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants