Commit Graph

259 Commits (6e89250a5d937485a140c6ba6dcdb35d2db51cd0)

Author SHA1 Message Date
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
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 dc2f1993d8
Limit number of alerts or series produced by a rule (#9260)
3 years ago
Levi Harrison 8c29046ab2
Remove unneeded state modifications
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
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 75654715d3 fix panics
4 years ago
jessicagreben 6980bcf671 unexport backfiller
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 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
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
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
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
fuling 8b11d2cfb6 Fix race condition in Rule manager.Update() function
5 years ago
Tobias Guggenmos 4835bbf376
Merge branch 'master' into split_parser
5 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now.
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 f82d55e79f
Refactor and simplify rule_group_interval_seconds (#6711)
5 years ago
Julien Pivotto 56ebd5afde Delete prometheus_rule_group metrics when groups are removed (#6693)
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
Simon Pasquier 06066a3619
*: improve error messages when parsing bad rules (#5965)
5 years ago
Brian Brazil 2184b79763
Mark deleted rule's series as stale on next evaluation. (#5759)
5 years ago
beorn7 dd81912554 Add objectives to Summaries
6 years ago
pbhudiaBAE 43953b105b Sorting alerts by group name in /alerts (#5448)
6 years ago
Yao Zengzeng 5544cb252a fix some mistakes in comments (#5533)
6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Bjoern Rabenstein 38d518c0fe Rework #5009 after comments
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
James Ravn e15d8c5802 reload: copy state on both name and labels (#5368)
6 years ago
David Symonds 46361a7c85 rules: Fix sorting of result from (*Manager).RuleGroups (#5260)
6 years ago
beorn7 2db1eeb4ec Fix prometheus_rule_group_last_evaluation_timestamp_seconds
6 years ago
Ganesh Vernekar 787eb1e904 Set rule_group_last_duration_seconds to seconds (#5153)
6 years ago
Vishnunarayan K I fd3ef6ba34 Add metric rule_group_rules_loaded to get the number of rules loaded (#5090)
6 years ago
Tom Wilkie 121603c417
Expose rules.NewGroupMetrics and rules.Metrics. (#5059)
6 years ago
Bartek Płotka de213d4a5e rule manager: Moved metric registration to custom registerer which is already available. (#4961)
6 years ago
mknapphrt f0e9196dca Return warnings on a remote read fail (#4832)
6 years ago
Krasi Georgiev 0754e5334b
querier for RestoreForState not closed. (#4922)
6 years ago
Wei Guo e329cbf673 Add metric prometheus_rule_group_last_evaluation for recording and alerting (#4852)
6 years ago
Will Hegedus 193ebe7e34 Updates to /targets and /rules (scrape duration, last evaluation time) (#4722)
6 years ago
Ganesh Vernekar 5790d23fd8 Unit testing for rules (#4350)
6 years ago
Chris Marchbanks 63ed9d1b70 Send EndsAt along with alerts (#4550)
6 years ago
Chris Marchbanks 87f1dad16d throttle resends of alerts to 1 minute by default (#4538)
6 years ago
Julius Volz 8fbe1b5133
Handle a bunch of unchecked errors (#4461)
6 years ago
Julien Pivotto 0b4d22b245 rules/manager: remove a no-longer-relevant comment (#4503)
6 years ago
Benji Visser 8bb6e0dd6e Show rule evaluation errors on rules page (#4457)
6 years ago
Julius Volz 90521a65f8
Remove error return value from NotifyFunc() (#4459)
6 years ago
Ganesh Vernekar f1db699dff Persist alert 'for' state across restarts (#4061)
6 years ago
Max Leonard Inden 71fafad099
api/v1: Coninue work exposing rules and alerts
6 years ago
Bryan Boreham afdb66dfac Expose Group.CopyState() (#4304)
6 years ago
Julius Volz 9e3171f6e3 rules: Minor naming/comment cleanups (#4328)
6 years ago
Alin Sinpalean 9dc763cc03 Run rule evaluation with timestamps precisely evaluation_interval apart (#4201)
7 years ago
Mario Trangoni 464e747f1e fix some comments typos (#4059)
7 years ago
Bryan Boreham 93494d8b7e Add an OpenTracing span for each rule (#4027)
7 years ago
ferhat elmas ffa673f7d8 General simplifications (#3887)
7 years ago
Fabian Reinartz 7ccd4b39b8 *: implement query params
7 years ago
Brian Brazil 30b4439bbd Remove rule_type label from rule metrics.
7 years ago
Brian Brazil b97f4cf48c Add metrics for rule group interval and last duration.
7 years ago
Brian Brazil 0a42a9fc8f Copy over rule group duration on reload.
7 years ago
Brian Brazil aa370fa568 Clarify metric names around rule groups.
7 years ago
Fabian Reinartz 62461379b7 rules: decouple notifier packages
7 years ago
Fabian Reinartz 4d964a0a0d rules: make glob expansion a concern of main
7 years ago
Fabian Reinartz bd9f7460eb rules: remove config package dependency
7 years ago
Fabian Reinartz 2d0e3746ac rules: remove dependency on promql.Engine
7 years ago
Goutham Veeramachaneni a880c86375
Fix unexported method on exported interface.
7 years ago
conorbroderick 55aaece116 Add rule evaluation time
7 years ago