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

bot: Bump go.opentelemetry.io/otel/sdk/metric from 0.39.0 to 0.40.0 #1829

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 28, 2023

Bumps go.opentelemetry.io/otel/sdk/metric from 0.39.0 to 0.40.0.

Release notes

Sourced from go.opentelemetry.io/otel/sdk/metric's releases.

Release v1.17.0/v0.40.0/v0.5.0

Added

  • Export the ManualReader struct in go.opentelemetry.io/otel/sdk/metric. (#4244)
  • Export the PeriodicReader struct in go.opentelemetry.io/otel/sdk/metric. (#4244)
  • Add support for exponential histogram aggregations. A histogram can be configured as an exponential histogram using a view with "go.opentelemetry.io/otel/sdk/metric".ExponentialHistogram as the aggregation. (#4245)
  • Export the Exporter struct in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#4272)
  • Export the Exporter struct in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#4272)
  • The exporters in go.opentelemetry.io/otel/exporters/otlp/otlpmetric now support the OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE environment variable. (#4287)
  • Add WithoutCounterSuffixes option in go.opentelemetry.io/otel/exporters/prometheus to disable addition of _total suffixes. (#4306)
  • Add info and debug logging to the metric SDK in go.opentelemetry.io/otel/sdk/metric. (#4315)
  • The go.opentelemetry.io/otel/semconv/v1.21.0 package. The package contains semantic conventions from the v1.21.0 version of the OpenTelemetry Semantic Conventions. (#4362)
  • Accept 201 to 299 HTTP status as success in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#4365)
  • Document the Temporality and Aggregation methods of the "go.opentelemetry.io/otel/sdk/metric".Exporter" need to be concurrent safe. (#4381)
  • Expand the set of units supported by the Prometheus exporter, and don't add unit suffixes if they are already present in go.opentelemetry.op/otel/exporters/prometheus (#4374)
  • Move the Aggregation interface and its implementations from go.opentelemetry.io/otel/sdk/metric/aggregation to go.opentelemetry.io/otel/sdk/metric. (#4435)
  • The exporters in go.opentelemetry.io/otel/exporters/otlp/otlpmetric now support the OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION environment variable. (#4437)
  • Add the NewAllowKeysFilter and NewDenyKeysFilter functions to go.opentelemetry.io/otel/attribute to allow convenient creation of allow-keys and deny-keys filters. (#4444)

Changed

  • Starting from v1.21.0 of semantic conventions, go.opentelemetry.io/otel/semconv/{version}/httpconv and go.opentelemetry.io/otel/semconv/{version}/netconv packages will no longer be published. (#4145)
  • Log duplicate instrument conflict at a warning level instead of info in go.opentelemetry.io/otel/sdk/metric. (#4202)
  • Return an error on the creation of new instruments in go.opentelemetry.io/otel/sdk/metric if their name doesn't pass regexp validation. (#4210)
  • NewManualReader in go.opentelemetry.io/otel/sdk/metric returns *ManualReader instead of Reader. (#4244)
  • NewPeriodicReader in go.opentelemetry.io/otel/sdk/metric returns *PeriodicReader instead of Reader. (#4244)
  • Count the Collect time in the PeriodicReader timeout in go.opentelemetry.io/otel/sdk/metric. (#4221)
  • The function New in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc returns *Exporter instead of "go.opentelemetry.io/otel/sdk/metric".Exporter. (#4272)
  • The function New in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp returns *Exporter instead of "go.opentelemetry.io/otel/sdk/metric".Exporter. (#4272)
  • If an attribute set is omitted from an async callback, the previous value will no longer be exported in go.opentelemetry.io/otel/sdk/metric. (#4290)
  • If an attribute set is observed multiple times in an async callback in go.opentelemetry.io/otel/sdk/metric, the values will be summed instead of the last observation winning. (#4289)
  • Allow the explicit bucket histogram aggregation to be used for the up-down counter, observable counter, observable up-down counter, and observable gauge in the go.opentelemetry.io/otel/sdk/metric package. (#4332)
  • Restrict Meters in go.opentelemetry.io/otel/sdk/metric to only register and collect instruments it created. (#4333)
  • PeriodicReader.Shutdown and PeriodicReader.ForceFlush in go.opentelemetry.io/otel/sdk/metric now apply the periodic reader's timeout to the operation if the user provided context does not contain a deadline. (#4356, #4377)
  • Upgrade all use of go.opentelemetry.io/otel/semconv to use v1.21.0. (#4408)
  • Increase instrument name maximum length from 63 to 255 characters in go.opentelemetry.io/otel/sdk/metric. (#4434)
  • Add go.opentelemetry.op/otel/sdk/metric.WithProducer as an Option for "go.opentelemetry.io/otel/sdk/metric".NewManualReader and "go.opentelemetry.io/otel/sdk/metric".NewPeriodicReader. (#4346)

Removed

  • Remove Reader.RegisterProducer in go.opentelemetry.io/otel/metric. Use the added WithProducer option instead. (#4346)
  • Remove Reader.ForceFlush in go.opentelemetry.io/otel/metric. Notice that PeriodicReader.ForceFlush is still available. (#4375)

Fixed

  • Correctly format log messages from the go.opentelemetry.io/otel/exporters/zipkin exporter. (#4143)

... (truncated)

Changelog

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

[1.17.0/0.40.0/0.0.5] 2023-08-28

Added

  • Export the ManualReader struct in go.opentelemetry.io/otel/sdk/metric. (#4244)
  • Export the PeriodicReader struct in go.opentelemetry.io/otel/sdk/metric. (#4244)
  • Add support for exponential histogram aggregations. A histogram can be configured as an exponential histogram using a view with "go.opentelemetry.io/otel/sdk/metric".ExponentialHistogram as the aggregation. (#4245)
  • Export the Exporter struct in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#4272)
  • Export the Exporter struct in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#4272)
  • The exporters in go.opentelemetry.io/otel/exporters/otlp/otlpmetric now support the OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE environment variable. (#4287)
  • Add WithoutCounterSuffixes option in go.opentelemetry.io/otel/exporters/prometheus to disable addition of _total suffixes. (#4306)
  • Add info and debug logging to the metric SDK in go.opentelemetry.io/otel/sdk/metric. (#4315)
  • The go.opentelemetry.io/otel/semconv/v1.21.0 package. The package contains semantic conventions from the v1.21.0 version of the OpenTelemetry Semantic Conventions. (#4362)
  • Accept 201 to 299 HTTP status as success in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#4365)
  • Document the Temporality and Aggregation methods of the "go.opentelemetry.io/otel/sdk/metric".Exporter" need to be concurrent safe. (#4381)
  • Expand the set of units supported by the Prometheus exporter, and don't add unit suffixes if they are already present in go.opentelemetry.op/otel/exporters/prometheus (#4374)
  • Move the Aggregation interface and its implementations from go.opentelemetry.io/otel/sdk/metric/aggregation to go.opentelemetry.io/otel/sdk/metric. (#4435)
  • The exporters in go.opentelemetry.io/otel/exporters/otlp/otlpmetric now support the OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION environment variable. (#4437)
  • Add the NewAllowKeysFilter and NewDenyKeysFilter functions to go.opentelemetry.io/otel/attribute to allow convenient creation of allow-keys and deny-keys filters. (#4444)
  • Support Go 1.21. (#4463)

Changed

  • Starting from v1.21.0 of semantic conventions, go.opentelemetry.io/otel/semconv/{version}/httpconv and go.opentelemetry.io/otel/semconv/{version}/netconv packages will no longer be published. (#4145)
  • Log duplicate instrument conflict at a warning level instead of info in go.opentelemetry.io/otel/sdk/metric. (#4202)
  • Return an error on the creation of new instruments in go.opentelemetry.io/otel/sdk/metric if their name doesn't pass regexp validation. (#4210)
  • NewManualReader in go.opentelemetry.io/otel/sdk/metric returns *ManualReader instead of Reader. (#4244)
  • NewPeriodicReader in go.opentelemetry.io/otel/sdk/metric returns *PeriodicReader instead of Reader. (#4244)
  • Count the Collect time in the PeriodicReader timeout in go.opentelemetry.io/otel/sdk/metric. (#4221)
  • The function New in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc returns *Exporter instead of "go.opentelemetry.io/otel/sdk/metric".Exporter. (#4272)
  • The function New in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp returns *Exporter instead of "go.opentelemetry.io/otel/sdk/metric".Exporter. (#4272)
  • If an attribute set is omitted from an async callback, the previous value will no longer be exported in go.opentelemetry.io/otel/sdk/metric. (#4290)
  • If an attribute set is observed multiple times in an async callback in go.opentelemetry.io/otel/sdk/metric, the values will be summed instead of the last observation winning. (#4289)
  • Allow the explicit bucket histogram aggregation to be used for the up-down counter, observable counter, observable up-down counter, and observable gauge in the go.opentelemetry.io/otel/sdk/metric package. (#4332)
  • Restrict Meters in go.opentelemetry.io/otel/sdk/metric to only register and collect instruments it created. (#4333)
  • PeriodicReader.Shutdown and PeriodicReader.ForceFlush in go.opentelemetry.io/otel/sdk/metric now apply the periodic reader's timeout to the operation if the user provided context does not contain a deadline. (#4356, #4377)
  • Upgrade all use of go.opentelemetry.io/otel/semconv to use v1.21.0. (#4408)
  • Increase instrument name maximum length from 63 to 255 characters in go.opentelemetry.io/otel/sdk/metric. (#4434)
  • Add go.opentelemetry.op/otel/sdk/metric.WithProducer as an Option for "go.opentelemetry.io/otel/sdk/metric".NewManualReader and "go.opentelemetry.io/otel/sdk/metric".NewPeriodicReader. (#4346)

Removed

  • Remove Reader.RegisterProducer in go.opentelemetry.io/otel/metric. Use the added WithProducer option instead. (#4346)
  • Remove Reader.ForceFlush in go.opentelemetry.io/otel/metric. Notice that PeriodicReader.ForceFlush is still available. (#4375)

Fixed

... (truncated)

Commits
  • 3c476ce Release v1.17.0/v0.40.0/v0.0.5 (#4464)
  • 183e081 Bump github.com/golangci/golangci-lint in /internal/tools (#4465)
  • 6be116e Add testing support for Go 1.21 (#4463)
  • 69611bd Switch Stream back to having an AttributeFilter field and add `New*Filter...
  • f15ae16 Fix the broken sentence (#4456)
  • 16ce491 Fix guard of measured value to not record empty (#4452)
  • 9b47674 Make getBin and scaleChange methods of expoHistogramDataPoint (#4451)
  • 9d9b71f Remove the expoHistogramValues type (#4450)
  • a5ff7af Ignore +/- Inf and NaN for exponential histogram measurement (#4446)
  • d78820e Deprecate exporters/jaeger (#4423)
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 Related to dependencies label Aug 28, 2023
@codecov
Copy link

codecov bot commented Aug 28, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01% ⚠️

Comparison is base (6b0c4d0) 75.83% compared to head (4db82c5) 75.82%.
Report is 1 commits behind head on develop.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1829      +/-   ##
===========================================
- Coverage    75.83%   75.82%   -0.01%     
===========================================
  Files          209      209              
  Lines        22268    22268              
===========================================
- Hits         16885    16883       -2     
- Misses        4221     4223       +2     
  Partials      1162     1162              
Flag Coverage Δ
all-tests 75.82% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 7 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cbd1432...4db82c5. Read the comment docs.

Bumps [go.opentelemetry.io/otel/sdk/metric](https://github.com/open-telemetry/opentelemetry-go) from 0.39.0 to 0.40.0.
- [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@sdk/metric/v0.39.0...sdk/metric/v0.40.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/go.opentelemetry.io/otel/sdk/metric-0.40.0 branch from e19d3a7 to 4db82c5 Compare August 30, 2023 13:07
@shahzadlone shahzadlone merged commit aece5ae into develop Aug 30, 2023
16 checks passed
@shahzadlone shahzadlone deleted the dependabot/go_modules/go.opentelemetry.io/otel/sdk/metric-0.40.0 branch August 30, 2023 13:37
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
…ourcenetwork#1829)

Bumps
[go.opentelemetry.io/otel/sdk/metric](https://github.com/open-telemetry/opentelemetry-go)
from 0.39.0 to 0.40.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-go/releases">go.opentelemetry.io/otel/sdk/metric's
releases</a>.</em></p>
<blockquote>
<h2>Release v1.17.0/v0.40.0/v0.5.0</h2>
<h3>Added</h3>
<ul>
<li>Export the <code>ManualReader</code> struct in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4244">#4244</a>)</li>
<li>Export the <code>PeriodicReader</code> struct in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4244">#4244</a>)</li>
<li>Add support for exponential histogram aggregations.
A histogram can be configured as an exponential histogram using a view
with
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.ExponentialHistogram</code>
as the aggregation. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4245">#4245</a>)</li>
<li>Export the <code>Exporter</code> struct in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4272">#4272</a>)</li>
<li>Export the <code>Exporter</code> struct in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4272">#4272</a>)</li>
<li>The exporters in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric</code> now
support the
<code>OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE</code>
environment variable. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4287">#4287</a>)</li>
<li>Add <code>WithoutCounterSuffixes</code> option in
<code>go.opentelemetry.io/otel/exporters/prometheus</code> to disable
addition of <code>_total</code> suffixes. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4306">#4306</a>)</li>
<li>Add info and debug logging to the metric SDK in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4315">#4315</a>)</li>
<li>The <code>go.opentelemetry.io/otel/semconv/v1.21.0</code> package.
The package contains semantic conventions from the <code>v1.21.0</code>
version of the OpenTelemetry Semantic Conventions. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4362">#4362</a>)</li>
<li>Accept 201 to 299 HTTP status as success in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp</code>
and
<code>go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4365">#4365</a>)</li>
<li>Document the <code>Temporality</code> and <code>Aggregation</code>
methods of the
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.Exporter&quot;</code>
need to be concurrent safe. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4381">#4381</a>)</li>
<li>Expand the set of units supported by the Prometheus exporter, and
don't add unit suffixes if they are already present in
<code>go.opentelemetry.op/otel/exporters/prometheus</code> (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4374">#4374</a>)</li>
<li>Move the <code>Aggregation</code> interface and its implementations
from <code>go.opentelemetry.io/otel/sdk/metric/aggregation</code> to
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4435">#4435</a>)</li>
<li>The exporters in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric</code> now
support the
<code>OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION</code>
environment variable. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4437">#4437</a>)</li>
<li>Add the <code>NewAllowKeysFilter</code> and
<code>NewDenyKeysFilter</code> functions to
<code>go.opentelemetry.io/otel/attribute</code> to allow convenient
creation of allow-keys and deny-keys filters. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4444">#4444</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Starting from <code>v1.21.0</code> of semantic conventions,
<code>go.opentelemetry.io/otel/semconv/{version}/httpconv</code> and
<code>go.opentelemetry.io/otel/semconv/{version}/netconv</code> packages
will no longer be published. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4145">#4145</a>)</li>
<li>Log duplicate instrument conflict at a warning level instead of info
in <code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4202">#4202</a>)</li>
<li>Return an error on the creation of new instruments in
<code>go.opentelemetry.io/otel/sdk/metric</code> if their name doesn't
pass regexp validation. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4210">#4210</a>)</li>
<li><code>NewManualReader</code> in
<code>go.opentelemetry.io/otel/sdk/metric</code> returns
<code>*ManualReader</code> instead of <code>Reader</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4244">#4244</a>)</li>
<li><code>NewPeriodicReader</code> in
<code>go.opentelemetry.io/otel/sdk/metric</code> returns
<code>*PeriodicReader</code> instead of <code>Reader</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4244">#4244</a>)</li>
<li>Count the Collect time in the <code>PeriodicReader</code> timeout in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4221">#4221</a>)</li>
<li>The function <code>New</code> in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc</code>
returns <code>*Exporter</code> instead of
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.Exporter</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4272">#4272</a>)</li>
<li>The function <code>New</code> in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp</code>
returns <code>*Exporter</code> instead of
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.Exporter</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4272">#4272</a>)</li>
<li>If an attribute set is omitted from an async callback, the previous
value will no longer be exported in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4290">#4290</a>)</li>
<li>If an attribute set is observed multiple times in an async callback
in <code>go.opentelemetry.io/otel/sdk/metric</code>, the values will be
summed instead of the last observation winning. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4289">#4289</a>)</li>
<li>Allow the explicit bucket histogram aggregation to be used for the
up-down counter, observable counter, observable up-down counter, and
observable gauge in the <code>go.opentelemetry.io/otel/sdk/metric</code>
package. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4332">#4332</a>)</li>
<li>Restrict <code>Meter</code>s in
<code>go.opentelemetry.io/otel/sdk/metric</code> to only register and
collect instruments it created. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4333">#4333</a>)</li>
<li><code>PeriodicReader.Shutdown</code> and
<code>PeriodicReader.ForceFlush</code> in
<code>go.opentelemetry.io/otel/sdk/metric</code> now apply the periodic
reader's timeout to the operation if the user provided context does not
contain a deadline. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4356">#4356</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4377">#4377</a>)</li>
<li>Upgrade all use of <code>go.opentelemetry.io/otel/semconv</code> to
use <code>v1.21.0</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4408">#4408</a>)</li>
<li>Increase instrument name maximum length from 63 to 255 characters in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4434">#4434</a>)</li>
<li>Add <code>go.opentelemetry.op/otel/sdk/metric.WithProducer</code> as
an <code>Option</code> for
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.NewManualReader</code>
and
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.NewPeriodicReader</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4346">#4346</a>)</li>
</ul>
<h3>Removed</h3>
<ul>
<li>Remove <code>Reader.RegisterProducer</code> in
<code>go.opentelemetry.io/otel/metric</code>.
Use the added <code>WithProducer</code> option instead. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4346">#4346</a>)</li>
<li>Remove <code>Reader.ForceFlush</code> in
<code>go.opentelemetry.io/otel/metric</code>.
Notice that <code>PeriodicReader.ForceFlush</code> is still available.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4375">#4375</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Correctly format log messages from the
<code>go.opentelemetry.io/otel/exporters/zipkin</code> exporter. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4143">#4143</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md">go.opentelemetry.io/otel/sdk/metric's
changelog</a>.</em></p>
<blockquote>
<h2>[1.17.0/0.40.0/0.0.5] 2023-08-28</h2>
<h3>Added</h3>
<ul>
<li>Export the <code>ManualReader</code> struct in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4244">#4244</a>)</li>
<li>Export the <code>PeriodicReader</code> struct in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4244">#4244</a>)</li>
<li>Add support for exponential histogram aggregations.
A histogram can be configured as an exponential histogram using a view
with
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.ExponentialHistogram</code>
as the aggregation. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4245">#4245</a>)</li>
<li>Export the <code>Exporter</code> struct in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4272">#4272</a>)</li>
<li>Export the <code>Exporter</code> struct in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4272">#4272</a>)</li>
<li>The exporters in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric</code> now
support the
<code>OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE</code>
environment variable. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4287">#4287</a>)</li>
<li>Add <code>WithoutCounterSuffixes</code> option in
<code>go.opentelemetry.io/otel/exporters/prometheus</code> to disable
addition of <code>_total</code> suffixes. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4306">#4306</a>)</li>
<li>Add info and debug logging to the metric SDK in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4315">#4315</a>)</li>
<li>The <code>go.opentelemetry.io/otel/semconv/v1.21.0</code> package.
The package contains semantic conventions from the <code>v1.21.0</code>
version of the OpenTelemetry Semantic Conventions. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4362">#4362</a>)</li>
<li>Accept 201 to 299 HTTP status as success in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp</code>
and
<code>go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4365">#4365</a>)</li>
<li>Document the <code>Temporality</code> and <code>Aggregation</code>
methods of the
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.Exporter&quot;</code>
need to be concurrent safe. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4381">#4381</a>)</li>
<li>Expand the set of units supported by the Prometheus exporter, and
don't add unit suffixes if they are already present in
<code>go.opentelemetry.op/otel/exporters/prometheus</code> (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4374">#4374</a>)</li>
<li>Move the <code>Aggregation</code> interface and its implementations
from <code>go.opentelemetry.io/otel/sdk/metric/aggregation</code> to
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4435">#4435</a>)</li>
<li>The exporters in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric</code> now
support the
<code>OTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION</code>
environment variable. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4437">#4437</a>)</li>
<li>Add the <code>NewAllowKeysFilter</code> and
<code>NewDenyKeysFilter</code> functions to
<code>go.opentelemetry.io/otel/attribute</code> to allow convenient
creation of allow-keys and deny-keys filters. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4444">#4444</a>)</li>
<li>Support Go 1.21. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4463">#4463</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Starting from <code>v1.21.0</code> of semantic conventions,
<code>go.opentelemetry.io/otel/semconv/{version}/httpconv</code> and
<code>go.opentelemetry.io/otel/semconv/{version}/netconv</code> packages
will no longer be published. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4145">#4145</a>)</li>
<li>Log duplicate instrument conflict at a warning level instead of info
in <code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4202">#4202</a>)</li>
<li>Return an error on the creation of new instruments in
<code>go.opentelemetry.io/otel/sdk/metric</code> if their name doesn't
pass regexp validation. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4210">#4210</a>)</li>
<li><code>NewManualReader</code> in
<code>go.opentelemetry.io/otel/sdk/metric</code> returns
<code>*ManualReader</code> instead of <code>Reader</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4244">#4244</a>)</li>
<li><code>NewPeriodicReader</code> in
<code>go.opentelemetry.io/otel/sdk/metric</code> returns
<code>*PeriodicReader</code> instead of <code>Reader</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4244">#4244</a>)</li>
<li>Count the Collect time in the <code>PeriodicReader</code> timeout in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4221">#4221</a>)</li>
<li>The function <code>New</code> in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc</code>
returns <code>*Exporter</code> instead of
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.Exporter</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4272">#4272</a>)</li>
<li>The function <code>New</code> in
<code>go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp</code>
returns <code>*Exporter</code> instead of
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.Exporter</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4272">#4272</a>)</li>
<li>If an attribute set is omitted from an async callback, the previous
value will no longer be exported in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4290">#4290</a>)</li>
<li>If an attribute set is observed multiple times in an async callback
in <code>go.opentelemetry.io/otel/sdk/metric</code>, the values will be
summed instead of the last observation winning. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4289">#4289</a>)</li>
<li>Allow the explicit bucket histogram aggregation to be used for the
up-down counter, observable counter, observable up-down counter, and
observable gauge in the <code>go.opentelemetry.io/otel/sdk/metric</code>
package. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4332">#4332</a>)</li>
<li>Restrict <code>Meter</code>s in
<code>go.opentelemetry.io/otel/sdk/metric</code> to only register and
collect instruments it created. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4333">#4333</a>)</li>
<li><code>PeriodicReader.Shutdown</code> and
<code>PeriodicReader.ForceFlush</code> in
<code>go.opentelemetry.io/otel/sdk/metric</code> now apply the periodic
reader's timeout to the operation if the user provided context does not
contain a deadline. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4356">#4356</a>,
<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4377">#4377</a>)</li>
<li>Upgrade all use of <code>go.opentelemetry.io/otel/semconv</code> to
use <code>v1.21.0</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4408">#4408</a>)</li>
<li>Increase instrument name maximum length from 63 to 255 characters in
<code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4434">#4434</a>)</li>
<li>Add <code>go.opentelemetry.op/otel/sdk/metric.WithProducer</code> as
an <code>Option</code> for
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.NewManualReader</code>
and
<code>&quot;go.opentelemetry.io/otel/sdk/metric&quot;.NewPeriodicReader</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4346">#4346</a>)</li>
</ul>
<h3>Removed</h3>
<ul>
<li>Remove <code>Reader.RegisterProducer</code> in
<code>go.opentelemetry.io/otel/metric</code>.
Use the added <code>WithProducer</code> option instead. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4346">#4346</a>)</li>
<li>Remove <code>Reader.ForceFlush</code> in
<code>go.opentelemetry.io/otel/metric</code>.
Notice that <code>PeriodicReader.ForceFlush</code> is still available.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4375">#4375</a>)</li>
</ul>
<h3>Fixed</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/3c476ce1816ae6f38758e90cc36d8b77ebcc223b"><code>3c476ce</code></a>
Release v1.17.0/v0.40.0/v0.0.5 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4464">#4464</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/183e0817bd7bd77a496f1c52d061df910f740116"><code>183e081</code></a>
Bump github.com/golangci/golangci-lint in /internal/tools (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4465">#4465</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/6be116e31e5d7e326ae3300e9cb9245a6e0086f9"><code>6be116e</code></a>
Add testing support for Go 1.21 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4463">#4463</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/69611bd01a355466f324cca84068f54e6e388654"><code>69611bd</code></a>
Switch <code>Stream</code> back to having an
<code>AttributeFilter</code> field and add `New*Filter...</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/f15ae160c4acfe3872455f87e6133af87859172b"><code>f15ae16</code></a>
Fix the broken sentence (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4456">#4456</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/16ce491d38237ce273ff1b2ff08defdd604bad90"><code>16ce491</code></a>
Fix guard of measured value to not record empty (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4452">#4452</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/9b47674bc5cb6cd9bde01fcaa2a35624634b0399"><code>9b47674</code></a>
Make getBin and scaleChange methods of expoHistogramDataPoint (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4451">#4451</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/9d9b71f58d96c278b90713e3f782e94c0b52e199"><code>9d9b71f</code></a>
Remove the expoHistogramValues type (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4450">#4450</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/a5ff7af3f3737213063651caa549cb86bae42461"><code>a5ff7af</code></a>
Ignore +/- Inf and NaN for exponential histogram measurement (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4446">#4446</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/d78820e9050cd63daebdb4b82202f10d9c2b66e3"><code>d78820e</code></a>
Deprecate exporters/jaeger (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/4423">#4423</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/open-telemetry/opentelemetry-go/compare/sdk/metric/v0.39.0...sdk/metric/v0.40.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=go.opentelemetry.io/otel/sdk/metric&package-manager=go_modules&previous-version=0.39.0&new-version=0.40.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Related to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant