106 Commits (8c8de46003d1800c9d40121b4a5e5de8582ef6e1)

Author SHA1 Message Date
Tom Wilkie 7369561305
Combine Appender.Add and AddFast into a single Append method. (#8489) 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
Ł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 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
beorn7 806a799195 Update exporter-toolkit dependency to 0.5.1 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
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 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
Chris Marchbanks 1d1f64b4bc
Fix Promtool showing false duplicate rule warnings (#6270) 5 years ago
Simon Pasquier ddff1480a7
cmd/promtool: improve output for PromQL tests (#6052) 5 years ago
Harkishen Singh e097c70e6d add checks for metrics and display duplicate fields (#6026) 5 years ago
Simon Pasquier 06066a3619
*: improve error messages when parsing bad rules (#5965) 5 years ago
Sayan Chowdhury cb66e325d8 Show the warnings during label query (#5924) 5 years ago
Julius Volz b5c833ca21
Update go.mod dependencies before release (#5883) 5 years ago
Simon Pasquier 75886e0464 cmd/promtool: fix panic with empty exp_labels 5 years ago
Tom Wilkie 851131b074
Allow injection of arbitrary headers in promtool, for auth etc. (#4389) 5 years ago