aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/messagebus/monitoring
diff options
context:
space:
mode:
authornga <nga@yandex-team.ru>2022-02-10 16:48:09 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:09 +0300
commitc2a1af049e9deca890e9923abe64fe6c59060348 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/messagebus/monitoring
parent1f553f46fb4f3c5eec631352cdd900a0709016af (diff)
downloadydb-c2a1af049e9deca890e9923abe64fe6c59060348.tar.gz
Restoring authorship annotation for <nga@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/messagebus/monitoring')
-rw-r--r--library/cpp/messagebus/monitoring/mon_proto.proto30
-rw-r--r--library/cpp/messagebus/monitoring/ya.make20
2 files changed, 25 insertions, 25 deletions
diff --git a/library/cpp/messagebus/monitoring/mon_proto.proto b/library/cpp/messagebus/monitoring/mon_proto.proto
index cfc1cebe26..73b6614481 100644
--- a/library/cpp/messagebus/monitoring/mon_proto.proto
+++ b/library/cpp/messagebus/monitoring/mon_proto.proto
@@ -1,6 +1,6 @@
import "library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.proto";
-
-package NBus;
+
+package NBus;
option java_package = "ru.yandex.messagebus.monitoring.proto";
@@ -28,28 +28,28 @@ message TMessageStatusRecord {
optional uint32 Count = 2;
}
-message TConnectionStatusMonRecord {
+message TConnectionStatusMonRecord {
optional uint32 SendQueueSize = 1 [ (NMonProto.Metric).Type = GAUGE ];
- // client only
+ // client only
optional uint32 AckMessagesSize = 2 [ (NMonProto.Metric).Type = GAUGE ];
optional uint32 ErrorCount = 3 [ (NMonProto.Metric).Type = RATE ];
-
+
optional uint64 WriteBytes = 10 [ (NMonProto.Metric).Type = RATE ];
- optional uint64 WriteBytesCompressed = 11;
+ optional uint64 WriteBytesCompressed = 11;
optional uint64 WriteMessages = 12 [ (NMonProto.Metric).Type = RATE ];
- optional uint64 WriteSyscalls = 13;
- optional uint64 WriteActs = 14;
+ optional uint64 WriteSyscalls = 13;
+ optional uint64 WriteActs = 14;
optional uint64 ReadBytes = 20 [ (NMonProto.Metric).Type = RATE ];
- optional uint64 ReadBytesCompressed = 21;
+ optional uint64 ReadBytesCompressed = 21;
optional uint64 ReadMessages = 22 [ (NMonProto.Metric).Type = RATE ];
- optional uint64 ReadSyscalls = 23;
- optional uint64 ReadActs = 24;
+ optional uint64 ReadSyscalls = 23;
+ optional uint64 ReadActs = 24;
repeated TMessageStatusRecord ErrorCountByStatus = 25;
-}
-
-message TSessionStatusMonRecord {
+}
+
+message TSessionStatusMonRecord {
optional uint32 InFlight = 1 [ (NMonProto.Metric).Type = GAUGE ];
optional uint32 ConnectionCount = 2 [ (NMonProto.Metric).Type = GAUGE ];
optional uint32 ConnectCount = 3 [ (NMonProto.Metric).Type = RATE ];
-}
+}
diff --git a/library/cpp/messagebus/monitoring/ya.make b/library/cpp/messagebus/monitoring/ya.make
index 07df343142..25782492b1 100644
--- a/library/cpp/messagebus/monitoring/ya.make
+++ b/library/cpp/messagebus/monitoring/ya.make
@@ -1,15 +1,15 @@
PROTO_LIBRARY()
-
+
OWNER(g:messagebus)
-
-PEERDIR(
+
+PEERDIR(
library/cpp/monlib/encode/legacy_protobuf/protos
-)
-
-SRCS(
- mon_proto.proto
-)
-
+)
+
+SRCS(
+ mon_proto.proto
+)
+
EXCLUDE_TAGS(GO_PROTO)
-END()
+END()