Releases: grafana/cortex-tools
Releases · grafana/cortex-tools
v0.2.0 / 2020-06-02
Changes
- [FEATURE] Add
rules preparecommand. It allows you add a label to PromQL aggregations and lint your expressions in rule files. - [FEATURE] Add
logtooltool. It parses Cortex query-frontend logs and formats them for easy analysis.
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.0/cortextool-linux-amd64"
# make it executable
$ chmod a+x "/usr/local/bin/cortextool"
# have fun :)
$ cortextool --helpchunktool
# 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.0/chunktool-linux-amd64"
# make it executable
$ chmod a+x "/usr/local/bin/chunktool"
# have fun :)
$ chunktool --helplogtool
# 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.0/logtool-linux-amd64"
# make it executable
$ chmod a+x "/usr/local/bin/logtool"
# have fun :)
$ logtool --helpv0.1.4 / 2020-03-10
Changes
- [ENHANCEMENT] Add separate
chunktoolfor operating on cortex chunk backends #23 #26 - [ENHANCEMENT] Add
--disable-colorflag torules print,rules diff, andalertmanager getcommand #25 - [BUGFIX]
alertmanager loadcommand will ensure provided template files are also loaded #25 - [BUGFIX] Ensure rules commands use escaped URLs when contacting cortex API #24
Installation
cortextool
# download the binary (adapt os and arch as needed)
$ curl -fSL -o "/usr/local/bin/cortextool" "https://github.com/grafana/cortextool/releases/download/v0.1.4/cortextool-linux-amd64"
# make it executable
$ chmod a+x "/usr/local/bin/cortextool"
# have fun :)
$ cortextool --helpchunktool
# download the binary (adapt os and arch as needed)
$ curl -fSL -o "/usr/local/bin/chunktool" "https://github.com/grafana/cortextool/releases/download/v0.1.4/chunktool-linux-amd64"
# make it executable
$ chmod a+x "/usr/local/bin/chunktool"
# have fun :)
$ chunktool --helpv0.1.2 / 2019-12-18
Changes
- [CHANGE] Info log when a resource does not exist instead of exiting fatally
- [FEATURE] Windows build during Makefile cross compilation
- [BUGFIX] Fix env var
CORTEX_TENTANT_IDtoCORTEX_TENANT_IDfor rule commands
Installation
# download the binary (adapt os and arch as needed)
$ curl -fSL -o "/usr/local/bin/cortextool" "https://github.com/grafana/cortextool/releases/download/v0.1.2/cortextool-linux-amd64"
# make it executable
$ chmod a+x "/usr/local/bin/cortextool"
# have fun :)
$ cortextool --helpRelease v0.1.1 of cortextool
This is release v0.1.1 of the Cortex Tool (cortextool). Check out the CHANGELOG for detailed release notes.
Install Instructions
# download the binary (adapt os and arch as needed)
$ curl -fSL -o "/usr/local/bin/cortextool" "https://github.com/grafana/cortextool/releases/download/v0.1.1/cortextool-linux-amd64"
# make it executable
$ chmod a+x "/usr/local/bin/cortextool"
# have fun :)
$ cortextool --help