Skip to content

Instantly share code, notes, and snippets.

@Fivell
Created July 2, 2019 07:33
Show Gist options
  • Save Fivell/224a9cda0fadf1ff323a730c5a0d36dc to your computer and use it in GitHub Desktop.
Save Fivell/224a9cda0fadf1ff323a730c5a0d36dc to your computer and use it in GitHub Desktop.
metrics
metrics
# HELP ruby_collector_working Is the master process collector able to collect metrics
# TYPE ruby_collector_working gauge
ruby_collector_working 1
# HELP ruby_collector_rss total memory used by collector process
# TYPE ruby_collector_rss gauge
ruby_collector_rss 0
# HELP ruby_collector_metrics_total Total metrics processed by exporter web.
# TYPE ruby_collector_metrics_total counter
ruby_collector_metrics_total 196043
# HELP ruby_collector_sessions_total Total send_metric sessions processed by exporter web.
# TYPE ruby_collector_sessions_total counter
ruby_collector_sessions_total 1738
# HELP ruby_collector_bad_metrics_total Total mis-handled metrics by collector.
# TYPE ruby_collector_bad_metrics_total counter
ruby_collector_bad_metrics_total 0
# HELP ruby_http_requests_total Total HTTP requests from web app.
# TYPE ruby_http_requests_total counter
ruby_http_requests_total{controller="api/jsonp/pricelists",action="show",host="staging",status="200"} 93289
ruby_http_requests_total{controller="other",action="other",host="staging",status="404"} 3
ruby_http_requests_total{controller="admin/dashboard",action="index",host="staging",status="302"} 100000
# HELP ruby_http_duration_seconds Time spent in HTTP reqs in seconds.
# TYPE ruby_http_duration_seconds summary
ruby_http_duration_seconds_sum{controller="api/jsonp/pricelists",action="show",host="staging"} 6096.999712112825
ruby_http_duration_seconds_count{controller="api/jsonp/pricelists",action="show",host="staging"} 93289
ruby_http_duration_seconds_sum{controller="other",action="other",host="staging"} 3.4219200001098224
ruby_http_duration_seconds_count{controller="other",action="other",host="staging"} 3
ruby_http_duration_seconds{controller="admin/dashboard",action="index",host="staging",quantile="0.99"} 0.1314670001156628
ruby_http_duration_seconds{controller="admin/dashboard",action="index",host="staging",quantile="0.9"} 0.1096109999343753
ruby_http_duration_seconds{controller="admin/dashboard",action="index",host="staging",quantile="0.5"} 0.06352599989622831
ruby_http_duration_seconds{controller="admin/dashboard",action="index",host="staging",quantile="0.1"} 0.05955500015988946
ruby_http_duration_seconds{controller="admin/dashboard",action="index",host="staging",quantile="0.01"} 0.05700000002980232
ruby_http_duration_seconds_sum{controller="admin/dashboard",action="index",host="staging"} 7361.553705054335
ruby_http_duration_seconds_count{controller="admin/dashboard",action="index",host="staging"} 100000
# HELP ruby_http_redis_duration_seconds Time spent in HTTP reqs in Redis, in seconds.
# TYPE ruby_http_redis_duration_seconds summary
# HELP ruby_http_sql_duration_seconds Time spent in HTTP reqs in SQL in seconds.
# TYPE ruby_http_sql_duration_seconds summary
ruby_http_sql_duration_seconds_sum{controller="api/jsonp/pricelists",action="show",host="staging"} 21.36378704942763
ruby_http_sql_duration_seconds_count{controller="api/jsonp/pricelists",action="show",host="staging"} 93289
ruby_http_sql_duration_seconds_sum{controller="other",action="other",host="staging"} 0.005473000463098288
ruby_http_sql_duration_seconds_count{controller="other",action="other",host="staging"} 3
ruby_http_sql_duration_seconds{controller="admin/dashboard",action="index",host="staging",quantile="0.99"} 0.01005499949678779
ruby_http_sql_duration_seconds{controller="admin/dashboard",action="index",host="staging",quantile="0.9"} 0.004666000138968229
ruby_http_sql_duration_seconds{controller="admin/dashboard",action="index",host="staging",quantile="0.5"} 0.003168999683111906
ruby_http_sql_duration_seconds{controller="admin/dashboard",action="index",host="staging",quantile="0.1"} 0.001533001195639372
ruby_http_sql_duration_seconds{controller="admin/dashboard",action="index",host="staging",quantile="0.01"} 0.001379000023007393
ruby_http_sql_duration_seconds_sum{controller="admin/dashboard",action="index",host="staging"} 289.19398119393736
ruby_http_sql_duration_seconds_count{controller="admin/dashboard",action="index",host="staging"} 100000
# HELP ruby_http_queue_duration_seconds Time spent queueing the request in load balancer in seconds.
# TYPE ruby_http_queue_duration_seconds summary
# HELP ruby_heap_free_slots Free ruby heap slots.
# TYPE ruby_heap_free_slots gauge
ruby_heap_free_slots{host="staging",type="web",pid="90443"} 1159
ruby_heap_free_slots{host="staging",type="web",pid="90442"} 1308
ruby_heap_free_slots{host="staging",type="master",pid="90431"} 3838
# HELP ruby_heap_live_slots Used ruby heap slots.
# TYPE ruby_heap_live_slots gauge
ruby_heap_live_slots{host="staging",type="web",pid="90443"} 1692819
ruby_heap_live_slots{host="staging",type="web",pid="90442"} 1710610
ruby_heap_live_slots{host="staging",type="master",pid="90431"} 1614743
# HELP ruby_heap_allocated_pages Used rubye heap pages
# TYPE ruby_heap_allocated_pages gauge
ruby_heap_allocated_pages{host="staging",type="web",pid="90443"} 4156
ruby_heap_allocated_pages{host="staging",type="web",pid="90442"} 4200
ruby_heap_allocated_pages{host="staging",type="master",pid="90431"} 3971
# HELP ruby_heap_eden_pages Pages contain no live objects, and so have completely free slots.
# TYPE ruby_heap_eden_pages gauge
ruby_heap_eden_pages{host="staging",type="web",pid="90443"} 4156
ruby_heap_eden_pages{host="staging",type="web",pid="90442"} 4200
ruby_heap_eden_pages{host="staging",type="master",pid="90431"} 3971
# HELP ruby_heap_tomb_pages Heap pages which contain at least one live object in them
# TYPE ruby_heap_tomb_pages gauge
ruby_heap_tomb_pages{host="staging",type="web",pid="90443"} 0
ruby_heap_tomb_pages{host="staging",type="web",pid="90442"} 0
ruby_heap_tomb_pages{host="staging",type="master",pid="90431"} 0
# HELP ruby_heap_marked_slots Used ruby heap marked slots
# TYPE ruby_heap_marked_slots gauge
ruby_heap_marked_slots{host="staging",type="web",pid="90443"} 1349019
ruby_heap_marked_slots{host="staging",type="web",pid="90442"} 1346956
ruby_heap_marked_slots{host="staging",type="master",pid="90431"} 1184731
# HELP ruby_rss Total RSS used by process.
# TYPE ruby_rss gauge
ruby_rss{host="staging",type="web",pid="90443"} 0
ruby_rss{host="staging",type="web",pid="90442"} 0
ruby_rss{host="staging",type="master",pid="90431"} 0
# HELP ruby_major_gc_ops_total Major GC operations by process.
# TYPE ruby_major_gc_ops_total counter
ruby_major_gc_ops_total{host="staging",type="web",pid="90443"} 23
ruby_major_gc_ops_total{host="staging",type="web",pid="90442"} 21
ruby_major_gc_ops_total{host="staging",type="master",pid="90431"} 12
# HELP ruby_minor_gc_ops_total Minor GC operations by process.
# TYPE ruby_minor_gc_ops_total counter
ruby_minor_gc_ops_total{host="staging",type="web",pid="90443"} 3921
ruby_minor_gc_ops_total{host="staging",type="web",pid="90442"} 3743
ruby_minor_gc_ops_total{host="staging",type="master",pid="90431"} 54
# HELP ruby_allocated_objects_total Total number of allocated objects by process.
# TYPE ruby_allocated_objects_total counter
ruby_allocated_objects_total{host="staging",type="web",pid="90443"} 1578209994
ruby_allocated_objects_total{host="staging",type="web",pid="90442"} 1567462412
ruby_allocated_objects_total{host="staging",type="master",pid="90431"} 10120343
# HELP ruby_freed_objects_total Total number of freed objects by process.
# TYPE ruby_freed_objects_total counter
ruby_freed_objects_total{host="staging",type="web",pid="90443"} 1576517175
ruby_freed_objects_total{host="staging",type="web",pid="90442"} 1565751802
ruby_freed_objects_total{host="staging",type="master",pid="90431"} 8505600
# HELP ruby_total_allocated_pages Total number of allocated pages by process.
# TYPE ruby_total_allocated_pages counter
ruby_total_allocated_pages{host="staging",type="web",pid="90443"} 4156
ruby_total_allocated_pages{host="staging",type="web",pid="90442"} 4200
ruby_total_allocated_pages{host="staging",type="master",pid="90431"} 3971
# HELP ruby_total_freed_pages Total number of freed pages by process.
# TYPE ruby_total_freed_pages counter
ruby_total_freed_pages{host="staging",type="web",pid="90443"} 0
ruby_total_freed_pages{host="staging",type="web",pid="90442"} 0
ruby_total_freed_pages{host="staging",type="master",pid="90431"} 0
# HELP ruby_puma_workers_total Number of puma workers.
# TYPE ruby_puma_workers_total gauge
ruby_puma_workers_total{phase="0",host="staging"} 2
# HELP ruby_puma_booted_workers_total Number of puma workers booted.
# TYPE ruby_puma_booted_workers_total gauge
ruby_puma_booted_workers_total{phase="0",host="staging"} 2
# HELP ruby_puma_old_workers_total Number of old puma workers.
# TYPE ruby_puma_old_workers_total gauge
ruby_puma_old_workers_total{phase="0",host="staging"} 0
# HELP ruby_puma_running_threads_total Number of puma threads currently running.
# TYPE ruby_puma_running_threads_total gauge
ruby_puma_running_threads_total{phase="0",host="staging"} 10
# HELP ruby_puma_request_backlog_total Number of requests waiting to be processed by a puma thread.
# TYPE ruby_puma_request_backlog_total gauge
ruby_puma_request_backlog_total{phase="0",host="staging"} 0
# HELP ruby_puma_thread_pool_capacity_total Number of puma threads available at current scale.
# TYPE ruby_puma_thread_pool_capacity_total gauge
ruby_puma_thread_pool_capacity_total{phase="0",host="staging"} 10
# HELP ruby_puma_max_threads_total Number of puma threads at available at max scale.
# TYPE ruby_puma_max_threads_total gauge
ruby_puma_max_threads_total{phase="0",host="staging"} 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment