Skip to content

Commit cdabce7

Browse files
committed
Removed HashMap from logRecordExporterExport
1 parent c3c6232 commit cdabce7

File tree

1 file changed

+2
-2
lines changed
  • api/src/OpenTelemetry/Internal/Logs

1 file changed

+2
-2
lines changed

api/src/OpenTelemetry/Internal/Logs/Types.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ import OpenTelemetry.Resource (MaterializedResources)
3939
4040
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.
4141
-}
42-
data LogRecordExporter body = LogRecordExporter
43-
{ logRecordExporterExport :: HashMap InstrumentationLibrary (Vector ReadableLogRecord) -> IO ExportResult
42+
data LogRecordExporter = LogRecordExporter
43+
{ logRecordExporterExport :: Vector ReadableLogRecord -> IO ExportResult
4444
-- ^ Exports a batch of ReadableLogRecords. Protocol exporters that will implement this function are typically expected to serialize
4545
-- and transmit the data to the destination.
4646
--

0 commit comments

Comments
 (0)