I have a time series panel with a data link that uses the ${__value.time} variable.
The panel includes a few queries, but only one is formatted to be displayed as clickable dots.
The problem is that the first 30 dots or so (changes every time I check) are indeed pressable and generate a usable URL, but the rest don’t resolve the ${…} variable and keep it as is in the URL.
I tried other variables such as ${__value.numeric}, ${__value.raw} , ${__field.Name}, but they return NaN, ${__value.raw}, and Value respectively.
I don’t know what I’m missing since the Dots are displayed correctly in their appropriate times, so the data is there somewhere.
Any help appreciated
Small update: I added the dynamic image panel where I use the same field (Time) to show pictures thru URL and it works there perfectly.
This makes me think that the problem really is somewhere with the datalinks or the time series panel, or at least in the way it queries or passes the information (otherwise why wouldn’t it resolve?).
Is there a limit to the amount of points that the datalinks have access to? should I maybe change something in my time range?
***BTW this is on grafana v9.0.3
***Possible that this change in 9.1.0 will solve things, will update when I can
OK I discovered that the data links are not actually working at all, and that even if there is a time resolving in the URL it is not the right one… Somehow a single dot can have 2 links, depends on which side it is pressed. That’s why there is a problem with the later dots, since their information was already used (weird).
Can anyone explain to me how the data links take information from the graph / DB query? How come I click on a dot and not get its specific data?
I have the same problem in Grafana v10.4.0 (03f502a94d) in a timeseries panel.
The points in the right half side of the time series panel, do not have times, id est, the variable ${__value.time} does not resolve to any value. The points in the left hand side can have two different behaviors:
when there is just one point, the variable ${__value.time} resolves correctly to its value
but when there are more points, it resolves to the value of some points later. It seems that, if there are N points in the right hand side of the panel whose ${__value.time} does not resolve, the points on the left hand side, resolve to the time of the Nth point after it.
Well, the limit between the left “half” side and the right “half” side is not just in the middle, but a bit to the right from the middle.