Commit Graph

599 Commits (6a9df95620bf882d206be7c771ad65042400f6ca)

Author SHA1 Message Date
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
Julien Pivotto c0724f4e62 New test
2 years ago
Julien Pivotto 2c408289f8 Add stabilizing to UI
2 years ago
Julien Pivotto 5ad74e6e71 Add tests
2 years ago
Julien Pivotto ce55e5074d Add 'keep_firing_for' field to alerting rules
2 years ago
Ganesh Vernekar d82ea2eb1c
Merge pull request #11838 from codesome/histo-rec
2 years ago
Ganesh Vernekar 98a0523e4a
rules: Test native histograms in recording rules
2 years ago
Ganesh Vernekar 53a5071a72
rules: Support native histograms
2 years ago
Danny Kopping 4d8478d9ac
Add license header to appease CI
2 years ago
Danny Kopping 72527b5f12
Refactoring for simplicity
2 years ago
Danny Kopping d8f3e7d16c
gofumpt
2 years ago
Danny Kopping 79300340af
Adding recording/alerting rule origin context
2 years ago
Ganesh Vernekar f1a332c496
rules: Consider ErrTooOldSample in expected errors
2 years ago
Bryan Boreham cdbe7f462b Update package rules for new labels.Labels type
2 years ago
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
2 years ago
Julius Volz 1a2c645dfa Correctly handle error unwrapping in rules and remote write receiver
2 years ago
Dimitar Dimitrov 03ab8dcca0
Add comments on EvalTimestamp
2 years ago
Ganesh Vernekar 648be89822
Merge remote-tracking branch 'upstream/main' into fix-conflict
2 years ago
Ganesh Vernekar 46b26c4f09
Fix notifier relabel changing the labels of active alerts (#11427)
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Dimitar Dimitrov 3fb881af26
Simplify rule group's EvalTimestamp formula
2 years ago
Bryan Boreham 8297f5cb6b rules: in tests use labels.FromStrings
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
2 years ago
beorn7 c9fd3c235d Merge branch 'main' into sparsehistogram
2 years ago
Jimmie Han a5fea2cdd0
Use atomic field avoid (*AlertingRule).mtx wait when template expanding (#10858)
2 years ago
beorn7 28f028e938 Merge branch 'main' into sparsehistogram
2 years ago
Matthieu MOREL ddfa9a7cc5
refactor (rules): move from github.com/pkg/errors to 'errors' and 'fmt' (#10855)
2 years ago
beorn7 40ad5e284a Merge branch 'main' into beorn7/sparsehistogram
2 years ago
Julien Pivotto 3a56817a30
Rules: set otel status to ERROR when a rule fails (#10745)
3 years ago
Julien Pivotto 0d94cdf107
rules: remove classic UI code (#10730)
3 years ago
Łukasz Mierzwa d3c9c4f574
Stop rule manager before TSDB is stopped (#10680)
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
Alvin Lin cd739214dd
Log rule name when evaluating rule groups' Eval function logs anything (#10454)
3 years ago
Matej Gera 2c61d29b2a
Tracing: Migrate to OpenTelemetry library (#9724)
3 years ago
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
Björn Rabenstein 4c56a193c5
Merge pull request #9478 from prometheus/beorn7/pkg-deprecation
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Bryan Boreham 26d8ae0e41 Rules: simplify map key for stale series detection
3 years ago
Yijie Qin 6fce45838a
Add access function for restoration state of alerting rule (#9665)
3 years ago
Ganesh Vernekar c8b267efd6
Get histograms from TSDB to the rate() function implementation
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
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
George Robinson 049b4f4f13
Support customization of template options in TemplateExpander (#9290)
3 years ago
Levi Harrison 8c29046ab2
Remove unneeded state modifications
3 years ago
Michal Wasilewski 3f686cad8b
fixes yamllint errors
4 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Levi Harrison 26274527df
Updated/added tests
4 years ago
Levi Harrison 17ea8d006a
Added external URL access
4 years ago
Owen Diehl 23999df27c expose rule metrics fields
4 years ago
Goutham Veeramachaneni 2efdf660b1
Increase evaluation failures on Commit() (#8770)
4 years ago
Björn Rabenstein 9549a15c6f
Merge pull request #7675 from JessicaGreben/jg/11-retroactive-rule-eval
4 years ago