Show tag value contains dated tag key
I have a measurement which have so many tag key that grafana cannot query all tag key data, so I create a 2d's retention policy. However, when I set the policy default, I found the data be cleard quickly, but the tag key index kept old.I use
SHOW TAG VALUES FROM some_measurement WITH KEY=tag1
It will show all tag key including 2d before, even if the data is gone. And I use
SHOW TAG VALUES FROM some_measurement WITH KEY=tag1 where time > now() - 1d
It doesn't work, and all dated tag show again. I guess may be "show tag value" not support time range , but when I use
SHOW TAG VALUES FROM some_measurement WITH KEY=tag1 where time > now() + 1d
I get nothing. It proves that time range take effects. So why time range not work well?And there is a more interesting thing when I use
SHOW TAG VALUES FROM some_measurement WITH KEY=tag1 where tag1 =~ /^/
I add an empty filter, but it works. It doesn't show the tag key before 2d. It really weird.This is my environment
Look forward to your reply
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please reopen if this issue is still important to you. Thank you for your contributions.