Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upJS library for graph building #202
Comments
ghost
assigned
bernerdschaefer
Apr 29, 2013
bernerdschaefer
referenced this issue
Apr 29, 2013
Closed
Support User-Provided Static Asset Serving Directory #159
This comment has been minimized.
This comment has been minimized.
|
Now that there's console support, this should be "done" once I commit my JS library for graphing (and just graphing) back upstream. |
This comment has been minimized.
This comment has been minimized.
|
http://review.prometheus.io/#/c/401/ has this. |
This comment has been minimized.
This comment has been minimized.
|
Yes, and my deep apologies for not responding to that change yet - I want On Wed, Dec 10, 2014 at 5:04 PM, brian-brazil notifications@github.com
|
bernerdschaefer
removed their assignment
Mar 20, 2015
This comment has been minimized.
This comment has been minimized.
|
@brian-brazil @juliusv I have some experience in data viz and can potentially contribute if there is a need. |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
OK. Would it make sense then to see how Grafana implements its graphs and see if there is something we can extract and reuse? |
This comment has been minimized.
This comment has been minimized.
|
If they are based on open source libraries (which I assume), it absolutely 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:
|
This comment has been minimized.
This comment has been minimized.
jordan-wright
commented
Oct 26, 2015
|
It looks like they likely use flot [1] |
bernerdschaefer commentedApr 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.