Hello, 

Blackbox exporter http module check https site every 15s by default. Can 
you please tell me Is it posible to change this interval to 1 minute. I add 
scrape_interval parametr in prometheus config as you see below, but it 
doesn't change anything. Samples are stiil every 15s.

can you please tell me how and where change it.
I user prometheus 2.37.7, blackbox_exporter 0.23.0

prometheus config:

   - job_name: 'blackbox-http-csci-prod'
   scrape_interval: 60s
   scrape_timeout: 50s
   metrics_path: /blackbox/probe
   params:
   module: [http_2xx]
   static_configs: 
      - targets: 
         - https://ci-jenkins***********/login?from=%2F
         - https://ci-jenkins-***************l/login?from=%2F
         - https://ci-**************/login?from=%2F
         .
         .
         .
         relabel_configs:
      - source_labels: [*address*]
      target_label: __param_target
      - source_labels: [__param_target]
      target_label: instance
      - target_label: *address*
   
Samples still every 15s.

2023-05-15 09:45:00
0.0624
2023-05-15 09:45:15
0.0624
2023-05-15 09:45:30
0.0527
2023-05-15 09:45:45
0.0527
2023-05-15 09:46:00
0.0527
2023-05-15 09:46:15
0.0527
2023-05-15 09:46:30
0.0465
2023-05-15 09:46:45
0.0465
2023-05-15 09:47:00
0.0465
2023-05-15 09:47:15
0.0465
2023-05-15 09:47:30
0.0465
2023-05-15 09:47:45
0.0465

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/d8d5c09c-96b1-4cdc-852e-4debcc64e33an%40googlegroups.com.

Reply via email to