-
Notifications
You must be signed in to change notification settings - Fork 511
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
docs: Sandbox play with Mimir #9247
base: main
Are you sure you want to change the base?
Conversation
@jdbaldry hello my good sir! Does Mimir have a different docs checker than the other repos? Just wanted to check whether it should still be the case to include images directly within the repo |
Good spot, yeah, they have different rules in Mimir. I should really work with @tacole02 to migrate them to using the media storage. |
aaah dang good to know. I will re-add the image back in and remove my banner to save repo space |
Think the other linting error is just formatting with https://github.com/grafana/mimir/actions/runs/10791026737/job/29927546365?pr=9247 |
Let's do it, @jdbaldry 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 😄
{{< admonition type="tip" >}} | ||
Alternatively, you can try out this example in our interactive learning environment: [Play with Mimir](https://killercoda.com/grafana-labs/course/mimir/play-with-mimir). | ||
|
||
It's a fully configured environment with all the dependencies already installed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a fully configured environment with all the dependencies already installed. | |
It's a fully configured environment with all dependencies already installed. |
1. Configure the alert rule: | ||
1. Type `MimirNotRunning` in the **Rule name** field. | ||
1. Choose **Mimir** in the **Select data source** field. | ||
1. Type `count(up == 0)` in the **Metrics browser** query field. This will currently show `no data` since all instances are running. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Type `count(up == 0)` in the **Metrics browser** query field. This will currently show `no data` since all instances are running. | |
1. Type `count(up == 0)` in the **Metrics browser** query field. This currently shows `no data` since all instances are running. |
1. Type `count(up == 0)` in the **Metrics browser** query field. This will currently show `no data` since all instances are running. | ||
1. Scroll down to **Set evaluation behavior**: | ||
1. Select `New folder` and type `example-folder` in the **Folder name** field. | ||
1. Select `New evaluation group` and type `example-group` in the **Group name** field. Set evaluation interval to `30s`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1. Select `New evaluation group` and type `example-group` in the **Group name** field. Set evaluation interval to `30s`. | |
1. Select `New evaluation group` and type `example-group` in the **Group name** field. Set the evaluation interval to `30s`. |
What this PR does
This PR adds the Interactive sandbox metadata to the Play with Mimir tutorial. This tutorial can be tested here: https://killercoda.com/grafana-dev-testing/course/mimir/play-with-mimir
Here are the docs for the annotations I added: https://github.com/grafana/killercoda/blob/staging/docs/transformer.md
This is part of a larger effort to make our docs more interactive. Happy to jump on a call to discuss further as needed.
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]
.about-versioning.md
updated with experimental features.