Re: [prometheus-users] Getting the Age of alerts.

2020-03-17 Thread Julien Pivotto
On 17 Mar 22:33, Christian Hoffmann wrote: > Hi, > > On 3/17/20 10:33 AM, Yagyansh S. Kumar wrote: > > Hi. I want to extract the age of the alerts(i.e from when the alert is > > Critical or Warning or even Resolved). Is this possible? > > Where are you looking for that? > > Within Prometheus? Yo

Re: [prometheus-users] Getting the Age of alerts.

2020-03-17 Thread Christian Hoffmann
Hi, On 3/17/20 10:33 AM, Yagyansh S. Kumar wrote: > Hi. I want to extract the age of the alerts(i.e from when the alert is > Critical or Warning or even Resolved). Is this possible? Where are you looking for that? Within Prometheus? You could try deriving that from the ALERTS meta metric which g

Re: [prometheus-users] scrape metrics for applications sitting behind a load balancer

2020-03-17 Thread Christian Hoffmann
Hi, On 3/17/20 10:02 AM, Eswar Rao Bevara wrote: > I have a spring boot application running on two vms and sitting behind a > load balancer. when I try to scrape using the application url/insights , > each time the call goes to one of the two vms. I want to have the > metrics scrapped from each vm

Re: [prometheus-users] Does Federation support authentication?

2020-03-17 Thread Brian Candler
On Tuesday, 17 March 2020 16:28:35 UTC, Steve wrote: > > 1) What are the reasons for *not* supporting TLS with client certificates > for connections to Prometheus server instance? Any plan to support it in > the near future? > > Presumably because this is functionality which is easily provided s

Re: [prometheus-users] Does Federation support authentication?

2020-03-17 Thread Steve
Hi A couple of follow-up questions: 1) What are the reasons for *not* supporting TLS with client certificates for connections to Prometheus server instance? Any plan to support it in the near future? 2) Can connections from Prometheus server instance to alertManagers and connections from alertMan

Re: [prometheus-users] Prometheus docs

2020-03-17 Thread Tristan Colgate
I always really liked the prometheus documentation. I've never really understood people that have struggled with it. This may be just a historical thing, from those of us who "grew up" with man pages and reference books, and less short form tutorials. The Best Practice section was absolutely inval

Re: [prometheus-users] Prometheus docs

2020-03-17 Thread Bjoern Rabenstein
And another item that keep itching me: The governance doc is deeply buried, given how important it is. To find it without using a search engine, I have to click "Community" and then find the very inconspicuous link to it in the middle of the page, i.e. there is not a single menu item that links t

[prometheus-users] Re: CloudWatch logs monitor

2020-03-17 Thread mohd
Thanks for your reply Brain Candler. Thank you. On Tuesday, 17 March 2020 16:40:47 UTC+5:30, Brian Candler wrote: > > Sorry, but I don't think this has anything to do with prometheus. > Prometheus does not handle logs, and it certainly doesn't have the query > language you've shown. > > Try th

[prometheus-users] Re: CloudWatch logs monitor

2020-03-17 Thread Brian Candler
Sorry, but I don't think this has anything to do with prometheus. Prometheus does not handle logs, and it certainly doesn't have the query language you've shown. Try the grafana community discussion groups perhaps - or a forum for AWS users (if it's an issue wi

[prometheus-users] Re: Using consul sd configs - Unable to scrape while configuring same source with two independent/multiple ports

2020-03-17 Thread Brian Candler
On Tuesday, 17 March 2020 08:45:25 UTC, Shaam Dinesh wrote: > > > I would like to discover scrapping across multiple ports on the same > source IP by which i can able to get metrics for service specific (In my > case Neo4j specific metrics on 2004) and also the node-exporter metrics > running on

[prometheus-users] Re: CloudWatch logs monitor

2020-03-17 Thread mohd
Not sure how it is scraping data from 1970. I am trying to get top 20 source IP address with highest number of reject request. filter action="REJECT" | stats count(*) as numRejections by srcAddr | sort numRejections desc | limit 20 Please find the attachment. Thank you. On Tuesday, 17 March

[prometheus-users] Getting the Age of alerts.

2020-03-17 Thread Yagyansh S. Kumar
Hi. I want to extract the age of the alerts(i.e from when the alert is Critical or Warning or even Resolved). Is this possible? -- 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

[prometheus-users] CloudWatch logs monitor

2020-03-17 Thread mohd
Hello Team, Could anyone please help me on to monitor AWS CloudWatch logs. I am using this plugin : https://github.com/mtanda/grafana-aws-cloudwatch-logs-datasource Trying with Insight query for vpcflow logs (top 10 bytes transfers by source and destination IP addresses) stats sum(bytes) as by

[prometheus-users] scrape metrics for applications sitting behind a load balancer

2020-03-17 Thread Eswar Rao Bevara
Hi, I have a spring boot application running on two vms and sitting behind a load balancer. when I try to scrape using the application url/insights , each time the call goes to one of the two vms. I want to have the metrics scrapped from each vm separately and then would search for a solution o

[prometheus-users] Re: Probing Endpoints with different authentication strings.

2020-03-17 Thread Yagyansh S. Kumar
Thanks a lot. On Tuesday, March 17, 2020 at 1:46:42 PM UTC+5:30, Brian Candler wrote: > > On Tuesday, 17 March 2020 03:33:40 UTC, Yagyansh S. Kumar wrote: >> >> And that would mean making 10 different jobs to probe those 10 URLs. >> Right? >> >> > No: you can set __param_module differently for ta

[prometheus-users] Using consul sd configs - Unable to scrape while configuring same source with two independent/multiple ports

2020-03-17 Thread Shaam Dinesh
*Problem statement:* I am trying to achieve below things using consul_sd_configs There was a consul where the instance Neo4j been registered as a service which exposes two metrics end points runs on different ports 1. http://:2004 - neo4j specific metrics 2. http://:9001 - node-export

[prometheus-users] Re: How to export Spring Boot `http.server.requests` as Prometheus Histogram

2020-03-17 Thread kanu batra
Hi Rafael, I am also facing a similar issue while exporting kafka connect metrics in histogram types. Did you find a solution to this? On Friday, 31 January 2020 18:47:08 UTC+5:30, Rafael Dohms wrote: > > I have a Spring Boot setup, with micrometer and metrics turned on. > I have successfully us

[prometheus-users] Re: Probing Endpoints with different authentication strings.

2020-03-17 Thread Brian Candler
On Tuesday, 17 March 2020 03:33:40 UTC, Yagyansh S. Kumar wrote: > > And that would mean making 10 different jobs to probe those 10 URLs. Right? > > No: you can set __param_module differently for targets in the same job. A simple way is to use the file_sd file to add labels to groups of targets (