I use the Node Exporter Server Metrics dashboard for visualizing server metrics from prometheus.
I'd like to build a table that lists out all nodes that are reporting a certain job and links to the server metrics dashboard for that node.
I've been trying to do a query like: up{job="telemetry-node"}. The problem is that the return of that is simply the value "1", because the node is up, so the table wants to list timeseries data, I can't figure out a query that would return info about the node in a way that I could display it in a table.
I got this working in a hacky way by setting the Legend Format to {{instance}} to list the instance name as Metric in the table, set override relative time to 1s, and used column styling to hide Time and Value. I'd really like to find a better solution.
With either a proper solution or my hackjob above is there a way for me to format the contents of the table to be a link to another dashboard? I see that I can set a Drilldown Link in the General settings but that seems to be for the panel, not individual entries in the table.
Thanks for your help!