config.proto 927 B

1234567891011121314151617181920212223242526272829
  1. syntax = "proto3";
  2. package v2ray.core.app.observatory.burst;
  3. option csharp_namespace = "V2Ray.Core.App.Observatory.Burst";
  4. option go_package = "github.com/v2fly/v2ray-core/v4/app/observatory/burst";
  5. option java_package = "com.v2ray.core.app.observatory.burst";
  6. option java_multiple_files = true;
  7. message Config {
  8. /* @Document The selectors for outbound under observation
  9. */
  10. repeated string subject_selector = 2;
  11. HealthPingConfig ping_config = 3;
  12. }
  13. message HealthPingConfig {
  14. // destination url, need 204 for success return
  15. // default http://www.google.com/gen_204
  16. string destination = 1;
  17. // connectivity check url
  18. string connectivity = 2;
  19. // health check interval, int64 values of time.Duration
  20. int64 interval = 3;
  21. // sampling count is the amount of recent ping results which are kept for calculation
  22. int32 samplingCount = 4;
  23. // ping timeout, int64 values of time.Duration
  24. int64 timeout = 5;
  25. }