Commit Graph

103 Commits (394da05dd407f07b592b097ee6a7b4a54d9d9967)

Author SHA1 Message Date
beorn7 5b53aa1108 style: Replace `else if` cascades with `switch`
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
beorn7 c0879d64cf promql: Separate `Point` into `FPoint` and `HPoint`
2 years ago
Soon-Ping 6cecb87941
Generalized rule group iteration evaluation hook (#11885)
2 years ago
Trevor Whitney c3e0a83725
rules: no longer force CounterResetHint to Gauge
2 years ago
Justin Lei af1d9e01c7
Refactor tsdbutil for tests/native histograms (#11948)
2 years ago
Julien Pivotto ce55e5074d Add 'keep_firing_for' field to alerting rules
2 years ago
Ganesh Vernekar 98a0523e4a
rules: Test native histograms in recording rules
2 years ago
Bryan Boreham 3c7de69059 storage: allow re-use of iterators
2 years ago
Jesus Vazquez e934d0f011 Merge 'main' into sparsehistogram
2 years ago
Bryan Boreham 8297f5cb6b rules: in tests use labels.FromStrings
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
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 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
Björn Rabenstein 7e42acd3b1
tsdb: Rework iterators (#9877)
3 years ago
beorn7 5d4db805ac Merge branch 'main' into sparsehistogram
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
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 b5f6f8fb36 Switched to go-kit/log
4 years ago
Levi Harrison 26274527df
Updated/added tests
4 years ago
Goutham Veeramachaneni 4b5ab80ca6
[rule] Update rule health for append/commit fails (#8619)
4 years ago
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489)
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
johncming 2f2a51a43a
web/api/v1: make names consistent. (#7841)
4 years ago
johncming 362080ba28
rules: add evaluationTimestamp when copy state. (#7775)
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
Julien Pivotto b83cbacbdd
Rule manager: remove blocking channel in mail (#7631)
4 years ago
Guangwen Feng ad9449d1f1
Add unit test case for func HasAlertingRules in manager.go (#7502)
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
ZouYu 2b7437d60e
Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109)
5 years ago
Ben Ye 00730bfee7
add rule_group label to rule evaluation metrics (#7094)
5 years ago
Bartlomiej Plotka fe802f29c9 storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
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
Julien Pivotto 135cc30063
rules: Make deleted rule series as stale after a reload (#6745)
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
Harkishen Singh 84e6459c4d Adds support for line-column numbers for invalid rules, promtool (#6533)
5 years ago
Julien Pivotto e079c9ed45 manager: add full stops on comments
5 years ago