{"id":18357230,"url":"https://github.com/nethermindeth/metrics-infrastructure","last_synced_at":"2025-09-12T02:09:44.621Z","repository":{"id":39782367,"uuid":"274423988","full_name":"NethermindEth/metrics-infrastructure","owner":"NethermindEth","description":"Metrics Infrastracture sample then can be used to monitor your running Nethermind nodes","archived":false,"fork":false,"pushed_at":"2025-06-20T09:46:24.000Z","size":106,"stargazers_count":10,"open_issues_count":4,"forks_count":4,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-06-20T10:44:17.144Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/NethermindEth.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-06-23T14:14:16.000Z","updated_at":"2025-05-02T15:59:46.000Z","dependencies_parsed_at":"2024-03-07T20:24:32.333Z","dependency_job_id":"3fc799c0-fcb7-40e3-8157-ccbf80a60f22","html_url":"https://github.com/NethermindEth/metrics-infrastructure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NethermindEth/metrics-infrastructure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NethermindEth%2Fmetrics-infrastructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NethermindEth%2Fmetrics-infrastructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NethermindEth%2Fmetrics-infrastructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NethermindEth%2Fmetrics-infrastructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NethermindEth","download_url":"https://codeload.github.com/NethermindEth/metrics-infrastructure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NethermindEth%2Fmetrics-infrastructure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274742848,"owners_count":25341132,"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-09-12T02:00:09.324Z","response_time":60,"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-05T22:13:16.586Z","updated_at":"2025-09-12T02:09:44.593Z","avatar_url":"https://github.com/NethermindEth.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Nethermind Metrics Docs](https://docs.nethermind.io/nethermind/ethereum-client/metrics/setting-up-local-metrics-infrastracture)\n\n## Requirements\n\n* Nethermind `v1.26.0` or later.\n* Docker with Docker Compose plugin installed. ([Installation Guide](https://docs.docker.com/desktop/))\n\n## Quick Guide\n\n1. Clone this repository and move into the project folder.\n2. Open [Grafana config file](grafana/config.ini) and edit admin username and password for additional security.\n3. Execute `docker compose up -d`.\n4. Configure and launch Nethermind client with the following flag `--Metrics.PushGatewayUrl=http://localhost:9091` or use the environment variable `NETHERMIND_METRICSCONFIG_PUSHGATEWAYURL` set to `http://localhost:9091`.\n5. Open your local [Grafana](http://localhost:3000) on your browser and login with your configured username and password.\n\n### Additional\n\nBy default the monitoring services are only exposed to the `localhost`(`127.0.0.1`) interface. To expose these services to another interfaces follow these steps:\n\n1. Create a copy of the `env.example` file named `.env`.\n2. Edit the `.env` file and set the desired interface to be used for each service. Use `0.0.0.0` for all interfaces.\n   * Change `NETHERMIND_PROMETHEUS_HOST` to update Prometheus interface.\n   * Change `NETHERMIND_PUSHGATEWAY_HOST` to update Prometheus Pushgateway interface.\n   * Change `NETHERMIND_GRAFANA_HOST` to update Grafana interface.\n3. Execute `docker compose up -d`.\n\nIn case any of these interfaces are exposed to the internet(ie. using `0.0.0.0`) be sure to restrict access to the services by using a firewall.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnethermindeth%2Fmetrics-infrastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnethermindeth%2Fmetrics-infrastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnethermindeth%2Fmetrics-infrastructure/lists"}