You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
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)