Commit Graph

522 Commits (7a3166232cbad0b664fc6070e68f732a3daf6537)

Author SHA1 Message Date
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
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
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
3 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