Releases: errm/promenade
Releases · errm/promenade
v0.12.3
v0.12.2
v0.12.1
What's Changed
- Update prometheus-client-mmap by @luizkowalski in #51
- Upgrade test dependencies by @errm in #52
Full Changelog: v0.12.0...v0.12.1
v0.12.0
What's Changed
- Fix: Update prometheus-client-mmap dependency version and add Ruby 3.3 to the test matrix by @luizkowalski in #50
New Contributors
- @luizkowalski made their first contribution in #50
Full Changelog: v0.11.0...v0.12.0
v0.11.0
Version 0.6.0
Rack Collector - adding support to accept custom latency buckets
Adding support for custom latency buckets. The default buckets cover a range of latencies from 5 ms to 10 s see, Prometheus::Client::Histogram::DEFAULT_BUCKETS, this is intended to capture the typical range of latencies for a web application. However this might not be suitable for your Service-Level Agreements (SLAs) and would be better to have a way to setup a more convenient buckets/bins
Developers will have now the option of passing a new variable when including the Rack Collector middleware to their Rack/Rails applications
# config/initializers/promenade.rb
Promenade.configure do |config|
config.rack_latency_buckets = [0.25, 0.350, 0.5, 1, 1.5, 2.5, 5, 10, 15, 19]
end
Added in #27
Adds Rails middleware to track request durations
Adds Rails Rack middleware to track the request durations in Prometheus.
- Uses monotonic time
- Records request durations in seconds
- Automatically inserts into the Rack middleware stack if Rails is detected
Support for ruby-kafka
require "promenade/kafka"
Will instrument the ruby-kafka library...