Re: [prometheus-users] How much back in time can i go while retrieving data using prometheus HTTTP API?

2020-03-19 Thread Rahul Hada
Hi, Yes you can only visualise the data available in your storage. This line defines the retention period. --storage.tsdb.retention.time=90d . Here the retention is 90 days, so we can see the data of 90 days. Hope this helps. Stay safe ! On Fri, Mar 20, 2020 at 8:07 AM Tekraj Chhetri wrote: >

Re: [prometheus-users] How much back in time can i go while retrieving data using prometheus HTTTP API?

2020-03-19 Thread Tekraj Chhetri
Hi, Thank you for your response. At the moment, I am only able to pull for a month. This means that only a month data is available. On Friday, 20 March 2020 03:09:36 UTC+2, Rahul Hada wrote: > > Hi, > > Prometheus default retention period is 30 days. Please verify once that > you have set the

Re: [prometheus-users] How much back in time can i go while retrieving data using prometheus HTTTP API?

2020-03-19 Thread Rahul Hada
Hi, Prometheus default retention period is 30 days. Please verify once that you have set the retention period to 1 year and you have enough capacity to store the data. Then you can check for the given time range. Stay safe ! On Fri, 20 Mar, 2020, 5:27 AM Tekraj Chhetri, wrote: > Hi, > > I am t

[prometheus-users] How much back in time can i go while retrieving data using prometheus HTTTP API?

2020-03-19 Thread Tekraj Chhetri
Hi, I am trying to pull data of 1 year using prometheus but I noticed I was only able to get recent 1 months data. If I wanted to pull 1 year data, how should I do if it is possible to get? Thank you. -- You received this message because you are subscribed to the Google Groups "Prometheus Us

[prometheus-users] Manage prometheus configuration using Prometheus operator

2020-03-19 Thread Nitin
Hello, I am looking for some recommendations as to how Prometheus configuration (like providing our custom alert rules and reload the alert rules dynamically if the alert rules files sees some modifications ) be managed using Prometheus operator (helm charts ) ?? Installing Prometheus using Prom

[prometheus-users] Re: Node exporter use tls will arise msg="collector failed"

2020-03-19 Thread Brian Candler
On Thursday, 19 March 2020 11:04:56 UTC, Jack Chew wrote: > > When i use node_exporter web-config.yml for TLS setting will arsie the > screenshot error. I try to different node_exporter server also same > promble, but i cancel web-config is no promblem. > node_exporter 1.0.0 rc1? TLS with clien

[prometheus-users] How to scrape opendj,tomcat and openam processes using process exporter in prometheus.

2020-03-19 Thread Pooja Chauhan
Hi , I am using process -exporter to monitor processes in my ec2 machine which has openam,opendj and tomcat ,I need to monitor these specifc processes only for my machine.Kindly suggest me the .yml configuration and also the way to do it.Currently my .yml is like below: process_names: - name:

Re: [prometheus-users] Get https://ip/metrics: x509: cannot validate certificate for ip because it doesn't contain any IP SANs

2020-03-19 Thread Brian Candler
Then you must be using curl -k to ignore the certificate entirely, or you must be passing the cert itself to curl. Both options are possible from prometheus too - check out the options under tls_config . >

[prometheus-users] Re: Push the alert details to a third party API as soon an alert fires.

2020-03-19 Thread Brian Candler
Look at webhooks from alertmanager. -- 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 discussion on

[prometheus-users] Re: Can I get some sample scrape jobs for "individual Kubernetes nodes" configured in prometheus.yml file

2020-03-19 Thread vikram yerneni
Anything fellas?? On Wednesday, March 18, 2020 at 9:27:49 PM UTC-5, vikram yerneni wrote: > > Hi, > I just want to see how the community is configuring the scrape jobs for > metrics of individual nodes of Kubernetes. I just want to see how well the > scrape jobs acne be configured to pull in the

Re: [prometheus-users] Re: does Prometheus always preserve raw metrics?

2020-03-19 Thread Ben Kochie
This is part of what Federation is designed to do. You federate the stuff you want to keep longer, and reduce the retention for the raw collector. On Thu, Mar 19, 2020 at 3:55 PM sam j wrote: > Thanks. So there is no way to set retention times for raw and aggregated > metrics differently? e.g. I

[prometheus-users] Re: does Prometheus always preserve raw metrics?

2020-03-19 Thread sam j
Thanks. So there is no way to set retention times for raw and aggregated metrics differently? e.g. I want to keep the agg metrics for 1 month but discard raw metrics everyday. On Thursday, March 19, 2020 at 5:03:14 AM UTC-4, Brian Candler wrote: > > The original metrics are stored as well as the

Re: [prometheus-users] How should configue the alertmanager alert interval about the alert notifications of resolved

2020-03-19 Thread Simon Pasquier
Alertmanager evaluates alert groups at the given group_interval value (1h in your case) which would explain the "long" delay. You need to decrease this value to get notifications earlier. I'd recommend not less than 1 minute though. On Wed, Mar 11, 2020 at 1:45 PM zhang windy <793547...@qq.com> wr

Re: [prometheus-users] Send Alertmanager notifications to an PHP api

2020-03-19 Thread Simon Pasquier
The notifications sent by Alertmanager via the webhook receiver are defined here: https://prometheus.io/docs/alerting/configuration/#webhook_config On Thu, Mar 19, 2020 at 10:43 AM Rahul Hada wrote: > > Hi, We have prometheus and alertmanager setup, sending alert notifications to > email and sla

Re: [prometheus-users] Azure file as storage backend

2020-03-19 Thread Simon Pasquier
I'd recommend running a more recent version of Prometheus. v2.7.1 is more than a year old now. On Mon, Mar 16, 2020 at 3:19 PM Greg Intive wrote: > > Hi, > it is: > > $ prometheus --version > prometheus, version 2.7.1 (branch: HEAD, revision: > 62e591f928ddf6b3468308b7ac1de1c63aa7fcf3) > build

Re: [prometheus-users] Node exporter use tls will arise msg="collector failed"

2020-03-19 Thread Ben Kochie
https://github.com/prometheus/node_exporter/pull/1641 will take care of the schestat log noise. But it's very odd that it would be missing on any modern Linux system. On Thu, Mar 19, 2020 at 2:25 PM Ben Kochie wrote: > The schestat error is very strange, that file has existed in the kernel > sin

Re: [prometheus-users] Node exporter use tls will arise msg="collector failed"

2020-03-19 Thread Ben Kochie
The schestat error is very strange, that file has existed in the kernel since 2.6.20, which is from 2007. What Linux kernel version are you using? On Thu, Mar 19, 2020 at 12:05 PM Jack Chew wrote: > Hi team, > > When i use node_exporter web-config.yml for TLS setting will arsie the > screenshot

[prometheus-users] Node exporter use tls will arise msg="collector failed"

2020-03-19 Thread Jack Chew
Hi team, When i use node_exporter web-config.yml for TLS setting will arsie the screenshot error. I try to different node_exporter server also same promble, but i cancel web-config is no promblem. -- You received this message because you are subscribed to the Google Groups "Prometheus Users"

[prometheus-users] Re: Remote Write to another Prometheus

2020-03-19 Thread Dirk Fries
Hi guys, thanks a lot for your comments :-) Bye, Dirk -- 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 vie

Re: [prometheus-users] Monitoring Network from a distance ?

2020-03-19 Thread Brian Brazil
On Thu, 19 Mar 2020 at 09:54, Ilhem Hamdi wrote: > Hello, > > I would like to Monitor VIP on F5 by : > - Monitoring the ssl certfications > - Monitoring the status of VIP ( Up /down) > > The probleme is I don't have access on F5 , all I have is the URLS to > check the connectivity of the VIP or

[prometheus-users] Monitoring Network from a distance ?

2020-03-19 Thread Ilhem Hamdi
Hello, I would like to Monitor VIP on F5 by : - Monitoring the ssl certfications - Monitoring the status of VIP ( Up /down) The probleme is I don't have access on F5 , all I have is the URLS to check the connectivity of the VIP or I use curl command to check the expiration of certifcations

Re: [prometheus-users] Get https://ip/metrics: x509: cannot validate certificate for ip because it doesn't contain any IP SANs

2020-03-19 Thread Jack Chew
HI Jakubik, I target configured is IP address, and then cert is self sign from openssl. When i curl the link is IP address. 在 2020年3月18日星期三 UTC+8下午10:45:41,Jakub Jakubik写道: > > do you have the target configured with the ip address or the domain? is > the domain in the cert? with curl do you us

[prometheus-users] Push the alert details to a third party API as soon an alert fires.

2020-03-19 Thread Yagyansh S. Kumar
Hi. I want to push the my alerts to a ticketing tool. The ticketing tool has an API using which we can push our alerts to it. Now, what I want to do is that as soon as a alert fires I want to push my alert details to the tool by calling the ticketing tool's API. Can anyone help and give some idea

[prometheus-users] Send Alertmanager notifications to an PHP api

2020-03-19 Thread Rahul Hada
Hi, We have prometheus and alertmanager setup, sending alert notifications to email and slack webhook. We have been provided with one php api like " http://.com/prometheus_api.php . Please provide the way to expose alert notifications to t

Re: [prometheus-users] Remote Write to another Prometheus

2020-03-19 Thread Brian Candler
You can remote write to an instance of Victoria Metrics, which provides a query API identical to Prometheus. This means it looks like another prometheus server to all intents and purposes (e.g. you can add it as a prometheus data source in grafana). The only thing I'm not sure about is whethe

[prometheus-users] Re: does Prometheus always preserve raw metrics?

2020-03-19 Thread Brian Candler
The original metrics are stored as well as the aggregated ones. This is so that (for example) you can run alerting rule queries directly on the original metrics. If you are federating, then you can set a short retention period - say 1 day. This will apply to everything, both raw and aggregate

Re: [prometheus-users] Remote Write to another Prometheus

2020-03-19 Thread sayf eddine Hammemi
Prometheus does not receive it reads/polls, you have two solutions, either to use federation as Stuart said, or you point remote read of the "receiver" instance into the `sender:9090/api/v1/read`. The second solution will query the data on demand (it won't move the data to the second Prometheus) -

[prometheus-users] Re: Aggregation Metrics - Found duplicate series for the match group (How delete a label before join metrics ?)

2020-03-19 Thread BDT
Hi, Thanks for your answer Christian. Your idea was good, I tried to remove all unused labels and finaly succeed on getting my metric joined correctly. I used without because I see it in an answer of Brian Brazil and it did the job. Final aggregation sum (container_memory_rss{container_labe

Re: [prometheus-users] Remote Write to another Prometheus

2020-03-19 Thread Stuart Clark
On 19/03/2020 08:36, Dirk Fries wrote: Hi @all, I'd like to send all my metrics from one "main" Prometheus to another one. I have already found and configured other remote write connections (e.g. to Postgres) but I just can't find a way to do a remote write to another Prometheus. Does anyone

[prometheus-users] Remote Write to another Prometheus

2020-03-19 Thread Dirk Fries
Hi @all, I'd like to send all my metrics from one "main" Prometheus to another one. I have already found and configured other remote write connections (e.g. to Postgres) but I just can't find a way to do a remote write to another Prometheus. Does anyone have a hint for me ? Thanks a lot ! Bye