<p>
The metrics enabled for the group.
</p>

@return The metrics enabled for the group.
356684
public java.util.List<EnabledMetric> getEnabledMetrics() {
        if (enabledMetrics == null) {
            enabledMetrics = new com.amazonaws.internal.SdkInternalList<EnabledMetric>();
        }
        return enabledMetrics;
    }
174442
@Override
    public SortedMap<String, Meter> getMeters(MetricFilter filter) {
        return getMetrics(Meter.class, filter);
    }
759608
public MetricFilter metricsFilter() {
        if (id() == null) {
            return (name, metric) -> false;
        }
        return new MetricUtils.SingleMetricFilter(metricName);

    }
499712
public java.util.List<String> getCapabilities() {
        if (capabilities == null) {
            capabilities = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return capabilities;
    }
212600
public static MetricReportManager getInstance() {
    if (instance == null) {
      synchronized (MetricReportManager.class) {
        if (instance == null) {
          logger.info("Instantiating MetricReportManager");
          instance = new MetricReportManager();
        }
      }
    }
    return instance;
  }
230287
public Metric getMetric(String metricName) {
    // [START getMetric]
    Metric metric = logging.getMetric(metricName);
    if (metric == null) {
      // metric was not found
    }
    // [END getMetric]
    return metric;
  }
77412
public static boolean isEnabled(State state) {
    return Boolean
        .valueOf(state.getProp(ConfigurationKeys.METRICS_ENABLED_KEY, ConfigurationKeys.DEFAULT_METRICS_ENABLED));
  }
401918
@Override
  public SortedMap<String, Gauge> getGauges(MetricFilter filter) {
    return getSimplyNamedMetrics(Gauge.class, Optional.of(filter));
  }
1080354
@Override
    protected void collectMetrics(final Metrics metrics) {
        for (final JvmMetricsCollector collector : _collectorsEnabled) {
            collector.collect(metrics, _managementFactory);
        }
    }
161969
public Iterable<MetricsInfo> filter(Iterable<MetricsInfo> metricsInfos) {
    List<MetricsInfo> metricsFiltered = new ArrayList<MetricsInfo>();
    for (MetricsInfo metricsInfo : metricsInfos) {
      if (contains(metricsInfo.getName())) {
        metricsFiltered.add(metricsInfo);
      }
    }

    return metricsFiltered;
  }
93010
public static List<MemoryMonitor> getMemoryStats(){
        ArrayList<MemoryMonitor> memoryPoolInformation = new ArrayList<>();
        MemoryUsage heapMem = ManagementFactory.getMemoryMXBean().getHeapMemoryUsage();
        memoryPoolInformation.add(new MemoryMonitor(HEAP_MEMORY,heapMem));
        MemoryUsage nonHeapMen = ManagementFactory.getMemoryMXBean().getNonHeapMemoryUsage();
        memoryPoolInformation.add(new MemoryMonitor(NON_HEAP_MEMORY,nonHeapMen));

        for(MemoryPoolMXBean memMXBean :ManagementFactory.getMemoryPoolMXBeans()){
            memoryPoolInformation.add(new MemoryMonitor(memMXBean.getName(), memMXBean.getUsage()));
        }
        return Collections.unmodifiableList(memoryPoolInformation);
    }
1099556
@Override
  public void getMetrics(MetricsCollector collector, boolean all) {
    MetricsRecordBuilder metricsRecordBuilder = collector.addRecord("sparkShuffleService");

    for (Map.Entry<String, Metric> entry : metricSet.getMetrics().entrySet()) {
      collectMetric(metricsRecordBuilder, entry.getKey(), entry.getValue());
    }
  }
999497
public java.util.List<LogGroup> getLogGroups() {
        if (logGroups == null) {
            logGroups = new com.amazonaws.internal.SdkInternalList<LogGroup>();
        }
        return logGroups;
    }
412736
static DisplayMetrics getDisplayMetrics(final Context context) {
    final WindowManager
        windowManager =
        (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);
    final DisplayMetrics metrics = new DisplayMetrics();
    windowManager.getDefaultDisplay().getMetrics(metrics);
    return metrics;
  }
456817
public EmbeddedGobblin enableMetrics() {
    this.usePlugin(new GobblinMetricsPlugin.Factory());
    this.sysConfig(ConfigurationKeys.METRICS_ENABLED_KEY, Boolean.toString(true));
    return this;
  }
395524
public java.util.List<DBParameterGroupStatus> getDBParameterGroups() {
        if (dBParameterGroups == null) {
            dBParameterGroups = new com.amazonaws.internal.SdkInternalList<DBParameterGroupStatus>();
        }
        return dBParameterGroups;
    }
129482
public List<Series> retrieveMetricSeries(String metricName) {
        return retrieveMetricSeries(metricName, Collections.<String, String>emptyMap());
    }