HDDS-1721 : Client Metrics are not being pushed to the configured sink while running a hadoop command to write to Ozone. (#1034)
This commit is contained in:
parent
af0665c7f5
commit
303a7f8a39
|
@ -69,6 +69,7 @@ public class XceiverClientMetrics {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static XceiverClientMetrics create() {
|
public static XceiverClientMetrics create() {
|
||||||
|
DefaultMetricsSystem.initialize(SOURCE_NAME);
|
||||||
MetricsSystem ms = DefaultMetricsSystem.instance();
|
MetricsSystem ms = DefaultMetricsSystem.instance();
|
||||||
return ms.register(SOURCE_NAME, "Storage Container Client Metrics",
|
return ms.register(SOURCE_NAME, "Storage Container Client Metrics",
|
||||||
new XceiverClientMetrics());
|
new XceiverClientMetrics());
|
||||||
|
|
Loading…
Reference in New Issue