{"id":19096551,"url":"https://github.com/sapcc/puma-exporter","last_synced_at":"2025-04-30T14:13:30.659Z","repository":{"id":17782827,"uuid":"82703557","full_name":"sapcc/puma-exporter","owner":"sapcc","description":"A prometheus metrics exporter for the puma web server","archived":false,"fork":false,"pushed_at":"2025-01-31T12:07:03.000Z","size":95,"stargazers_count":2,"open_issues_count":5,"forks_count":5,"subscribers_count":53,"default_branch":"master","last_synced_at":"2025-02-19T18:47:26.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sapcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"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":"2017-02-21T16:44:05.000Z","updated_at":"2025-01-31T12:07:06.000Z","dependencies_parsed_at":"2024-06-19T09:59:38.801Z","dependency_job_id":"7f1d8482-539e-4b96-98ad-a44444499f37","html_url":"https://github.com/sapcc/puma-exporter","commit_stats":{"total_commits":3,"total_committers":3,"mean_commits":1.0,"dds":0.6666666666666667,"last_synced_commit":"99c0c4c98bc00628397fefca3368fc935dd3655e"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fpuma-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fpuma-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fpuma-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sapcc%2Fpuma-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sapcc","download_url":"https://codeload.github.com/sapcc/puma-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249514427,"owners_count":21284542,"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-09T03:37:04.322Z","updated_at":"2025-04-18T15:33:43.437Z","avatar_url":"https://github.com/sapcc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Puma Exporter\n\nPuma Exporter is a Prometheus exporter. It provides metrics on Puma's performance, including request backlog and thread count, and serves these metrics via HTTP for Prometheus to scrape.\n\n## Overview\n\nThis exporter is designed to query Puma's control server for performance metrics and expose them to Prometheus. Metrics provided include:\n\n- `puma_request_backlog`: Number of requests waiting to be processed by a thread.\n- `puma_thread_count`: Number of threads currently running.\n\n## Getting Started\n\n### Installation\n\nClone the repository and build the project:\n\n```bash\ngit clone https://github.com/sapcc/puma-exporter.git\ncd puma-exporter\nmake build\n```\n\n### Usage\n\nRun the exporter:\n\n```bash\n./bin/puma-exporter\n```\n\n### Building and pushing a new Docker image\n\nAfter making changes to the code, you can build and push a new Docker image:\n\n1. Upgrade the version in the `Makefile`.\n2. Run the following commands:\n\n```bash\nmake docker\nmake push\n```\n\n## Upload the changes to the repo\n\n```bash\ngit add -A\ngit commit -m \"release new version 1.x.x\"\ngit push\n```\n\n### Update the Helm Charts\n\nhttps://github.com/sapcc/helm-charts/blob/master/openstack/elektra/templates/deployment.yaml#L118\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fpuma-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsapcc%2Fpuma-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsapcc%2Fpuma-exporter/lists"}