Re: [prometheus-users] Cloudwatch exporter scraping from multiple aws accounts

2020-06-20 Thread rs vas
thanks Brian for the quick response. Is there any possibility we can enhance to support multi account and region scraping? Or any other options/libraries provide that functionality. Appreciate any pointers or suggestions on the same! On Sat, Jun 20, 2020, 2:16 AM Brian Brazil wrote: > On Sat, 2

[prometheus-users] Re: Windows Metrics Sends same output for All the servers

2020-06-20 Thread Freddy Mack
Hello Brian, Really Appreciate your help. The Variable settings makes the Trick - Now I am good with seeing the Metrics for their respective Servers. But on Variable setting if I make the query Query: label_values(windows_cpu_time_total, instance) Does this good for all other Metrics like , Serve

[prometheus-users] Re: Windows Metrics Sends same output for All the servers

2020-06-20 Thread Freddy Mack
Hello Brian, Really really Appreciate your help. The Variable settings makes the Trick - Now I am good with seeing the Metrics for their respective Servers. Can I get the syntax for these Metrics for windows to go in alert.rules file and in Grafana: ยง

Re: [prometheus-users] Prometheus 2.18 incompatibility with 2.04

2020-06-20 Thread Julien Pivotto
On 20 Jun 19:28, Julius Volz wrote: > Given that https://github.com/prometheus/prometheus/pull/7005 introduced > the bug on March 24, but 2.17.x was branched off of master on March 12, I > think 2.17.x should be free of this bug. As 2.17 release shepherd, I confirm. 2.17 does not have the bug. >

Re: [prometheus-users] Prometheus 2.18 incompatibility with 2.04

2020-06-20 Thread Julius Volz
Given that https://github.com/prometheus/prometheus/pull/7005 introduced the bug on March 24, but 2.17.x was branched off of master on March 12, I think 2.17.x should be free of this bug. On Sat, Jun 20, 2020 at 7:00 PM Johny wrote: > I am actually using version 2.17.2 now. Appreciate if you cou

Re: [prometheus-users] Prometheus 2.18 incompatibility with 2.04

2020-06-20 Thread Johny
I am actually using version 2.17.2 now. Appreciate if you could inform me of any such issues in this version. On Saturday, June 20, 2020 at 12:08:44 PM UTC-4, Johny wrote: > > Thanks everyone. Upgrading to Prometheus 2.18.2 fixes the issue. > > > On Saturday, June 20, 2020 at 11:42:37 AM UTC-4,

[prometheus-users] Re: getting certificate issue while connecting to k8s server

2020-06-20 Thread Kirti Ranjan Parida
Did anyone got resolution to this ? Even I am also facing the same problem On Wednesday, 3 October 2018 12:30:27 UTC+5:30, mattia...@eyeonid.com wrote: > > Did you find a solution to this? > > On Tuesday, 10 April 2018 10:09:26 UTC+2, an...@a10networks.com wrote: >> >> I am setting up k8s monitor

Re: [prometheus-users] Prometheus 2.18 incompatibility with 2.04

2020-06-20 Thread Johny
Thanks everyone. Upgrading to Prometheus 2.18.2 fixes the issue. On Saturday, June 20, 2020 at 11:42:37 AM UTC-4, Christian Hoffmann wrote: > > On 6/20/20 5:31 PM, Johny wrote: > > If it is non-compliant endpoint, the problem should appear in both > > versions, isn't it? It is effecting more th

[prometheus-users] custom collector with client_python successive collections

2020-06-20 Thread Cory Robinson
Hi, When implementing a simple custom collector with the python client, refreshing the browser will generate 2 successive collections. This tends to cause "duplicate" unneeded successive, say, REST API calls for example, when collecting metrics from REST API endpoints real-world scenarios. Ho

Re: [prometheus-users] Prometheus 2.18 incompatibility with 2.04

2020-06-20 Thread Christian Hoffmann
On 6/20/20 5:31 PM, Johny wrote: > If it is non-compliant endpoint, the problem should appear in both > versions, isn't it? It is effecting more than one series. The set up is > in corporate org so I cannot expose end points publicly. Maybe you can build a small reproducer: Grab your metrics via cu

Re: [prometheus-users] Prometheus 2.18 incompatibility with 2.04

2020-06-20 Thread Julien Pivotto
On 20 Jun 08:31, Johny wrote: > If it is non-compliant endpoint, the problem should appear in both > versions, isn't it? It is effecting more than one series. The set up is in > corporate org so I cannot expose end points publicly. > > I have an prometheus front end instance that remote reads f

Re: [prometheus-users] Prometheus 2.18 incompatibility with 2.04

2020-06-20 Thread Johny
If it is non-compliant endpoint, the problem should appear in both versions, isn't it? It is effecting more than one series. The set up is in corporate org so I cannot expose end points publicly. I have an prometheus front end instance that remote reads from multiple prometheus backends. the t

[prometheus-users] Re: Prometheus 2.18 incompatibility with 2.04

2020-06-20 Thread Johny
new version is 2.18.1 On Saturday, June 20, 2020 at 4:48:35 AM UTC-4, Brian Candler wrote: > > Which exact version? Have you tried 2.18.2? There were some bugs fixed > between 2.18.0 and 2.18.2. > -- You received this message because you are subscribed to the Google Groups "Prometheus Users"

Re: [prometheus-users] consul_exporter - network connections

2020-06-20 Thread Ben Kochie
I honestly have no idea how Consul works internally. On Wed, Jun 17, 2020 at 11:48 PM Dennis Kelly wrote: > I have not yet, that was next on my list. I was more so curious why > consul_exporter would need so many connections to the same three servers > for only 1,000 services (i.e. why not rerus

Re: [prometheus-users] Cassandra,kafka,hadoop and SQL service up/down monitoring using prometheus and grafana

2020-06-20 Thread Stuart Clark
On 2020-06-20 10:20, Pooja Chauhan wrote: Hi , I want to monitor cassandra,kafka, sql ect services running in the instance when these are down. Process exporter is not giving me these process infos as they are java based.I tired JMX exporter but that requires some authentication from microservice

[prometheus-users] Cassandra,kafka,hadoop and SQL service up/down monitoring using prometheus and grafana

2020-06-20 Thread Pooja Chauhan
Hi , I want to monitor cassandra,kafka, sql ect services running in the instance when these are down. Process exporter is not giving me these process infos as they are java based.I tired JMX exporter but that requires some authentication from microservice which is not as per the security norms

Re: [prometheus-users] Cloudwatch exporter scraping from multiple aws accounts

2020-06-20 Thread Brian Brazil
On Sat, 20 Jun 2020 at 09:11, rs vas wrote: > Hi, would like to know if cloudwatch exporter installed in one AWS account > can scrape cloudwatch metrics from multiple AWS accounts using multiple > roleARNs in the configuration? Anything specific needs to be configured > in-order to support multip

[prometheus-users] Re: divide metrics by instance

2020-06-20 Thread Brian Candler
OK, the instance labels look consistent. So the first thing I suggest is breaking your attempted query into parts and look at the results: sum (pg_locks_count) by (instance) pg_settings_max_locks_per_transaction * pg_settings_max_connections Do both of those give reasonable answers? If so you

[prometheus-users] Re: Prometheus 2.18 incompatibility with 2.04

2020-06-20 Thread Brian Candler
Which exact version? Have you tried 2.18.2? There were some bugs fixed between 2.18.0 and 2.18.2. -- 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 prometheu

[prometheus-users] Re: file_sd_configs and renaming mertics

2020-06-20 Thread Brian Candler
No. The actual file_sd targets file contains only targets and labels: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#file_sd_config The relabelling goes in the scrape job in the main prometheus config file. -- You received this message because you are subscribed to the

Re: [prometheus-users] Prometheus 2.18 incompatibility with 2.04

2020-06-20 Thread Ben Kochie
Yes, this sounds a lot like duplicate sample ingestion or some other non-compliant metrics endpoint. It would also be helpful to have the prometheus.yml configuration to understand what else is going on. On Sat, Jun 20, 2020 at 10:30 AM Julius Volz wrote: > When I create a file "metrics" with y

[prometheus-users] Re: Windows Metrics Sends same output for All the servers

2020-06-20 Thread Brian Candler
Sorry but I am fully booked at the moment. Here are some companies that offer direct prometheus support: https://prometheus.io/support-training/ Basically all you need to do is to go into the prometheus console, look at your metrics like "windows_cpu_time_total" and the full set of labels, che

[prometheus-users] Re: Not able to get filtered data if i use match labels.

2020-06-20 Thread Brian Candler
__name__ is a meta-label which you match just like any other label. To match on two labels at once, you use {foo="a",bar="b"} See: https://prometheus.io/docs/prometheus/latest/querying/basics/#time-series-selectors In your case it would be: {__name__=~"memo_.*_memberlist",job="x"} Note: it's

Re: [prometheus-users] Prometheus 2.18 incompatibility with 2.04

2020-06-20 Thread Julius Volz
When I create a file "metrics" with your metrics from the 2.4 example block and serve it to Prometheus (using just "python -m SimpleHTTPServer 12345") and then query for "my_metric" from a 2.18 Prometheus, I don't see this problem. Would it be feasible to share a minimal /metrics endpoint example

[prometheus-users] Cloudwatch exporter scraping from multiple aws accounts

2020-06-20 Thread rs vas
Hi, would like to know if cloudwatch exporter installed in one AWS account can scrape cloudwatch metrics from multiple AWS accounts using multiple roleARNs in the configuration? Anything specific needs to be configured in-order to support multiple accounts at the same time? I could not find any wa