github.com/xmplusdev/xray-core@v1.8.10/app/observatory/burst/config.proto (about) 1 syntax = "proto3"; 2 3 package xray.core.app.observatory.burst; 4 option csharp_namespace = "Xray.App.Observatory.Burst"; 5 option go_package = "github.com/xmplusdev/xray-core/app/observatory/burst"; 6 option java_package = "com.xray.app.observatory.burst"; 7 option java_multiple_files = true; 8 9 message Config { 10 /* @Document The selectors for outbound under observation 11 */ 12 repeated string subject_selector = 2; 13 14 HealthPingConfig ping_config = 3; 15 } 16 17 message HealthPingConfig { 18 // destination url, need 204 for success return 19 // default https://connectivitycheck.gstatic.com/generate_204 20 string destination = 1; 21 // connectivity check url 22 string connectivity = 2; 23 // health check interval, int64 values of time.Duration 24 int64 interval = 3; 25 // sampling count is the amount of recent ping results which are kept for calculation 26 int32 samplingCount = 4; 27 // ping timeout, int64 values of time.Duration 28 int64 timeout = 5; 29 }