monitor ruby on rails app using grafana

Hi

i am trying to monitor rails application using telegraf, influxdb and grafana

By using this i am getting only response time of the controller.

ActiveSupport::Notifications.subscribe(‘process_action.action_controller’) do |*args|
event = ActiveSupport::Notifications::Event.new(*args)
INFLUXDB_CLIENT.write_point(‘process_action.action_controller’, {
values: { duration: event.duration, db_runtime: event.payload[:db_runtime] },
tags: { controller: event.payload[:controller], status: event.payload[:status] }
})
end

 now i want transaction calls/details of each  controller. getting stuck on this transaction details…

can anyone help me out on how to get transaction details of each controller…

Hi @gaddamanusha,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our community organized so users can more easily find information.

As you’ll notice, your topic is now here in the Project Development Help and Advice board. No action is needed on your part; you can continue the conversation as normal here.

Cheers!