Rails Metrics 7,7497,749
A generic dashboard for metrics collected by the prometheus_exporter gem. Metrics for Puma/Ruby on Rails (Request Duration, Request Count, ...), Delayed Jobs (Job Duration, Job Count, ...) and memory usage are displayed.
Providing the following variables, this dashboard can be used for multiple applications:
- datesource: The Prometheus instances to fetch the data from.
- kubernetes_namespace: The namespace of the application to inspect.
- controller: Name of the controller
- action: Name of the action, specific to the selected controller.
- job: Name of the ActiveJob
Used Metrics 2020
ruby_rss
ruby_http_requests_total
ruby_delayed_job_duration_seconds_summary_count
ruby_http_request_duration_seconds_sum
ruby_http_request_duration_seconds_count
quantile
ruby_http_request_sql_duration_seconds_sum
ruby_http_request_sql_duration_seconds_count
ruby_puma_thread_pool_capacity
ruby_puma_request_backlog
topk
ruby_delayed_job_duration_seconds
ruby_delayed_jobs_total
ruby_delayed_job_duration_seconds_summary_sum
ruby_delayed_jobs_enqueued
ruby_delayed_jobs_pending
ruby_allocated_objects_total
min
ruby_heap_free_slots
ruby_heap_live_slots