Skip to content

Releases: errm/promenade

v0.12.3

27 Feb 14:02
Compare
Choose a tag to compare

What's Changed

  • Collect ratio_in_yjit from YJIT stats if avalible by @errm in #54

Full Changelog: v0.12.2...v0.12.3

v0.12.2

26 Feb 11:50
Compare
Choose a tag to compare

What's Changed

  • Add middleware to record YJIT code_region_size by @errm in #53

Full Changelog: v0.12.1...v0.12.2

v0.12.1

26 Feb 11:50
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.12.0...v0.12.1

v0.12.0

24 Jan 16:50
Compare
Choose a tag to compare

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

Full Changelog: v0.11.0...v0.12.0

v0.11.0

24 Jan 16:47
3dd9735
Compare
Choose a tag to compare

What's Changed

  • Rename http_req_duration_seconds to http_request_duration_seconds by @errm in #48

Full Changelog: v0.10.0...v0.11.0

Version 0.6.0

23 Aug 12:07
7983b8d
Compare
Choose a tag to compare

v0.6.0 / 2022-08-23

  • Move acknowledgement from code comments to README (#32)
  • Add support for request queue time metrics (#29)
  • Add Buckets customisation documentation

Rack Collector - adding support to accept custom latency buckets

27 Jul 10:40
Compare
Choose a tag to compare

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

17 Jun 10:06
5cefbef
Compare
Choose a tag to compare

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

05 Jul 10:29
c4fe725
Compare
Choose a tag to compare
require "promenade/kafka"

Will instrument the ruby-kafka library...