From 4782ff151fc50dbfd840b088cccccc857f40e5cc Mon Sep 17 00:00:00 2001 From: checat <checat@yandex-team.ru> Date: Thu, 10 Feb 2022 16:50:33 +0300 Subject: Restoring authorship annotation for <checat@yandex-team.ru>. Commit 1 of 2. --- library/cpp/messagebus/monitoring/mon_proto.proto | 6 +++--- .../encode/legacy_protobuf/protos/metric_meta.proto | 20 ++++++++++---------- 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'library') diff --git a/library/cpp/messagebus/monitoring/mon_proto.proto b/library/cpp/messagebus/monitoring/mon_proto.proto index 73b6614481..d289b11099 100644 --- a/library/cpp/messagebus/monitoring/mon_proto.proto +++ b/library/cpp/messagebus/monitoring/mon_proto.proto @@ -1,9 +1,9 @@ import "library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.proto"; package NBus; - -option java_package = "ru.yandex.messagebus.monitoring.proto"; - + +option java_package = "ru.yandex.messagebus.monitoring.proto"; + message TMessageStatusRecord { enum EMessageStatus { MESSAGE_OK = 0; diff --git a/library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.proto b/library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.proto index fd23eb372b..4b4f52b42a 100644 --- a/library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.proto +++ b/library/cpp/monlib/encode/legacy_protobuf/protos/metric_meta.proto @@ -32,17 +32,17 @@ enum THistogramBase { MINUTE = 12; HOUR = 15; } - -message THistogramEntry { - optional uint64 Multiplier = 1; - optional double Value = 2; -} - -message THistogram { - optional THistogramBase Base = 1; + +message THistogramEntry { + optional uint64 Multiplier = 1; + optional double Value = 2; +} + +message THistogram { + optional THistogramBase Base = 1; optional string BaseStr = 2; - repeated THistogramEntry Entries = 5; -} + repeated THistogramEntry Entries = 5; +} // field of this type is recognized by Solomon message TExtraLabelMetrics { -- cgit v1.2.3