Re: [prometheus-users] Re: Regarding Setting High Retension for storage

2020-09-08 Thread Aravind Viswanathan
Hi Brian, Thanks for the help. OK After i did that and restarting the services I see the following under Command-Line Flags, storage.tsdb.retention : 0s storage.tsdb.retention.size : 0B storage.tsdb.retention.time: 1y Is that correct or do I need to make any other configuration changes?

Re: [prometheus-users] Is it possible to monitor Azure AD Connect healthy in windows server 2019?

2020-09-08 Thread Hieu Nguyen
I think you should try windows-exporter. On Wed, Sep 9, 2020 at 8:09 AM Khanh Nguyen Duc wrote: > > Can we monitoring Azure AD connect healthy status by using prometheus + > Grafana ? > > > -- > You received this message because you are subscribed to the Google Groups > "Prometheus Users"

[prometheus-users] Is it possible to monitor Azure AD Connect healthy in windows server 2019?

2020-09-08 Thread Khanh Nguyen Duc
Can we monitoring Azure AD connect healthy status by using prometheus + Grafana ? -- 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

Re: [prometheus-users] any best practice on using limited le's for a given histogram

2020-09-08 Thread Bjoern Rabenstein
On 02.09.20 00:38, rs vas wrote: > > • any good number we can cross when defining buckets for example not to > define more than 10 le's. It all really depends on your total cardinality. It's fine to create a histogram with loads of buckets if that's only exposed on three targets and has no

Re: [prometheus-users] how to run prometheus on docker

2020-09-08 Thread babis kagelidis
my container log is "level=error ts=2020-09-08T17:06:51.460Z caller=main.go:283 msg="Error loading config (--config.file=/prometheus.yml)" err="read /prometheus.yml: is a directory" level=error ts=2020-09-08T17:06:56.878Z caller=main.go:283 msg="Error loading config

Re: [prometheus-users] Re: Need help on Prometheus load testing for capacity planning

2020-09-08 Thread rs vas
Hey Brian, that link is great to start with, thanks for sharing it. Very helpful. If we had to test with some synthetic set of exporters with some configurable metrics, Do we really have anything we can quickly set-up on amazon ec2 and get that load tested? Just thought of finding out still... I

[prometheus-users] logging

2020-09-08 Thread Andrew Meyer
Is there a way to send snmp_exporter logs to a different file without having to parse it using rsyslog on CentOS or Syslog-NG? -- 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

Re: [prometheus-users] Monitoring rate of events

2020-09-08 Thread Stuart Clark
On 08/09/2020 14:51, John Dexter wrote: I'm looking at adopting Prometheus for our system, one thing we want to monitor are incoming alarms (and alarm clearances). Metrics of use would be: * Total number of active alarms * Rate of alarms being raised * Rate of alarms being cleared The

Re: [prometheus-users] Modifying labels on default Prometheus metrics

2020-09-08 Thread Stuart Clark
On 08/09/2020 13:35, Ayush Kumar wrote: Hi Everyone, I work with .NET Core applications and we use Prometheus along with Grafana for dashboarding. I wanted to know if there's a way to add a new Label to the default metrics that Prometheus has, for example:

[prometheus-users] Monitoring rate of events

2020-09-08 Thread John Dexter
I'm looking at adopting Prometheus for our system, one thing we want to monitor are incoming alarms (and alarm clearances). Metrics of use would be: - Total number of active alarms - Rate of alarms being raised - Rate of alarms being cleared The second one is confusing me a bit.

[prometheus-users] Alertmanager inhibitions with webhook

2020-09-08 Thread fiala...@gmail.com
Hi, I'm using alertmanager with webhook reciever and stora active alerts in our own SQL DB to show active incidents. I would like to implement inhibition rules. Is there any way how to recieve info about inhibited notification via webhook? Thank you. -- You received this message because you

Re: [prometheus-users] Can prometheurs scrape :/deamon/metrics ?

2020-09-08 Thread Rodolphe Ghio
I've found how to do this, I've added metrics_path statement into my conf file. Thanks for answering Le mardi 8 septembre 2020 à 14:01:48 UTC+2, b.ca...@pobox.com a écrit : > @Rudolphe: can you show *your* scrape config, plus the error message you > get when prometheus fails to start? > --

[prometheus-users] Modifying labels on default Prometheus metrics

2020-09-08 Thread Ayush Kumar
Hi Everyone, I work with .NET Core applications and we use Prometheus along with Grafana for dashboarding. I wanted to know if there's a way to add a new Label to the default metrics that Prometheus has, for example: http_requests_duration_seconds_count This metric has a few default labels

Re: [prometheus-users] Re: Regarding Setting High Retension for storage

2020-09-08 Thread Brian Candler
Not quite. Since you're splitting the command line over multiple lines, you need a trailing space and backslash after "console_libraries" to join it to the next line. > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from

Re: [prometheus-users] Re: Regarding Setting High Retension for storage

2020-09-08 Thread Aravind Viswanathan
Thanks Brian, Is this Correct? [Unit] Description=Prometheus Monitoring Wants=network-online.target After=network-online.target [Service] User=prometheus Group=prometheus Type=simple ExecStart=/usr/local/bin/prometheus \ --config.file /etc/prometheus/prometheus.yml \

Re: [prometheus-users] Can prometheurs scrape :/deamon/metrics ?

2020-09-08 Thread Brian Candler
@Rudolphe: can you show *your* scrape config, plus the error message you get when prometheus fails to start? -- 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

Re: [prometheus-users] Can prometheurs scrape :/deamon/metrics ?

2020-09-08 Thread Rodolphe Ghio
Can i please take a look to your scrape config please ? Le mardi 8 septembre 2020 à 13:29:40 UTC+2, wes...@gmx.ie a écrit : > I am sure it can. b/c I just finished a monitoring like this form. :) > > > Rodolphe Ghio wrote: > > I was wondering if prometheus can scrape a target like this ? > >

Re: [prometheus-users] Can prometheurs scrape :/deamon/metrics ?

2020-09-08 Thread Wesley Peng
I am sure it can. b/c I just finished a monitoring like this form. :) Rodolphe Ghio wrote: I was wondering if prometheus can scrape a target like this ? :/deamon/metrics, cause I've tried many times and prometheus doesn't want to start anymore. -- You received this message because you are

[prometheus-users] Can prometheurs scrape :/deamon/metrics ?

2020-09-08 Thread Rodolphe Ghio
Hi guys, I was wondering if prometheus can scrape a target like this ? :/deamon/metrics, cause I've tried many times and prometheus doesn't want to start anymore. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this

Re: [prometheus-users] Re: Simple alive monitor to a website

2020-09-08 Thread Tom Black
Thanks a lot Brian. It does work right now! I greatly appreciate your help. regards. On Tue, Sep 8, 2020 at 6:56 PM Brian Candler wrote: > Just basic debugging: > > 1. Use the Prometheus web interface (usually x.x.x.:9090). It has an > "Alerts" tab. It will tell you if the alerts exist, and

Re: [prometheus-users] Re: Simple alive monitor to a website

2020-09-08 Thread Brian Candler
Just basic debugging: 1. Use the Prometheus web interface (usually x.x.x.:9090). It has an "Alerts" tab. It will tell you if the alerts exist, and whether any of them are firing. If not, find out why. Did you HUP prometheus to re-read the rules after changing config? Does your

Re: [prometheus-users] Re: Simple alive monitor to a website

2020-09-08 Thread Tom Black
Brian, Please help with this. Following your suggestion, I have my rule file defined: groups: - name: host-down rules: # Alert for any instance that is unreachable for >5 minutes. - alert: InstanceDown expr: probe_success == 0 for: 3m labels: severity: page

[prometheus-users] Re: Need help on Prometheus load testing for capacity planning

2020-09-08 Thread Brian Candler
I'd be inclined to take the opposite approach: use your production exporters, guess the initial instance size, and iterate based on how under- or over-utilized it is. It only takes a minute to switch an instance from one type to another in EC2. As a starting point for your guess, you can use

[prometheus-users] Re: Regarding Setting High Retension for storage

2020-09-08 Thread Brian Candler
Yes, you put the flag in the wrong place. Add it to the end of the ExecStart line, not to the ExecReload line. -- 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

[prometheus-users] Need help on Prometheus load testing for capacity planning

2020-09-08 Thread rs vas
We are planning to attempt to generate the load on the Prometheus instance so that we can identify the right EC2 instance family to run a specific load. We have tried https://github.com/ncabatoff/prombench but without any success, since this has not been touched since 4 years, not compatible with

Re: [prometheus-users] Implemention advice: Prometheus for mature Windows client/server system

2020-09-08 Thread Stuart Clark
On 2020-09-07 17:22, Mister Boy wrote: I'm brand new to Prometheus and my head is spinning after spending time reading the docs so I hope someone can offer a little advice. We have a mature client-server system involving dozens of (mostly) C++ modules; workstations and servers all run on

[prometheus-users] Regarding Setting High Retension for storage

2020-09-08 Thread Aravind Viswanathan
Hi All, I am new to Prometheus and noticed that the data in my Prometheus Server is defaulted to 15days and we would like to have the data for more than 1Y. I have updated my configuration to , [Unit] Description=Prometheus Monitoring Wants=network-online.target

[prometheus-users] Re: Using alert manager with external receiver

2020-09-08 Thread Brian Candler
Yes - use the webhook receiver. -- 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

Re: [prometheus-users] Using alert manager with external receiver

2020-09-08 Thread Wesley Peng
Hi Nina Sc wrote: Is there a way to use the alert manager to send an alert to external API, I mean instead using excage server or slack etc, I will provide an endpoint like `https://mypullendpoint.host.com` and the alert manager will send the alert to this URL ? Yes you need to define

[prometheus-users] Using alert manager with external receiver

2020-09-08 Thread Nina Sc
Hi, Is there a way to use the alert manager to send an alert to external API, I mean instead using excage server or slack etc, I will provide an endpoint like `https://mypullendpoint.host.com` and the alert manager will send the alert to this URL ? Thanks! Nina -- You received this message

[prometheus-users] autoclosable alerts

2020-09-08 Thread Roxana Angheluta
Hello, We are using alerta (https://alerta.io/) as the alertmanager receiver. Is it possible to have only some of the alerts closing themselves based on a label? I have tried something like this: route: receiver: alerta routes: - receiver: alerta-closable match:

[prometheus-users] Re: FATAL ERROR in native method: processing of -javaagent failed

2020-09-08 Thread Praveen Srinivasan
Try the below, it will work. KAFKA_OPTS="" kafka-console-producer.sh --broker-list localhost:9094 --topic myTopic On Monday, 7 September 2020 at 19:27:04 UTC+5:30 Praveen Srinivasan wrote: > I am also having the same issue. > > On Friday, 10 April 2020 at 14:30:43 UTC+5:30 Abhishek Karigar