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

Load balance / run multiple instances? #522

Closed
sammcj opened this Issue Feb 11, 2015 · 6 comments

Comments

Projects
None yet
3 participants
@sammcj
Copy link
Contributor

sammcj commented Feb 11, 2015

Since the DB can't handle two connections at once - how can you run multiple instances of the application with access to the same data (for reliability / failover)?

@brian-brazil

This comment has been minimized.

@sammcj

This comment has been minimized.

Copy link
Contributor Author

sammcj commented Feb 11, 2015

Oh wow that simple! I didn't realise! Sorry for wasting your time.

@sammcj sammcj closed this Feb 11, 2015

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Feb 11, 2015

No problem, happy to help.

@hermII

This comment has been minimized.

Copy link

hermII commented Mar 1, 2017

I'm running multiple instances of the snmp_exporter and I want to configure prometheus.yml to allow prometheus to run and recognize both instances of snmp_exporters running on different ports. Can you give me a sample prometheus.yml file that would work in this scenario...the config that I'm using causes prometheus to crash upon start up with this message: ERRO[0000] Error loading config: couldn't load configuration (-config.file=Prometheus.yml): yaml: line 46 did not find expected key source=main.go:149

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Mar 1, 2017

Please don't comment on old closed issues, this question is better suited to https://groups.google.com/forum/#!aboutgroup/prometheus-users

simonpasquier pushed a commit to simonpasquier/prometheus that referenced this issue Oct 12, 2017

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.