Link from singlestat panel value

Hi everyone,

Is there a way to make the displayed singlestat value a link, with URL pulled from the data source as well?

I’m (ab)using Grafana to build a quick prototype for displaying CI results for the Linux Kernel, aggregated from multiple companies. I could use the above ability to add links to log files and to other dashboards and pages.

For example, I’d like to make a link out of the log URL on a build info dashboard.

If there’s no way with this panel, what else could I use? Or maybe such feature could be added to this panel? I spent three hours trying to hack that feature in, but no luck so far.

Thank you!

Since I got no reply and couldn’t find a solution, a colleague of mine has created a panel plugin doing just what we need: outputting a single field with a link from another field: https://gitlab.com/cki-project/grafana-singlevalue-panel

After migrating to the latest Grafana we couldn’t port our panel, and resorted to using the Table panel to create links, and it works reasonably well. E.g. see the links at the top of the dashboard: Grafana