{"id":26059667,"url":"https://github.com/orange-cloudfoundry/promfetcher-release","last_synced_at":"2026-02-03T01:10:12.856Z","repository":{"id":41316982,"uuid":"274497945","full_name":"orange-cloudfoundry/promfetcher-release","owner":"orange-cloudfoundry","description":"This is the bosh release for deploying promfetcher alongside cloud foundry.","archived":false,"fork":false,"pushed_at":"2026-01-12T23:31:12.000Z","size":430,"stargazers_count":4,"open_issues_count":2,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2026-01-13T03:14:58.935Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orange-cloudfoundry.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-23T20:03:03.000Z","updated_at":"2026-01-12T23:31:16.000Z","dependencies_parsed_at":"2023-10-12T07:29:13.081Z","dependency_job_id":"84844c66-70d1-4fc8-8620-a3eac569026c","html_url":"https://github.com/orange-cloudfoundry/promfetcher-release","commit_stats":null,"previous_names":[],"tags_count":255,"template":false,"template_full_name":null,"purl":"pkg:github/orange-cloudfoundry/promfetcher-release","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fpromfetcher-release","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fpromfetcher-release/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fpromfetcher-release/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fpromfetcher-release/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orange-cloudfoundry","download_url":"https://codeload.github.com/orange-cloudfoundry/promfetcher-release/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orange-cloudfoundry%2Fpromfetcher-release/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28482221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2025-03-08T13:27:26.525Z","updated_at":"2026-01-16T20:01:37.815Z","avatar_url":"https://github.com/orange-cloudfoundry.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Promfetcher-release\n\nThis is the bosh release for deploying [promfetcher](https://github.com/orange-cloudfoundry/promfetcher) alongside cloud foundry.\n\n[promfetcher](https://github.com/orange-cloudfoundry/promfetcher) was made for [cloud foundry](https://cloudfoundry.org) and the idea behind is to give ability to fetch \nmetrics from all app instances in a cloud foundry environment.\n\nUser can retrieve is metrics by simply call `/v1/apps/[org_name]/[space_name]/[app_name]/metrics` which will merge all metrics \nfrom instances and add labels:\n- `organization_id`\n- `space_id` \n- `app_id`\n- `organization_name`\n- `space_name` \n- `app_name`\n- `index` - app instance index\n- `instance_id` - the same as index\n- `instance` - real container address\n\nIt also a service broker for cloud foundry to be able to set metrics endpoint for a particular which not use `/metrics` by default.\n\n## Example\n\nMetrics from app instance 0:\n```\ngo_memstats_mspan_sys_bytes{} 65536\n```\n\nMetrics from app instance 1:\n```\ngo_memstats_mspan_sys_bytes{} 5600\n```\n\nbecome:\n```\ngo_memstats_mspan_sys_bytes{organization_id=\"7d66c7e7-196a-40e5-a259-f5afaf6a56f4\",space_id=\"2ac205af-e18f-49a9-9a8b-48ef2bab2292\",app_id=\"621617db-9dd9-4211-8848-b245f3ea16b2\",organization_name=\"system\",space_name=\"tools\",app_name=\"app\",index=\"0\",instance_id=\"0\",instance=\"172.76.112.90:61038\"} 65536\ngo_memstats_mspan_sys_bytes{organization_id=\"7d66c7e7-196a-40e5-a259-f5afaf6a56f4\",space_id=\"2ac205af-e18f-49a9-9a8b-48ef2bab2292\",app_id=\"621617db-9dd9-4211-8848-b245f3ea16b2\",organization_name=\"system\",space_name=\"tools\",app_name=\"app\",index=\"1\",instance_id=\"1\",instance=\"172.76.112.91:61010\"} 65536\n```\n\n## Deploy on cloud foundry\n\nManifest has been created to be set as an ops file for [cloud foundry deployment](https://github.com/cloudfoundry/cf-deployment).\n\nSimply add ops file to your [cf-deployment](https://github.com/cloudfoundry/cf-deployment):\n- [/manifests/operations/cf/cf.yml](/manifests/operations/cf/cf.yml)\n- *(Optional)* [/manifests/operations/cf/enable-router-routing.yml](/manifests/operations/cf/enable-router-routing.yml):\n for using a route registrar to be able to resolve https://promfetcher.system.domain . But using it will make gorouter a bottleneck to get \n metrics, prefer using a proper dns entry for resolving https://promfetcher.system.domain and set entries to your load balancer to point directly to vm\n instead of using gorouter\n- *(Optional)* [/manifests/operations/cf/enable-backup.yml](/manifests/operations/cf/enable-backup.yml): Enable bbr backup/restore.\n- *(Optional)* [/manifests/operations/cf/disable-broker.yml](/manifests/operations/cf/disable-broker.yml): Disable broker functionality and remove database link because it becomes unnecessary.\n\n## Add broker for let user choose its endpoint\n\nRun: `bosh -d cf run-errand --instance=promfetch/0 promfetch-broker-registrar`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forange-cloudfoundry%2Fpromfetcher-release","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forange-cloudfoundry%2Fpromfetcher-release","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forange-cloudfoundry%2Fpromfetcher-release/lists"}