Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 2

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....

1 Reply
Community Manager
Message 2 of 2

Re: monitor ruby on rails app using grafana

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!

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!