On 2023-05-18 11:27, Paweł Błażejewski wrote:
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
How are you producing that data?
Did you remember to reload/restart Prometheus after making the change to
your config?
--
Stuart Clark
--
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/89897569de531dc500edf3645dc6bf1b%40Jahingo.com.