github.com/google/cloudprober@v0.11.3/targets/lameduck/proto/config.proto (about) 1 // Provides all configuration necesary to list targets for a cloudprober probe. 2 syntax = "proto2"; 3 4 package cloudprober.targets.lameduck; 5 6 import "github.com/google/cloudprober/rds/client/proto/config.proto"; 7 8 option go_package = "github.com/google/cloudprober/targets/lameduck/proto"; 9 10 message Options { 11 // How often to check for lame-ducked targets 12 optional int32 re_eval_sec = 1 [default = 10]; 13 14 // Runtime config project. If running on GCE, this defaults to the project 15 // containing the VM. 16 optional string runtimeconfig_project = 2; 17 18 // Lame duck targets runtime config name. An operator will create a variable 19 // here to mark a target as lame-ducked. 20 optional string runtimeconfig_name = 3 [default = "lame-duck-targets"]; 21 22 // Lame duck targets pubsub topic name. An operator will create a message 23 // here to mark a target as lame-ducked. 24 optional string pubsub_topic = 7; 25 26 // Lame duck expiration time. We ignore variables (targets) that have been 27 // updated more than these many seconds ago. This is a safety mechanism for 28 // failing to cleanup. Also, the idea is that if a target has actually 29 // disappeared, automatic targets expansion will take care of that some time 30 // during this expiration period. 31 optional int32 expiration_sec = 4 [default = 300]; 32 33 // Use an RDS client to get lame-duck-targets. 34 // This option is always true now and will be removed after v0.10.7. 35 optional bool use_rds = 5 [deprecated = true]; 36 37 // RDS server options, for example: 38 // rds_server_options { 39 // server_address: "rds-server.xyz:9314" 40 // oauth_config: { 41 // ... 42 // } 43 optional rds.ClientConf.ServerOptions rds_server_options = 6; 44 }