- Added a simple example to the README.md detailing how to use the new
SidekiqStatistics
middleware.
- Added
SidekiqStatistics
middleware support - To integrate it with your middleware, just add it to your sidekiq's initializer like follows:
config.server_middleware do |chain|
chain.add Statue::SidekiqStatistics::SidekiqMiddleware
end
- Extract duration measuring to
Statue::Clock
and be explicit that we are handling milliseconds. RackStatistics
queue time is now taken fromX-Request-Start
header.
- All duration reports are now sent in milliseconds (as it should have always been). These includes:
Statue.report_duration
RackStatistics
middleware metricsStatue.stopwatch
- Removed
Statue.duration
, you should useStatue::Clock.duration_in_ms
(which is more explicit) RackStatistics
:request.<key>
metric was renamed torequest.<key>.runtime
to have more uniform namesRackStatistics
: now sends specific counter for when your application didn't handle the exceptionUDPBacked
: now receives host/port named params or can be built from a string withUDPBacked.from_uri(<uri>)
- Make UDPBacked compatible with JRuby
- Add support for gauges
- Allow RackStatistics to handle not integer status codes
- Add stopwatchs to report multiple partial times
- Add support for multithreaded applications