module BuilderApm class RequestDetailsController < ApplicationController def index @request_id = params[:request_id] @data = redis_client.get("builder_apm:Request:#{@request_id}") || {} @diagnosis = redis_client.get("builder_apm:RequestDiagnosis:#{@request_id}") || '' @deeper_diagnosis = redis_client.get("builder_apm:RequestDiagnosis:Deeper:#{@request_id}") || '' @has_api_key = !BuilderApm.configuration.api_key.blank? end end end