prometheus/rules
Ben Kochie 48956f60d7
Update modernize (#17471)
Apply additional Go modernize tool improvements.

Signed-off-by: SuperQ <superq@gmail.com>
2025-11-04 05:13:49 +00: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 Update modernize (#17471) 2025-11-04 05:13:49 +00:00
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 Update modernize (#17471) 2025-11-04 05:13:49 +00: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 Update modernize (#17471) 2025-11-04 05:13:49 +00:00
rule.go Rules: Store dependencies instead of boolean (#15689) 2025-01-06 20:48:38 +00:00