{"id":22938254,"url":"https://github.com/dappnode/dappnodepackage-dms","last_synced_at":"2025-08-12T18:32:46.200Z","repository":{"id":38224223,"uuid":"274963327","full_name":"dappnode/DAppNodePackage-DMS","owner":"dappnode","description":"This package privately and locally collects and displays metrics related to your dappnode and its packages. Based on Grafana and Prometheus","archived":false,"fork":false,"pushed_at":"2024-07-31T11:50:31.000Z","size":283,"stargazers_count":5,"open_issues_count":5,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-07-31T12:54:37.385Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-25T16:23:49.000Z","updated_at":"2024-07-31T11:44:34.000Z","dependencies_parsed_at":"2024-07-31T13:08:03.716Z","dependency_job_id":null,"html_url":"https://github.com/dappnode/DAppNodePackage-DMS","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappnode%2FDAppNodePackage-DMS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappnode%2FDAppNodePackage-DMS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappnode%2FDAppNodePackage-DMS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dappnode%2FDAppNodePackage-DMS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dappnode","download_url":"https://codeload.github.com/dappnode/DAppNodePackage-DMS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229699815,"owners_count":18109856,"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-14T12:16:37.034Z","updated_at":"2024-12-14T12:16:37.478Z","avatar_url":"https://github.com/dappnode.png","language":"TypeScript","readme":"# DMS DAppNode Package\n\n[![DAppNode Available](https://img.shields.io/badge/DAppNode-Available-brightgreen.svg)](http://my.dappnode/#/installer/dms.dnp.dappnode.eth)\n\n**D**AppNode **M**onitoring **S**ervice\n\nThis package privately and locally collects and displays metrics related to your dappnode and its packages. Based on Grafana and Prometheus\n\n---\n\n![avatar](avatar.png)\n\n---\n\n## How does it work?\n\nAccording to the following diagram, the DMS package provides a high level of abstraction, allowing any new DAppNode package developed to easily implement grafana and prometheus.\n\n![diagram](grafana-prometheus.png)\n\n### Instructions to implement Grafana and Prometheus in your DAppNode package:\n\n- **prometheus-targets.json** file: specifying the domain and the port where the data will be published.\n- **name-grafana-dashboard.json** file: specifying the grafana dashboard to be used.\n\nIf you want to learn more about how do Grafana and Prometheus work, visit this [link](https://prometheus.io/docs/visualization/grafana/)\n\n## How to add a custom prometheus endpoint\n\nIn order to add a custom path to prometheus you need to overwrite the `__metrics_path__` label (by default `/metrics`), so that you can define diferent and specific metrics paths per target, like this:\n\n```\n[\n    {\n        \"labels\": {\n            \"package\": \"tg.turbo-geth.dnp.dappnode.eth\",\n            \"service\": \"tg.turbo-geth.dappnode\",\n            \"__metrics_path__\": \"/debug/metrics/prometheus\"\n        },\n        \"targets\": [\n            \"tg.turbo-geth.dappnode:6060\"\n        ]\n    }\n]\n```\n\n## Note\n\nThis is early stage software and it's just a PoC\n\n## License\n\nThis project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappnode%2Fdappnodepackage-dms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdappnode%2Fdappnodepackage-dms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdappnode%2Fdappnodepackage-dms/lists"}