Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more steps to the play with grafana mimir page #7859

Merged
merged 12 commits into from
Apr 17, 2024
Merged
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,15 @@ offered by Grafana.
1. Open [Grafana Alerting](http://localhost:9000/alerting/list).
2. Click "New alert rule", which also allows you to configure recording rules.
3. Configure the recording rule:
1. Select `Mimir or Loki recording rule` in the top selector.
2. Choose `Mimir` in the "Select data source" field.
3. Type `sum(up)` in the "Metrics browser" query field.
4. Type `sum:up` in the "Rule name" field.
5. Type `example-namespace` in the "Namespace" field.
6. Type `example-group` in the "Group" field.
7. From the upper-right corner, click the **Save and exit** button.
1. Select **Mimir or Loki recording rule** in the top selector.
1. Choose **Mimir** in the **Select data source** field.
1. Type `sum:up` in the **Rule name** field.
1. Choose **Code** in the **Builder | Code** field on the right.
1. Type `sum(up)` in the **Metrics browser** query field.
1. Choose **Data source-managed** in the **Grafana-managed | Data source-managed** field in the **Rule Type** paragraph.
56quarters marked this conversation as resolved.
Show resolved Hide resolved
1. Type `example-namespace` in the **Namespace** field.
1. Type `example-group` in the **Group** field.
1. From the upper-right corner, click the **Save and exit** button.

Your `sum:up` recording rule will show the number of Mimir instances that are `up`, meaning reachable to be scraped. The
rule is now being created in Grafana Mimir ruler and will be soon available for querying:
Expand Down
Loading