High cardinality labels may be monitored at /api/v1/status/tsdb page. See
https://prometheus.io/docs/prometheus/latest/querying/api/#tsdb-stats for
details. Note that this page became available starting from Prometheus
v2.14 .

Take a look also at https://github.com/open-fresh/bomb-squad project, which
detects high cardinality labels and automatically adds relabeling rules in
order to reduce the cardinality.

On Thu, Jun 4, 2020 at 11:16 PM Dinesh N <[email protected]>
wrote:

> Thanks Murali for the quick response
>
> But how do we analyse it and can we below options
>
> 1) metrics_relabel_configs
> 2) recording rules
>
>
> On Fri, 5 Jun, 2020, 12:38 am Murali Krishna Kanagala, <
> [email protected]> wrote:
>
>> This should be taken care by the exporter you are collecting metrics
>> from. If you are writing your own exporter then make validate what labels
>> stay unique all the time. For ex. If you are collecting ngnix request
>> metrics then passing request uuid as a label makes the metrics highly
>> cardinal.
>>
>> On Thu, Jun 4, 2020, 2:01 PM Dinesh N <[email protected]>
>> wrote:
>>
>>> Hi Team,
>>>
>>> Figuring out ways to optimise high cardinality labels, any suggestions
>>> are welcomed here.
>>>
>>> Regards
>>> Dinesh
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Prometheus Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/prometheus-users/CAA6KEskjY1TpjVddTSAAx8AL3aH7Zc7yyNcg0McpOBOfrrow0g%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/prometheus-users/CAA6KEskjY1TpjVddTSAAx8AL3aH7Zc7yyNcg0McpOBOfrrow0g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/CAA6KEs%3D4Zf29aOdMTXG_0JExSkXKaow3JG6aZSh-X2xb1PSHgA%40mail.gmail.com
> <https://groups.google.com/d/msgid/prometheus-users/CAA6KEs%3D4Zf29aOdMTXG_0JExSkXKaow3JG6aZSh-X2xb1PSHgA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Best Regards,

Aliaksandr Valialkin, CTO VictoriaMetrics

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CAPbKnmAH0eXLgi0%2BqtBOSmVSXB7OOYe0pdhp%2BpPf_uZ%2BvSMCnw%40mail.gmail.com.

Reply via email to