prometheus/rules
Linas Medžiūnas 44df626620
Some checks failed
buf.build / lint and publish (push) Has been cancelled
CI / Go tests (push) Has been cancelled
CI / More Go tests (push) Has been cancelled
CI / Go tests with previous Go version (push) Has been cancelled
CI / UI tests (push) Has been cancelled
CI / Go tests on Windows (push) Has been cancelled
CI / Mixins tests (push) Has been cancelled
CI / Build Prometheus for common architectures (push) Has been cancelled
CI / Build Prometheus for all architectures (push) Has been cancelled
CI / Check generated parser (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / fuzzing (push) Has been cancelled
CI / codeql (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CI / Report status of build Prometheus for all architectures (push) Has been cancelled
CI / Publish main branch artifacts (push) Has been cancelled
CI / Publish release artefacts (push) Has been cancelled
CI / Publish UI on npm Registry (push) Has been cancelled
promql (histograms): reconcile mismatched NHCB bounds (#17278)
Fixes #17255.

The implementation happens mostly in the Add and Sub method, but the reconciliation works for all relevant operations. For example, you can now `rate` over a range wherein the custom bucket boundaries are changing.

Any custom bucket reconciliation is flagged with an info-level annotation.

---------

Signed-off-by: Linas Medziunas <linas.medziunas@gmail.com>
Signed-off-by: Linas Medžiūnas <linasm@users.noreply.github.com>
2025-10-18 01:03:52 +02:00
..
fixtures Optimise concurrent rule evaluation for rules querying ALERTS and ALERTS_FOR_STATE (#17064) 2025-08-21 16:57:57 +02:00
alerting.go fix: reorder AlertState constants to start with StateUnknown, reorder String method to match constant order. 2025-10-08 22:56:35 +05:30
alerting_test.go fix: Updates unknown state to -1,adds fix for failing test case 2025-10-05 17:15:32 +05:30
group.go Apply analyzer "modernize" to the whole codebase 2025-08-27 14:48:41 +02:00
group_test.go [TESTS] Rules: remove brittle TestNewGroup 2025-06-23 15:34:03 +01:00
manager.go fix(rules.Manager): ensure non-nil context (#17103) 2025-08-29 10:43:59 +01:00
manager_test.go promql (histograms): reconcile mismatched NHCB bounds (#17278) 2025-10-18 01:03:52 +02:00
origin.go Decouple ruler dependency controller from concurrency controller 2024-02-02 10:06:37 +01:00
origin_test.go chore: enable unused-receiver rule from revive 2025-08-04 09:43:33 +00:00
recording.go Replace gopkg.in/yaml.v2 with go.yaml.in/yaml/v2 (#17151) 2025-09-06 13:04:24 +02:00
recording_test.go chore: enable unused-parameter from revive 2025-02-19 19:50:28 +01:00
rule.go Rules: Store dependencies instead of boolean (#15689) 2025-01-06 20:48:38 +00:00