Hi, 
I'm in side a docker stack and some urls didn't reach... so I try to use 
the configuration proxy setting  on blackbox_exporter.

During the restart/reload of the app I got always:

   - level=error msg="Error loading config" err="error parsing config file: 
   yaml: unmarshal errors:\n  line 21: field skip_resolve_phase_with_proxy 
   not found in type config.plain"
   

If I comment that line the reload is successful.
Can someone explain me the problem? I followed the config settings
https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md

ALEN
--------------------------------------
modules: 
  http_2xx: 
    prober: http
    timeout: 15s
    http: 
      fail_if_not_ssl: false
      ip_protocol_fallback: false
      method: GET
      no_follow_redirects: false
      preferred_ip_protocol: ip4
      valid_http_versions: 
        - HTTP/1.1
        - HTTP/2.0
        
  http_with_proxy:
    prober: http
    timeout: 15s
    http:
      proxy_url: http://myurl:9090
      skip_resolve_phase_with_proxy: true
      tls_config:
        insecure_skip_verify: true



-- 
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/d0248187-db3e-4462-8c05-f11ad0ac5647n%40googlegroups.com.

Reply via email to