Unique links for different cells in status history panel

  • What Grafana version and what operating system are you using?

Grafana v10.1.5, hosted locally on linux machine.

  • What are you trying to achieve?

I’m showing results of test runs in status history. What I’d like have is that result cell would have specific link to more specific result kept outside Grafana.

  • How are you trying to achieve it?

I was trying to add overrides with data link but so far I didn’t come with anything close to desired solution as they don’t work per cell.

  • Can you copy/paste the configuration(s) that you are having problems with?

Query to get data is given as follow:

SELECT
    DATE(start_time) AS test_date,
    MAX(CASE WHEN testcase_name = 'test_case_0' THEN result END) AS test_case_0,
    MAX(CASE WHEN testcase_name = 'test_case_1' THEN result END) AS test_case_1,
    MAX(CASE WHEN testcase_name = 'test_case_2' THEN result END) AS test_case_2,
    MAX(CASE WHEN testcase_name = 'test_case_3' THEN result END) AS test_case_3
FROM test_results
WHERE classname = 'tests.testsite.TestGroup1'
GROUP BY test_date
ORDER BY test_date;

In the same table I have a column called artifacts that holds URLs that I’d like to be taken to after clicking on the result cell.

At the moment my panel looks like this: