Closed bfmatei closed 7 months ago
Looks good, but given that both DataSourceGetTagKeysOptions
and DataSourceGetTagValuesOptions
accept time range as an option, can we provide the time range to the getTagKeys
calls in group by variable and getTagValues
in the ad hoc filter?
@ashharrison90 @dprokop - getTagValues
already had the time range passed in AdHocFiltersVariable
. I added it to getTagKeys
in GroupByVariable
as well.
The only question is: are we calling getTagValues
in GroupByVariable
? I can't find any reference to it.
@bfmatei ah perfect, didn't even notice the timeRange
being passed in adhoc filters getTagValues
🥳
and no, i don't think we ever call getTagValues
in group by. i'll update my comment now 👍
:rocket: PR was released in v4.1.2
:rocket:
Time range is not passed to
getTagKeys
calls currently but we actually need it to be passed.📦 Published PR as canary version:
4.1.1--canary.665.8521264218.0
:sparkles: Test out this PR locally via: ```bash npm install @grafana/scenes@4.1.1--canary.665.8521264218.0 # or yarn add @grafana/scenes@4.1.1--canary.665.8521264218.0 ```