Commit Graph

64 Commits (9198952f7c6eddb6c2cd64eb5cb488599a5a9f23)

Author SHA1 Message Date
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
6 months ago
Bryan Boreham 8fd96241ab test: add promqltest package references
7 months ago
David Leadbeater 7ec4a11472 promtool: Avoid using testify for user rule tests
8 months ago
Bryan Boreham 5a6c8f9c15 promtool: use go-cmp instead of DeepEqual
10 months ago
Rewanth Tammana 102fd8cc88
Enhanced visibility for `promtool test rules` with JSON colored formatting (#13342)
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
Matthieu MOREL 67dcca5005 ci(lint): enable errorlint linter on cmd
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
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
Ben Ye fd3630b9a3 add ctx to QueryEngine interface
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint`
2 years ago
Bryan Boreham bf2c827d91 Update package cmd/promtool for new labels.Labels type
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
2 years ago
Matthieu MOREL 36eee11434
refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733)
3 years ago
beorn7 3bc711e333 Merge branch 'main' into sparsehistogram
3 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
beorn7 7ee1836ef5 Merge branch 'main' into sparsehistogram
3 years ago
Wilbert Guo 83a2e52bc2
Add SyncForState Implementation for Ruler HA (#10070)
3 years ago
beorn7 4210aac74a Merge branch 'main' into sparsehistogram
3 years ago
Alan Protasio 606ef33d91 Track and report Samples Queried per query
3 years ago
jessicagreben 99bb56fc46 add errcodes from sd file
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 4c28d9fac7 Move to histogram.Histogram pointers
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
David Leadbeater c91c2bbea5
promtool: Show more human readable got/exp output (#8064)
3 years ago
jinglina ed24e51e7c
remove redundant type conversion (#9126)
3 years ago
Levi Harrison 90976e7505
Promtool: Add feature flags to unit tests (#8958)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Levi Harrison 17ea8d006a
Added external URL access
4 years ago
Julien Pivotto 5742a18590 Fix subqueries with default resolution in promql unit tests
4 years ago
Julien Pivotto 8c8de46003
Merge pull request #8036 from dgl/promtool-alert-err
4 years ago
Raphael Bauduin a7d64cad21 promtool: alert_rule_test items require alertname
4 years ago
misha 1c3e7b4241 Use strings.Builder for neater error formatting
4 years ago
misha c2c5aeb16b Add optional name property to testgroup for better test failure output
4 years ago
David Leadbeater e7e60623ff
promtool: Calculate mint and maxt per test (#8096)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
David Leadbeater 5393ec22cb promtool: Don't end alert tests early, in some failure situations
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
Brian Brazil 7646cbca32
Use .UTC everywhere we use time.Unix (#7066)
5 years ago
Tobias Guggenmos 454ba12676 Fix build errors in promtool
5 years ago
akerele abraham 9d39fdad0c unittest: check for rule files existence (#6075)
5 years ago
Simon Pasquier ddff1480a7
cmd/promtool: improve output for PromQL tests (#6052)
5 years ago
Simon Pasquier 75886e0464 cmd/promtool: fix panic with empty exp_labels
5 years ago