Commit Graph

208 Commits (2673f94eb1e2435f904ede57b2796fb9cb209766)

Author SHA1 Message Date
Julien Pivotto bd24e2fb92
Merge pull request #9303 from LeviHarrison/backfill-return-1
3 years ago
Levi Harrison ded95ff434
Fix new rule importer message
3 years ago
Levi Harrison 34e1b47968
Fixed error handling
3 years ago
Holger Hans Peter Freyther 5edec40d60 promtool: Speed up checking for duplicate rules
3 years ago
Holger Hans Peter Freyther 3a309c1ae5 promtool: Add simple benchmark checkDuplicates benchmark
3 years ago
Holger Hans Peter Freyther 794937b3d6 promtool: Add testcase for detecting duplicates
3 years ago
jinglina ed24e51e7c
remove redundant type conversion (#9126)
3 years ago
Levi Harrison 3b5257d869
Changed disabled_features to feature_flags
3 years ago
Filip Petkovski 7c125aa5fb
Promtool: Add support for compaction analysis (#8940)
3 years ago
Levi Harrison 90976e7505
Promtool: Add feature flags to unit tests (#8958)
3 years ago
Levi Harrison ca1896c15b
Promtool: Validate service discovery files (#8950)
3 years ago
Steve Kuznetsov fd6c852567
promtool: backfill: allow configuring block duration (#8919)
3 years ago
Ben Kochie 7cb55d5732
Merge pull request #8802 from mwasilew2/yaml-linting
3 years ago
Julien Pivotto ba76bceb6b
Merge pull request #8917 from stevekuznetsov/skuznets/silence-backfill
4 years ago
Michal Wasilewski 3f686cad8b
fixes yamllint errors
4 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Steve Kuznetsov ee771a2a66
promtool: backfill: allow silencing output
4 years ago
Levi Harrison 7bc11dcb06
React UI: Add Starting Screen (#8662)
4 years ago
Levi Harrison 17ea8d006a
Added external URL access
4 years ago
Julien Pivotto ae73a6296a
Merge pull request #8683 from cuirunxing-hub/main
4 years ago
cuirunxing-hub 57bc2e94e2 typos correct
4 years ago
Jess G 731545ad34
Add documentation for recording rule backfiller (#8674)
4 years ago
Julien Pivotto e635ca834b Add environment variable expansion in external label values
4 years ago
Björn Rabenstein 9549a15c6f
Merge pull request #7675 from JessicaGreben/jg/11-retroactive-rule-eval
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
Ben Kochie f0bccba1c3
Update Go modules for 2.26 (#8636)
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
Julien Pivotto 63ea88af82
Merge pull request #8575 from pfreixes/add-scrapes-parameter
4 years ago
Pau Freixes b1ac4a45e6 Add num scrapes as tsdb write benchmark command flag
4 years ago
Julien Pivotto 5742a18590 Fix subqueries with default resolution in promql unit tests
4 years ago
jessicagreben 9fc53b7edf fix appender.Add -> appender.Append
4 years ago
Arthur Silva Sens 537c0aff49
Prometheus and Promtool binaries now print help and usage to stdout (#8542)
4 years ago
jessicagreben 78e84aed89 resolve merge conflict
4 years ago
jessicagreben f2db9dc722 add multi rule integration tests
4 years ago
Julien Pivotto 8c8de46003
Merge pull request #8036 from dgl/promtool-alert-err
4 years ago
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489)
4 years ago
Julien Pivotto 1fac1c783b
Merge pull request #8504 from rbauduin/require_alertname
4 years ago
Julien Pivotto 2d172d0896
Merge pull request #8508 from prometheus/release-2.25
4 years ago
Raphael Bauduin a7d64cad21 promtool: alert_rule_test items require alertname
4 years ago
Ganesh Vernekar c4536fa28c
Increase block writer size for backfilling
4 years ago
Julien Pivotto a419b75abd
Merge pull request #8485 from hryniuk/promtool-query-errors-details
4 years ago
Łukasz Hryniuk ab41de68b4 Print details of API errors
4 years ago
David Leadbeater 3e30f72af1 promtool: Add more negative alert tests
4 years ago
misha 1c3e7b4241 Use strings.Builder for neater error formatting
4 years ago
misha c2c5aeb16b Add optional name property to testgroup for better test failure output
4 years ago
Julien Pivotto c1f8bd9944
Merge pull request #8432 from roidelapluie/backfillpanic
4 years ago
Julien Pivotto 9334269f2b backfill: move checkErr before we close the mmaped file
4 years ago
Jeremy Albinet 4a1f2c097e Typo on plural in checkRules/checkDuplicates
4 years ago
Julien Pivotto ac2626757c Update exporter-toolkit to 0.5.0
4 years ago
Guangwen Feng 2df1a482da
Fix misspelled word in comment (#8348)
4 years ago
Julien Pivotto bc9f9ee3aa
Backfilling: fast-path for non-consecutive blocks (#8324)
4 years ago
Julien Pivotto 003d6451fc Promtool: add web config validation
4 years ago
beorn7 6bfa33308e promtool: Print block meta-data slightly more nicely
4 years ago
beorn7 651b57b9ab Merge branch 'backfillhr' of git://github.com/roidelapluie/prometheus into review
4 years ago
yeya24 cedd2dbec9 create output directory before backfilling
4 years ago
Julien Pivotto 53480c168d Backfill: print created blocks only, add human-readable option
4 years ago
AdaephonBen dca6954b0a
promtool: Add URL scheme when not provided (#7956)
4 years ago
Julien Pivotto 7957731339 Inline defer
4 years ago
Julien Pivotto 82b5f1d8b1 Backfill: Use mmap to reuse parser code
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 ac06d0a657 merge master/resolve conflict
4 years ago
jessicagreben ee85c22adb flush samples to disk every 5k samples
4 years ago
Atibhi Agrawal b317b6ab9c
Backfill from OpenMetrics format (#8084)
4 years ago
jessicagreben 5dd3577424 change name of promtool subcommand to create-blocks-from
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
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Bartlomiej Plotka 3d8826a3d4
MultiError: Refactored MultiError for more concise and safe usage. (#8066)
4 years ago
David Leadbeater e7e60623ff
promtool: Calculate mint and maxt per test (#8096)
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
Arthur Silva Sens 4f45e201cc
Promtool tsdb list now prints block sizes (#7993)
4 years ago
David Leadbeater 5393ec22cb promtool: Don't end alert tests early, in some failure situations
4 years ago
David Leadbeater 77c784ac93
Ensure alert rules are marked as restored in unit tests (#7661)
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
Julien Pivotto 442b3364d7
Promtool: add evaluation time to instant query (#7829)
4 years ago
Andy Bursavich 4e6a94a27d
Invert service discovery dependencies (#7701)
4 years ago
Harold Dost 21a753c4e2
Make file permissions set to allow for wider umask options. (#7782)
4 years ago
Annanay 9bba8a6eae Merge branch 'master' into appender-context
4 years ago
jessicagreben 7504b5ce7c add rule importer with tsdb block writer
4 years ago
Annanay 7f98a744e5 Add context to Appender interface
4 years ago
chinhnc e05c19da5d
Display block duration in promtool list blocks command (#7653)
4 years ago
Ben Ye 50c261502e
add tsdb cmds into promtool (#6088)
4 years ago
Ben Ye e6ea798c32
promtool range query should exit when fail to parse time (#7505)
4 years ago
yeya24 797e48c1a3 support time range in promtool query labels
4 years ago
Jordan Neufeld 268b4c29e1
Support extended durations in promtool unit tests (Fixes #6285) (#6297)
5 years ago
Hongcai Ren c7e82274c6
replace github.com/prometheus/prometheus/testutil/promlint by github.com/prometheus/client_golang/prometheus/testutil/promlint from our codebase (#7209)
5 years ago
Brian Brazil 7646cbca32
Use .UTC everywhere we use time.Unix (#7066)
5 years ago
Tobias Guggenmos 454ba12676 Fix build errors in promtool
5 years ago
Harkishen Singh 84e6459c4d Adds support for line-column numbers for invalid rules, promtool (#6533)
5 years ago
akerele abraham 9d39fdad0c unittest: check for rule files existence (#6075)
5 years ago