Embed panels with "subqueries" (iframes)

Hello,
I’m quite new to Grafana.
I’m developing a web application and I want to include Grafana panels inside it (using iframes).
I manage to do it, but I want to understand if there is a way to perform subqueries: e.g. in my use case I have a panel with plots for different users, but I want to show only the data related to the logged user. Is it possible?
Thanks

Hi,

You can use URL variable and adapt the dashboard depending on those variable, in your case you can send the user id.

Hope it helps.

Good Luck

I guess I need to use grafana variables, right? I just found out about them.

Exactly they are really useful.

Good Luck

This topic was automatically closed after 365 days. New replies are no longer allowed.