iand675 / hs-opentelemetry

OpenTelemetry support for the Haskell programming language
https://iankduncan.com/projects/opentelemetry
BSD 3-Clause "New" or "Revised" License
73 stars 34 forks source link

Rename `Log` to `LogRecord` and update data type to match logs data model spec #124

Closed evanlauer1 closed 5 months ago

evanlauer1 commented 5 months ago

Context

The Log data model has been updated since the Log data type was written. This PR renames Log to LogRecord and updates LogRecord to match the current iteration of the Log data model. The largest change is that the current spec changed the type of the record field, attributes, from Standard Attribute to map<string, any>.

Testing