Skip to content

v0.2.0 / 2020-06-02

Choose a tag to compare

@mattmendick mattmendick released this 02 Jun 20:23
· 35 commits to master since this release
b2f8e55

Changes

  • [FEATURE] Add rules prepare command. It allows you add a label to PromQL aggregations and lint your expressions in rule files.
  • [FEATURE] Add logtool tool. 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 --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.0/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.0/logtool-linux-amd64"

# make it executable
$ chmod a+x "/usr/local/bin/logtool"

# have fun :)
$ logtool --help