{"id":22938274,"url":"https://github.com/dappnode/dappnodepackage-ethical-metrics","last_synced_at":"2026-02-17T15:30:54.831Z","repository":{"id":180118503,"uuid":"573182515","full_name":"dappnode/DAppNodePackage-ethical-metrics","owner":"dappnode","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-18T16:07:25.000Z","size":512,"stargazers_count":2,"open_issues_count":7,"forks_count":0,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-15T21:34:17.946Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dappnode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-12-01T21:58:11.000Z","updated_at":"2024-05-03T01:29:53.000Z","dependencies_parsed_at":"2024-04-05T14:31:14.113Z","dependency_job_id":"d2630ebb-87c7-4ce0-94ca-7e3418267c81","html_url":"https://github.com/dappnode/DAppNodePackage-ethical-metrics","commit_stats":null,"previous_names":["dappnode/ethical-metrics"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dappnode/DAppNodePackage-ethical-metrics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappnode%2FDAppNodePackage-ethical-metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappnode%2FDAppNodePackage-ethical-metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappnode%2FDAppNodePackage-ethical-metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappnode%2FDAppNodePackage-ethical-metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dappnode","download_url":"https://codeload.github.com/dappnode/DAppNodePackage-ethical-metrics/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappnode%2FDAppNodePackage-ethical-metrics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29548282,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T14:33:00.708Z","status":"ssl_error","status_checked_at":"2026-02-17T14:32:58.657Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":"2024-12-14T12:16:42.888Z","updated_at":"2026-02-17T15:30:54.799Z","avatar_url":"https://github.com/dappnode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ETHICAL METRICS\n\nThis repository contains the Ethical Metrics package, which is responsible for registering the user in the monitor-proxy and exposing some of it's dappnode metrics to a monitor-service instance. It achieves this through the setup of two dappnode services: _tor-hidden-service_ and _prometheus_.\n\n## tor-hidden-service\n\nThe tor-hidden-service attempts to register the user by periodically sending an HTTP POST request (endpoint _/targets_) to the monitor proxy. If the request is successful and returns a status code of 200, it waits 1 day before making the request again. In case of failure, it waits for 1 minute before retrying.\n\nAdditionally, when this service restarts or shuts down (in response to signals INT, TERM, HUP, KILL, or QUIT), it sends an HTTP DELETE request (endpoint: _/targets_) to the monitor proxy and propagates the signal to the tor process.\n\n## prometheus\n\nThe prometheus service starts a Prometheus federated server. This Prometheus server scrapes a set of filtered metrics from the DMS Prometheus server located at _prometheus.dms.dappnode:9090_. The metrics collected by this server are then ready to be scraped by a monitor-service instance.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappnode%2Fdappnodepackage-ethical-metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdappnode%2Fdappnodepackage-ethical-metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappnode%2Fdappnodepackage-ethical-metrics/lists"}