Skip to content

Commit

Permalink
maint(deps): update opentelemetry-api requirement from 1.22.0 to 1.25…
Browse files Browse the repository at this point in the history
….0 in /examples/hello-world (#198)

Updates the requirements on
[opentelemetry-api](https://github.com/open-telemetry/opentelemetry-python)
to permit the latest version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/open-telemetry/opentelemetry-python/blob/main/CHANGELOG.md">opentelemetry-api's
changelog</a>.</em></p>
<blockquote>
<h2>Version 1.25.0/0.46b0 (2024-05-30)</h2>
<ul>
<li>Fix class BoundedAttributes to have RLock rather than Lock
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3859">#3859</a>)</li>
<li>Remove thread lock by loading RuntimeContext explicitly.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3763">#3763</a>)</li>
<li>Update proto version to v1.2.0
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3844">#3844</a>)</li>
<li>Add to_json method to ExponentialHistogram
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3780">#3780</a>)</li>
<li>Bump mypy to 1.9.0
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3795">#3795</a>)</li>
<li>Fix exponential histograms
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3798">#3798</a>)</li>
<li>Fix otlp exporter to export log_record.observed_timestamp
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3785">#3785</a>)</li>
<li>Add capture the fully qualified type name for raised exceptions in
spans
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3837">#3837</a>)</li>
<li>Prometheus exporter sort label keys to prevent duplicate metrics
when user input changes order
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3698">#3698</a>)</li>
<li>Update semantic conventions to version 1.25.0.
Refactor semantic-convention structure:
<ul>
<li><code>SpanAttributes</code>, <code>ResourceAttributes</code>, and
<code>MetricInstruments</code> are deprecated.</li>
<li>Attribute and metric definitions are now grouped by the
namespace.</li>
<li>Stable attributes and metrics are moved to
<code>opentelemetry.semconv.attributes</code>
and <code>opentelemetry.semconv.metrics</code> modules.</li>
<li>Stable and experimental attributes and metrics are defined under
<code>opentelemetry.semconv._incubating</code> import path.
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3586">#3586</a>)</li>
</ul>
</li>
<li>Rename test objects to avoid pytest warnings
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3823">#3823</a>
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3823">open-telemetry/opentelemetry-python#3823</a>))</li>
<li>Add span flags to OTLP spans and links
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3881">#3881</a>)</li>
<li>Record links with invalid SpanContext if either attributes or
TraceState are not empty
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3917/">#3917</a>)</li>
<li>Add OpenTelemetry trove classifiers to PyPI packages
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3913">#3913</a>
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3913">open-telemetry/opentelemetry-python#3913</a>))</li>
<li>Fix prometheus metric name and unit conversion
(<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/pull/3924">#3924</a>)
<ul>
<li>this is a breaking change to prometheus metric names so they comply
with the
<a
href="https://github.com/open-telemetry/opentelemetry-specification/blob/v1.33.0/specification/compatibility/prometheus_and_openmetrics.md#otlp-metric-points-to-prometheus">specification</a>.</li>
<li>you can temporarily opt-out of the unit normalization by setting the
environment variable

<code>OTEL_PYTHON_EXPERIMENTAL_DISABLE_PROMETHEUS_UNIT_NORMALIZATION=true</code></li>
<li>common unit abbreviations are converted to Prometheus conventions
(<code>s</code> -&gt; <code>seconds</code>),
following the <a
href="https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/c0b51136575aa7ba89326d18edb4549e7e1bbdb9/pkg/translator/prometheus/normalize_name.go#L108">collector's
implementation</a></li>
<li>repeated <code>_</code> are replaced with a single
<code>_</code></li>
<li>unit annotations (enclosed in curly braces like
<code>{requests}</code>) are stripped away</li>
<li>units with slash are converted e.g. <code>m/s</code> -&gt;
<code>meters_per_second</code>.</li>
<li>The exporter's API is not changed</li>
</ul>
</li>
<li>Add parameters for Distros and configurators to configure
autoinstrumentation in addition to existing environment variables.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/257e6fe3345d42203109128a6ccc9afbb4b777bc"><code>257e6fe</code></a>
[release/v1.25.x-0.46bx] Prepare release 1.25.0/0.46b0 (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3942">#3942</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/c6edd0f361716256069d613ca4e551777526fee2"><code>c6edd0f</code></a>
Auto instrumentation parameters (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3864">#3864</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/d73593d1137a3854ceff3d7c94180d2bdb8b097f"><code>d73593d</code></a>
Fix prometheus metric name and unit conversion (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3924">#3924</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/187048a35ee93194a70a45720fa68b78d57b6a97"><code>187048a</code></a>
Record links with invalid SpanContext (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3917">#3917</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/832e85946a2a4ffcc566646b6fa0e830b9b04a66"><code>832e859</code></a>
Add OpenTelemetry trove classifiers to PyPI packages (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3913">#3913</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/dbf69435269896a344074e7563ede71e5697ff0c"><code>dbf6943</code></a>
Fixup pylint broad exceptions warnings (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3923">#3923</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/808d0ce745c9baaf18e5e52f6253cc94bfbb0b92"><code>808d0ce</code></a>
Pin codespell version to fix builds (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3930">#3930</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/8b80a28e825b102417eceb429f64d5ce52f3c2e7"><code>8b80a28</code></a>
Fix class BoundedAttributes to have RLock rather than Lock (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3859">#3859</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/a156bf161d4de96766cac09a5ef4fcddbf367604"><code>a156bf1</code></a>
Do not install unnecessary packages (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3896">#3896</a>)</li>
<li><a
href="https://github.com/open-telemetry/opentelemetry-python/commit/eef2015edd0d7c0a85840fd7bd1c7d57f1a8c2ee"><code>eef2015</code></a>
Bump jinja2 from 3.1.3 to 3.1.4 in /docs/getting_started/tests (<a
href="https://redirect.github.com/open-telemetry/opentelemetry-python/issues/3907">#3907</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/open-telemetry/opentelemetry-python/compare/v1.22.0...v1.25.0">compare
view</a></li>
</ul>
</details>
<br />


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>
Co-authored-by: Alex Boten <223565+codeboten@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and codeboten authored Jun 13, 2024
1 parent b0c0cef commit 69cfc51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hello-world/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
honeycomb-opentelemetry = {path = "../../", develop = true}
opentelemetry-api = "1.22.0"
opentelemetry-api = "1.25.0"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit 69cfc51

Please sign in to comment.