Hello everyone, i’m new here and to Grafana as well, hope i’m doing everything alright
I’m using the latest docker image for Grafana.
I’m trying to embed a panel (not whole dashboard) and to be able to change it’s time interval (last 6h, last 7d… but also from x timedate to y where that interval can’t be longer than 30 days).
Embedding a panel is pretty straightforward, but how can i control the time interval externally from my website? I wish to make my own datetime picker and it’s selection should reflect on the panel.
You can specify to
and from
variables in your panel URL from time picker in your web application. Final link would be something like this:
https://127.0.0.1:3000/d-solo/abc12345-abcd-1234/total-generation?orgId=1&from=1722598944634&to=1722620544634&panelId=2
Thanks for the tip, i’ll notify you if we got it working xd