Commit Graph

557 Commits (3274cac0d383025a45655977704a7aeea60aef19)

Author SHA1 Message Date
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
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
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
Goutham Veeramachaneni 4b5ab80ca6
[rule] Update rule health for append/commit fails (#8619)
4 years ago
jessicagreben 78e84aed89 resolve merge conflict
4 years ago
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489)
4 years ago
jessicagreben ac06d0a657 merge master/resolve conflict
4 years ago
jessicagreben 75654715d3 fix panics
4 years ago
jessicagreben 6980bcf671 unexport backfiller
4 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
jessicagreben 36ac0b68f1 merge master, fix conflicts
4 years ago
Łukasz Mierzwa 19c190b406
Add a rule_group_samples metric (#7977)
4 years ago
李国忠 4a52faf2ae
Unnecessary go routine spawn. (#7951)
4 years ago
jessicagreben dfa510086b add alignment, mv rule importer to promtool dir, add queryRange
4 years ago
Anonymous 8219b442c8
rules: Remove redundant RLock to avoid double RLock (#7183)
4 years ago
johncming 2f2a51a43a
web/api/v1: make names consistent. (#7841)
4 years ago
Goutham Veeramachaneni cb830b0a9c
Label rule_group_iterations metric with group name (#7823)
4 years ago
johncming 362080ba28
rules: add evaluationTimestamp when copy state. (#7775)
4 years ago
Callum Styan c7a17f6491
Add additional tag/log to rules Manager Eval trace span. (#7708)
4 years ago
Annanay 9bba8a6eae Merge branch 'master' into appender-context
4 years ago
Julien Pivotto e76c436e9c
Goleak in discoveries, scrape, rules (#7662)
4 years ago
Annanay 7f98a744e5 Add context to Appender interface
4 years ago
Owen Diehl 9ccedc0407
Arbitrary rule & group loading (#7569)
4 years ago
Julien Pivotto b83cbacbdd
Rule manager: remove blocking channel in mail (#7631)
4 years ago
johncming a69a8b931f
rules: fix bug for unknown alert state. (#7599)
4 years ago
Guangwen Feng ad9449d1f1
Add unit test case for func HasAlertingRules in manager.go (#7502)
4 years ago
Guangwen Feng 487f1e07ff
Add unit test case for func State in alerting.go (#7476)
4 years ago
Frederic Branczyk d17d88935c
rules: Use narrower interface for rule manager loading of for state (#7472)
4 years ago
Kemal Akkoyun 66dfb951c4
*: Consistent Error/Warning handling for SeriesSet iterator: Allowing Async Select (#7251)
5 years ago
Brian Brazil 5368066b58
Give a bit more slack for alertmanager send failures. (#7228)
5 years ago
Julien Pivotto fc3fb3265a
Merge pull request #7145 from prometheus/release-2.17
5 years ago
Chris Marchbanks a7b449320d
Fix updating rule manager never finishing (#7138)
5 years ago
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109)
5 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043)
5 years ago
Ben Ye 00730bfee7
add rule_group label to rule evaluation metrics (#7094)
5 years ago
Muhammad Falak R Wani 2d1a80aa82
rules: manager: clarify doc string for NewGroupMetrics (#7084)
5 years ago
Brian Brazil 7646cbca32
Use .UTC everywhere we use time.Unix (#7066)
5 years ago
Bartlomiej Plotka c4eefd1b3a storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Björn Rabenstein 1da83305be
Merge pull request #7009 from prometheus/release-2.17
5 years ago
Julien Pivotto 8907ba6235 Make TSDB use storage errors
5 years ago
Björn Rabenstein d80b0810c1
Move crucial actions to defer (#6918)
5 years ago
Bartlomiej Plotka fe802f29c9 storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Julien Pivotto 2051ae2e6a Revert "Fix race condition in Rule manager.Update() function"
5 years ago