Re: [prometheus-developers] Alertmanager webhook failing with X509 error

2020-02-20 Thread Simon Pasquier
As stated in the documentation [1], you can define TLS settings under the http_config key of webhook_config. [1] https://prometheus.io/docs/alerting/configuration/#webhook_config On Wed, Feb 19, 2020 at 7:32 PM EnthuDeveloper wrote: > > Hello, > I m trying to code a webhook that can post the

Re: [prometheus-developers] Python prometheus client - metrics duplicated in multiprocessing mode, what to do?

2020-02-20 Thread Nikolay Vasiliev
Thanks for the response. Now that I looked up what exec means, I see what you mean, if fork would be followed by an exec() yes it will initialize the entire process from scratch and hence all the internal state of the prometheus_client. This unfortunately means that the prometheus library and

Re: [prometheus-developers] [VOTE] New governance document

2020-02-20 Thread Bjoern Rabenstein
On 19.02.20 21:43, Richard Hartmann wrote: > > I am hereby calling for a vote on merging > https://github.com/prometheus/docs/pull/1552 at commit > de2266c36d8a2ea1f139f97632808e12b354bb76. YES (As usual, Google Groups will needlessly invalidate the PGP signature. But Richi will get the mail

Re: [prometheus-developers] Prometheus security related questions

2020-02-20 Thread Bjoern Rabenstein
On 19.02.20 01:37, Lucian Iordache wrote: > > We are working on a custom solution based on Prometheus, and we have some > questions from security perspective as following: For canonical answers, you should have a look at https://prometheus.io/docs/operating/security/ . Also note the

Re: [prometheus-developers] Python prometheus client - metrics duplicated in multiprocessing mode, what to do?

2020-02-20 Thread Brian Brazil
On Thu, 20 Feb 2020 at 13:12, Nikolay Vasiliev wrote: > Let me respond inline. > > On Thu, 20 Feb 2020 at 12:19, Brian Brazil < > brian.bra...@robustperception.io> wrote: > >> On Thu, 20 Feb 2020 at 11:05, Nikolay Vasiliev >> wrote: >> >>> Hello, >>> >>> I would like to ask your opinion about a

Re: [prometheus-developers] [VOTE] New governance document

2020-02-20 Thread Ben Kochie
Yes On Wed, Feb 19, 2020 at 9:44 PM Richard Hartmann < richih.mailingl...@gmail.com> wrote: > Dear all, > > I am hereby calling for a vote on merging > https://github.com/prometheus/docs/pull/1552 at commit > de2266c36d8a2ea1f139f97632808e12b354bb76. > > References and discussion can be found in

Re: [prometheus-developers] [VOTE] New governance document

2020-02-20 Thread Julius Volz
Yes On Wed, Feb 19, 2020 at 9:44 PM Richard Hartmann < richih.mailingl...@gmail.com> wrote: > Dear all, > > I am hereby calling for a vote on merging > https://github.com/prometheus/docs/pull/1552 at commit > de2266c36d8a2ea1f139f97632808e12b354bb76. > > References and discussion can be found in

Re: [prometheus-developers] Moving "official" JIRA Alertmanager integration (github.com/free/jiralert) to prometheus-community Organization.

2020-02-20 Thread Bartłomiej Płotka
It was done: https://github.com/prometheus-community/jiralert Will change imports, adjust CI in the following days. *We are also looking for anyone interested to help maintain us jiralert! (: * Thanks All! Kind Regards, Bartek On Tue, 18 Feb 2020 at 15:32, Simon Pasquier wrote: > +1 > > Go

Re: [prometheus-developers] Python prometheus client - metrics duplicated in multiprocessing mode, what to do?

2020-02-20 Thread Brian Brazil
On Thu, 20 Feb 2020 at 11:05, Nikolay Vasiliev wrote: > Hello, > > I would like to ask your opinion about a problem I figured out recently > with how python prometheus client functions in our system. > > *Description of the problem* > > The problem is best described by a test (you can copy-paste

[prometheus-developers] Python prometheus client - metrics duplicated in multiprocessing mode, what to do?

2020-02-20 Thread Nikolay Vasiliev
Hello, I would like to ask your opinion about a problem I figured out recently with how python prometheus client functions in our system. *Description of the problem* The problem is best described by a test (you can copy-paste it into test_multiprocessing.py/TestMultiProcess): def

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] [VOTE] New governance document

2020-02-20 Thread Bartłomiej Płotka
Yes On Thu, 20 Feb 2020 at 10:19, Goutham Veeramachaneni wrote: > YES > > On Thu, Feb 20, 2020 at 9:37 AM Brian Brazil < > brian.bra...@robustperception.io> wrote: > >> Yes >> >> On Wed, 19 Feb 2020 at 20:44, Richard Hartmann < >> richih.mailingl...@gmail.com> wrote: >> >>> Dear all, >>> >>> I

Re: [prometheus-developers] [VOTE] New governance document

2020-02-20 Thread Goutham Veeramachaneni
YES On Thu, Feb 20, 2020 at 9:37 AM Brian Brazil < brian.bra...@robustperception.io> wrote: > Yes > > On Wed, 19 Feb 2020 at 20:44, Richard Hartmann < > richih.mailingl...@gmail.com> wrote: > >> Dear all, >> >> I am hereby calling for a vote on merging >>

Re: [prometheus-developers] [VOTE] New governance document

2020-02-20 Thread Brian Brazil
Yes On Wed, 19 Feb 2020 at 20:44, Richard Hartmann wrote: > Dear all, > > I am hereby calling for a vote on merging > https://github.com/prometheus/docs/pull/1552 at commit > de2266c36d8a2ea1f139f97632808e12b354bb76. > > References and discussion can be found in said PR and in the email >

Re: [prometheus-developers] [VOTE] New governance document

2020-02-20 Thread Frederic Branczyk
Yes On Thu 20. Feb 2020 at 09:32, 'Matthias Rampke' via Prometheus Developers < prometheus-developers@googlegroups.com> wrote: > Yes > > On Thu, 20 Feb 2020, 06:32 Julien Pivotto, wrote: > >> Yes >> >> - Original Message - >> From: Richard Hartmann >> To: Prometheus Developers >>

[prometheus-developers] cpu utilization

2020-02-20 Thread adi garg
Hello experts, Can you please share some insights on what percentage of cpu is taken by prometheus generally. And will it effect the other processes running on the system? Regards, Aditya Garg -- You received this message because you are subscribed to the Google Groups "Prometheus

Re: [prometheus-developers] [VOTE] New governance document

2020-02-20 Thread 'Matthias Rampke' via Prometheus Developers
Yes On Thu, 20 Feb 2020, 06:32 Julien Pivotto, wrote: > Yes > > - Original Message - > From: Richard Hartmann > To: Prometheus Developers > Sent: Wed, 19 Feb 2020 21:43:52 +0100 (CET) > Subject: [prometheus-developers] [VOTE] New governance document > > Dear all, > > I am hereby

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