-
Notifications
You must be signed in to change notification settings - Fork 40
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
Frontend generated node charts with graphite as backend #22
base: dev
Are you sure you want to change the base?
Conversation
I love the feature in general and haven't looked too deep into the code right now. But one thing already strikes me: The data lines that can be drawn appear to be hardcoded (in charts.js lines 34–50), which really should not be the case. It is the community's decision which data they want to collect and plot. This could mean that they do not collect some data you want to plot there, or they collect other data and want that to be plotted. |
I totally agree and it was configurable before, when the config file was a javascript file where I was able to deal with format-callbacks depending on the defined zoom levels and metrics. |
Let the user configure the metrics in config.json
Metrics are now configured based on config.json |
What's the "id_to_mac" quirk for? |
Sorry, this was just a workaround for our graphite setup that I forgot to remove. |
What would be used for future use? - would it be merge in nearer future. |
I think what is missing here is documentation on how to setup the backend for this. Then I could test this. I've also seen Prometheus being used for gluon-collector. We should probably settle on one solution and document how both the backend and the frontend needs to be configured for this to work. |
I did some work on the backend setup a couple of months ago (https://github.com/ffnord/ffmap-backend/tree/dev#graphite-support). We use influxdb as datasource for grafana (Examples: http://ffac-monit.skydisc.net:3000/dashboard/db/overall), but I can't say what's the best backend for our case. |
@mruettgers so you will make influxdb compatible on your own or make this to a merge able version? |
Demo:
http://map.freifunk-aachen.de/dev/