Hello,

I'm using blackbox_exporter and I'd like to know the list of builtin labels 
it provides (but I'm interested for any exporter).
More specifically, I've 2 probes (one for each proxy server I have to 
monitor) and I'd like to add a label to expose by which proxy the connexion 
used, so what is the label I should rename.

#### blackbox excerpt ####
  http_proxy_1:                           
    prober: http                          
    http:                                 
      preferred_ip_protocol: ip4          
      proxy_url: http://proxy1:8888
      method: GET                         
  http_proxy_2:                           
    prober: http                          
    http:                                 
      preferred_ip_protocol: ip4          
      proxy_url: http://proxy2:8888
      method: GET                         

#### prometheus excerpt ####
  - job_name: 'blackbox-proxy'           
    metrics_path: /probe                  
    params:                               
      module:                             
        - http_proxy_1                    
        - http_proxy_2                    
    static_configs:                       
      - targets:                          
        - https://google.com/             
        - https://microsoft.com/          
        - https://apple.com/              
    relabel_configs:                      
      - source_labels: [__address__]      
        target_label: __param_target      
      - source_labels: [__param_target]   
        target_label: instance            
      - target_label: __address__         
        replacement: 127.0.0.1:9115

Thanks 

-- 
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/dc143fd2-8fee-4461-a64b-ea3ea24b3d2fn%40googlegroups.com.

Reply via email to