Hello,
I’m using grafana along with Prometheus and Telegraf to visualize a bunch of data coming from IoT sensors. One of the requirements I have is to show dates on the data visualization panels and date-pickers in formats other than Gregorian.
I’ve read the documentation on creating plugins but I’m confused as to how I should go about it. I would prefer to do it on the backend only if at all possible and also do it for all the available visualizations and all date-pickers. I was wondering if this is possible?
Hi @smnhamidi we don’t offer any type of integration so calendar or time pickers can be customized.
Additionally all of grafana on its core, backend and UI is built around the gregorian calendar and you won’t be able to change it via plugins.
Your only options is doing something similar to a user script or modifying the grafana source code to work the way you need it.
1 Like
Hello,
Thanks for the help. I gave up on the plugin and forked the grafana repository and now I’m working on the source code. I was wondering if you can further help me by pointing me to a documentation on how I can run grafana server with a debugger attached. Should I attach the debugger to the server.go module?
Hi @smnhamidi all our documentation on working on Grafana is here Contribute to Grafana | Grafana documentation
1 Like
I just wanted to add a little follow up here for people who might want to achieve something similar. I ended up forking grafana source code and adding the features to the backend. It’s not done yet, but as the first answer explained this is the right way to do it.