{"id":19723568,"url":"https://github.com/remind101/heroku-kit","last_synced_at":"2025-06-15T10:38:26.276Z","repository":{"id":10606405,"uuid":"12823145","full_name":"remind101/heroku-kit","owner":"remind101","description":"An opinionated collection of middleware for Ruby apps running on Heroku.","archived":false,"fork":false,"pushed_at":"2013-09-19T01:12:54.000Z","size":184,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":98,"default_branch":"master","last_synced_at":"2025-02-28T00:55:52.711Z","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/remind101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-14T02:19:30.000Z","updated_at":"2014-02-05T01:55:29.000Z","dependencies_parsed_at":"2022-09-02T13:41:25.568Z","dependency_job_id":null,"html_url":"https://github.com/remind101/heroku-kit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/remind101/heroku-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fheroku-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fheroku-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fheroku-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fheroku-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remind101","download_url":"https://codeload.github.com/remind101/heroku-kit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fheroku-kit/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259960588,"owners_count":22938092,"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-11-11T23:22:38.018Z","updated_at":"2025-06-15T10:38:26.232Z","avatar_url":"https://github.com/remind101.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Heroku Kit\n\nAn opinionated collection of middleware, utilities and best practives for\n[12factor](http://12factor.net) Ruby apps running on Heroku.\n\n* [rack-timeout](https://github.com/kch/rack-timeout) for timing out long\n  running requests.\n* [formatted-metrics](https://github.com/remind101/formatted-metrics) for logging metrics to STDOUT\n  for consumption by [l2met](https://github.com/ryandotsmith/l2met).\n* [collective](https://github.com/remind101/collective) for collecting metrics from services.\n* [request\\_id](https://github.com/remind101/request_id) for tracing request\\_id's through systems.\n* [rails\\_12factor](https://github.com/remind101/rails_12factor) for enabling\n  STDOUT logging and static asset serving in production.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'heroku-kit', github: 'remind101/heroku-kit'\n```\n\n## Usage\n\nFirst, ensure that you have the http-request-id and log-runtime-metrics labs\nfeatures enabled:\n\n```bash\nheroku labs:enable http-request-id\nheroku labs:enable log-runtime-metrics\n```\n\n### Rails\n\nYou're done!\n\n### Rack\n\nAdd the middlewares:\n\n```ruby\nuse Rack::Timeout\nuse Rack::RequestId\nuse Rack::Instrumentation\n```\n\nConfigure your logger:\n\n```ruby\nApp.logger = Heroku::Kit::Logger.new\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremind101%2Fheroku-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremind101%2Fheroku-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremind101%2Fheroku-kit/lists"}