Removing tags in Prometheus

I study our company with the help of Prometheus in order to collect statistics from our experiments that work in Kubernet. There it is planned to use shortcuts to indicate the name of specific experiments in our cloud / cluster. This means that we will generate many shortcuts that will accumulate memory over time. When the corresponding time series expired, will the labels also be deleted?

+4
source share
1 answer

tldr;In terms of operations, Prometheus does not distinguish between timestamp names and labels; By deleting the experiment data, you can effectively restore the labels you created.

What follows is only Prometheus> = 2.0

Prometheus , . , my_metric{my_tag="a"}, my_metric{my_tag="b"} your_metric{} - ; .

, Prometheus 2- . , , , . . !

+1

Source: https://habr.com/ru/post/1688269/


All Articles