Re: [prometheus-users] Reg: Prometheus aborting continuously

2021-02-17 Thread RAJESH DASARI
Hi Stuart, Thanks for pointing this out. We had a system wide ulimit setting and for prometheus we had set the memory limit as 1.5G with LimitAS=1.5G in the prometheus systemd service file. Earlier versions i.e 1.16.0 was used to consume only 1G at any given time so we had set it as 1.5G as max l

[prometheus-users] Textfile Collector write_to_textfile function overwriting metric with same name but different labels

2021-02-17 Thread Daniel Lacher
Greetings Prometheus users, I have a function that is called a few times *within a loop*, and my idea was that the function would populate the .prom file by adding a new line every time, with the same metric name but with a different label. For example: sv_api_response{method="getUserByID"} 1

[prometheus-users] Re: Python Client library: Metric with same name but different label

2021-02-17 Thread Daniel Lacher
Hi Vishnu, Did you have any luck in fixing this issue? Any solution? I'm having a similar problem and still couldn't find an answer. Regards, Daniel On Tuesday, April 28, 2020 at 3:05:11 PM UTC-4 vishnu...@gmail.com wrote: > I am writing a node_exporter text_file export using python client librar

Re: [prometheus-users] limit on time series per metric

2021-02-17 Thread Johny
Thanks. On Wednesday, February 17, 2021 at 4:00:59 PM UTC-5 Stuart Clark wrote: > On 17/02/2021 20:20, Johny wrote: > > Thanks. THis is helpful. > > > > From performance standpoint, is there a difference in having a 1 > > metric with 100x cardinality vs 10 metrics with 10x cardinality? > > To s

Re: [prometheus-users] limit on time series per metric

2021-02-17 Thread Stuart Clark
On 17/02/2021 20:20, Johny wrote: Thanks. THis is helpful. From performance standpoint, is there a difference in having a 1 metric with 100x cardinality vs 10 metrics with 10x cardinality? To some degree that depends how you run queries. In general you'd probably expect to have queries which

Re: [prometheus-users] limit on time series per metric

2021-02-17 Thread Johny
Thanks. THis is helpful. >From performance standpoint, is there a difference in having a 1 metric with 100x cardinality vs 10 metrics with 10x cardinality? On Wednesday, February 17, 2021 at 2:18:06 PM UTC-5 Stuart Clark wrote: > On 17/02/2021 18:48, Johny wrote: > > Is there a limit on the nu

Re: [prometheus-users] limit on time series per metric

2021-02-17 Thread Stuart Clark
On 17/02/2021 18:48, Johny wrote: Is there a limit on the number of time series per metric (cardinality)? My metric has cardinality of 100,000 with a tag for each process in my infrastructure. I was wondering if this causes performance or other issues. I couldn't find official guidance on this

[prometheus-users] limit on time series per metric

2021-02-17 Thread Johny
Is there a limit on the number of time series per metric (cardinality)? My metric has cardinality of 100,000 with a tag for each process in my infrastructure. I was wondering if this causes performance or other issues. I couldn't find official guidance on this. -- You received this message bec