Thanos: too many compact_{thanos_compactor_pod_name}_runtime_* metrics

Created on 27 Feb 2019  路  3Comments  路  Source: thanos-io/thanos

Hello
We have one thanos-query and many different clusters behind it. In That clusters we have thanos-stores and thanos-compactors in a pods. Sometimes pods are being recreated with new names. Also we get metrics from these pods. After few month thanos-query has too many metrics with names as compact_{thanos_compactor_pod_name}_runtime_.* and if I try to search any metrics then query works very slowly.
image
How to delete it?
When I trying to get one of these metric in 1y, query return "No datapoints found."

bug

Most helpful comment

Hi, what version of thanos do you use?
IIRC those unique metrics were removed in the newer version of thanos.

About removing them.. this is unfortunately not possible right now.
For more info about deleting metrics see for example this issue https://github.com/improbable-eng/thanos/issues/415

All 3 comments

Hmm. Weird, let us look this place through.

Hi, what version of thanos do you use?
IIRC those unique metrics were removed in the newer version of thanos.

About removing them.. this is unfortunately not possible right now.
For more info about deleting metrics see for example this issue https://github.com/improbable-eng/thanos/issues/415

removing old bucket with metrics resolve it

Was this page helpful?
0 / 5 - 0 ratings