aesiniath / unbeliever

Opinionated Haskell Interoperability
https://hackage.haskell.org/package/unbeliever
MIT License
33 stars 11 forks source link

Allow override of dataset in Honeycomb telemetry #180

Closed istathar closed 1 year ago

istathar commented 1 year ago

Add a setDatasetName function to allow override of the dataset being used for telemetry being sent to Honeycomb.

This involved partitioning telemetry Datums by which Dataset they were assigned to, then making different requests in each burst of telemetry accordingly (annoyingly, it's not a field but rather part of the context path in the API request).