Re: [prometheus-users] Blackbox exporter http module check interval - how to change default 15s
I guess this relates to https://github.com/prometheus/blackbox_exporter/issues/1051 On Thursday, May 18, 2023 at 4:33:46 PM UTC+2 Ben Kochie wrote: > Based on what little I can derive from the "data" presented. This is > probably from Grafana, given that the timestamps are snapped to an even 15 > seconds. > > And based on this, I'm guessing this is a misunderstanding of the lookback > / step interval, which will default to 15s in Grafana. > > There's no actual evidence (logs) provided that the exporter is actually > doing what they claim. > > On Thu, May 18, 2023 at 2:47 PM Stuart Clark > wrote: > >> 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 prometheus-use...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/prometheus-users/89897569de531dc500edf3645dc6bf1b%40Jahingo.com >> . >> > -- 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 the web visit https://groups.google.com/d/msgid/prometheus-users/577eb978-7e8d-4700-a85d-ef0ac3bbcfe7n%40googlegroups.com.
Re: [prometheus-users] Blackbox exporter http module check interval - how to change default 15s
Based on what little I can derive from the "data" presented. This is probably from Grafana, given that the timestamps are snapped to an even 15 seconds. And based on this, I'm guessing this is a misunderstanding of the lookback / step interval, which will default to 15s in Grafana. There's no actual evidence (logs) provided that the exporter is actually doing what they claim. On Thu, May 18, 2023 at 2:47 PM Stuart Clark wrote: > 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 prometheus-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/89897569de531dc500edf3645dc6bf1b%40Jahingo.com > . > -- 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 the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmpca_ujU23ARR980QR2NcwAHfJNapLE7p37W6emyWUBBQ%40mail.gmail.com.
Re: [prometheus-users] Blackbox exporter http module check interval - how to change default 15s
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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/89897569de531dc500edf3645dc6bf1b%40Jahingo.com.
[prometheus-users] Blackbox exporter http module check interval - how to change default 15s
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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d8d5c09c-96b1-4cdc-852e-4debcc64e33an%40googlegroups.com.