Searched refs:MetricsComponent (Results 1 – 9 of 9) sorted by relevance
35 private static final MetricsComponent metricsComponent =36 loadMetricsComponent(MetricsComponent.class.getClassLoader());63 static MetricsComponent loadMetricsComponent(@Nullable ClassLoader classLoader) { in loadMetricsComponent()69 MetricsComponent.class); in loadMetricsComponent()84 MetricsComponent.class); in loadMetricsComponent()92 return MetricsComponent.newNoopMetricsComponent(); in loadMetricsComponent()
28 public abstract class MetricsComponent { class52 static MetricsComponent newNoopMetricsComponent() { in newNoopMetricsComponent()56 private static final class NoopMetricsComponent extends MetricsComponent {
21 import io.opencensus.metrics.MetricsComponent;24 public class MetricsComponentImplBase extends MetricsComponent {
31 assertThat(MetricsComponent.newNoopMetricsComponent().getExportComponent()) in defaultExportComponent()37 assertThat(MetricsComponent.newNoopMetricsComponent().getMetricRegistry()) in defaultMetricRegistry()
45 MetricsComponent.newNoopMetricsComponent().getMetricRegistry();
21 import io.opencensus.metrics.MetricsComponent;
24 import io.opencensus.metrics.MetricsComponent;