Skip to content

Commit

Permalink
Merge 663c33e into 0cda3de
Browse files Browse the repository at this point in the history
  • Loading branch information
Hor911 authored Mar 4, 2024
2 parents 0cda3de + 663c33e commit c806628
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ydb/core/fq/libs/control_plane_storage/internal/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@ std::vector<TString> GetMeteringRecords(const TString& statistics, bool billable
if (auto* ingressNode = graph.second.GetValueByPath("IngressBytes.sum")) {
ingress += ingressNode->GetIntegerSafe();
}
// special exclusion for PQ/YDS in YQv1
if (auto* pqIngressNode = graph.second.GetValueByPath("TaskRunner.Source=PqSource.Stage=Total.IngressBytes.sum")) {
ui64 pqIngress = pqIngressNode->GetIntegerSafe();
ingress = ingress > pqIngress ? (ingress - pqIngress) : 0;
}
}
}

Expand Down

0 comments on commit c806628

Please sign in to comment.