Monitor rails app using grafana


#1

Hi
i am trying to monitor rails app using grafana, telegraf, influxdb
By using this i am getting only response time of each 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 call/details of each controller. can anyone help me out on this.

i want the dashboard like newrelic in grafana.