{"id":16748056,"url":"https://github.com/icco/three-things","last_synced_at":"2025-08-17T05:06:14.091Z","repository":{"id":59158461,"uuid":"62913683","full_name":"icco/three-things","owner":"icco","description":null,"archived":false,"fork":false,"pushed_at":"2018-01-09T04:41:14.000Z","size":20,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T21:34:01.483Z","etag":null,"topics":["monitoring","ruby","statsd"],"latest_commit_sha":null,"homepage":null,"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/icco.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-08T19:49:02.000Z","updated_at":"2017-03-06T20:02:24.000Z","dependencies_parsed_at":"2022-09-13T20:11:21.360Z","dependency_job_id":null,"html_url":"https://github.com/icco/three-things","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/icco/three-things","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icco%2Fthree-things","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icco%2Fthree-things/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icco%2Fthree-things/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icco%2Fthree-things/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/icco","download_url":"https://codeload.github.com/icco/three-things/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/icco%2Fthree-things/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270347831,"owners_count":24568606,"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","status":"online","status_checked_at":"2025-08-14T02:00:10.309Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["monitoring","ruby","statsd"],"created_at":"2024-10-13T02:11:38.225Z","updated_at":"2025-08-17T05:06:14.040Z","avatar_url":"https://github.com/icco.png","language":"Ruby","readme":"# ThreeThings\n\n[![Gem Version](https://badge.fury.io/rb/three-things.svg)](https://badge.fury.io/rb/three-things)\n\nThreeThings is a middleware for monitoring the classic three things web apis want to know about:\n\n - request rate\n - request duration\n - request error rate\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'three-things'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install three-things\n\n## Usage\n\n```\ndef statsd\n  Statsd.new(\"localhost\", 8125).tap { |sd| sd.namespace = \"app.prefix\" }\nend\n\nclass App \u003c Sinatra::Base\n  use ThreeThings::Middleware, statsd\n  \n  get '/' do\n    \"ok\"\n  end\nend\n```\n\n## Development\n\nAfter checking out the repo, run `bundle install` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/icco/three-things. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/icco/three-things/blob/master/CODE_OF_CONDUCT.md).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficco%2Fthree-things","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficco%2Fthree-things","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficco%2Fthree-things/lists"}