diff --git a/src/OpenTelemetry/Metrics/BaseExportingMetricReader.cs b/src/OpenTelemetry/Metrics/BaseExportingMetricReader.cs index 647025fd719..c9b6346d517 100644 --- a/src/OpenTelemetry/Metrics/BaseExportingMetricReader.cs +++ b/src/OpenTelemetry/Metrics/BaseExportingMetricReader.cs @@ -44,8 +44,8 @@ public BaseExportingMetricReader(BaseExporter exporter) this.exporter = exporter; - var exportorType = exporter.GetType(); - var attributes = exportorType.GetCustomAttributes(typeof(ExportModesAttribute), true); + var exporterType = exporter.GetType(); + var attributes = exporterType.GetCustomAttributes(typeof(ExportModesAttribute), true); if (attributes.Length > 0) { var attr = (ExportModesAttribute)attributes[attributes.Length - 1];