From 98e0d0c5ebc87594684ab4b9e6a89fe7a97f72de Mon Sep 17 00:00:00 2001 From: evanlauer1 Date: Wed, 10 Jul 2024 12:38:23 -0700 Subject: [PATCH] Removed HashMap from logRecordExporterExport --- api/src/OpenTelemetry/Internal/Logs/Types.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/src/OpenTelemetry/Internal/Logs/Types.hs b/api/src/OpenTelemetry/Internal/Logs/Types.hs index ea20092a..1ee856ec 100644 --- a/api/src/OpenTelemetry/Internal/Logs/Types.hs +++ b/api/src/OpenTelemetry/Internal/Logs/Types.hs @@ -39,8 +39,8 @@ import OpenTelemetry.Resource (MaterializedResources) The goal of the interface is to minimize burden of implementation for protocol-dependent telemetry exporters. The protocol exporter is expected to be primarily a simple telemetry data encoder and transmitter. -} -data LogRecordExporter body = LogRecordExporter - { logRecordExporterExport :: HashMap InstrumentationLibrary (Vector ReadableLogRecord) -> IO ExportResult +data LogRecordExporter = LogRecordExporter + { logRecordExporterExport :: Vector ReadableLogRecord -> IO ExportResult -- ^ Exports a batch of ReadableLogRecords. Protocol exporters that will implement this function are typically expected to serialize -- and transmit the data to the destination. --