mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-20 16:26:23 -05:00
register observatory
This commit is contained in:
parent
68c8759f4b
commit
62eaa9a8cc
@ -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_package = "com.v2ray.core.app.observatory.burst";
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
|
|
||||||
|
import "common/protoext/extensions.proto";
|
||||||
|
|
||||||
message Config {
|
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
|
/* @Document The selectors for outbound under observation
|
||||||
*/
|
*/
|
||||||
repeated string subject_selector = 2;
|
repeated string subject_selector = 2;
|
||||||
|
@ -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_package = "com.v2ray.core.app.observatory";
|
||||||
option java_multiple_files = true;
|
option java_multiple_files = true;
|
||||||
|
|
||||||
|
import "common/protoext/extensions.proto";
|
||||||
|
|
||||||
|
|
||||||
message ObservationResult {
|
message ObservationResult {
|
||||||
repeated OutboundStatus status = 1;
|
repeated OutboundStatus status = 1;
|
||||||
}
|
}
|
||||||
@ -72,6 +75,8 @@ message Intensity{
|
|||||||
uint32 probe_interval = 1;
|
uint32 probe_interval = 1;
|
||||||
}
|
}
|
||||||
message Config {
|
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
|
/* @Document The selectors for outbound under observation
|
||||||
*/
|
*/
|
||||||
repeated string subject_selector = 2;
|
repeated string subject_selector = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user