Commit Graph

41 Commits (6ca5b9cd40c5bd4e64fe3b281463a73f1035141b)

Author SHA1 Message Date
komisan19 0249e080b4 refactor: utilize standard functions max/min
8 months ago
Matthieu MOREL bae9a21200
Merge branch 'main' into linter/nilerr
2 years ago
beorn7 c3c7d44d84 lint: Adjust to the lint warnings raised by current versions of golint-ci
2 years ago
Matthieu MOREL fb3eb21230 enable gocritic, unconvert and unused linters
2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Bryan Boreham bf2c827d91 Update package cmd/promtool for new labels.Labels type
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
2 years ago
Levi Harrison fa9bc5184a
Update and fix interface (#11131)
2 years ago
Matthieu MOREL 36eee11434
refactor (package cmd): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10733)
3 years ago
Wilbert Guo 83a2e52bc2
Add SyncForState Implementation for Ruler HA (#10070)
3 years ago
Łukasz Mierzwa a4317bf0ec
Run gofumpt on all files (#10392)
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Mateusz Gozdek b7bdf6fab2 Fix imports formatting
3 years ago
Julien Pivotto 73255e15f6 Address golint failures from revive
3 years ago
Will Tran 97b0738895
add --max-block-duration in promtool create-blocks-from rules (#9511)
3 years ago
Julien Pivotto f8372bc6b9 backfill: Apply rule labels after query labels
3 years ago
Julien Pivotto bd217c58a7
Backfill: Do not query after --end (#9340)
3 years ago
Julien Pivotto 1ea774f184
Merge pull request #9339 from roidelapluie/remove-double-align
3 years ago
Julien Pivotto 691ce066fb backfill: Do not align the start of the group since we align every rule.
3 years ago
jessicagreben b0a21f9eab rm overlap, add label builder to fix name bug
3 years ago
Levi Harrison ded95ff434
Fix new rule importer message
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Levi Harrison 17ea8d006a
Added external URL access
4 years ago
cuirunxing-hub 57bc2e94e2 typos correct
4 years ago
jessicagreben 896c828bb5 close writer after flush
4 years ago
jessicagreben d89a1d999f add log with start/end times, close blocks before end of func
4 years ago
jessicagreben 8de4da3716 add changes per comments, fix tests
4 years ago
jessicagreben e3a8132bb3 fix block alignment, add sample alignment
4 years ago
jessicagreben 7c26642460 add block alignment and write in 2 hr blocks
4 years ago
jessicagreben 9fc53b7edf fix appender.Add -> appender.Append
4 years ago
jessicagreben e32e4fcc53 fix unit test
4 years ago
jessicagreben cec3515fa3 fix linter
4 years ago
jessicagreben 2e9946e4d7 add test
4 years ago
jessicagreben ee85c22adb flush samples to disk every 5k samples
4 years ago
jessicagreben 19dee0a569 add name and labels to metric, eval all rules for each block
4 years ago
jessicagreben 75654715d3 fix panics
4 years ago
jessicagreben 61c9a89120 use milliseconds for blocksize
4 years ago
jessicagreben 6980bcf671 unexport backfiller
4 years ago
jessicagreben 3ed6457dd4 use blockwriter, rm multiwriter code
4 years ago
jessicagreben 2e526cf2a7 add output dir parameter
4 years ago
jessicagreben dfa510086b add alignment, mv rule importer to promtool dir, add queryRange
4 years ago