cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

scrape-dns.yaml (581B)


      1 apiVersion: monitoring.coreos.com/v1alpha1
      2 kind: ScrapeConfig
      3 metadata:
      4   name: scrape-dns
      5   namespace: monitoring
      6 spec:
      7   staticConfigs:
      8     - targets:
      9         - "10.0.64.129:9165"
     10   metricsPath: /metrics
     11   relabelings:
     12     - targetLabel: job
     13       replacement: dnscollector_exporter
     14 ---
     15 apiVersion: monitoring.coreos.com/v1alpha1
     16 kind: ScrapeConfig
     17 metadata:
     18   name: scrape-dns-traffic
     19   namespace: monitoring
     20 spec:
     21   staticConfigs:
     22     - targets:
     23         - "10.0.64.129:9166"
     24   metricsPath: /metrics
     25   relabelings:
     26     - targetLabel: job
     27       replacement: dnscollector_traffic