Skip to content

Commit ecf1344

Browse files
pramodsatyaamitkdutta
authored andcommitted
[native] Advance velox
1 parent 7357711 commit ecf1344

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

presto-native-execution/presto_cpp/main/runtime-metrics/PrometheusStatsReporter.h

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,18 @@ class PrometheusStatsReporter : public facebook::velox::BaseStatsReporter {
7676
const std::vector<velox::StatType>& /* statTypes */,
7777
const std::vector<double>& /* pcts */,
7878
const std::vector<size_t>& /* slidingWindowsSeconds */) const override {};
79+
80+
void registerDynamicQuantileMetricExportType(
81+
const char* /* keyPattern */,
82+
const std::vector<velox::StatType>& /* statTypes */,
83+
const std::vector<double>& /* pcts */,
84+
const std::vector<size_t>& /* slidingWindowsSeconds */) const override {};
85+
86+
void registerDynamicQuantileMetricExportType(
87+
folly::StringPiece /* keyPattern */,
88+
const std::vector<velox::StatType>& /* statTypes */,
89+
const std::vector<double>& /* pcts */,
90+
const std::vector<size_t>& /* slidingWindowsSeconds */) const override {};
7991

8092
void addMetricValue(const std::string& key, size_t value = 1) const override;
8193

@@ -99,6 +111,21 @@ class PrometheusStatsReporter : public facebook::velox::BaseStatsReporter {
99111

100112
void addQuantileMetricValue(folly::StringPiece /* key */, size_t /* value */)
101113
const override{};
114+
115+
void addDynamicQuantileMetricValue(
116+
const std::string& /* key */,
117+
folly::Range<const folly::StringPiece*> /* subkeys */,
118+
size_t /* value */) const override {};
119+
120+
virtual void addDynamicQuantileMetricValue(
121+
const char* /* key */,
122+
folly::Range<const folly::StringPiece*> /* subkeys */,
123+
size_t /* value */) const override {};
124+
125+
virtual void addDynamicQuantileMetricValue(
126+
folly::StringPiece /* key */,
127+
folly::Range<const folly::StringPiece*> /* subkeys */,
128+
size_t /* value */) const override {};
102129

103130
std::string fetchMetrics() override;
104131

presto-native-execution/velox

Submodule velox updated 73 files

0 commit comments

Comments
 (0)