Class: PumaMetricsEngine::DebugController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/puma_metrics_engine/debug_controller.rb

Instance Method Summary collapse

Instance Method Details

#show ⇒ Object



7
8
9
10
11
12
13
14
15
16
# File 'app/controllers/puma_metrics_engine/debug_controller.rb', line 7

def show
  render json: {
    timestamp: Time.current,
    middleware: middleware_status,
    redis: redis_status,
    headers: sample_headers,
    data: redis_data_summary,
    environment: environment_info
  }
end