Skip to content

Commit

Permalink
Bump go.opentelemetry.io/otel/metric from 1.27.0 to 1.28.0 (#99)
Browse files Browse the repository at this point in the history
Bumps
[go.opentelemetry.io/otel/metric](https://github.com/open-telemetry/opentelemetry-go)
from 1.27.0 to 1.28.0.
<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/metric's
changelog</a>.</em></p>
<blockquote>
<h2>[1.28.0/0.50.0/0.4.0] 2024-07-02</h2>
<h3>Added</h3>
<ul>
<li>The <code>IsEmpty</code> method is added to the
<code>Instrument</code> type in
<code>go.opentelemetry.io/otel/sdk/metric</code>.
This method is used to check if an <code>Instrument</code> instance is a
zero-value. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5431">#5431</a>)</li>
<li>Store and provide the emitted <code>context.Context</code> in
<code>ScopeRecords</code> of
<code>go.opentelemetry.io/otel/sdk/log/logtest</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5468">#5468</a>)</li>
<li>The <code>go.opentelemetry.io/otel/semconv/v1.26.0</code> package.
The package contains semantic conventions from the <code>v1.26.0</code>
version of the OpenTelemetry Semantic Conventions. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5476">#5476</a>)</li>
<li>The <code>AssertRecordEqual</code> method to
<code>go.opentelemetry.io/otel/log/logtest</code> to allow comparison of
two log records in tests. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5499">#5499</a>)</li>
<li>The <code>WithHeaders</code> option to
<code>go.opentelemetry.io/otel/exporters/zipkin</code> to allow
configuring custom http headers while exporting spans. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5530">#5530</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li><code>Tracer.Start</code> in
<code>go.opentelemetry.io/otel/trace/noop</code> no longer allocates a
span for empty span context. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5457">#5457</a>)</li>
<li>Upgrade <code>go.opentelemetry.io/otel/semconv/v1.25.0</code> to
<code>go.opentelemetry.io/otel/semconv/v1.26.0</code> in
<code>go.opentelemetry.io/otel/example/otel-collector</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5490">#5490</a>)</li>
<li>Upgrade <code>go.opentelemetry.io/otel/semconv/v1.25.0</code> to
<code>go.opentelemetry.io/otel/semconv/v1.26.0</code> in
<code>go.opentelemetry.io/otel/example/zipkin</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5490">#5490</a>)</li>
<li>Upgrade <code>go.opentelemetry.io/otel/semconv/v1.25.0</code> to
<code>go.opentelemetry.io/otel/semconv/v1.26.0</code> in
<code>go.opentelemetry.io/otel/exporters/zipkin</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5490">#5490</a>)
<ul>
<li>The exporter no longer exports the deprecated
&quot;otel.library.name&quot; or &quot;otel.library.version&quot;
attributes.</li>
</ul>
</li>
<li>Upgrade <code>go.opentelemetry.io/otel/semconv/v1.25.0</code> to
<code>go.opentelemetry.io/otel/semconv/v1.26.0</code> in
<code>go.opentelemetry.io/otel/sdk/resource</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5490">#5490</a>)</li>
<li>Upgrade <code>go.opentelemetry.io/otel/semconv/v1.25.0</code> to
<code>go.opentelemetry.io/otel/semconv/v1.26.0</code> in
<code>go.opentelemetry.io/otel/sdk/trace</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5490">#5490</a>)</li>
<li><code>SimpleProcessor.OnEmit</code> in
<code>go.opentelemetry.io/otel/sdk/log</code> no longer allocates a
slice which makes it possible to have a zero-allocation log processing
using <code>SimpleProcessor</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5493">#5493</a>)</li>
<li>Use non-generic functions in the <code>Start</code> method of
<code>&quot;go.opentelemetry.io/otel/sdk/trace&quot;.Trace</code> to
reduce memory allocation. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5497">#5497</a>)</li>
<li><code>service.instance.id</code> is populated for a
<code>Resource</code> created with
<code>&quot;go.opentelemetry.io/otel/sdk/resource&quot;.Default</code>
with a default value when <code>OTEL_GO_X_RESOURCE</code> is set. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5520">#5520</a>)</li>
<li>Improve performance of metric instruments in
<code>go.opentelemetry.io/otel/sdk/metric</code> by removing unnecessary
calls to <code>time.Now</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5545">#5545</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Log a warning to the OpenTelemetry internal logger when a
<code>Record</code> in <code>go.opentelemetry.io/otel/sdk/log</code>
drops an attribute due to a limit being reached. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5376">#5376</a>)</li>
<li>Identify the <code>Tracer</code> returned from the global
<code>TracerProvider</code> in
<code>go.opentelemetry.io/otel/global</code> with its schema URL. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5426">#5426</a>)</li>
<li>Identify the <code>Meter</code> returned from the global
<code>MeterProvider</code> in
<code>go.opentelemetry.io/otel/global</code> with its schema URL. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5426">#5426</a>)</li>
<li>Log a warning to the OpenTelemetry internal logger when a
<code>Span</code> in <code>go.opentelemetry.io/otel/sdk/trace</code>
drops an attribute, event, or link due to a limit being reached. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5434">#5434</a>)</li>
<li>Document instrument name requirements in
<code>go.opentelemetry.io/otel/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5435">#5435</a>)</li>
<li>Prevent random number generation data-race for experimental rand
exemplars in <code>go.opentelemetry.io/otel/sdk/metric</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5456">#5456</a>)</li>
<li>Fix counting number of dropped attributes of <code>Record</code> in
<code>go.opentelemetry.io/otel/sdk/log</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5464">#5464</a>)</li>
<li>Fix panic in baggage creation when a member contains
<code>0x80</code> char in key or value. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5494">#5494</a>)</li>
<li>Correct comments for the priority of the <code>WithEndpoint</code>
and <code>WithEndpointURL</code> options and their corresponding
environment variables in
<code>go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc</code>.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5508">#5508</a>)</li>
<li>Retry trace and span ID generation if it generated an invalid one in
<code>go.opentelemetry.io/otel/sdk/trace</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5514">#5514</a>)</li>
<li>Fix stale timestamps reported by the last-value aggregation. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5517">#5517</a>)</li>
<li>Indicate the <code>Exporter</code> in
<code>go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp</code>
must be created by the <code>New</code> method. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5521">#5521</a>)</li>
<li>Improved performance in all
<code>{Bool,Int64,Float64,String}SliceValue</code> functions of
<code>go.opentelemetry.io/attributes</code> by reducing the number of
allocations. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5549">#5549</a>)</li>
<li>Replace invalid percent-encoded octet sequences with replacement
char in <code>go.opentelemetry.io/otel/baggage</code>. (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5528">#5528</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/81216fb002a6a76d32fdab6ef999bcf65794130d"><code>81216fb</code></a>
Releases v1.28.0/v0.50.0/v0.4.0 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5569">#5569</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/8279a1a12efbd2221f1fc424d6a3cb96a42fa5a5"><code>8279a1a</code></a>
Add <a href="https://github.com/XSAM"><code>@​XSAM</code></a> and <a
href="https://github.com/dmathieu"><code>@​dmathieu</code></a> as
repository maintainers (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5558">#5558</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/cff1a2509ae9483660009a723ad9e429b1d8d70d"><code>cff1a25</code></a>
chore(deps): update otel/opentelemetry-collector-contrib docker tag to
v0.104...</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/0485de287ec48767a58e9fc2eda30b3dc1836668"><code>0485de2</code></a>
Move time.Now call into exemplar reservoir to improve performance (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5545">#5545</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/1cefb17de7913dd3776f0bead0adfa7fef058bb9"><code>1cefb17</code></a>
chore(deps): update google.golang.org/genproto/googleapis/rpc digest to
f6361...</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/874f2a2a39e30c0935f8b7f5271e67f38908a2f1"><code>874f2a2</code></a>
chore(deps): update google.golang.org/genproto/googleapis/api digest to
f6361...</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/b477e34939e2def529c95eb93883d67bdae8cfc1"><code>b477e34</code></a>
sdk/log: Add filtering Processor example (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5543">#5543</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/d7e5001b4d560292edc39697a1a235cacbea6ad0"><code>d7e5001</code></a>
sdk/log: Fix ExampleProcessor_redact to clone the record (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5559">#5559</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/4987a1dd4b94781c1bce7c50dd4cf5b539469d37"><code>4987a1d</code></a>
Split the span start/end benchmarks and test start with links and
attributes ...</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-go/commit/82fe9aa1e35b45b6487bf9701f480a2847ee5280"><code>82fe9aa</code></a>
Generate <code>internal/transform</code> in <code>otlploggrpc</code> (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-go/issues/5553">#5553</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/open-telemetry/opentelemetry-go/compare/v1.27.0...v1.28.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/metric&package-manager=go_modules&previous-version=1.27.0&new-version=1.28.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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jul 8, 2024
1 parent a83e688 commit 97eb482
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 97eb482

Please sign in to comment.