441 Commits (2df1a482daee9e8fa7433b0392ef81dcc2322f9f)

Author SHA1 Message Date
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
Łukasz Mierzwa 19c190b406
Add a rule_group_samples metric (#7977) 4 years ago
李国忠 4a52faf2ae
Unnecessary go routine spawn. (#7951) 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
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
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
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
fuling 8b11d2cfb6 Fix race condition in Rule manager.Update() function 5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now. 5 years ago
Tobias Guggenmos 6c00f2ffcb Comment fixes 5 years ago
Tobias Guggenmos 20b1f596f6 Fix build errors in rest of prometheus 5 years ago
Julien Pivotto 135cc30063
rules: Make deleted rule series as stale after a reload (#6745) 5 years ago
Julien Pivotto 0e912faf4f
rules: Cleanup unused function alert.Duration (#6734) 5 years ago
Julien Pivotto f82d55e79f
Refactor and simplify rule_group_interval_seconds (#6711) 5 years ago
Julien Pivotto 9adad8ad30 Remove MaxConcurrent from the PromQL engine opts (#6712) 5 years ago
Julien Pivotto 56ebd5afde Delete prometheus_rule_group metrics when groups are removed (#6693) 5 years ago
Julien Pivotto cf42888e4d Fix order of testutil.Equals (#6695) 5 years ago
Julien Pivotto 5f27ac3583 Refactor query log fields (#6694) 5 years ago
Harkishen Singh 84e6459c4d Adds support for line-column numbers for invalid rules, promtool (#6533) 5 years ago
Julien Pivotto 0011bba19b Query Log: add origin of the rules (#6592) 5 years ago
Julien Pivotto e079c9ed45 manager: add full stops on comments 5 years ago
alburthoffman 156dcb8cca avoid stopping rule groups if new rule groups are as same as old rule… (#6450) 5 years ago
Julien Pivotto 2d7c8069d0 Check that rules don't contain metrics with the same labelset (#6469) 5 years ago
Simon Pasquier 06066a3619
*: improve error messages when parsing bad rules (#5965) 5 years ago
Brian Brazil e62f30d497
Correctly handle empty labels from alert templates. (#5845) 5 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package 5 years ago