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

Question about push of data #1512

Closed
joeblew99 opened this Issue Mar 30, 2016 · 5 comments

Comments

Projects
None yet
2 participants
@joeblew99
Copy link

joeblew99 commented Mar 30, 2016

I have some golang code running on ios and android.
As I understand it, there is a way for them to push to a Prometheus gateway thingy, which then allows promethius to pull from the gateway server.

Can anyone confirm this approach.

Once I get it working I can push the code to a git repo if you want for others to see how to do it :)

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Mar 30, 2016

That should be possible, but you may also be the first user trying to do pushes from mobile phones and I suspect that this is not sane unless you're doing something like getting stats from a mobile phone testing lab.

What exactly are you looking to push, and from how many devices?

@joeblew99

This comment has been minimized.

Copy link
Author

joeblew99 commented Mar 30, 2016

1000 of mobiles. It's enterprise network behind a NAT etc. So push out from
mobiles to gateway is easiest too.

The data is a mixture of rollups counted up on the phone and 30 kHz data.
The 30 kHz sampling data is damn high number of time series style of data.

But as I said it's on a fat pipe so its just a matter of maybe using 10
gateway servers and assigning 20% of devices to each gateway server.

On prim, it's going to be fun to see if she keeps up.
I could do the same sharding trick. And do rollups on each prom, and then
have the rollups go to a final prom server.

The above description / architecture I hope is doable. If you see any crazy
stuff would love to know.

Joe

On Wed, 30 Mar 2016, 19:42 Brian Brazil, notifications@github.com wrote:

That should be possible, but you may also be the first user trying to do
pushes from mobile phones and I suspect that this is not sane unless you're
doing something like getting stats from a mobile phone testing lab.

What exactly are you looking to push, and from how many devices?


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#1512 (comment)

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Mar 30, 2016

The 30 kHz sampling data is damn high number of time series style of data.

Prometheus only has 1 kHz time resolution, and the pushgateway will remember only the latest data point. I don't think Prometheus is the type of timeseries database you're looking for, as we're focused on systems monitoring rather than arbitrary timeseries.

@joeblew99

This comment has been minimized.

Copy link
Author

joeblew99 commented Mar 31, 2016

Good to know. I will find a way to get the high frequency data out.

@joeblew99 joeblew99 closed this Mar 31, 2016

@lock

This comment has been minimized.

Copy link

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