Re: [prometheus-users] Re: what is the safe/best way to restart Prometheus service quickly without any errors

2020-03-15 Thread Rahul Hada
Hi, After making any changes in prometheus yaml file, no need to restart the service everytime. You can reload the service using below two methods. 1> You can use postman tool to smoothly reload the service using api. In that case you have to restart the prometheus service with --web.enable-lifec

[prometheus-users] Re: what is the safe/best way to restart Prometheus service quickly without any errors

2020-03-15 Thread rs vas
And Prometheus is running on version: 2.13.0. On Sun, Mar 15, 2020 at 10:58 PM rs vas wrote: > Hello, Whenever we try to restart the Prometheus service, we are facing > some issues and Service is not starting... > > *Issue1*: It is complaining about time ranges overlap after restart and > not st

[prometheus-users] what is the safe/best way to restart Prometheus service quickly without any errors

2020-03-15 Thread rs vas
Hello, Whenever we try to restart the Prometheus service, we are facing some issues and Service is not starting... *Issue1*: It is complaining about time ranges overlap after restart and not starting, after deleting the directories named with uuid, service is started successfully. level=error ts=2

Re: [prometheus-users] Best method to attach custom collector to Node-exporter

2020-03-15 Thread Ankit Rohilla
Thanks for the reply. I also thought the same, it is not feasible as of now. Just wanted to confirm. Regards, Ankit Rohilla On Saturday, 14 March 2020 16:33:27 UTC+5:30, Christian Hoffmann wrote: > > Hi Ankit, > > On 3/12/20 7:46 AM, Ankit Rohilla wrote: > > Hi, I've created a few of my own co

Re: [prometheus-users] Re: Using Regex in the Annotations of Alert.

2020-03-15 Thread Yagyansh S. Kumar
Okay, cool. Thanks for the heads up. On Sunday, March 15, 2020 at 8:18:08 PM UTC+5:30, Christian Hoffmann wrote: > > On 3/15/20 3:40 PM, Yagyansh S. Kumar wrote: > > Thanks a lot, Christian. Will try them out and report back. > > Also, according to you will the Step 3 add any significant overhea

Re: [prometheus-users] Re: Using Regex in the Annotations of Alert.

2020-03-15 Thread Christian Hoffmann
On 3/15/20 3:40 PM, Yagyansh S. Kumar wrote: > Thanks a lot, Christian. Will try them out and report back. > Also, according to you will the Step 3 add any significant overhead? I > mean will it cause any kind of slowness? I don't think it would cause slowness per-se as the cardinality will be in

Re: [prometheus-users] Re: Using Regex in the Annotations of Alert.

2020-03-15 Thread Yagyansh S. Kumar
Thanks a lot, Christian. Will try them out and report back. Also, according to you will the Step 3 add any significant overhead? I mean will it cause any kind of slowness? On Sunday, March 15, 2020 at 5:26:47 PM UTC+5:30, Christian Hoffmann wrote: > > Hi, > > On 3/15/20 10:07 AM, Yagyansh S. Kum

Re: [prometheus-users] Re: Using Regex in the Annotations of Alert.

2020-03-15 Thread Christian Hoffmann
Hi, On 3/15/20 10:07 AM, Yagyansh S. Kumar wrote: > Thanks for the quick response. I appreciate your advice and I know that > instance label shouldn't contain the port number and that should be the > ideal way forward, but now my setup is huge. I'll have to change things > over all my dashboards a

[prometheus-users] Re: Using Regex in the Annotations of Alert.

2020-03-15 Thread Yagyansh S. Kumar
Thanks for the quick response. I appreciate your advice and I know that instance label shouldn't contain the port number and that should be the ideal way forward, but now my setup is huge. I'll have to change things over all my dashboards and I am monitoring close to 3000 servers. Eventually, I

[prometheus-users] Re: Prometheus blackbox exporter - monitoring http endpoints

2020-03-15 Thread Brian Candler
It's fine to run it on the prometheus box itself, or any other server where you want the probe requests to originate from. There's no need to run it on the target host - indeed it's better not to, as it's a more realistic test to probe over the network. -- You received this message because you

[prometheus-users] Re: Using Regex in the Annotations of Alert.

2020-03-15 Thread Brian Candler
On Sunday, 15 March 2020 08:12:20 UTC+1, Yagyansh S. Kumar wrote: > > Hi. I want to add the dashboard link in the alert of that particular > service. That dashboard takes the server IP and hostname as input. From the > instance label, I want to remove the port number and pass it as input to be >

Re: [prometheus-users] Best method to attach custom collector to Node-exporter

2020-03-15 Thread Brian Candler
Ah sorry, I thought OP was using code which writes files for the textfile-collector. -- 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+unsubs

[prometheus-users] Prometheus blackbox exporter - monitoring http endpoints

2020-03-15 Thread rs vas
Have a use-case for monitoring http end points up or not. After doing some research found that blackbox exporter can be used to achieve the same. What is the recommendation, like do we need to run the blackbox exporter on the same instance or is it ok to run blackbox exporter on prometheus box its

[prometheus-users] Using Regex in the Annotations of Alert.

2020-03-15 Thread Yagyansh S. Kumar
Hi. I want to add the dashboard link in the alert of that particular service. That dashboard takes the server IP and hostname as input. From the instance label, I want to remove the port number and pass it as input to be dashboard. Configured Alert: - alert: OutOfDiskSpace-Crit expr: ((nod