aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralexnick <alexnick@yandex-team.ru>2022-02-22 13:50:17 +0300
committeralexnick <alexnick@yandex-team.ru>2022-02-22 13:50:17 +0300
commitb8922d6badef2fbcd460878cd13c8107562f6d53 (patch)
tree813acdba0d095220da714e3c871ef4deb78c5f2a
parent2ca017227cbb6bcefb711bacdd33bed5b831282c (diff)
downloadydb-b8922d6badef2fbcd460878cd13c8107562f6d53.tar.gz
remove sensor needed for investigation MONSUPPORT-599
ref:29518332cecc177e482ebef3eb9f8b1bd85d0a3d
-rw-r--r--ydb/core/persqueue/partition.cpp4
-rw-r--r--ydb/core/protos/counters_pq.proto3
2 files changed, 0 insertions, 7 deletions
diff --git a/ydb/core/persqueue/partition.cpp b/ydb/core/persqueue/partition.cpp
index 0df5db92d2..1e775741d4 100644
--- a/ydb/core/persqueue/partition.cpp
+++ b/ydb/core/persqueue/partition.cpp
@@ -3177,10 +3177,6 @@ void TPartition::ReportLabeledCounters(const TActorContext& ctx)
haveChanges = true;
userInfo.LabeledCounters.GetCounters()[METRIC_READ_OFFSET_REWIND_SUM].Set(readOffsetRewindSum);
}
- if (readOffsetRewindSum != userInfo.LabeledCounters.GetCounters()[METRIC_READ_OFFSET_REWIND_TOTAL].Get()) {
- haveChanges = true;
- userInfo.LabeledCounters.GetCounters()[METRIC_READ_OFFSET_REWIND_TOTAL].Set(readOffsetRewindSum);
- }
ui32 id = METRIC_TOTAL_READ_SPEED_1;
for (ui32 i = 0; i < userInfo.AvgReadBytes.size(); ++i) {
diff --git a/ydb/core/protos/counters_pq.proto b/ydb/core/protos/counters_pq.proto
index 7233758135..5421c0561f 100644
--- a/ydb/core/protos/counters_pq.proto
+++ b/ydb/core/protos/counters_pq.proto
@@ -179,9 +179,6 @@ enum EClientLabeledCounters {
METRIC_LAST_READ_TIME = 25 [(LabeledCounterOpts) = {Name: "TimeSinceLastReadMs" AggrFunc : EAF_MIN Type : CT_TIMELAG}];
METRIC_READ_QUOTA_USAGE = 26 [(LabeledCounterOpts) = {Name: "PartitionMaxReadQuotaUsage" AggrFunc : EAF_MAX}];
-
- METRIC_READ_OFFSET_REWIND_TOTAL = 27 [(LabeledCounterOpts) = {Name: "ReadOffsetRewindTotal" AggrFunc : EAF_SUM}];
-
}