cortex-tools icon indicating copy to clipboard operation
cortex-tools copied to clipboard

If you're using this tool with Grafana Mimir, please switch to "mimirtool" instead: https://github.com/grafana/mimir

Results 64 cortex-tools issues
Sort by recently updated
recently updated
newest added

Given `bug.yaml`: ``` namespace: bug groups: - name: bug rules: - alert: AlwaysFire expr: vector(1) ``` `cortextool rules lint --backend=loki bug.yaml` gives: ``` ERRO[0000] unable parse rules file error="could not...

bug
command/cortex-tool

Swap "created" and "updated" to set values correctly. Fixes #267.

At the moment, it is unclear what is the _exact_ difference between both commands. From a quick peek at the code it seems like load is more of a "only...

question

Currently, `rules sync` is reporting the number of groups created as the number of groups updated and vice versa. To fix, we need to have `created, updated, deleted` instead of...

cortextool is the only frontend for now that also support uploading loki rules (not supported by mimirtool yet). However it is not longer compatible with any go version that is...

This is a WIP PR which analyses the usage of labels, and not just metric names. The idea is eventually we'll be able to identify labels we can drop /...

Fixes #236 Make sure you have `metrics-in-grafana.json` file in the directory. ```golang $ go run ./cmd/cortextool analyse prometheus --address --log.level="debug" --read-timeout=5m ``` ![Screen Shot 2022-01-20 at 16 22 23](https://user-images.githubusercontent.com/16493751/150353572-4fc1adf0-a7a1-419d-adf8-ad453aff457e.png) Signed-off-by:...

I'm trying to tell Grafana which datasource to use for an alerting query, but I can't find any documentation for this in the rules YAML syntax. I see in the...

Hello! I think the README is missing documentation on how to construct an alert; the YAML syntax of the tool; how to manage groups of rules and notifications. A simple...