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

JS library for graph building #202

Open
bernerdschaefer opened this Issue Apr 29, 2013 · 10 comments

Comments

Projects
None yet
6 participants
@bernerdschaefer
Copy link
Contributor

bernerdschaefer commented Apr 29, 2013

The goal is to have a JS library which provides an API for building graphs from the prometheus rest endpoints. The idea is that this can be used along with #159 to provide a straightforward way of building custom dashboards. Ideally, it can also be used to power prometheus' own graph pane.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Jul 15, 2014

Now that there's console support, this should be "done" once I commit my JS library for graphing (and just graphing) back upstream.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Dec 10, 2014

@juliusv

This comment has been minimized.

Copy link
Member

juliusv commented Dec 10, 2014

Yes, and my deep apologies for not responding to that change yet - I want
to give this quite some thought. Ok, I really try to get to it sometime
this week (which might include the weekend ;))

On Wed, Dec 10, 2014 at 5:04 PM, brian-brazil notifications@github.com
wrote:

http://review.prometheus.io/#/c/401/ has this.


Reply to this email directly or view it on GitHub
#202 (comment)
.

@bernerdschaefer bernerdschaefer removed their assignment Mar 20, 2015

@thachmai

This comment has been minimized.

Copy link
Contributor

thachmai commented Oct 3, 2015

@brian-brazil @juliusv
Did this graph library idea materialize?

I have some experience in data viz and can potentially contribute if there is a need.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Oct 3, 2015

The graphing library that the console templates use would be a good base (API wise anyway), but it probably needs to be rewritten as frontend dev really isn't my area and it's a little bit buggy. https://github.com/prometheus/prometheus/blob/master/web/blob/static/js/prom_console.js

I was thinking the tricky bit would be bringing promdash in line with whatever we end up using (either factor what it has out, or switch it to the new core graph library) but as it looks like we're hoping to move in the direction of Grafana which means we can skip this.

That's leave the main work then as rewriting the expression browser, such as to support multiple expressions etc.

One wrinkle is that rickshaw which we're using for visualisation currently appears to be a dead project, so we need to switch to something else.

We'd love help with anything around this, as none of us are really frontend developers.

@thachmai

This comment has been minimized.

Copy link
Contributor

thachmai commented Oct 3, 2015

Alright. I'll take a look at the current graph + promdash and the Grafana API to get a general idea. I will get back in touch with you guys in a couple of days with my findings.

@brian-brazil

This comment has been minimized.

Copy link
Member

brian-brazil commented Oct 3, 2015

To be clear, we're only at Grafana as a potential replacement for Promdash. We'd still need a library to allow users embed graphs, including for console templates.

@thachmai

This comment has been minimized.

Copy link
Contributor

thachmai commented Oct 3, 2015

OK. Would it make sense then to see how Grafana implements its graphs and see if there is something we can extract and reuse?

@fabxc

This comment has been minimized.

Copy link
Member

fabxc commented Oct 3, 2015

If they are based on open source libraries (which I assume), it absolutely
makes sense.

We would be very happy to see someone giving our frontends a shot.

On Sat, Oct 3, 2015, 4:22 PM Thach Mai notifications@github.com wrote:

OK. Would it make sense then to see how Grafana implements its graphs and
see if there is something we can extract and reuse?


Reply to this email directly or view it on GitHub
#202 (comment)
.

@jordan-wright

This comment has been minimized.

Copy link

jordan-wright commented Oct 26, 2015

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

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