Skip to content

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github May 16, 2023

Bumps prometheus-client from 0.19.0 to 0.21.0.

Release notes

Sourced from prometheus-client's releases.

v0.21.0

See changelog for details.

v0.20.0

See changelog for details.

Changelog

Sourced from prometheus-client's changelog.

[0.21.0]

Changed

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

[0.20.0]

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.
Commits
  • 2649447 refactor(family): introduce ConstFamily type (#138)
  • 85033bf chore: prepare v0.20.0 (#133)
  • e35e99d fix(protobuf): Do not share label storage across families (#123)
  • 51de116 build(deps): update pyo3 requirement from 0.17 to 0.18 (#127)
  • 9141c11 feat(derive): Introduce flatten attribute (#118)
  • c619ad5 feat!: Introduce Collector abstraction (#82)
  • 2f72a1b chore(.github): Include token to prevent protoc rate limiting (#121)
  • See full diff in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

Bumps [prometheus-client](https://github.com/prometheus/client_rust) from 0.19.0 to 0.21.0.
- [Release notes](https://github.com/prometheus/client_rust/releases)
- [Changelog](https://github.com/prometheus/client_rust/blob/master/CHANGELOG.md)
- [Commits](prometheus/client_rust@v0.19.0...v0.21.0)

---
updated-dependencies:
- dependency-name: prometheus-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels May 16, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github May 17, 2023

Superseded by #165.

@dependabot dependabot bot closed this May 17, 2023
@dependabot dependabot bot deleted the dependabot/cargo/prometheus-client-0.21.0 branch May 17, 2023 00:05
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