[prometheus-users] Monitoring for Kafka Mirror Maker

2024-04-12 Thread Sagar
Hi, Anyone has experience on monitoring apache kafka mirror maker using prometheus I am working on enable health monitoring for mirror maker . thanks -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop

[prometheus-users] Add metrics to back(old) time in Prometheus

2021-11-01 Thread Sagar
Hi , I want to add metrics to older timestamp in Prometheus . I am receiving few metrics on weekly basis in CSV and then I want to add to previous dates . Eg . Alert-triggered, date created , date closed , status Alert123, 10 Oct 2021 10:03 AM, 10 Oct 2021 12:26 PM , closed Thanks -- You

Re: [prometheus-users] Count over period of time

2021-04-19 Thread Sagar
Thank you all, for some reason it was not working , and was showing 0 . but now it is working . Thanks . On Mon, Apr 19, 2021 at 6:18 PM Aliaksandr Valialkin wrote: > Try the following query: > > count(metrics) - count(metrics offset 24h) > > It should return the delta in the number of time

Re: [prometheus-users] metrics scrap time is increasing over the period of time

2021-03-04 Thread Sagar
Thanks Julius, This is an interesting metric , I can see it increased over the period to 15,000 . It seems to be big . I will check if something can be removed . Thanks, On Fri, Mar 5, 2021 at 12:05 AM Julius Volz wrote: > Hi, > > I know nothing about the Kafka exporter itself, but a

Re: [prometheus-users] 2 operator conditions in single query

2021-02-10 Thread Sagar
Hi Ben, Thank you , it worked . Thanks On Tue, Feb 9, 2021 at 3:33 PM Ben Kochie wrote: > mem_used_percent{host="hostname"} >= 70 and > mem_used_percent{host="hostname"} <= 80 > > On Tue, Feb 9, 2021 at 1:56 AM sunils...@gmail.com > wrote: > >> I have to query servers with memory utilization

[prometheus-users] query logging in prometheus v 2.14.0

2020-12-14 Thread Sagar Chopade
v2.14.0? regards, Sagar Chopade -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscr...@googlegroups.com. To view this

Re: [prometheus-users] Re: Prometheus with Eureka Discovery

2020-10-06 Thread Sagar
Thank you for your help on this . I am going to follow the same design , will place cron and let json get download when new endpoint is added . Thanks Sunil Sagar On Sun, Oct 4, 2020 at 3:48 PM Brian Candler wrote: > On Sunday, 4 October 2020 03:25:01 UTC+1, sunil sagar wrote: >>

[prometheus-users] Prometheus with Eureka Discovery

2020-10-03 Thread sunil sagar
Hi All , I am setting up Prometheus in Kubernetes . And I want to load service discovery config from external source over URL . The json file is accessible over URL . I have checked the Prometheus document and it seems this can be achieved using eureka . I have no experience with eureka , how

Re: [prometheus-users] Alert Manager source URL to point to TLS URL of Prometheus

2020-09-14 Thread Sagar
nginx url with the --web.external-url parameter of > Prometheus. > > Le lun. 14 sept. 2020 à 08:03, Sagar a écrit : > >> Hi Wesley, >> Thanks for your quick response on this . >> My AlertManage is running behind Nginx . >> >> But on the Alertmanager page, as s

Re: [prometheus-users] Alert Manager source URL to point to TLS URL of Prometheus

2020-09-14 Thread Sagar
Hi Wesley, Thanks for your quick response on this . My AlertManage is running behind Nginx . But on the Alertmanager page, as shown in below pic, the *source *link is pointing to the direct URL of Prometheus (without nginx). [image: image.png] On Mon, Sep 14, 2020 at 1:50 PM Wesley Peng wrote:

Re: [prometheus-users] Getting Security Policy : frame-ancestors error , please suggest

2020-08-05 Thread sunil sagar
Hi Stuart , Thank you for help on this . One thing I forgot to mention . We have Thanos also in front of Prometheus , will it impact if enable SSL ? Thanks > On 6 Aug 2020, at 1:36 AM, Stuart Clark wrote: > > On 05/08/2020 17:54, sunils...@gmail.com wrote: >> Hi All, >> >> In our

Re: [prometheus-users] Alertmanager: how to split alerts in email notifications

2020-06-05 Thread Sagar
Thank you so much Anya for help. Thanks, Sunil Sagar On Fri, Jun 5, 2020 at 4:25 PM anya...@gmail.com wrote: > Hi, Sunil! > Sure! Catch: > global: > resolve_timeout: 5m > > # The smarthost and SMTP sender used for mail notifications. > smtp_smarthost: 'smtphost:

Re: [prometheus-users] Alertmanager: how to split alerts in email notifications

2020-06-05 Thread Sagar
Hi Anya, Can you share the snippet, I am also facing the same issue . Thanks On Fri, Jun 5, 2020 at 4:02 PM anya...@gmail.com wrote: > Thank you a lot, Christian! > It's a kind of magic, your ['...']. I tried to comment it or stay empty [] > and it doesn't work. But ['...'] works perfectly! >

[prometheus-users] alertmanager mail notification with value in mail

2020-05-07 Thread sunil sagar
Hi I have setup alert-manager , which sends alert notification by mail. This gives all key values which was used to form query , but doesn't display the value in mail . Is it possible to show the value also . For example for CPU alert , below alerts were generated by current utilization is

[prometheus-users] Re: alertmanager mail notification value

2020-05-01 Thread sunil sagar
Hi To Add more , I want expected alert something like : Server : server1 Value : 90 Source Server : server2 Value : 91 Source .. etc Thanks On Friday, May 1, 2020 at 3:15:44 PM UTC+8, sunil sagar wrote: > > Hi > > I have setup alert-manager , which sends alert notifica

[prometheus-users] alertmanager mail notification value

2020-05-01 Thread sunil sagar
Hi I have setup alert-manager , which sends alert notification by mail. This gives all key values which was used to form query , but doesn't display the value in mail . Is it possible to show the value also . For example for CPU alert , below alerts were generated by current utilization is

Re: [prometheus-users] suggest document for alert manager

2020-04-27 Thread Sagar
Hi Christian, Thank you for sharing the links , I will check them out. As you suggested , I will create routes . Regards, Sunil Sagar On Sat, Apr 25, 2020 at 7:10 PM Christian Hoffmann < m...@hoffmann-christian.info> wrote: > Hi, > > On 4/25/20 3:30 AM, sunil sagar wrote: &

[prometheus-users] suggest document for alert manager

2020-04-24 Thread sunil sagar
Hi, I am working on alert-manager , very new to this . I want to write query for if data is not received on certain topic/feed within one hour , it should send mail to a particular group , such kind of alerting mechanism I have to implement . Please suggest any documentation I can follow .

Re: [prometheus-users] AlertManager firing duplicate alerts

2020-04-04 Thread Sagar
Thank you so much for the pointer Christian. It resolved the issue. Thanks Sunil Sagar On Sun, Apr 5, 2020 at 12:58 AM Christian Hoffmann < m...@hoffmann-christian.info> wrote: > On 4/4/20 6:42 PM, Sagar wrote: > > relabel_configs: > > - action: drop > >

Re: [prometheus-users] AlertManager firing duplicate alerts

2020-04-04 Thread Sagar
:04 AM Christian Hoffmann < m...@hoffmann-christian.info> wrote: > Hi Sunil, > > On 4/3/20 6:00 PM, Sagar wrote: > > For more information , there are more global labels (such as > > environment, cluster , etc) apart from replica . > > > > Do I need to remove o

Re: [prometheus-users] AlertManager firing duplicate alerts

2020-04-03 Thread Sagar
Is it possible to query alertmanager alerts like metrics in prometheus ? Like http:/server:9093/mertrics or something else . Thanks, Sunil Sagar On Thu, Mar 26, 2020 at 5:37 AM Christian Hoffmann < m...@hoffmann-christian.info> wrote: > Hi, > > you seem to be using external

Re: [prometheus-users] AlertManager firing duplicate alerts

2020-03-25 Thread sunil sagar
gets: > - alertmanager1:9093 > - alertmanager2:9093 > ----- Thanks > On 25 Mar 2020, at 12:18 PM, sunil sagar wrote: > >  > Hi , > > I have Prometheus environment in HA mod

[prometheus-users] AlertManager firing duplicate alerts

2020-03-24 Thread sunil sagar
Hi , I have Prometheus environment in HA mode . And AlertManager is also in HA mode . I am receiving duplicate alerts . When I start both the prometheus , because of global label with different replica name , getting duplicate alert . Please advise. Prometheus Config: Prometheus Node1:

[prometheus-users] output of promql query as input to other query

2020-02-20 Thread sunil sagar
Hi , With topic name I am able to find the servers associated with that topic . Now I want to query cpu and memory for those server . I have cpu and metrics for those servers . But how to form query . Details : There are 10 servers say server1 .. server10 . Topic is assocated with only