Julien Pivotto
74cd1b6a09
Merge branch 'main' into add-focus-flag-to-promtool-test-rules
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-12-05 12:27:15 +01:00
Ben Ye
c78124427e
Support specifying series matchers to analyze tsdb ( #12842 )
...
* support specifying series matchers to analyze tsdb
Signed-off-by: Ben Ye <benye@amazon.com>
* fix cli docs
Signed-off-by: Ben Ye <benye@amazon.com>
---------
Signed-off-by: Ben Ye <benye@amazon.com>
2023-09-20 11:37:32 +01:00
Julien Pivotto
fd5b01afdc
promtool docs: write flags between backtits in help
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-07-15 22:32:59 +02:00
Julien Pivotto
b3b669fd9a
Add experimental flag and docs
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-07-12 22:33:49 +02:00
João Vilaça
81394ea1c5
Add --run flag to promtool test rules
...
Signed-off-by: João Vilaça <jvilaca@redhat.com>
2023-06-28 17:57:32 +01:00
Julien Pivotto
1214d314c3
Merge pull request #12225 from fgouteroux/feat/promtool_check_rules_stdin
...
promtool: read from stdin if no filenames are provided in check rules
2023-06-27 13:22:00 +02:00
François Gouteroux
6ae4a46845
feat: enhance stdin check and add tests parsing error
...
Signed-off-by: François Gouteroux <francois.gouteroux@gmail.com>
2023-06-01 10:28:55 +02:00
François Gouteroux
9cf1b4a2e6
fix: update doc
...
Signed-off-by: François Gouteroux <francois.gouteroux@gmail.com>
2023-05-28 22:33:47 +02:00
François Gouteroux
934c5ddb8d
feat: make push metrics labels generic and repeatable
...
Signed-off-by: François Gouteroux <francois.gouteroux@gmail.com>
2023-05-24 11:33:07 +02:00
François Gouteroux
3524a16aa0
feat: add suggested changes, tests, and stdin support
...
Signed-off-by: François Gouteroux <francois.gouteroux@gmail.com>
2023-05-23 11:15:29 +02:00
François Gouteroux
b1bab7bc54
feat(promtool): add push metrics command
...
Signed-off-by: François Gouteroux <francois.gouteroux@gmail.com>
2023-04-27 14:49:38 +02:00
François Gouteroux
8472596fd0
fix: apply suggested changes
...
Signed-off-by: François Gouteroux <francois.gouteroux@gmail.com>
2023-04-05 14:51:08 +02:00
François Gouteroux
034eb2b3f2
promtool: read from stdin if no filenames are provided in check rules
...
Signed-off-by: François Gouteroux <francois.gouteroux@gmail.com>
2023-04-05 11:33:47 +02:00
Julien Pivotto
391473141d
Check health & ready: move to flags ( #12223 )
...
This makes it more consistent with other command like import rules. We
don't have stricts rules and uniformity accross promtool unfortunately,
but I think it's better to only have the http config on relevant check
commands to avoid thinking Prometheus can e.g. check the config over the
wire.
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-04-05 09:45:39 +02:00
Nidhey Nitin Indurkar
3f7beeecc6
feat: health and readiness check of prometheus server in CLI (promtool) ( #12096 )
...
* feat: health and readiness check of prometheus server in CLI (promtool)
Signed-off-by: nidhey27 <nidhey.indurkar@infracloud.io>
2023-04-03 22:32:39 +02:00
Julien Pivotto
1922db0586
Document command line tools
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2023-03-13 14:20:55 +01:00