Commit Graph

30 Commits (3ad25a6dc3d94d09f94de00fe3ef9e374007b131)

Author SHA1 Message Date
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 6 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 6 years ago
Max Neverov 7c8bbd6bcb
Add fmt rule check: labels with the name __name__ are invalid (#7787) 6 years ago
Julien Pivotto fd06416057
Use strict unmarshalling of rules (#7767) 6 years ago
Callum Styan 0f76024eeb
Clarify error messaging, group names must be provided. (#7529) 6 years ago
Mikael Johansson a98be49c52
Change rule index numbering from 0 to n+1 on errors found in rule files (#7495) 6 years ago
johncming 51c824543b
fix bug missing an error. (#7020) 6 years ago
Tobias Guggenmos 20b1f596f6 Fix build errors in rest of prometheus 6 years ago
Harkishen Singh 84e6459c4d Adds support for line-column numbers for invalid rules, promtool (#6533) 6 years ago
Josh Soref 91d76c8023 Spelling (#6517) 6 years ago
Simon Pasquier 06066a3619
*: improve error messages when parsing bad rules (#5965) 7 years ago
Bjoern Rabenstein 38d518c0fe Rework #5009 after comments 7 years ago
Sylvain Rabot 335a34486e Add external labels to template expansion 7 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388) 7 years ago
AixesHunter 29f21b8d0c import aliases yaml that can be omitted (#5018) 7 years ago
Ganesh Vernekar 05726c5ea2 Test template expansion while loading groups (#4537) 8 years ago
Manos Fokas 25f929b772 Yaml UnmarshalStrict implementation. (#4033) 8 years ago
Julius Volz 192e665317 rulefmt: Allow parsing from bytes instead of file 8 years ago
Conor Broderick 59d4c539d1 Added rule name to rule error for easier debugging (#3549) 8 years ago
Krasi Georgiev 3697075b8f validates that the recording name to include only allowed characters. (#3305) 9 years ago
Goutham Veeramachaneni 592cb00c2f
Remove version from RuleGroups 9 years ago
Goutham Veeramachaneni 6b70a4d850
Incorporate PR feedback 9 years ago
Goutham Veeramachaneni dc69645e92
Move back to go-yaml 9 years ago
Goutham Veeramachaneni e893c89333
Validate labels and annotations 9 years ago
Goutham Veeramachaneni c884881f7d
Add License Header 9 years ago
Goutham Veeramachaneni 2d1e92513b
Add tests 9 years ago
Goutham Veeramachaneni a48a018368
Make sure groups are unique in a single file 9 years ago
Goutham Veeramachaneni cea1e99f78
Add update-rules command to promtool 9 years ago
Goutham Veeramachaneni e8f55669ea Move rules to new format 9 years ago
Fabian Reinartz c843a0cd29 pkg/rulefmt: Add rule group parsing 9 years ago