github.com/google/cloudprober@v0.11.3/examples/file_based_targets/targets.textpb (about)

     1  # This file lists targets in the RDS resource format:
     2  # https://github.com/google/cloudprober/blob/master/rds/proto/rds.proto#L77
     3  # See cloudprober.cfg in the same directory for more details on how this file
     4  # is used.
     5  resource {
     6      name: "web-aa-01"
     7      ip: "10.11.112.3"
     8      port: 8080
     9      labels {
    10         key: "dc"
    11         value: "aa"
    12      }
    13  }
    14  
    15  resource {
    16      name: "web-aa-02"
    17      ip: "10.11.112.4"
    18      port: 8080
    19      labels {
    20         key: "dc"
    21         value: "aa"
    22      }
    23  }
    24  
    25  resource {
    26      name: "web-bb-01"
    27      ip: "10.16.110.12"
    28      port: 8080
    29      labels {
    30         key: "dc"
    31         value: "bb"
    32      }
    33  }