Commit Graph

557 Commits (3274cac0d383025a45655977704a7aeea60aef19)

Author SHA1 Message Date
Charles Korn 4e77e8e5ef
Allow using alternative PromQL engines for rule evaluation
9 months ago
machine424 f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
9 months ago
Bryan Boreham 3716326f3f rules: call NewScratchBuilder
9 months ago
Bryan Boreham c0e36e6bb3 Standardise exemplar label as "trace_id"
10 months ago
Bryan Boreham 17f48f2b3b Tests: use replacement DeepEquals in more places
10 months ago
Bryan Boreham 39af788dbd Tests: use replacement DeepEquals using go-cmp
10 months ago
Marco Pracucci 5ee3fbe825
Decouple ruler dependency controller from concurrency controller
10 months ago
Marco Pracucci cbbbd6e70a
Remove superfluous nil check in Group.metrics
10 months ago
Marco Pracucci 046cd7599f
Introduced sequentialRuleEvalController
10 months ago
Marco Pracucci 23f89c18b2
Improved RuleConcurrencyController interface doc
10 months ago
Marco Pracucci 2764c46531
Added more test cases to TestDependenciesEdgeCases
10 months ago
Marco Pracucci 52bc568d04
Add more test cases to TestDependenciesEdgeCases
10 months ago
Marco Pracucci 21a03dc018
Simplify the design to update concurrency controller once the rule evaluation has done
10 months ago
Danny Kopping 7aa3b10c3f
Block until all rules, both sync & async, have completed evaluating
10 months ago
Danny Kopping f922534c4d
Refactoring for performance, and to allow controller to be overridden
10 months ago
Danny Kopping 94cdfa30cd
Refactoring
10 months ago
Danny Kopping 0dc7036db3
Optimising dependencies/dependents funcs to not produce new slices each request
10 months ago
Danny Kopping e7758d187e
Refactor concurrency control
10 months ago
Danny Kopping 940f83a540
Implementation
10 months ago
Filip Petkovski 583f3e587c
Optimize histogram iterators (#13340)
10 months ago
Filip Petkovski 10a82f87fd
Enable reusing memory when converting between histogram types
12 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
12 months ago
Björn Rabenstein a43669e611
Merge pull request #12928 from alexandear/ci-enable-godot
1 year ago
Oleksandr Redko fa90ca46e5 ci(lint): enable godot; append dot at the end of comments
1 year ago
Charles Korn 9a8dbf06bc
Address PR feedback
1 year ago
Charles Korn 667a1efb04
Add trace ID to log lines emitted during rule evaluation
1 year ago
Charles Korn fc132a4557
Use common logger instance to reduce duplication in `Group.Eval()`
1 year ago
Danny Kopping 498b836654
Refactoring manager.go into separate concerns
1 year ago
Goutham Veeramachaneni 86729d4d7b
Update exp package (#12650)
1 year ago
Arve Knudsen 6daee89e5f
Add context argument to Querier.Select (#12660)
1 year ago
Michael Hoffmann 4d8e380269
promql: allow tests to be imported (#12050)
1 year ago
Julien Pivotto 782e6f64fb
Merge pull request #11295 from dimitarvdimitrov/dimitar/simplify-evalTimestamp
1 year ago
Bryan Boreham 5255bf06ad Replace sort.Slice with faster slices.SortFunc
1 year ago
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Ben Ye fd3630b9a3 add ctx to QueryEngine interface
2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint`
2 years ago
Soon-Ping 6cecb87941
Generalized rule group iteration evaluation hook (#11885)
2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Björn Rabenstein 847093479b
Merge pull request #11978 from trevorwhitney/set-counter-hint
2 years ago
Trevor Whitney c3e0a83725
rules: no longer force CounterResetHint to Gauge
2 years ago
Charles Korn 3db98d7dde
Avoid unnecessary allocations in recording rule evaluation (#11812)
2 years ago
Bryan Boreham 3f7ba22bde rules: two places need to call EmptyLabels
2 years ago
Julien Pivotto 259bb5c692
Merge pull request #11826 from dannykopping/dannykopping/rule-eval
2 years ago
Justin Lei af1d9e01c7
Refactor tsdbutil for tests/native histograms (#11948)
2 years ago
Danny Kopping 98c70e1817
Correcting NewAlertingRule args
2 years ago
Danny Kopping df078e0a84
Merge branch 'main' into dannykopping/rule-eval
2 years ago
Julien Pivotto e811d14963 Add comments
2 years ago
Danny Kopping c4ca791f18
Appeasing the linter
2 years ago
Danny Kopping 6486d28c7a
Panic if rule type was not expected
2 years ago