package io.sentry.metrics; import io.sentry.IMetricsAggregator; import io.sentry.ISpan; import io.sentry.MeasurementUnit; import io.sentry.metrics.MetricsApi; import java.io.IOException; import java.util.Collections; import java.util.Map; /* loaded from: classes3.dex */ public final class NoopMetricsAggregator implements IMetricsAggregator, MetricsApi.IMetricsInterface { private static final NoopMetricsAggregator instance = new NoopMetricsAggregator(); public static NoopMetricsAggregator getInstance() { return instance; } @Override // java.io.Closeable, java.lang.AutoCloseable public void close() throws IOException { } @Override // io.sentry.IMetricsAggregator public void distribution(String str, double d, MeasurementUnit measurementUnit, Map map, long j, LocalMetricsAggregator localMetricsAggregator) { } @Override // io.sentry.IMetricsAggregator public void flush(boolean z) { } @Override // io.sentry.IMetricsAggregator public void gauge(String str, double d, MeasurementUnit measurementUnit, Map map, long j, LocalMetricsAggregator localMetricsAggregator) { } @Override // io.sentry.metrics.MetricsApi.IMetricsInterface public LocalMetricsAggregator getLocalMetricsAggregator() { return null; } @Override // io.sentry.metrics.MetricsApi.IMetricsInterface public IMetricsAggregator getMetricsAggregator() { return this; } @Override // io.sentry.IMetricsAggregator public void increment(String str, double d, MeasurementUnit measurementUnit, Map map, long j, LocalMetricsAggregator localMetricsAggregator) { } @Override // io.sentry.IMetricsAggregator public void set(String str, int i, MeasurementUnit measurementUnit, Map map, long j, LocalMetricsAggregator localMetricsAggregator) { } @Override // io.sentry.IMetricsAggregator public void set(String str, String str2, MeasurementUnit measurementUnit, Map map, long j, LocalMetricsAggregator localMetricsAggregator) { } @Override // io.sentry.metrics.MetricsApi.IMetricsInterface public ISpan startSpanForMetric(String str, String str2) { return null; } @Override // io.sentry.IMetricsAggregator public void timing(String str, Runnable runnable, MeasurementUnit.Duration duration, Map map, LocalMetricsAggregator localMetricsAggregator) { runnable.run(); } @Override // io.sentry.metrics.MetricsApi.IMetricsInterface public Map getDefaultTagsForMetrics() { return Collections.emptyMap(); } }