domain_exporter icon indicating copy to clipboard operation
domain_exporter copied to clipboard

Add /probe documentation on README.md and Prometheus config

Open matanbaruch opened this issue 4 years ago • 0 comments

URL: http://localhost:9203/probe?target=google.com

Prometheus config:

 - job_name: 'domain-exporter'
    metrics_path: /probe
    static_configs:
      - targets:
        - google.com  # Target to probe with whois.
        - facebook.com  # Target to probe with whois.
    relabel_configs:
      - source_labels: [__address__]
        target_label: __param_target
      - source_labels: [__param_target]
        target_label: instance
      - target_label: __address__
        replacement: localhost:9203  # The domain exporter's real hostname:port.

matanbaruch avatar Feb 10 '21 13:02 matanbaruch