{"id":17065925,"url":"https://github.com/npezza93/activeinsights","last_synced_at":"2025-09-12T10:37:26.702Z","repository":{"id":217580807,"uuid":"744288671","full_name":"npezza93/activeinsights","owner":"npezza93","description":"Track response times and RPM inside your Rails app","archived":false,"fork":false,"pushed_at":"2025-02-28T15:52:13.000Z","size":6227,"stargazers_count":36,"open_issues_count":3,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T10:05:09.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/npezza93.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-17T01:42:56.000Z","updated_at":"2025-02-28T15:52:14.000Z","dependencies_parsed_at":"2024-01-25T17:45:15.852Z","dependency_job_id":"1646f0e5-f5c2-46e3-b721-3242a18a0f4c","html_url":"https://github.com/npezza93/activeinsights","commit_stats":null,"previous_names":["npezza93/activeinsights","npezza93/activemetrics"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npezza93%2Factiveinsights","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npezza93%2Factiveinsights/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npezza93%2Factiveinsights/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/npezza93%2Factiveinsights/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/npezza93","download_url":"https://codeload.github.com/npezza93/activeinsights/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640465,"owners_count":20971557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T11:01:35.339Z","updated_at":"2025-04-07T11:09:02.070Z","avatar_url":"https://github.com/npezza93.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"# ActiveInsights\n\nOne of the fundamental tools needed when taking your Rails app to production is\na way to track response times. Unfortunately, there aren't many free, easy,\nopen source ways to track them for small or medium apps. Skylight, Honeybadger,\nSentry, AppSignal, etc. are great, but they are are closed source and\nthere should be an easy open source alternative where you control the data.\nWith Rails 8's ethos of No PAAS, there should be a way for new apps to start out\nwith a basic error reporter and not be forced to pay a third party for one.\n\nActiveInsights hooks into the ActiveSupport [instrumention](https://guides.rubyonrails.org/active_support_instrumentation.html#)\nbaked directly into Rails. ActiveInsights tracks RPM, RPM per controller, and\np50/p95/p99 response times and charts all those by the minute. It also tracks\njobs per minute, their duration, and latency.\n\n![screenshot 1](https://github.com/npezza93/activeinsights/blob/main/.github/screenshot1.png)\n![screenshot 2](https://github.com/npezza93/activeinsights/blob/main/.github/screenshot2.png)\n![screenshot 3](https://github.com/npezza93/activeinsights/blob/main/.github/screenshot3.png)\n![screenshot 4](https://github.com/npezza93/activeinsights/blob/main/.github/screenshot4.png)\n![screenshot 5](https://github.com/npezza93/activeinsights/blob/main/.github/screenshot5.png)\n\n## Installation\nAdd this line to your application's Gemfile:\n\n```ruby\ngem \"activeinsights\"\n```\n\nAnd then execute:\n```bash\n$ bundle\n```\n\nOr install it yourself as:\n```bash\n$ gem install activeinsights\n```\n\nRun the installer and migrate:\n```bash\nbin/rails active_insights:install\nbin/rails rails db:migrate\n```\n\nThis will mount a route in your routes file to view the insights at `/insights`.\n\n\n##### Config\n\nYou can supply a hash of connection options to `connects_to` set the connection\noptions for the `Request` model.\n\n```ruby\nconfig.active_insights.connects_to = { database: { writing: :requests, reading: :requests } }\n```\n\nYou can supply an array of ignored endpoints\n\n```ruby\nconfig.active_insights.ignored_endpoints = [\"Rails::HealthController#show\"]\n```\n\nIf you are using Sprockets, add the ActiveInsights css file to manifest.js:\n```javascript\n//= link active_insights/application.css\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run\n`rails test` to run the unit tests.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To\nrelease a new version, execute `bin/publish (major|minor|patch)` which will\nupdate the version number in `version.rb`, create a git tag for the version,\npush git commits and tags, and push the `.gem` file to GitHub.\n\n## Contributing\n\nBug reports and pull requests are welcome on\n[GitHub](https://github.com/npezza93/activeinsights). This project is intended to\nbe a safe, welcoming space for collaboration, and contributors are expected to\nadhere to the [Contributor Covenant](http://contributor-covenant.org) code of\nconduct.\n\n## License\n\nThe gem is available as open source under the terms of the\n[MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpezza93%2Factiveinsights","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnpezza93%2Factiveinsights","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnpezza93%2Factiveinsights/lists"}