influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

Show tag value contains dated tag key

Open ybtuteng opened this issue 7 years ago • 2 comments

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 image Look forward to your reply

ybtuteng avatar May 23 '19 05:05 ybtuteng

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.

stale[bot] avatar Aug 21 '19 06:08 stale[bot]

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.

stale[bot] avatar Aug 28 '19 07:08 stale[bot]