github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/app/observatory/burst/config.proto (about)

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