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

Replace Prometheus with Mimir #49

Merged
merged 11 commits into from
Nov 10, 2022
Merged

Replace Prometheus with Mimir #49

merged 11 commits into from
Nov 10, 2022

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented Nov 4, 2022

This PR replaces the Prometheus instance with a Mimir instance instead.

I did this as an exercise for myself, but thought it might be interesting to share. Will not be offended if this is rejected as an undesirable change :)

Outstanding work

Improvements for future PRs

  • I've retained the use of the Grafana setup from jsonnet-libs/prometheus-ksonnet rather than switching to something like jsonnet-libs/grafana in the interest of keeping the PR small.

This is a bit of a hack in the interests of making this change as small
as possible - jsonnet-libs/prometheus-ksonnet imports its own
implementation of a Grafana setup rather than using (say)
jsonnet-libs/grafana.
Copy link
Contributor

@jhesketh jhesketh left a comment

Choose a reason for hiding this comment

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

I haven't tried it out, but it looks pretty good to me!

My only concern is not configuring the location of the filesystem storage.

We could also consider if we want to use real object storage, but I don't think it is necessary (and would involve us deploying something like minio).

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Show resolved Hide resolved
production/mimir/mimir.libsonnet Show resolved Hide resolved
production/mimir/mimir.libsonnet Outdated Show resolved Hide resolved
Copy link
Contributor

@jhesketh jhesketh left a comment

Choose a reason for hiding this comment

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

Thanks for that. LGTM :-)

@charleskorn charleskorn merged commit 43f41ff into main Nov 10, 2022
@charleskorn charleskorn deleted the use-mimir-for-metrics branch November 10, 2022 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants