Hi, I’m considering using Grafana to display production data for a mining application. The dashboard will have many quite small charts showing production rates for various machines.
I’d like to be able automatically “sort” the individual charts so that the ones with the lowest production rates appear at the top and will get the attention of the supervisor.
Would this be possible in Grafana?
Should be. What is your data source
I havent really gotten that far yet, I’m just investigating if Grafana can do what I need before I get too invested in it. The data will be generated by a custom app that will provide streaming data, from what little i have read my streaming data goes into prometheus db and Grafana gets it from there.
Is there some doco on Grafana that would describe how I would go about auto-rearranging my charts?
just for more info, the charts will have production data for short time periods, say 10 minutes each, but I guess it would need some sort of aggregate value for each chart to base the sorting on? Or can I send a command or something via the API to control the sort?
using Dynamic Text you can do a lot of cool stuff
Thanks for that, I’ll take a look.
@mikhailvolkov can one use Dynamic text to create different types of charts by looping through the data set: one geomap, one bar chart, one time series etc?
There are multiple options to build dynamic dashboards:
- Grafana Scenes in Grafana 10. It’s not drag-and-drop like regular Dashboards, but allows to build dynamic dashboards: Grafana Scenes | Grafana Scenes.
- Provision using files or API dashboards created using dashboard-as-a-code (jsonnet/scripts) with a sort you need.
I would consider building a dashboard with Time Series to display data from multiple machine to give overview and use Alerting instead of displaying many charts. If supervisor see any issues or receive alert then he can go to the detailed dashboard for the specific machine.
That sounds like a good option as well. The main design criteria is for the supervisors to be able to make decisions “at a glance” so the dashboard design will have a main view and more detailed view for issues or alerts as you say.