fetzerch / grafana-sunandmoon-datasource

SunAndMoon is a datasource plugin for Grafana that calculates the position of Sun and Moon as well as the Moon illumination. ☀️🌙🧛‍♂️
MIT License
41 stars 8 forks source link

Overriding the datasource location #35

Closed rfc1036 closed 3 years ago

rfc1036 commented 3 years ago

Feature request: I use this great plugin to enhance the HVAC graphs of our data centers, but since they are located at very different latitudes I need to be able to override the global datasource location at least per dashboard (even better: per panel).

fetzerch commented 3 years ago

That's on my list for long time.

Would this work for you:

grafik

rfc1036 commented 3 years ago

I was wondering if it could be possible to use the new generic override mechanism but sure, this would work fine.

fetzerch commented 3 years ago

I do know that it's possible to use this for aliases, but i haven't seen anything for dashboard options. What's still missing in my prototype is that variables can't be entered. I suppose that's useful as well.