Re: [prometheus-users] Re: How to optimize High cardinality labels in Prometheus

2020-05-19 Thread Stuart Clark
If you are doing large queries which touch a lot of timeseries you will need lots of memory and CPU. Ideally you would minimise such queries, or use pre-aggregated metrics (created with recording rules) to simplify what is being requested. I'd suggest looking at what you are try to achieve. Are

[prometheus-users] Re: How to optimize High cardinality labels in Prometheus

2020-05-19 Thread Dinesh Nithyanandam
Can someone please help here On Tuesday, May 19, 2020 at 2:25:01 AM UTC+5:30, Dinesh N wrote: > > Hi Team, > > I have been using Thanos-Prometheus stack and running into high > cardinality issues where CPU goes till ~80% and then goes down and this > happens when firing high cardinality queries