Commit Graph

409 Commits (add-chunkiterator-interface)

Author SHA1 Message Date
Bartlomiej Plotka fe802f29c9 storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response. 6 years ago
Julien Pivotto 2051ae2e6a Revert "Fix race condition in Rule manager.Update() function" 6 years ago
fuling 8b11d2cfb6 Fix race condition in Rule manager.Update() function 6 years ago
Bartlomiej Plotka 34426766d8 Unify Iterator interfaces. All point to storage now. 6 years ago
Tobias Guggenmos 6c00f2ffcb Comment fixes 6 years ago
Tobias Guggenmos 20b1f596f6 Fix build errors in rest of prometheus 6 years ago
Julien Pivotto 135cc30063
rules: Make deleted rule series as stale after a reload (#6745) 6 years ago
Julien Pivotto 0e912faf4f
rules: Cleanup unused function alert.Duration (#6734) 6 years ago
Julien Pivotto f82d55e79f
Refactor and simplify rule_group_interval_seconds (#6711) 6 years ago
Julien Pivotto 9adad8ad30 Remove MaxConcurrent from the PromQL engine opts (#6712) 6 years ago
Julien Pivotto 56ebd5afde Delete prometheus_rule_group metrics when groups are removed (#6693) 6 years ago
Julien Pivotto cf42888e4d Fix order of testutil.Equals (#6695) 6 years ago
Julien Pivotto 5f27ac3583 Refactor query log fields (#6694) 6 years ago
Harkishen Singh 84e6459c4d Adds support for line-column numbers for invalid rules, promtool (#6533) 6 years ago
Julien Pivotto 0011bba19b Query Log: add origin of the rules (#6592) 6 years ago
Julien Pivotto e079c9ed45 manager: add full stops on comments 6 years ago
alburthoffman 156dcb8cca avoid stopping rule groups if new rule groups are as same as old rule… (#6450) 6 years ago
Julien Pivotto 2d7c8069d0 Check that rules don't contain metrics with the same labelset (#6469) 6 years ago
Simon Pasquier 06066a3619
*: improve error messages when parsing bad rules (#5965) 6 years ago
Brian Brazil e62f30d497
Correctly handle empty labels from alert templates. (#5845) 6 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package 6 years ago
Brian Brazil 2184b79763
Mark deleted rule's series as stale on next evaluation. (#5759) 6 years ago
AllenZMC 5c2c9a03e9 fix word 'consequentally' to 'consequently' (#5827) 6 years ago
beorn7 dd81912554 Add objectives to Summaries 7 years ago
pbhudiaBAE 43953b105b Sorting alerts by group name in /alerts (#5448) 7 years ago
Yao Zengzeng 5544cb252a fix some mistakes in comments (#5533) 7 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504) 7 years ago
Bjoern Rabenstein 76102d570c Add test for external labels in label template 7 years ago
Bjoern Rabenstein 38d518c0fe Rework #5009 after comments 7 years ago
Sylvain Rabot 335a34486e Add external labels to template expansion 7 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388) 7 years ago
James Ravn e15d8c5802 reload: copy state on both name and labels (#5368) 7 years ago
David Symonds 46361a7c85 rules: Fix sorting of result from (*Manager).RuleGroups (#5260) 7 years ago
beorn7 2db1eeb4ec Fix prometheus_rule_group_last_evaluation_timestamp_seconds 7 years ago
Simon Pasquier a60431f3cd Merge v2.7.1 into master (#5170) 7 years ago
Ganesh Vernekar 787eb1e904 Set rule_group_last_duration_seconds to seconds (#5153) 7 years ago
Matt Layher 302148fd69 *: apply gofmt -s 7 years ago
Vishnunarayan K I fd3ef6ba34 Add metric rule_group_rules_loaded to get the number of rules loaded (#5090) 7 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057) 7 years ago
Tom Wilkie 121603c417
Expose rules.NewGroupMetrics and rules.Metrics. (#5059) 7 years ago
Tom Wilkie 6e08029b56
Move err to be the last return value from storage.Select. (#5054) 7 years ago
Bartek Płotka de213d4a5e rule manager: Moved metric registration to custom registerer which is already available. (#4961) 7 years ago
AixesHunter fb8479a677 Variable 'labels' collides with imported package name (#5012) 7 years ago
mknapphrt f0e9196dca Return warnings on a remote read fail (#4832) 7 years ago
Krasi Georgiev 0754e5334b
querier for RestoreForState not closed. (#4922) 7 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921) 7 years ago
Wei Guo e329cbf673 Add metric prometheus_rule_group_last_evaluation for recording and alerting (#4852) 7 years ago
Will Hegedus 193ebe7e34 Updates to /targets and /rules (scrape duration, last evaluation time) (#4722) 7 years ago
Callum Styan 9bca041285 WIP: keep track of samples per query, set a max # of samples (#4513) 7 years ago
Ganesh Vernekar 5790d23fd8 Unit testing for rules (#4350) 7 years ago