diff --git a/packages/sdk-metrics/src/state/MetricCollector.ts b/packages/sdk-metrics/src/state/MetricCollector.ts index ab9fdf07918..3b52a3e4d56 100644 --- a/packages/sdk-metrics/src/state/MetricCollector.ts +++ b/packages/sdk-metrics/src/state/MetricCollector.ts @@ -96,7 +96,7 @@ export class MetricCollector implements MetricProducer { * collector. */ selectCardinalityLimit(instrumentType: InstrumentType): number { - return this._metricReader.selectCardinalityLimit.?(instrumentType) ?? 2000; + return this._metricReader.selectCardinalityLimit?.(instrumentType) ?? 2000; } }