public class MetricUtils extends Object
Modifier and Type | Method and Description |
---|---|
static JobManagerMetricGroup |
instantiateJobManagerMetricGroup(MetricRegistry metricRegistry,
String hostname) |
static ProcessMetricGroup |
instantiateProcessMetricGroup(MetricRegistry metricRegistry,
String hostname,
Optional<Time> systemResourceProbeInterval) |
static void |
instantiateStatusMetrics(MetricGroup metricGroup) |
static Tuple2<TaskManagerMetricGroup,MetricGroup> |
instantiateTaskManagerMetricGroup(MetricRegistry metricRegistry,
String hostName,
ResourceID resourceID,
Optional<Time> systemResourceProbeInterval) |
static RpcService |
startLocalMetricsRpcService(Configuration configuration) |
static RpcService |
startRemoteMetricsRpcService(Configuration configuration,
String hostname) |
public static ProcessMetricGroup instantiateProcessMetricGroup(MetricRegistry metricRegistry, String hostname, Optional<Time> systemResourceProbeInterval)
public static JobManagerMetricGroup instantiateJobManagerMetricGroup(MetricRegistry metricRegistry, String hostname)
public static Tuple2<TaskManagerMetricGroup,MetricGroup> instantiateTaskManagerMetricGroup(MetricRegistry metricRegistry, String hostName, ResourceID resourceID, Optional<Time> systemResourceProbeInterval)
public static void instantiateStatusMetrics(MetricGroup metricGroup)
public static RpcService startRemoteMetricsRpcService(Configuration configuration, String hostname) throws Exception
Exception
public static RpcService startLocalMetricsRpcService(Configuration configuration) throws Exception
Exception
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.