1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-26 09:25:23 +00:00

register observatory

This commit is contained in:
Shelikhoo 2021-09-07 13:19:31 +01:00
parent 68c8759f4b
commit 62eaa9a8cc
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316
2 changed files with 10 additions and 0 deletions

View File

@ -6,7 +6,12 @@ option go_package = "github.com/v2fly/v2ray-core/v4/app/observatory/burst";
option java_package = "com.v2ray.core.app.observatory.burst";
option java_multiple_files = true;
import "common/protoext/extensions.proto";
message Config {
option (v2ray.core.common.protoext.message_opt).type = "service";
option (v2ray.core.common.protoext.message_opt).short_name = "burstObservatory";
/* @Document The selectors for outbound under observation
*/
repeated string subject_selector = 2;

View File

@ -6,6 +6,9 @@ option go_package = "github.com/v2fly/v2ray-core/v4/app/observatory";
option java_package = "com.v2ray.core.app.observatory";
option java_multiple_files = true;
import "common/protoext/extensions.proto";
message ObservationResult {
repeated OutboundStatus status = 1;
}
@ -72,6 +75,8 @@ message Intensity{
uint32 probe_interval = 1;
}
message Config {
option (v2ray.core.common.protoext.message_opt).type = "service";
option (v2ray.core.common.protoext.message_opt).short_name = "backgroundObservatory";
/* @Document The selectors for outbound under observation
*/
repeated string subject_selector = 2;