github.com/google/cloudprober@v0.11.3/rds/file/testdata/targets.json (about) 1 { 2 "resource": [ 3 { 4 "name": "switch-xx-1", 5 "ip": "10.1.1.1", 6 "port": 8080, 7 "labels": { 8 "device_type": "switch", 9 "cluster": "xx" 10 } 11 }, 12 { 13 "name": "switch-xx-2", 14 "ip": "10.1.1.2", 15 "port": 8081, 16 "labels": { 17 "cluster": "xx" 18 } 19 }, 20 { 21 "name": "switch-yy-1", 22 "ip": "10.1.2.1", 23 "port": 8080 24 }, 25 { 26 "name": "switch-zz-1", 27 "ip": "::aaa:1", 28 "port": 8080 29 } 30 ] 31 }