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].
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.
Bumps prometheus-client from 0.19.0 to 0.21.1.
Release notes
Sourced from prometheus-client's releases.
Changelog
Sourced from prometheus-client's changelog.
... (truncated)
Commits
319de9b
feat(encoding): implementEncodeLabelValue
forOption
(#141)2649447
refactor(family): introduceConstFamily
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!: IntroduceCollector
abstraction (#82)2f72a1b
chore(.github): Include token to prevent protoc rate limiting (#121)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)