Module: Yabeda::ActiveRecord

Defined in:
lib/yabeda/active_record.rb,
lib/yabeda/active_record/version.rb

Overview

ActiveRecord Yabeda plugin to collect metrics for query performance, connection pool stats, etc

Defined Under Namespace

Classes: Error

Constant Summary collapse

LONG_RUNNING_QUERY_RUNTIME_BUCKETS =
[
  0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2.5, 5, 10, # standard (from Prometheus)
  30, 60, 120, 300, 1800, 3600, 21_600, # Well, sometime queries can execute way too long
].freeze
VERSION =
"0.1.1"