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

Update Rust crate prometheus-client to 0.22.0 #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 22, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change
prometheus-client dependencies minor 0.19.0 -> 0.22.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

prometheus/client_rust (prometheus-client)

v0.22.2

Compare Source

Added
  • Added Gauge<u32, AtomicU32> implementation.
    See PR 191.

v0.22.1

Compare Source

Added
  • Added EncodeLabelValue and EncodeLabelKey implementations for Arc,
    Rc, and Box.
    See PR 188.

v0.22.0

Compare Source

Changed
  • Simplify Collector trait by enabling Collector::collect to encode metrics directly with a DescriptorEncoder.
    See PR 149 for details.

v0.21.2

Compare Source

Added
  • Added sub_registry_with_labels method to Registry.
    See PR 145.
  • Added with_labels and with_prefix_and_labels constructors to Registry.
    See PR 147.

v0.21.1

Compare Source

Added
  • Implement EncodeLabelValue for Option<T>.
    See PR 137.

v0.21.0

Compare Source

Changed
  • Replace impl EncodeMetric for RefCell<T> with a new type ConstFamily implementing EncodeMetric.

v0.20.0

Compare Source

Added
  • Introduce Collector abstraction allowing users to provide additional metrics
    and their description on each scrape. See PR 82.

  • Introduce a #[prometheus(flatten)] attribute which can be used when deriving EncodeLabelSet, allowing
    a nested struct to be flattened during encoding. See PR 118.

    For example:

    #[derive(EncodeLabelSet, Hash, Clone, Eq, PartialEq, Debug)]
    struct CommonLabels {
        a: u64,
        b: u64,
    }
    #[derive(EncodeLabelSet, Hash, Clone, Eq, PartialEq, Debug)]
    struct Labels {
        unique: u64,
        #[prometheus(flatten)]
        common: CommonLabels,
    }

    Would be encoded as:

    my_metric{a="42",b="42",unique="42"} 42
    
Fixed
  • Fix label encoding in protobuf feature. See PR 123.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/prometheus-client-0.x branch from cf9e9ec to 0bab8b5 Compare May 5, 2024 09:23
@renovate renovate bot changed the title Update Rust crate prometheus-client to 0.22.2 Update Rust crate prometheus-client to 0.22.0 May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants