Skip to content

Bump opentelemetry-prometheus from 0.29.1 to 0.31.0#15

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/opentelemetry-prometheus-0.31.0
Open

Bump opentelemetry-prometheus from 0.29.1 to 0.31.0#15
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/opentelemetry-prometheus-0.31.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Mar 22, 2026

Bumps opentelemetry-prometheus from 0.29.1 to 0.31.0.

Release notes

Sourced from opentelemetry-prometheus's releases.

v0.31.0

See changelog for individual crates to know the exact set of changes. All crates in this repo follows same version (0.31.0 for this release).

0.30.0 Release

See changelog for individual crates to know the exact set of changes. All crates in this repo follows same version (0.30.0 for this release).

This release also upgrades Metrics-SDK to stable!

See summary of release notes: https://github.com/open-telemetry/opentelemetry-rust/blob/main/docs/release_0.30.md

Changelog

Sourced from opentelemetry-prometheus's changelog.

Release Notes 0.30

OpenTelemetry Rust 0.30 introduces a few breaking changes to the opentelemetry_sdk crate in the metrics feature. These changes were essential to drive the Metrics SDK towards stability. With this release, the Metrics SDK is officially declared stable. The Metrics API was declared stable last year, and previously, the Logs API, SDK, and OTel-Appender-Tracing were also marked stable. Importantly, no breaking changes have been introduced to components already marked as stable.

It is worth noting that the opentelemetry-otlp crate remains in a Release-Candidate state and is not yet considered stable. With the API and SDK for Logs and Metrics now stable, the focus will shift towards further refining and stabilizing the OTLP Exporters in upcoming releases. Additionally, Distributed Tracing is expected to progress towards stability, addressing key interoperability challenges.

For detailed changelogs of individual crates, please refer to their respective changelog files. This document serves as a summary of the main changes.

Key Changes

Metrics SDK Improvements

  1. Stabilized "view" features: Previously under an experimental feature flag, views can now be used to modify the name, unit, description, and cardinality limit of a metric. Advanced view capabilities, such as changing aggregation or dropping attributes, remain under the experimental feature flag.

  2. Cardinality capping: Introduced the ability to cap cardinality and configure limits using views.

  3. Polished public API: Refined the public API to hide implementation details from exporters, enabling future internal optimizations and ensuring consistency. Some APIs related to authoring custom metric readers have been moved behind experimental feature flags. These advanced use cases require more time to finalize the API surface before being included in the stable release.

Context-Based Suppression

Added the ability to suppress telemetry based on Context. This feature prevents telemetry-induced-telemetry scenarios and addresses a long-standing issue. Note that suppression relies on proper context propagation. Certain libraries used in OTLP Exporters utilize tracing but do not adopt OpenTelemetry's context propagation. As a result, not all telemetry is automatically suppressed with this feature. Improvements in this area are expected in future releases.

Next Release

... (truncated)

Commits
  • 2b63b75 fix: Panics and exploding memory usage from large cardinality limit (#3290)
  • c346d4b feat: Upgrade SDK version to 0.31.0 (#3287)
  • 07bb613 feat: Improve support for exponential histogram (#3259)
  • 693dcc0 chore: Unify SpanExporter with LogExporter and PushMetricExporter (#3281)
  • 65969fd docs: logs enrichment (#3266)
  • 627f252 feat: Stabilize Logger Enabled (#3278)
  • 4c16d9b fix: Remove unused tracing dependency from opentelemetry-otlp (#3264)
  • 759b539 chore(sampling): move sdk types from opentelemetry to opentelemetry_sdk (#3277)
  • 483b420 fix: handle shutdown in logs exporter (#3255)
  • 53c9f47 chore(deps): bump step-security/harden-runner from 2.13.1 to 2.13.2 (#3273)
  • Additional commits viewable in compare view

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Mar 22, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/opentelemetry-prometheus-0.31.0 branch 3 times, most recently from 366f102 to 9cabc63 Compare March 25, 2026 03:24
@dependabot dependabot Bot force-pushed the dependabot/cargo/opentelemetry-prometheus-0.31.0 branch from 9cabc63 to 194d6ea Compare April 2, 2026 02:19
Bumps [opentelemetry-prometheus](https://github.com/open-telemetry/opentelemetry-rust) from 0.29.1 to 0.31.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-rust/blob/main/docs/release_0.30.md)
- [Commits](open-telemetry/opentelemetry-rust@opentelemetry-prometheus-0.29.1...opentelemetry-prometheus-0.31.0)

---
updated-dependencies:
- dependency-name: opentelemetry-prometheus
  dependency-version: 0.31.0
  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/cargo/opentelemetry-prometheus-0.31.0 branch from 194d6ea to 23a5fbe Compare April 2, 2026 07:42
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 17, 2026

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

1 similar comment
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 17, 2026

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot recreate.

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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants