aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/monitoring/mon_proto.proto
diff options
context:
space:
mode:
authorzhenyok <zhenyok@yandex-team.ru>2022-02-10 16:50:32 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:32 +0300
commitae11a371d50c25e7fff450f692a12cba03ceaf4f (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/messagebus/monitoring/mon_proto.proto
parentb4b9936f4dce18fb9da09a1e46342c289d19663b (diff)
downloadydb-ae11a371d50c25e7fff450f692a12cba03ceaf4f.tar.gz
Restoring authorship annotation for <zhenyok@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/monitoring/mon_proto.proto')
-rw-r--r--library/cpp/messagebus/monitoring/mon_proto.proto52
1 files changed, 26 insertions, 26 deletions
diff --git a/library/cpp/messagebus/monitoring/mon_proto.proto b/library/cpp/messagebus/monitoring/mon_proto.proto
index 3b465a54ad..73b6614481 100644
--- a/library/cpp/messagebus/monitoring/mon_proto.proto
+++ b/library/cpp/messagebus/monitoring/mon_proto.proto
@@ -4,30 +4,30 @@ package NBus;
option java_package = "ru.yandex.messagebus.monitoring.proto";
-message TMessageStatusRecord {
- enum EMessageStatus {
- MESSAGE_OK = 0;
- MESSAGE_CONNECT_FAILED = 1;
- MESSAGE_TIMEOUT = 2;
- MESSAGE_SERVICE_UNKNOWN = 3;
- MESSAGE_BUSY = 4;
- MESSAGE_UNKNOWN = 5;
- MESSAGE_DESERIALIZE_ERROR = 6;
- MESSAGE_HEADER_CORRUPTED = 7;
- MESSAGE_DECOMPRESS_ERROR = 8;
- MESSAGE_MESSAGE_TOO_LARGE = 9;
- MESSAGE_REPLY_FAILED = 10;
- MESSAGE_DELIVERY_FAILED = 11;
- MESSAGE_INVALID_VERSION = 12;
- MESSAGE_SERVICE_TOOMANY = 13;
- MESSAGE_SHUTDOWN = 14;
- MESSAGE_DONT_ASK = 15;
- }
-
- optional EMessageStatus Status = 1;
- optional uint32 Count = 2;
-}
-
+message TMessageStatusRecord {
+ enum EMessageStatus {
+ MESSAGE_OK = 0;
+ MESSAGE_CONNECT_FAILED = 1;
+ MESSAGE_TIMEOUT = 2;
+ MESSAGE_SERVICE_UNKNOWN = 3;
+ MESSAGE_BUSY = 4;
+ MESSAGE_UNKNOWN = 5;
+ MESSAGE_DESERIALIZE_ERROR = 6;
+ MESSAGE_HEADER_CORRUPTED = 7;
+ MESSAGE_DECOMPRESS_ERROR = 8;
+ MESSAGE_MESSAGE_TOO_LARGE = 9;
+ MESSAGE_REPLY_FAILED = 10;
+ MESSAGE_DELIVERY_FAILED = 11;
+ MESSAGE_INVALID_VERSION = 12;
+ MESSAGE_SERVICE_TOOMANY = 13;
+ MESSAGE_SHUTDOWN = 14;
+ MESSAGE_DONT_ASK = 15;
+ }
+
+ optional EMessageStatus Status = 1;
+ optional uint32 Count = 2;
+}
+
message TConnectionStatusMonRecord {
optional uint32 SendQueueSize = 1 [ (NMonProto.Metric).Type = GAUGE ];
// client only
@@ -44,8 +44,8 @@ message TConnectionStatusMonRecord {
optional uint64 ReadMessages = 22 [ (NMonProto.Metric).Type = RATE ];
optional uint64 ReadSyscalls = 23;
optional uint64 ReadActs = 24;
-
- repeated TMessageStatusRecord ErrorCountByStatus = 25;
+
+ repeated TMessageStatusRecord ErrorCountByStatus = 25;
}
message TSessionStatusMonRecord {