Re: [prometheus-developers] Is there any way to give memory specifications by ourselves in prometheus?

2020-02-20 Thread Stuart Clark
Probably not. Prometheus will write scraped data to the WAL and if that fails it won't be stored anywhere. Equally if a file is only partially written (either a full block or something in the WAL) you may end up losing all the data in that file (Prometheus will check for corruption on startup).

Re: [prometheus-developers] Is there any way to give memory specifications by ourselves in prometheus?

2020-02-20 Thread adi garg
Thanks Stuart. Is it possible to restart the prometheus without data loss from that point? On Thursday, February 20, 2020 at 1:39:03 PM UTC+5:30, Stuart Clark wrote: > > If you are meaning the disk storage, Prometheus would stop working and you > might also encounter some corruption. > > You

Re: [prometheus-developers] Is there any way to give memory specifications by ourselves in prometheus?

2020-02-20 Thread Stuart Clark
If you are meaning the disk storage, Prometheus would stop working and you might also encounter some corruption. You can control disk usage by setting the retention period or by setting the maximum space to remain available. I'd strongly suggest putting the storage on a separate mount and also

Re: [prometheus-developers] Is there any way to give memory specifications by ourselves in prometheus?

2020-02-19 Thread Julius Volz
While an explicit memory limit is not configurable, there are a number of knobs in Prometheus that one can configure that limit resource usage along certain dimensions, for example https://www.robustperception.io/limiting-promql-resource-usage. There's also a setting that prevents a maximum

Re: [prometheus-developers] Is there any way to give memory specifications by ourselves in prometheus?

2020-02-19 Thread Julien Pivotto
On 19 Feb 08:24, adi garg wrote: > So what will happen if prometheus crosses the RAM limit, will it die? Or is > it gonna affect the other processes running on the system? It is the operating system that will chose. Prometheus will probably be terminated by the operating system. > > On

Re: [prometheus-developers] Is there any way to give memory specifications by ourselves in prometheus?

2020-02-19 Thread adi garg
So what will happen if prometheus crosses the RAM limit, will it die? Or is it gonna affect the other processes running on the system? On Wednesday, February 19, 2020 at 9:41:36 PM UTC+5:30, Julien Pivotto wrote: > > On 19 Feb 08:08, adi garg wrote: > > Hello experts, > > > > Is there any

[prometheus-developers] Is there any way to give memory specifications by ourselves in prometheus?

2020-02-19 Thread adi garg
Hello experts, Is there any way to give memory specifications by ourselves in prometheus? -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to