Hello! One quick question because Google doesn’t help (probably due to my poor phrasing): I have a dashboard in Grafana with a repeatable panel that shows network traffic per switch based on a variable ($switch). This works fine but now I’m trying to add Loki logs as annotations on the same dashboard. For the love of whichever god, I cannot find the proper way to do this!
Now, if I hardcode a specific switch, this works fine. What I cannot make happen is somehow pass the Grafana variable in the LogQL query. Is there any way to do that?
Hmm, I don’t have telegraf in my stack but I have Loki as a direct data source instead. Unfortunately, if I’m not missing something, it seems that I cannot pass Grafana vars as ${variable}.