All threads / Extract KPIs from Rails app and append to spreadsheet
Ask A Question


You’re not receiving notifications from this thread.

Extract KPIs from Rails app and append to spreadsheet

Demetrios asked in General


Not sure if this is the right place for a question like this but I'm wondering if anyone has any examples on how to easily extract (and display) some Key Performance Indicators from a running Rails application? I have a dozen or so metrics that I'd to be able to share (User.where('created_at > ?', 1.week.ago).count, etc.).

The request is to inject them into a Google Sheet every week but I'm open to suggestions. What are others doing to provide high level visibility into production Rails applications?

Trying to avoid creating new model to persist these when they can be generated rather quickly. Perhaps a route that would return the JSON that could then be parsed by another tool? Or a rake task that would run on weekly basis to push data somewhere? Thoughts?

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 66,029+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.