Commit Graph

30 Commits (28f22b4d80aed4e7cafcc4f42c086521479b6def)

Author SHA1 Message Date
Alan Protasio c78d5b94af
Disallowing configure AM with the v1 api (#13883)
1 month ago
Björn Rabenstein 5b9148e552
Merge pull request #14820 from charleskorn/promqltest-native-histogram-format
2 months ago
Charles Korn 4da551578c
Fix test broken by inclusion of `counter_reset_hint`
3 months ago
Zhang Zhanpeng debbdb8608 make matrix selection and lookback left-open and right-closed
5 months ago
heyitao c7ca85388f Fix yaml file format and clear ci errors
8 months ago
machine424 4b71f6ffc2
promtool: add a "tsdb dump-openmetrics" to dump in OpemMetrics format.
9 months ago
Ayoub Mrini ace9c8a3da
promtool: allow setting multiple matchers to "promtool tsdb dump" command. (#13296)
10 months ago
Julien Pivotto 74cd1b6a09
Merge branch 'main' into add-focus-flag-to-promtool-test-rules
12 months ago
Rens Groothuijsen 122f9506e9
Set test group interval default to evaluation interval (#13011)
1 year ago
ouyang1204 5d233df7ef
Fix rule check broken (#12715)
1 year ago
Gregor Zeitlinger f01718262a
Unit tests for native histograms (#12668)
1 year ago
João Vilaça 81394ea1c5 Add --run flag to promtool test rules
1 year ago
Julien Pivotto 13bd4fd3c8
Fix promtool check config not erroring properly on failures (#10952)
2 years ago
chenlujjj 2ce94ac196
Add '--weight' flag to 'promtool check metrics' command (#10045)
3 years ago
David Leadbeater a961062c37
Disable time based retention in tests (#8818)
3 years ago
zzehring 42628899b5 promtool: Add `--syntax-only` flag for `check config`
3 years ago
Filip Petkovski 5849521e90
promtool: Fix credentials file check (#9883)
3 years ago
DrAuYueng 69e309d202
Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for (#9343)
3 years ago
Holger Hans Peter Freyther 3a309c1ae5 promtool: Add simple benchmark checkDuplicates benchmark
3 years ago
Holger Hans Peter Freyther 794937b3d6 promtool: Add testcase for detecting duplicates
3 years ago
Levi Harrison 90976e7505
Promtool: Add feature flags to unit tests (#8958)
3 years ago
Levi Harrison ca1896c15b
Promtool: Validate service discovery files (#8950)
3 years ago
Michal Wasilewski 3f686cad8b
fixes yamllint errors
4 years ago
Julien Pivotto 5742a18590 Fix subqueries with default resolution in promql unit tests
4 years ago
David Leadbeater 3e30f72af1 promtool: Add more negative alert tests
4 years ago
misha c2c5aeb16b Add optional name property to testgroup for better test failure output
4 years ago
Guangwen Feng 2df1a482da
Fix misspelled word in comment (#8348)
4 years ago
David Leadbeater e7e60623ff
promtool: Calculate mint and maxt per test (#8096)
4 years ago
David Leadbeater 77c784ac93
Ensure alert rules are marked as restored in unit tests (#7661)
4 years ago
Jordan Neufeld 268b4c29e1
Support extended durations in promtool unit tests (Fixes #6285) (#6297)
5 years ago