Skip to content

Commit

Permalink
Removed HashMap from logRecordExporterExport
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlauer1 committed Jul 10, 2024
1 parent 548bed8 commit f415f88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/OpenTelemetry/Internal/Logs/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ 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 (LogRecord body)) -> IO ExportResult -- TODO: This should be ReadableLogRecord instead of LogRecord
{ logRecordExporterExport :: Vector (LogRecord body) -> IO ExportResult -- TODO: This should be ReadableLogRecord instead of LogRecord

-- ^ Exports a batch of ReadableLogRecords. Protocol exporters that will implement this function are typically expected to serialize
-- and transmit the data to the destination.
Expand Down

0 comments on commit f415f88

Please sign in to comment.