{"id":13819713,"url":"https://github.com/cavaliercoder/rpi_export","last_synced_at":"2025-05-16T07:31:55.591Z","repository":{"id":79498665,"uuid":"585209197","full_name":"cavaliercoder/rpi_export","owner":"cavaliercoder","description":"Prometheus exporter for Raspberry Pi hardware metrics","archived":false,"fork":false,"pushed_at":"2023-11-28T03:17:54.000Z","size":1240,"stargazers_count":37,"open_issues_count":4,"forks_count":9,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-11-11T20:11:29.330Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cavaliercoder.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-01-04T15:39:15.000Z","updated_at":"2024-10-25T15:06:11.000Z","dependencies_parsed_at":"2024-05-28T03:25:37.715Z","dependency_job_id":null,"html_url":"https://github.com/cavaliercoder/rpi_export","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavaliercoder%2Frpi_export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavaliercoder%2Frpi_export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavaliercoder%2Frpi_export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cavaliercoder%2Frpi_export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cavaliercoder","download_url":"https://codeload.github.com/cavaliercoder/rpi_export/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225413741,"owners_count":17470617,"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-08-04T08:00:52.046Z","updated_at":"2024-11-19T19:30:34.389Z","avatar_url":"https://github.com/cavaliercoder.png","language":"Go","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# rpi_exporter\n\nA lightweight Prometheus exporter for Raspberry Pi hardware metrics.\n\nCurrently supports the following metrics from the VideoCore System-on-Chip:\n\n- Component power states\n- Clock rates\n- Temperatures\n- Voltages\n- Turbo mode\n\n`rpi_exporter` is written in Go, has no dependencies and does not rely on\n`vcgencmd` to query hardware stats. It interfaces directly with the VideoCore\ndevice so that metric-collection is as lightweight and fast as possible.\n\n![Grafana dashboard](assets/grafana.png)\n\nGrafana Dashboard: [JSON model](assets/grafana_dashboard.json?raw=1)\n\n# Installation\n\n## Install binary\n\n```shell\n# Install to /opt/node_exporter\n$ make install\n```\n\n## Configure systemd\n\n```ini\n# /etc/systemd/system/rpi_exporter.service\n[Unit]\nDescription=Raspberry Pi Exporter\n\n[Service]\nExecStart=/opt/node_exporter/rpi_exporter -addr=:9110\n\n[Install]\nWantedBy=multi-user.target\n```\n\n```shell\n$ sudo systemctl daemon-reload\n$ sudo systemctl enable rpi_exporter.service\n$ sudo systemctl start rpi_exporter.service\n```\n\n## Configure Prometheus\n\n```yaml\n# /etc/prometheus/prometheus.yml\nscrape_configs:\n  - job_name: \"rpi_exporter\"\n    scrape_interval: 5s\n    static_configs:\n      - targets: [\"localhost:9110\"]\n```\n\n```shell\n$ sudo systemctl restart prometheus.service\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcavaliercoder%2Frpi_export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcavaliercoder%2Frpi_export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcavaliercoder%2Frpi_export/lists"}