.TH promtool 1 promtool, version 2.3.2+ds (branch: debian/sid, revision: 2.3.2+ds-1~bpo9+1) .SH "NAME" promtool - Tooling for the Prometheus monitoring system .SH "SYNOPSIS" .TP \fBpromtool [] [ ...]\fR .SH "DESCRIPTION" Tooling for the Prometheus monitoring system. .SH "OPTIONS" .TP \fB-h, --help\fR Show context-sensitive help (also try --help-long and --help-man). .TP \fB--version\fR Show application version. .SH "COMMANDS" .SS \fBhelp [...]\fR .PP Show help. .SS \fBcheck config ...\fR .PP Check if the config files are valid or not. .SS \fBcheck rules ...\fR .PP Check if the rule files are valid or not. .SS \fBcheck metrics\fR .PP Pass Prometheus metrics over stdin to lint them for consistency and correctness. examples: $ cat metrics.prom | promtool check metrics $ curl -s http://localhost:9090/metrics | promtool check metrics .SS \fBupdate rules ...\fR .PP Update rules from the 1.x to 2.x format. .SS \fBquery instant \fR .PP Run instant query. .SS \fBquery range [] \fR .PP Run range query. .TP \fB--start=START\fR Query range start time (RFC3339 or Unix timestamp). .TP \fB--end=END\fR Query range end time (RFC3339 or Unix timestamp).