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

suggested feature: mobile client #2251

Closed
joeblew99 opened this Issue Dec 5, 2016 · 8 comments

Comments

Projects
None yet
3 participants
@joeblew99
Copy link

joeblew99 commented Dec 5, 2016

I am needing to be metrics (and logging) from Mobiles into Prom.
SO, i am raising it here to get feedback. to i am not repeating others work.

Here is a good example, that logs to a third party system
https://github.com/logpacker/mobile-sdk

  1. Is there already something in PROM to do this ?

  2. Is anyone interested in this, and would you be open to a PR ?
    It will be written in golang and use the existing Prom API, and so will be easy to support due to compile time checks.

  3. Are there any gotcha's anyone can see with doing this ?

@joeblew99 joeblew99 changed the title suggested feature: mobile logging suggested feature: mobile client Dec 5, 2016

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Dec 5, 2016

Prometheus is a metrics system, it sounds like you're looking for an event logging solution so Prometheus isn't appropriate here.

@joeblew99

This comment has been minimized.

Copy link
Author

joeblew99 commented Dec 5, 2016

I want to send the metrics back to Prom.

Logging i know is something else.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Dec 5, 2016

Sending metrics to Prometheus from mobile clients is more an event logging use case than it is a metrics use case due to the number of clients and their likely lifetime.

@joeblew99

This comment has been minimized.

Copy link
Author

joeblew99 commented Dec 5, 2016

so then ?
I plan in storage on the client if that helps ?
Prom is a push based system if i recall and so with storage it can push up to server.
Helps ?

Right now, the main thing is if you want a PR for this ? I have done a fair bit of gomobile.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Dec 5, 2016

Prometheus is pull based, and we don't accept changes that change that. I don't think Prometheus is what you're looking for.

@joeblew99

This comment has been minimized.

Copy link
Author

joeblew99 commented Dec 5, 2016

i am sure that PROM is what we want to us, because its nicely integrated with GRPC and GRPC-gateway and GOA v2. We use all these in many mobile, server and clients.

All we want is to take a stab at Prom agent on mobile basically.

Pull is no problem. It just requires a IOT style gateway relay pattern. Already have that stuff i can plug in.

@grobie

This comment has been minimized.

Copy link
Member

grobie commented Mar 5, 2017

This has been discussed a few discussions on the developers mailing list: for example https://groups.google.com/d/msg/prometheus-developers/_svg4sn5w4c/CXDCjEVfDAAJ. The mailing list is the best place to discuss such developments.

@grobie grobie closed this Mar 5, 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.