{"id":21643916,"url":"https://github.com/application-research/delta-global-metrics-rest-api","last_synced_at":"2026-05-17T03:37:51.552Z","repository":{"id":157594985,"uuid":"613897522","full_name":"application-research/delta-global-metrics-rest-api","owner":"application-research","description":"Delta Metrics / Telemetry REST Endpoints","archived":false,"fork":false,"pushed_at":"2023-07-05T18:03:02.000Z","size":152,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-03-19T08:49:21.385Z","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/application-research.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":"2023-03-14T13:45:17.000Z","updated_at":"2023-06-15T17:55:12.000Z","dependencies_parsed_at":"2024-06-21T15:32:58.651Z","dependency_job_id":"080cbb96-dc71-4f43-afdd-3ad0e07c3e3f","html_url":"https://github.com/application-research/delta-global-metrics-rest-api","commit_stats":null,"previous_names":["application-research/delta-metrics-rest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/application-research/delta-global-metrics-rest-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fdelta-global-metrics-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fdelta-global-metrics-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fdelta-global-metrics-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fdelta-global-metrics-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/application-research","download_url":"https://codeload.github.com/application-research/delta-global-metrics-rest-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/application-research%2Fdelta-global-metrics-rest-api/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268047997,"owners_count":24187210,"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-07-31T02:00:08.723Z","response_time":66,"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":[],"created_at":"2024-11-25T05:36:52.832Z","updated_at":"2025-10-28T17:32:12.416Z","avatar_url":"https://github.com/application-research.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Delta Global Metrics Rest\nRest API for Delta Global Metrics\n\n# How it works\n\n- delta instances reports all data using https://github.com/application-research/delta-events-consumer\n- the event consumer inserts record on delta metrics database.\n- delta-metrics-rest-api (this project) interface all the tables and views of the delta metrics database.\n\n![image](https://github.com/application-research/delta-metrics-rest-api/assets/4479171/64dd71f4-55e3-4c08-89e5-74d396d32e0d)\n\n## Set up the .env file\n```\nDB_NAME=deltadb_metrics\nDB_HOST=\u003cdelta-metrics connection uri\u003e\nDB_USER=deltadb_metrics_user\nDB_PASS=\u003cpassword\u003e\nDB_PORT=5432\n```\n\n## Build the binary\n```\nmake dmr\n```\n\n## Run the binary\n```\n./dmr\n```\n\n## Check the live totals info here\n```\nhttps://global.delta.store/open/stats/totals/info\n```\n\n## Global Stats available\n- total deals attempted\n- total e2e deals attempted\n- total import deals attempted\n- total deals succeeded\n- total e2e deals succeeded\n- total import deals succeeded\n- total deals failed\n- total e2e deals failed\n- total import deals failed\n- total deals active\n- total e2e deals active\n- total import deals active\n- total number of sps\n- total number of delta nodes\n\n## Storage stats available\n- total storage consumed by deals attempted\n- total storage consumed by e2e deals attempted\n- total storage consumed by import deals attempted\n- total storage consumed by deals succeeded\n- total storage consumed by e2e deals succeeded\n- total storage consumed by import deals succeeded\n- total storage consumed by deals failed\n- total storage consumed by e2e deals failed\n- total storage consumed by import deals failed\n- total storage consumed by deals active\n- total storage consumed by e2e deals active\n- total storage consumed by import deals active\n- total storage consumed by all deals\n- total storage consumed by all e2e deals\n\n## SP\n- list of SP\n- list of SP location\n- list of SP deals attempted\n- list of SP deals succeeded\n- list of SP deals failed\n- list of SP deals active\n- list of SP deals attempted by e2e\n- list of SP deals succeeded by e2e\n- list of SP deals failed by e2e\n- list of SP deals active by e2e\n- list of SP deals attempted by import\n- list of SP deals succeeded by import\n- list of SP deals failed by import\n\n\n# Author\nProtocol Labs Outercore Engineering.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Fdelta-global-metrics-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplication-research%2Fdelta-global-metrics-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplication-research%2Fdelta-global-metrics-rest-api/lists"}