public class MetricManager extends Object implements Closeable
Modifier and Type | Class and Description |
---|---|
class |
MetricManager.MetricFlagsState |
public static MetricManager acquire()
public MetricManager.MetricFlagsState getMetricFlagsState()
public boolean isMetricReporterDefined(String metricReporterClassName)
public MetricReporter getMetricReporter(String samplerName, String metricReporterClassName)
public static void reloadIfStarted()
public List<MetricRegistrator> registerProcessMetrics(Map<String,String> tags)
public static String getConfigFilePath()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public MetricRegistrator createRegistrator(String prefix)
public MetricRegistrator createRegistrator(String prefix, Map<String,String> tags)
public MetricRegistrator createRegistrator(String prefix, Map<String,String> tags, Map<String,DynamicMetricTag> dynamicTags)
public String getSeparator()
public boolean isEnabled(String... patternTokens)
public Map<String,Object> getSnapshotsByPrefix(Collection<String> prefixes)
public static void registerThreadPoolMetrics(MetricRegistrator registrator, DynamicThreadPoolExecutor dynamicThreadPoolExecutor)
public static void registerTaskManagerMetrics(MetricRegistrator registrator, TaskManager taskManager)
Copyright © GigaSpaces.