MCPcopy Create free account
hub / github.com/apache/impala / InitCommonMetrics

Method InitCommonMetrics

be/src/util/common-metrics.cc:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31string CommonMetrics::KUDU_CLIENT_VERSION_METRIC_NAME = "kudu-client.version";
32
33void CommonMetrics::InitCommonMetrics(MetricGroup* metric_group) {
34 PROCESS_START_TIME = metric_group->AddProperty<string>(
35 PROCESS_START_TIME_METRIC_NAME, "");
36 KUDU_CLIENT_VERSION = metric_group->AddProperty<string>(
37 KUDU_CLIENT_VERSION_METRIC_NAME, kudu::client::GetShortVersionString());
38
39 PROCESS_START_TIME->SetValue(CurrentTimeString());
40}
41
42}

Callers

nothing calls this directly

Calls 2

CurrentTimeStringFunction · 0.85
SetValueMethod · 0.45

Tested by

no test coverage detected