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

Fix ruler config in getting started guide #2052

Merged
merged 2 commits into from
Jun 8, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
* [ENHANCEMENT] Recommend fast disks for ingesters and store-gateways in production tips. #1903
* [ENHANCEMENT] Explain the runtime override of active series matchers. #1868
* [ENHANCEMENT] Clarify "Set rule group" API specification. #1869
* [BUGFIX] Fixed ruler configuration used in the getting started guide. #2052

## 2.1.0
### Grafana Mimir
Expand Down
6 changes: 3 additions & 3 deletions docs/configurations/demo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ ingester:
replication_factor: 1

ruler_storage:
backend: local
local:
directory: /tmp/mimir/rules
backend: filesystem
filesystem:
dir: /tmp/mimir/rules

server:
http_listen_port: 9009
Expand Down
8 changes: 4 additions & 4 deletions docs/sources/operators-guide/getting-started/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ ingester:
replication_factor: 1

ruler_storage:
backend: local
local:
directory: /tmp/mimir/rules
backend: filesystem
filesystem:
dir: /tmp/mimir/rules

server:
http_listen_port: 9009
Expand All @@ -103,7 +103,7 @@ In a terminal, run one of the following commands:
- Using Docker:

```bash
docker run --rm --name mimir --publish 9009:9009 --volume "$(pwd)"/demo.yaml:/etc/mimir/demo.yaml grafana/mimir:${MIMIR_LATEST} --config.file=/etc/mimir/demo.yaml
docker run --rm --name mimir --publish 9009:9009 --volume "$(pwd)"/demo.yaml:/etc/mimir/demo.yaml grafana/mimir:latest --config.file=/etc/mimir/demo.yaml
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MIMIR_LATEST environment variable doesn't exist. Since in the previous step we ask to run docker pull grafana/mimir:latest, here we can just use latest.

```

- Using a local binary:
Expand Down