github.com/netdata/go.d.plugin@v0.58.1/agent/discovery/sd/pipeline/qq.yaml (about)

     1  name: qqq
     2  discovery:
     3    k8s:
     4      - pod:
     5          tags: "pod"
     6          local_mode: yes
     7        service:
     8          tags: "service"
     9    hostsocket:
    10      net:
    11        tags: "netsocket"
    12      unix:
    13        tags: "unixsocket"
    14    docker:
    15      - address: "1"
    16        tags: "qq"
    17  
    18  
    19  classify:
    20    - name: "name"
    21      selector: "k8s"
    22      tags: "apps"
    23      match:
    24        - tags: "apache"
    25          expr: '{{ and (eq .Port "8161") (glob .Image "**/activemq*") }}'
    26  
    27  compose:
    28    - name: "Applications"
    29      selector: "apps"
    30      config:
    31        - selector: "apache"
    32          template: |
    33            module: bind
    34            name: bind-{{.TUID}}