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

Graphite remote-storage in Prometheus #2083

Closed
zybjcdl opened this Issue Oct 14, 2016 · 6 comments

Comments

Projects
None yet
4 participants
@zybjcdl
Copy link

zybjcdl commented Oct 14, 2016

Hi all:

Our current monitoring system is using collectd+graphite+seyren+pagerduty structure.

Now the service will be changed to delivered in kubernetes. So we want to use prometheus as the monitoring system.

But we still want to use graphite + seyren+ pagerduty system to keep the monitoring system consistent as before.

So I wondered instead of using prometheus + alertmanager

Could we get the data from prometheus ,and put it to graphite? That will be prometheus + graphite + seyren+ pagerduty.

I see from here
https://github.com/prometheus/prometheus/blob/b66ce9c5cd4a0cc624d9d29da9c6733d1236f382/CHANGELOG.md

There is one feature in 2016-01-18:

0.16.2 / 2016-01-18

  • [FEATURE] Add Graphite remote-storage integration

Does that mean we could store prometheus data into graphite?

If so, how could we use this feature?

Please help! Thank you so much!

@dominikschulz

This comment has been minimized.

Copy link
Contributor

dominikschulz commented Oct 16, 2016

Looking at the code I'd say it should be as easy as running Prometheus with these options:
-storage.local.engine=none -storage.remote.graphite-address=graphiteHost:graphitePort.

This will completely disable local prometheus storage. If you still want local storage for e.g. queries you can omit the storage.local.engine option.

@zybjcdl

This comment has been minimized.

Copy link
Author

zybjcdl commented Oct 18, 2016

Thanks dominikschulz. it works.

@zybjcdl

This comment has been minimized.

Copy link
Author

zybjcdl commented Oct 26, 2016

@dominikschulz One more question. Is there any limitation on this option?
I find when the graphite is in the same cluster as prometheus, this option works.
But if the graphite is in another cluster, this option doesn't work.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Oct 26, 2016

There shouldn't be any such limit.

@infa-ddeore

This comment has been minimized.

Copy link

infa-ddeore commented Aug 17, 2018

-storage.local.engine=none is removed in 2.x versions, seems there is no alternate option in 2.x

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 22, 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 22, 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.