mxinden / rust-libp2p-server

MIT License
30 stars 8 forks source link

build(deps): bump prometheus-client from 0.19.0 to 0.21.1 #210

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps prometheus-client from 0.19.0 to 0.21.1.

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.1]

Added

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

[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].

... (truncated)

Commits
  • 319de9b feat(encoding): implement EncodeLabelValue for Option (#141)
  • 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
mxinden commented 1 year ago

@dependabot recreate

dependabot[bot] commented 1 year ago

Looks like prometheus-client is up-to-date now, so this is no longer needed.