Re: [prometheus-users] Trouble scraping Custom Python Metric in OpenShift 3.11 + Prometheus

2021-02-05 Thread Stuart Clark
On 04/02/2021 16:42, Jeff Tippey wrote: Thanks Stuart,     I have looked around and I can't find it.   I'd be grateful if someone could take a look at one of these dropped pods labels and my scrape config and let me know if you see where it is dropped. It looks like this bit might be

[prometheus-users] Re: stackdriver exporter helm deployment - how to add own labels to metrics?

2021-02-05 Thread 'Richard Chin' via Prometheus Users
After more investigation it turns out I can use "metricRelabelings" to achieve this, and also achieve the added goal of dropping some metric series that I'm not interested in. For anyone interested, here's the values yaml that works for me. The "keep" section will keep only the series where

[prometheus-users] Cloudwatch Exporter with multiple AWS accounts

2021-02-05 Thread Edison Velez
Hello, I have two AWS accounts, A and B, and I'm trying to setup the Cloudwatch Exporter in A to scrape CW metrics from B, but I'm running into an issue getting it to actually gather the metrics. The error I'm getting is the following: java: WARNING: CloudWatch scrape failed java:

Re: [prometheus-users] How is Prometheus Remembering this instance in this query?

2021-02-05 Thread Kristopher Kahn
Really useful! I thought I was going mad trying to understand how this was working. Thank you very much for your thorough explanation! On Thursday, February 4, 2021 at 5:21:17 PM UTC-5 juliu...@promlabs.com wrote: > This is an effect of the automatic join (vector matching) that Prometheus >

[prometheus-users] snmp_exporter: OID "value" result not doing indirect lookup of define/constant value

2021-02-05 Thread Felix Schüren
Hi fellow prometheus-users, so I'm a bit stumped. I'm querying MIB tables that return OIDs as result value (that can be referenced from a -DEFINES MIB), and I can't get snmp_exporter to resolve these to textual representations. It does the usual magic conversion of a non-numeric result to a

Re: [prometheus-users] Reg: storage retention not working.

2021-02-05 Thread Bjoern Rabenstein
On 04.02.21 21:55, RAJESH DASARI wrote: > > i am running prometheus with this option > --storage.tsdb.retention.time=24h but i see that storage space is not > cleared for every 24hrs. I see that data is stored from months and > disk is getting full and prometheus service is not starting due to >

Re: [prometheus-users] How to not evaluate alert expression(Expr) when there is no data in Prometheus metric

2021-02-05 Thread Bjoern Rabenstein
On 23.01.21 01:14, akshay sharma wrote: > > I'm trying to raise an alert on metric(metric_test). Evaluation interval is > every 5mints. > > Issue: > > Suppose, At time(T1) alert is fired and prometheus scrapes metric at > time(t3) but there is no metric with name metric_test at target during

Re: [prometheus-users] Password Protection for my Prometheus Exporter

2021-02-05 Thread Bjoern Rabenstein
On 22.01.21 01:40, Dhanush Eswar wrote: > Yes, the feature is quite confusing and Is there any other method for > providing the basic Authentication to my exporter? It's not confusing, it's a different thing. The documentation linked below is for adding basic auth to pushes to the Prometheus

[prometheus-users] stackdriver exporter helm deployment - how to add own labels to metrics?

2021-02-05 Thread 'Richard Chin' via Prometheus Users
Hi - I'd like to add a couple of my own labels to all metrics coming from a stackdriver_exporter helm deployment. I am deploying with the community helm chart at https://artifacthub.io/packages/helm/prometheus-community/prometheus-stackdriver-exporter. One way that would work well for me is

Re: [prometheus-users] Prometheus / Blackbox_exporter not allowing 401 from a target

2021-02-05 Thread Julius Volz
Just judging from the Prometheus config above, Prometheus was scraping the 401 status code targets directly, vs. probing them through the blackbox exporter, since the necessary relabeling rules ( https://github.com/prometheus/blackbox_exporter#prometheus-configuration) for that were missing. On

Re: [prometheus-users] Adding a map as a custom_detail to an alert to get nested details in PagerDuty

2021-02-05 Thread Tigran
I opened an issue so we can have something more useful for pager duty https://github.com/prometheus/alertmanager/issues/2477 I also posted a more details explanation in this group to gather feedback about how people are using it today https://groups.google.com/g/prometheus-users/c/SqJV-nMnxE0

Re: [prometheus-users] Prometheus / Blackbox_exporter not allowing 401 from a target

2021-02-05 Thread Rupendra Sen
Can you provide the solution? On Tuesday, 29 December 2020 at 02:55:01 UTC+5:30 srikanth rangan wrote: > I got it to work finally. > > > > > On Thu, Dec 24, 2020 at 8:18 PM srikanth rangan > wrote: > >> Hi all, >> I have a case wherein I have to poll a target and its normal for the site >> to

[prometheus-users] Need ruckus snmp.yml file

2021-02-05 Thread sumit sharma
Host operating system: output of uname -a Centos7 snmp_exporter version: output of snmp_exporter -versionWhat device/snmpwalk OID are you using? Ruckus r-610 If this is a new device, please link to the MIB(s). Its not a new device

[prometheus-users] pagerduty_configs.details does not respect event api v2

2021-02-05 Thread Tigran
Hello, I would like to customize details field inside pagerduty_configs inside alertmanager-config.yaml file but I realize that it does not allow more than 1 level of deep. source: https://prometheus.io/docs/alerting/latest/configuration/#pagerduty_config [image: alertmanager-config.jpg] As

Re: [prometheus-users] Adding a map as a custom_detail to an alert to get nested details in PagerDuty

2021-02-05 Thread Tigran
is this still not possible? Le mercredi 28 août 2019 à 11:02:57 UTC+2, Simon Pasquier a écrit : > On Wed, Aug 28, 2019 at 10:21 AM Sutirtha Das wrote: > > > > I want to pass an alert to PagerDuty such that one label is actually a > map. > > > > { > > ... > > custom_details: > > "normal_label"

[prometheus-users] Re: need sample config for alertmanager

2021-02-05 Thread Tigran
hello, You must create a rule in pager duty that will match the name of the application and route it to the corresponding service. This means that the alert my carry the application name incide it's labels or summary. Le mercredi 10 juin 2020 à 16:40:55 UTC+2, ishu...@gmail.com a écrit : >