Changes
- [FEATURE] Added
alerts verify
command, which can be used to compare ALERTS
series in Cortex to verify if Prometheus and Cortex Ruler are firing the same alerts
- [BUGFIX] Renamed module from cortextool to cortex-tools to ensure
go get
works properly.
- [BUGFIX] When using
--disable-color
for rules get
, it now actually prints rules instead of the bytes of the underlying string
- [ENHANCEMENT] Allow mutualTLS for Cortex API client for
rules
and alertmanager
cmds with:
--tls-ca-path
or CORTEX_TLS_CA_PATH
--tls-cert-path
or CORTEX_TLS_CERT_PATH
--tls-key-path
or CORTEX_TLS_KEY_PATH
Installation
cortextool
# download the binary (adapt os and arch as needed)
$ curl -fSL -o "/usr/local/bin/cortextool" "https://github.com/grafana/cortex-tools/releases/download/v0.2.3/cortextool-linux-amd64"
# make it executable
$ chmod a+x "/usr/local/bin/cortextool"
# have fun :)
$ cortextool --help
chunktool
# download the binary (adapt os and arch as needed)
$ curl -fSL -o "/usr/local/bin/chunktool" "https://github.com/grafana/cortex-tools/releases/download/v0.2.3/chunktool-linux-amd64"
# make it executable
$ chmod a+x "/usr/local/bin/chunktool"
# have fun :)
$ chunktool --help
logtool
# download the binary (adapt os and arch as needed)
$ curl -fSL -o "/usr/local/bin/logtool" "https://github.com/grafana/cortex-tools/releases/download/v0.2.3/logtool-linux-amd64"
# make it executable
$ chmod a+x "/usr/local/bin/logtool"
# have fun :)
$ logtool --help