Skip to content

Latest commit

 

History

History
208 lines (141 loc) · 8.99 KB

CHANGELOG.md

File metadata and controls

208 lines (141 loc) · 8.99 KB

Changelog

Order should be CHANGE, FEATURE, ENHANCEMENT, and BUGFIX

v0.17.0

  • [CHANGE] Upgrade cortex to v1.17.0

v0.16.1

  • [CHANGE] Upgrade cortex to v1.16.1

v0.15.3

  • [CHANGE] Upgrade cortex to v1.15.3

v0.14.1

  • [CHANGE] Upgrade cortex to v1.14.1
  • [CHANGE] Remove chunktool and rules-migrator. Dependent on deprecated chunks storage.
  • [CHANGE] Remove cortex-overrides. This function mas been merged to cortex binary.

v0.13.2

  • [CHANGE] Upgrade cortex to v1.13.2
  • [CHANGE] Updates version of Go to 1.22 and Alpine to 3.19.1 in Dockerfiles
  • [FEATURE] Make rulerAPI Path configurable
  • [FEATURE] Add tool to deserialize alertmanager state file
  • [ENHANCEMENT] Support loading alertmanager templates from different directories
  • [BUGFIX] Set tenant id in prom analyse command

v0.11.1

  • [BUGFIX] Fix check for new version
  • [BUGFIX] Fix reference to download the binaries

v0.11.0

  • [CHANGE] Rename to cortexproject/cortex-tools #2
  • [CHANGE] Update go image to v1.16.15. #4
  • [CHANGE] Upgrade cortex to v1.11.1 #5
  • [CHANGE] Match grafana/dskit with version used by cortex v1.11.1 #5
  • [CHANGE] Match prometheus/common with version used by cortex v1.11.1 #5
  • [CHANGE] Match prometheus/prometheus with version used by cortex v1.11.1 #5
  • [CHANGE] Remove loki support #7
  • [FEATURE] Support Arm64 on Darwin for all binaries (benchtool etc). #215
  • [FEATURE] Add cortextool rules delete-namespace command to delete the specified rule namespace. #8
  • [BUGFIX] Fix cortextool rules legends displaying wrong symbols for updates and deletions. #226

v0.10.7

  • [ENHANCEMENT] Benchtool: add -bench.write.proxy-url argument for configuring the Prometheus remote-write client with a HTTP proxy URL. #223
  • [ENHANCEMENT] Analyse: support Grafana 'timeseries' panel type for cortextool analyse grafana command. #224

v0.10.6

  • [FEATURE] Rules check for Loki now supports pattern.

v0.10.5

  • [ENHANCEMENT] Allow usage of HTTP_PROXY and HTTPS_PROXY. #216

v0.10.4

  • [CHANGE] Update go image to v1.16.8. #213
  • [CHANGE] Update alpine image to v3.14. #213
  • [ENHANCEMENT] Add benchtool to the release process. #213

v0.10.3

  • [BUGFIX] Fix cortextool analyse grafana failure on certain dashboards that use templating and/or panel heights due to unmarshalling errors with the underlying grafana-tools/sdk library. #192

v0.10.2

  • [FEATURE] Blockgen: adding a new tool to generate blocks of mock data.
  • [FEATURE] Support Arm64 on Darwin.
  • [ENHANCEMENT] Added the ability to set an explicit user when Cortex is behind basic auth. #187
  • [BUGFIX] Benchtool: avoid duplicate DNS metrics registration when enabling both query and write benchmarking. #188

v0.10.1

  • [ENHANCEMENT] cortextool analyse prometheus now records cardinality by metric and job labels. #178

v0.10.0

  • [FEATURE] Add --label-excluded-rule-groups support to cortextool rules prepare command. #174
  • [ENHANCEMENT] Upgrade the Go version used in build images and tests to golang 1.16.3 to match upstream Cortex. #165

v0.9.0

  • [CHANGE] Overrides Exporter: cortex_overrides_presets added to expose the preset metrics. #154
    • limit_type label has been renamed to limit_name.
    • type label has been removed.
    • cortex_overrides now only exposes overrides and doesn't expose preset limits.
  • [BUGFIX] Escape rule namespaces and groups containing slashes at the beginning and end of the name. #162

v0.8.0

  • [CHANGE] Loadgen: Add loadgen namespace to loadgen metrics. #152
    • write_request_duration_seconds --> loadgen_write_request_duration_seconds
    • query_request_duration_seconds --> loadgen_query_request_duration_seconds
  • [FEATURE] Add analyse command to help you understand your metric usage. #157 #158
  • [ENHANCEMENT] Return detailed HTTP error messages. #146
  • [ENHANCEMENT] Check for duplicate rule records in cortextool rules check. #149
  • [ENHANCEMENT] Loadgen: Metrics now use histogram with an additional 15 bucket.

v0.7.2

  • [ENHANCEMENT] Add format for rules list command. #130
  • [ENHANCEMENT] Parse multiple YAML rules documents. #127
  • [BUGFIX] Fix double escaping of special characters in rule and namespace names. #140

v0.7.1

  • [BUGFIX] Rule commands use compatible routes with the Loki backend. #136

v0.7.0

  • [FEATURE] Add remote-read commands to investigate series through the remote-read API. #134
    • remote-read export: Export metrics remote read series into a local TSDB.
    • remote-read dump: Dump remote read series.
    • remote-read stats: Show statistic of remote read series.

v0.6.1

  • [BUGFIX] Fix cortextool generating the wrong paths when executing multiple calls to the cortex API. In particular, commands like load, sync were affected. #133

v0.6.0

  • [CHANGE] When using rules commands, cortex ruler API requests will now default to using the /api/v1/ prefix. The --use-legacy-routes flag has been added to allow users to use the original /api/prom/ routes. #99
  • [FEATURE] Add support for position rule-files arguments to rules sync and rules diff #125
  • [FEATURE] Add an allow-list of namespaces for rules sync and rules diff #125
  • [ENHANCEMENT] Handle trailing slashes in URLs on cortextool. #128
  • [BUGFIX] Fix inaccuracy in e2ealerting caused by invalid purging condition on timestamps. #117

v0.5.0

  • [FEATURE] Release cortextool via Homebrew for macOS #109
  • [FEATURE] Add new binary e2ealerting for measuring end to end alerting latency. #110
  • [BUGFIX] Do not panic if we're unable to contact GitHub for the version command. #107

v0.4.1

  • [ENHANCEMENT] Upgrade the Go version used in build images and tests to golang 1.14.9 to match upstream Cortex. #104
  • [FEATURE] Add chunktool chunk validate-index and chunktool chunk clean-index commands to the chunktool. These commands are used to scan Cortex index backends for invalid index entries. #104

v0.4.0

  • [ENHANCEMENT] Loadgen: Allow users to selectively disable query or write loadgen by leaving their respective URL configs empty. #95
  • [FEATURE] Add overrides-exporter to cortextool, which exports Cortex runtime configuration overrides as metrics. #91

v0.3.2

  • [BUGFIX] Supports rules lint with LogQL: #92.

v0.3.1

  • [FEATURE] Add support for GME remote-write rule groups. #82
  • [BUGFIX] Fix issue where rule comparisons would be affected by the format of the YAML file. #88

v0.3.0

  • [FEATURE] Added loki backend support for the rules commands, configurable with --backend=loki (defaults to cortex).
  • [FEATURE] Introduces a new version command. The command will also let you know if there's a new version available.

v0.2.4

  • [BUGFIX] Fix alertmanager registration subcommand and path for the configuration API #72

v0.2.3

  • [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

v0.2.2 / 2020-06-09

  • [BUGFIX] Remove usage of alternate PromQL parser in rules prepare lint.
  • [BUGFIX] rules check does not require an argument.

v0.2.1 / 2020-06-08

  • [FEATURE] Add rules check command. It runs various best practice checks against rules.
  • [ENHANCEMENT] Ensure rules prepare takes into account Vector Matching on PromQL Binary Expressions.
  • [BUGFIX] rules prepare and rules lint do not require an argument.

v0.2.0 / 2020-06-02

  • [FEATURE] Add rules prepare command. It allows you add a label to PromQL aggregations and lint your expressions in rule files.
  • [FEATURE] Add rules lint command. It lints, rules YAML and PromQL expression formatting within the rule file
  • [FEATURE] Add logtool binary. It parses Loki/Cortex query-frontend logs and formats them for easy analysis.

v0.1.4 / 2020-03-10

  • [CHANGE] Ensure 404 deletes do not trigger an error for rules and alertmanager commands #28
  • [ENHANCEMENT] Add separate chunktool for operating on cortex chunk backends #23 #26
  • [ENHANCEMENT] Add --disable-color flag to rules print, rules diff, and alertmanager get command #25
  • [BUGFIX] alertmanager load command will ensure provided template files are also loaded #25
  • [BUGFIX] Ensure rules commands use escaped URLs when contacting cortex API #24

v0.1.3 / 2020-02-04

  • [FEATURE] Add rules sync command
  • [FEATURE] Add rules diff command

v0.1.2 / 2019-12-18

  • [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_ID to CORTEX_TENANT_ID for rule commands