Commit Graph

41 Commits (420b324c3e295ba1d26b81d45f2cfa9d25f75b58)

Author SHA1 Message Date
Michael Hoffmann 4d8e380269
promql: allow tests to be imported (#12050)
1 year ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint`
2 years ago
Charles Korn 3db98d7dde
Avoid unnecessary allocations in recording rule evaluation (#11812)
2 years ago
Danny Kopping 72527b5f12
Refactoring for simplicity
2 years ago
Danny Kopping 79300340af
Adding recording/alerting rule origin context
2 years ago
Julien Pivotto 0d94cdf107
rules: remove classic UI code (#10730)
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Levi Harrison d81bbe154d
Rule alerts/series limit updates (#9541)
3 years ago
Levi Harrison dc2f1993d8
Limit number of alerts or series produced by a rule (#9260)
3 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Tobias Guggenmos 6c00f2ffcb Comment fixes
5 years ago
Julien Pivotto 9adad8ad30 Remove MaxConcurrent from the PromQL engine opts (#6712)
5 years ago
Julien Pivotto cf42888e4d Fix order of testutil.Equals (#6695)
5 years ago
Julien Pivotto 2d7c8069d0 Check that rules don't contain metrics with the same labelset (#6469)
5 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package
5 years ago
Callum Styan 9bca041285 WIP: keep track of samples per query, set a max # of samples (#4513)
6 years ago
Fabian Reinartz 7ccd4b39b8 *: implement query params
7 years ago
Fabian Reinartz 2d0e3746ac rules: remove dependency on promql.Engine
7 years ago
Jorge Hernández 6cd0f63eb1 Use testutil in rules subpackage (#3278)
7 years ago
Julius Volz 099df0c5f0 Migrate "golang.org/x/net/context" -> "context" (#3333)
7 years ago
Fabian Reinartz 2d0b8e8b94 Merge branch 'master' into dev-2.0
7 years ago
beorn7 c2e9a151ab Make all rule links link to the "Console" tab rather than "Graph"
7 years ago
Goutham Veeramachaneni e1fc9dc78d Move /rules to new format (#2901)
7 years ago
Fabian Reinartz 06c2b76cd4 Merge branch 'master' into uptsdb
8 years ago
Julius Volz ac203ef0ee Add externalURL template function (#2716)
8 years ago
Fabian Reinartz e94b0899ee rules: fix tests, remove model types
8 years ago
Fabian Reinartz fecf9532b9 *: fix misc compile errors
8 years ago
Fabian Reinartz 622ece6273 *: fix recording tests, migrate matcher types
8 years ago
Jonathan Lange 2a2da40223 Make rule evaluation publicly available
8 years ago
Julius Volz c187308366 storage: Contextify storage interfaces.
8 years ago
Julius Volz ed5a0f0abe promql: Allow per-query contexts.
8 years ago
beorn7 75bae065fd Revert "Modify tests to adjust to reverting the /graph changes"
8 years ago
beorn7 f1ea5bf232 Modify tests to adjust to reverting the /graph changes
8 years ago
Julius Volz da7206ec29 Fix rule HTML escaping issues
8 years ago
Brian Brazil 0509b0f2db Expand alert templates at eval time.
8 years ago
beorn7 4b574e8a61 Switch chunk encoding to type 2 where it was hardcoded type 1 before
9 years ago
Fabian Reinartz 171f50706a Fix unkeyed field errors.
9 years ago
Brian Brazil 3bcdb2bbba rules: Allow for setting labels on LHS on scalars
9 years ago