Commit Graph

110 Commits (c7e525bc6ba0ea6ef032f84279f73fae86d4143f)

Author SHA1 Message Date
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
Arthur Silva Sens 537c0aff49
Prometheus and Promtool binaries now print help and usage to stdout (#8542)
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
Atibhi Agrawal b317b6ab9c
Backfill from OpenMetrics format (#8084)
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
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
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
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