32 Commits (628bbd2682802d6774f7a20d8569c7790dac2e0b)

Author SHA1 Message Date
Aniket Kaulavkar 650abaccce Parallelize tests in cmd/promtool/ 2 weeks ago
Matthieu MOREL ab64966e9d
fix: use "ErrorContains" or "EqualError" instead of "Contains(t, err.Error()" and "Equal(t, err.Error()" (#15094) 2 months ago
Owen Williams 88bb05c3e8 utf8: enable utf-8 support by default 3 months ago
machine424 cc40b65ab4 fix(promtool): use the final database path for --sandbox-dir-root instead of the default value as it may be overridden 3 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code 6 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254) 12 months ago
Matthieu MOREL 67dcca5005 ci(lint): enable errorlint linter on cmd 1 year ago
ouyang1204 5d233df7ef
Fix rule check broken (#12715) 1 year ago
Julien Pivotto 1922db0586 Document command line tools 2 years ago
Martin Chodur 3ebe4b48db feat: add promtool http config support 2 years ago
Julien Pivotto 13bd4fd3c8
Fix promtool check config not erroring properly on failures (#10952) 2 years ago
chenlujjj 2ce94ac196
Add '--weight' flag to 'promtool check metrics' command (#10045) 3 years ago
zzehring 42628899b5 promtool: Add `--syntax-only` flag for `check config` 3 years ago
Filip Petkovski 5849521e90
promtool: Fix credentials file check (#9883) 3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory 3 years ago
Mateusz Gozdek b7bdf6fab2 Fix imports formatting 3 years ago
Arthur Silva Sens be2599c853
config: Make remote-write required for Agent mode (#9618) 3 years ago
DrAuYueng 69e309d202
Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for (#9343) 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
Levi Harrison ca1896c15b
Promtool: Validate service discovery files (#8950) 3 years ago
AdaephonBen dca6954b0a
promtool: Add URL scheme when not provided (#7956) 4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122) 4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087) 4 years ago
Julien Pivotto 442b3364d7
Promtool: add evaluation time to instant query (#7829) 4 years ago
Julius Volz b5c833ca21
Update go.mod dependencies before release (#5883) 5 years ago
Tom Wilkie 851131b074
Allow injection of arbitrary headers in promtool, for auth etc. (#4389) 5 years ago
beorn7 aff4738f33 Adjust TestQueryRange to new Prometheus API client 6 years ago
stuart nelson 6a69471bc2
[promtool] Support writing output as json (#4848) 6 years ago
Dave Henderson 73a08f0045 promtool - Adding --step flag to 'query range' subcommand (#4454) 6 years ago