@Test public void testJvmMetrics() { NamespaceTestLambdaMetricSet lambdaMetricSet = new NamespaceTestLambdaMetricSet(); assertThat((Long) lambdaMetricSet.JVM_UPTIME.getValue(), greaterThanOrEqualTo(0L)); assertThat((Long) ((Gauge) lambdaMetricSet.getMetrics().get("test.namespace/jvmUptime")).getValue(), greaterThanOrEqualTo(0L)); }
@Override public Map<String, Metric> getMetrics() { metrics.putAll(MetricsUtils.findAnnotatedMetrics(this)); return Collections.unmodifiableMap(metrics); }
LambdaMetricSet implements MetricSet { @Override public Map<String, Metric> getMetrics() { metrics.putAll(MetricsUtils.findAnnotatedMetrics(this)); return Collections.unmodifiableMap(metrics); } }
LambdaMetricSet implements MetricSet { @Override public Map<String, Metric> getMetrics() { metrics.putAll(MetricsUtils.findAnnotatedMetrics(this)); return Collections.unmodifiableMap(metrics); }  }
LambdaMetricSet implements MetricSet { @Override public Map<String, Metric> getMetrics() { metrics.putAll(MetricsUtils.findAnnotatedMetrics(this)); return Collections.unmodifiableMap(metrics); }  @Override Map<String, Metric> getMetrics(); void report(); void report(Logger logger); }
LambdaMetricSet implements MetricSet { @Override public Map<String, Metric> getMetrics() { metrics.putAll(MetricsUtils.findAnnotatedMetrics(this)); return Collections.unmodifiableMap(metrics); }  @Override Map<String, Metric> getMetrics(); void report(); void report(Logger logger); public Gauge JVM_UPTIME; public String JVM_VENDOR; public String JVM_NAME; }