Skip to content

v1.2.0

Latest

Choose a tag to compare

@amrrbakry amrrbakry released this 05 Aug 14:05
2b574bb

Added

  • New :open_telemetry target. Metric names get the puma prefix by default. Requires the opentelemetry-metrics-sdk gem in the consumer project (#30)
  • New formatter: options for the IO target: :json and :passthrough (#25)
  • New transform: options for the IO target: :cloud_watch and :passthrough (#25)

Changed

  • A custom formatter: on the IO target now receives the transformed telemetry. Pass transform: :passthrough to get the same telemetry as before (#25)

Dropped

  • The Targets::IOTarget::JSONFormatter constant. Its behavior moved to Formatters::JSONFormatter and Transforms::CloudWatchTransform (#25)

Fixed

  • Stop the telemetry runner when puma shuts down or when the target IO stream is closed. This prevents IOError: closed stream errors during shutdown (#31, #45)
  • Log target errors with unknown_error instead of error, so a failed publish does not make puma exit (#31, #45)
  • Warn and keep socket_telemetry disabled on platforms without Socket::SOL_TCP and Socket::TCP_INFO (#23)