grafana / grafana-polystat-panel

D3-Based hexagon layout multi-stat panel
Apache License 2.0
94 stars 28 forks source link

Passing label values to clichthrough variable #192

Closed heover1cks closed 1 year ago

heover1cks commented 3 years ago

Hello,

First of all, thank you for the great plugin. I am using it as system status dashboard, but I don't know how to pass label values to clichthrough.

For example, https://GRAFANA_URL/dashboard?var-project=${__cell_name}&var-owner=${__label_value.owner}&var-env=${__label_value.env} like this.

Thanks a lot!

a-mazed commented 3 years ago

Try to use Templating - https://github.com/grafana/grafana-polystat-panel#templating

jeremyschulman commented 2 years ago

I am also looking for the same, and the existing templating of "cell" I do not believe works for want I would like. If I have a series of data that has fields "host" and "interface", then I would like to use ${field.labels.host} and ${__field.labels.interface} in the clickThru so that I can pass each of these variables to another dashboard that accepts these values as separate variables.

For example "/d/dashboar-chlickthru?var-device=${field.labels.host}&var-interface=${field.lables.interface}"

Is this possible?

Thank you!