Skip to content

om2/gaugehistogram: prohibit negative count and bucket values - #3139

Merged
krajorama merged 20 commits into
om2-rc1from
krajo/om2-no-negative-buckets
Oct 20, 2026
Merged

krajorama merged 20 commits into
om2-rc1from
krajo/om2-no-negative-buckets

Conversation

@krajorama

Copy link
Copy Markdown
Member

Even though a negative count may arise from arithmetic operations from on native histograms, we don't believe that the resulting distribution means anything or is useful. Instead of changing the validation of histograms stored in Prometheus , we're making the specification more strict.

Note: negative histograms may still be calculated in Prometheus and returned as PromQL query results or used as intermediate values in calculations. As explained by the native histograms specification: https://prometheus.io/docs/specs/native_histograms/#unary-minus-and-negative-histograms

jan--f and others added 7 commits October 12, 2026 19:36
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](7rulnik/source-map-js@v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [sharp](https://github.com/lovell/sharp) from 0.35.4 to 0.35.5.
- [Release notes](https://github.com/lovell/sharp/releases)
- [Commits](lovell/sharp@v0.35.4...v0.35.5)

---
updated-dependencies:
- dependency-name: sharp
  dependency-version: 0.35.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser) to 7.1.6 and updates ancestor dependency [postcss-preset-mantine](https://github.com/mantinedev/postcss-preset-mantine). These dependencies need to be updated together.


Updates `postcss-selector-parser` from 6.1.4 to 7.1.6
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases)
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/main/CHANGELOG.md)
- [Commits](postcss/postcss-selector-parser@6.1.4...7.1.6)

Updates `postcss-preset-mantine` from 1.17.0 to 1.18.0
- [Commits](https://github.com/mantinedev/postcss-preset-mantine/commits)

---
updated-dependencies:
- dependency-name: postcss-selector-parser
  dependency-version: 7.1.6
  dependency-type: indirect
- dependency-name: postcss-preset-mantine
  dependency-version: 1.18.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk) from 1.26.0 to 1.32.1.
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](modelcontextprotocol/typescript-sdk@v1.26.0...1.32.1)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.32.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [proxy-addr](https://github.com/jshttp/proxy-addr) from 2.0.7 to 2.0.8.
- [Release notes](https://github.com/jshttp/proxy-addr/releases)
- [Changelog](https://github.com/jshttp/proxy-addr/blob/master/HISTORY.md)
- [Commits](jshttp/proxy-addr@v2.0.7...v2.0.8)

---
updated-dependencies:
- dependency-name: proxy-addr
  dependency-version: 2.0.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [next](https://github.com/vercel/next.js) from 15.5.24 to 15.5.27.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Commits](vercel/next.js@v15.5.24...v15.5.27)

---
updated-dependencies:
- dependency-name: next
  dependency-version: 15.5.27
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
jan--f and others added 8 commits October 14, 2026 15:51
…ce-map-js-1.2.2

build(deps): bump source-map-js from 1.2.1 to 1.2.2
…p-0.35.5

build(deps): bump sharp from 0.35.4 to 0.35.5
…i-9f5b43a47e

build(deps): bump postcss-selector-parser and postcss-preset-mantine
…lcontextprotocol/sdk-1.32.1

build(deps-dev): bump @modelcontextprotocol/sdk from 1.26.0 to 1.32.1
…y-addr-2.0.8

build(deps-dev): bump proxy-addr from 2.0.7 to 2.0.8
…-15.5.27

build(deps): bump next from 15.5.24 to 15.5.27
chore: propose Jan as a maintainer
Even though a negative count may arise from arithmetic operations from on
native histograms, we don't believe that the resulting distribution
means anything or is useful. Instead of changing the validation of
histograms stored in Prometheus , we're making the specification
more strict.

Note: negative histograms may still be calculated in Prometheus and
returned as PromQL query results or used as intermediate values in
calculations. As explained by the native histograms specification:
https://prometheus.io/docs/specs/native_histograms/#unary-minus-and-negative-histograms

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
BAPostma and others added 2 commits October 18, 2026 22:23
Signed-off-by: Barry Postma <BAPostma@users.noreply.github.com>
docs: Add TEMPer USB thermal sensor exporter link

@bwplotka bwplotka left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, otherwise LGTM

Comment thread docs/specs/om/open_metrics_spec_2_0.md Outdated
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: George Krajcsovits <krajorama@users.noreply.github.com>
krajorama and others added 2 commits October 20, 2026 16:51
…3148)

PRs targeting a feature branch such as om2-rc1 collect several spec
changes that are released under a single version. Requiring a version
bump on each of them is noise, so restrict the check to PRs against
main, where the accumulated work gets its version.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
@krajorama
krajorama merged commit c10695a into om2-rc1 Oct 20, 2026
7 checks passed
@krajorama
krajorama deleted the krajo/om2-no-negative-buckets branch October 20, 2026 15:29
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.

6 participants