Commit Graph

537 Commits (f97fa2736c89947aa91a201f23775a4a47916d65)

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