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

Run Alertmanager with -target=all (monolithic mode) #2773

Open
pracucci opened this issue Aug 19, 2022 · 4 comments
Open

Run Alertmanager with -target=all (monolithic mode) #2773

pracucci opened this issue Aug 19, 2022 · 4 comments

Comments

@pracucci
Copy link
Collaborator

Alertmanager is the only Mimir component (among the ones used in a standard setup) that isn't started in monolithic mode (-target=all.

Question: what if we start Alertmanager with -target=all?

@pracucci
Copy link
Collaborator Author

pracucci commented Aug 19, 2022

I'm currently working on the experimental read-write deployment mode (#2749) and want to start Alertmanager by default. Adding Alertmanager to monolithic mode too will make it consistent.

@jedd
Copy link

jedd commented Aug 19, 2022

Actually, that's not quite true : )

/ # /bin/mimir -modules
alertmanager
all
compactor *
distributor *
flusher
ingester *
overrides-exporter
purger *
querier *
query-frontend *
query-scheduler
ruler *
store-gateway *

Modules marked with * are included in target All.

Would it be worth qualifying that for new adopters at: https://grafana.com/docs/mimir/latest/operators-guide/architecture/components/alertmanager/

@pracucci
Copy link
Collaborator Author

Yeah, I consider overrides-exporter a really optional one. About query-scheduler we currently can't include it in monolithic mode (we need to guarantee only 2 replicas of it running, not more than that). We'll do some work around it for the read-write deployment, so after that we may consider to add it to monolithic mode.

Following this reasoning, alertmanager is the only one left.

@wilfriedroset
Copy link
Collaborator

If users run a single monolithic mimir (meaning a single alertmanager) they will face the bug explained in #2910.
Starting from two instances, until the bug is fixed, they should be ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants