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

2020-02-21 Thread Callum Styan
Yes On Fri, Feb 21, 2020 at 6:11 AM Chris Marchbanks wrote: > Yes > > On Wed, Feb 19, 2020 at 1: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 >> de2266c36d8a

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

2020-02-21 Thread Chris Marchbanks
Yes On Wed, Feb 19, 2020 at 1: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] Multithreading in prometheus

2020-02-21 Thread Ben Kochie
Yes, Prometheus is written in Go, and uses the goroutines feature for scraping targets. Each target scraper is a goroutine. https://golangbot.com/goroutines/ On Fri, Feb 21, 2020 at 10:34 AM adi garg wrote: > Hello experts, Aditya this side. I am a student, and have just started > exploring pro

[prometheus-developers] Multithreading in prometheus

2020-02-21 Thread adi garg
Hello experts, Aditya this side. I am a student, and have just started exploring prometheus. So please bear with me, if my doubts seems obvious to you. Did prometheus use multithreading to scrape targets? -- You received this message because you are subscribed to the Google Groups "Prometheus

Re: [prometheus-developers] cpu utilization

2020-02-21 Thread Ben Kochie
No, there is no flag to control CPU use. This is generally done by using cgroups/containers or other process management. But be aware that if you restrict CPU use, Prometheus will fail to operate correctly. You can use CPU profiling to find out what is using CPU time. https://flaviocopes.com/gola

Re: [prometheus-developers] cpu utilization

2020-02-21 Thread Stuart Clark
If you want to reduce cpu usage you can decrease the number of targets to scrape or make the scrape interval longer. Equally if the cpu is being used for queries look at recording rules and other data users. It might help if you explain the problems you are seeing and what you are hoping to ach

Re: [prometheus-developers] cpu utilization

2020-02-21 Thread adi garg
Hey Ben, thanks for replying. Is there any flag in prometheus to control this CPU usage or we have to depend on node-exporter metrics only. Can you give some areas we should look into once CPU starts taking too much time for prometheus work. Like what could be the possible reasons for sudden in

Re: [prometheus-developers] Prometheus security related questions

2020-02-21 Thread Ben Kochie
On Wed, Feb 19, 2020 at 10:37 AM Lucian Iordache wrote: > Hi, > > My name is Lucian and I am SRE Observability Engineer at Mambu GmbH. > > We are working on a custom solution based on Prometheus, and we have some > questions from security perspective as following: > > 1. How is the Prometheus des

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

2020-02-21 Thread Nikolay Vasiliev
Thanks! I see :( We'll try to get by with some hack then. On Thu, 20 Feb 2020 at 18:15, Brian Brazil wrote: > On Thu, 20 Feb 2020 at 14:39, Nikolay Vasiliev > wrote: > >> Thanks for the response. >> >> Now that I looked up what exec means, I see what you mean, if fork would >> be followed by an

Re: [prometheus-developers] cpu utilization

2020-02-21 Thread Ben Kochie
Prometheus is meant to be run once to monitor many services on many nodes. In a typical non-containerized environment, people generally dedicate a node to it. As Stuart says, it depends on your rate of ingestion. It also depends on the query and rule load. But typically you should be able handle 2