Commit Graph

50 Commits (be67b8d460cb30b94de771df24753816443993a0)

Author SHA1 Message Date
Björn Rabenstein 372b3438e5 Update prometheus/client_golang to v1.0.0 (#5682) 7 years ago
Keenan Romain 55f3a9fe4a Allows globs for rules when unit testing (#5595) 7 years ago
Simon Pasquier 74ff35ccdd cmd/promtool: add $externalLabels for alert unit tests 7 years ago
beorn7 aff4738f33 Adjust TestQueryRange to new Prometheus API client 7 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504) 7 years ago
Simon Pasquier 9c69eec82a cmd/promtool: use log.NewNopLogger() (#5531) 7 years ago
Simon Pasquier 31a2d14e2f cmd/promtool: return errors from rule evaluations (#5483) 7 years ago
Simon Pasquier abc1994bec
cmd/promtool: return errors from rule evaluations (#5483) 7 years ago
Bjoern Rabenstein 38d518c0fe Rework #5009 after comments 7 years ago
Bjoern Rabenstein a92ef68dd8 Fix staticcheck errors 7 years ago
David Symonds 7a60e22c2d cmd/promtool: resolve relative paths in alert test files (#5336) 7 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388) 7 years ago
Simon Pasquier c8a1a5a93c
discovery/kubernetes: fix support for password_file and bearer_token_file (#5211) 7 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057) 7 years ago
Ganesh Vernekar 7d30ccd0eb Sort samples before comparing - PromQL unit test (#5052) 7 years ago
Ganesh Vernekar fbadd88ba5 Get unique eval times for alert unit tests (#4964) 7 years ago
Krasi Georgiev 080e6ed31a
collect cpu and trace profiles with the promtool debug command (#4897) 7 years ago
Ganesh Vernekar cfb3769274 Lazily load samples for unit testing (#4851) 7 years ago
stuart nelson 6a69471bc2
[promtool] Support writing output as json (#4848) 7 years ago
Ganesh Vernekar 5790d23fd8 Unit testing for rules (#4350) 7 years ago
Frederic Branczyk b0b3e3dd74
promql: Remove old and unused alerting/reconding syntax 7 years ago
Dave Henderson 73a08f0045 promtool - Adding --step flag to 'query range' subcommand (#4454) 8 years ago
Daisy T a3376e8f36 add query labels command to promtool (#4346) 8 years ago
Julius Volz 95dfb1b1dd
Add missing import to promtool, fix build (#4395) 8 years ago
Shubheksha 125da3b812 promtool: add command for querying series (#4308) 8 years ago
Chih-Hung Yeh 912d19fb85 Add 3 commands in `promtool` for getting debug information from prometheus server (#4247) 8 years ago
Sneha Inguva c1a851074b promtool: add query instant and query range commands (#4085) 8 years ago
Shubheksha Jalan 0471e64ad1 Use shared types from the `common` repo (#3674) 8 years ago
Shubheksha Jalan ec94df49d4 Refactor SD configuration to remove `config` dependency (#3629) 8 years ago
Callum Styan 8912f81ffe check if file_sd files exist in checkConfig 8 years ago
Goutham Veeramachaneni f9202c6511
Move from .yaml to .yml in update rules 9 years ago
Goutham Veeramachaneni e3701077c3
Move promtool to kingpin 9 years ago
Goutham Veeramachaneni 592cb00c2f
Remove version from RuleGroups 9 years ago
Goutham Veeramachaneni 6b70a4d850
Incorporate PR feedback 9 years ago
Goutham Veeramachaneni dc69645e92
Move back to go-yaml 9 years ago
Goutham Veeramachaneni 1c08743721
Update check-rules to new format. 9 years ago
Goutham Veeramachaneni cea1e99f78
Add update-rules command to promtool 9 years ago
Matt Layher 283756c503 Initial commit of 'promtool check-metrics', promlint package (#2605) 9 years ago
Fabian Reinartz 200bbe1bad config: extract SD and HTTPClient configurations 9 years ago
Steve Durrheimer 399d5c6375
Make version informations consistent between prometheus components 10 years ago
beorn7 b6fdb355d7 Move dump-heads into its own tool 10 years ago
beorn7 f193f2b8ef Add a command to promtool that dumps metadata of heads.db 10 years ago
Jimmi Dyson ec04ba38a2 Kubernetes SD config check 10 years ago
Jimmi Dyson a1574aa2b3 Move TLS options to scrape config 10 years ago
Fabian Reinartz 73f1cc807d Check token and cert file existence in promtool 11 years ago
Fabian Reinartz 7e615dcdf0 cmd/promtool: resolve rule files relative to config file 11 years ago
Fabian Reinartz bcc8101d9e cmd/promtool: fix missing builddate in version info 11 years ago
Fabian Reinartz 890c1a7e74 cmd/promtool: add promtool command. 11 years ago