Sign inSign up

d3vilh/rpi_exporter-arm64

By d3vilh

Updated almost 3 years ago

Prometheus exporter for Raspberry Pi hardware metrics

Image
Monitoring & observability
0

7.1K

d3vilh/rpi_exporter-arm64 repository overview

rpi_exporter

A lightweight Prometheus exporter for Raspberry Pi hardware metrics.

Currently supports the following metrics from the VideoCore System-on-Chip:

  • Component power states
  • Clock rates
  • Temperatures
  • Voltages
  • Turbo mode

rpi_exporter is written in Go, has no dependencies and does not rely on vcgencmd to query hardware stats. It interfaces directly with the VideoCore device so that metric-collection is as lightweight and fast as possible.

Grafana dashboard1 Grafana dashboard1

Run

---
version: "3.1"

volumes:
  prometheus_data: {}

networks:
  back-tier:

services:
  prometheus:
    container_name: prometheus
    image: prom/prometheus:latest
    restart: always
    command:
      - '--config.file=/etc/prometheus/prometheus.yml'
      - '--storage.tsdb.path=/prometheus'
      - '--storage.tsdb.retention.time={{ monitoring_days_keep_interval }}'
      - '--web.console.libraries=/usr/share/prometheus/console_libraries'
      - '--web.console.templates=/usr/share/prometheus/consoles'
    volumes:
      - ./prometheus/:/etc/prometheus/
      - prometheus_data:/prometheus
    ports:
      - 9090:9090
    links:
      - ping:ping
      - speedtest:speedtest
    networks:
      - back-tier

  rpi_exporter:
    container_name: rpi_exporter
    image: d3vilh/rpi_exporter-arm64:latest
    restart: always
    privileged: true
    ports:
       - "9110:9110/tcp"
    networks:
      - back-tier

Buy Me A Coffee

Tag summary

Content type

Image

Digest

sha256:a45d5cde6

Size

6.7 MB

Last updated

almost 3 years ago

docker pull d3vilh/rpi_exporter-arm64