diff --git a/sdk/include/opentelemetry/sdk/metrics/state/sync_metric_storage.h b/sdk/include/opentelemetry/sdk/metrics/state/sync_metric_storage.h index 6168415ff1..9c851379e1 100644 --- a/sdk/include/opentelemetry/sdk/metrics/state/sync_metric_storage.h +++ b/sdk/include/opentelemetry/sdk/metrics/state/sync_metric_storage.h @@ -125,10 +125,6 @@ class SyncMetricStorage : public MetricStorage, public SyncWritableMetricStorage const opentelemetry::context::Context &context OPENTELEMETRY_MAYBE_UNUSED) noexcept override { -#ifdef ENABLE_METRICS_EXEMPLAR_PREVIEW - exemplar_reservoir_->OfferMeasurement(value, attributes, context, - std::chrono::system_clock::now()); -#endif if (instrument_descriptor_.value_type_ != InstrumentValueType::kDouble) { return;