{"id":22706804,"url":"https://github.com/bigbinary/pg_connection_counter","last_synced_at":"2025-10-07T18:09:24.977Z","repository":{"id":24468701,"uuid":"27872279","full_name":"bigbinary/pg_connection_counter","owner":"bigbinary","description":null,"archived":false,"fork":false,"pushed_at":"2015-03-16T17:55:01.000Z","size":224,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":48,"default_branch":"master","last_synced_at":"2025-02-04T21:43:22.868Z","etag":null,"topics":[],"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/bigbinary.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}},"created_at":"2014-12-11T13:15:52.000Z","updated_at":"2018-03-21T19:16:17.000Z","dependencies_parsed_at":"2022-08-22T16:40:14.678Z","dependency_job_id":null,"html_url":"https://github.com/bigbinary/pg_connection_counter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbinary%2Fpg_connection_counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbinary%2Fpg_connection_counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbinary%2Fpg_connection_counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bigbinary%2Fpg_connection_counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bigbinary","download_url":"https://codeload.github.com/bigbinary/pg_connection_counter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246243565,"owners_count":20746307,"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-12-10T10:09:46.035Z","updated_at":"2025-10-07T18:09:19.941Z","avatar_url":"https://github.com/bigbinary.png","language":"Ruby","readme":"# PgConnectionCounter\n\nDisplays the number of connections opened in the database.\n\n#### Usage\n\n```\ngem 'pg_connection_counter'\n```\n\nThis gem provides a rake task. The rake task can be run on hourly basis and log the connection status.\n\n```\nrake log_pg_connection_counter\n```\n\nIf you want more fine grained control then use like this. In one project we put a `before_action` call to display the connection status using the method described below.\n\n```\nPgConnectionCounter::Counter.new.display\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigbinary%2Fpg_connection_counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbigbinary%2Fpg_connection_counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbigbinary%2Fpg_connection_counter/lists"}