# eko/pihole-exporter

A Prometheus exporter for PI-Hole's Raspberry PI ad blocker

Repository: https://github.com/eko/pihole-exporter
Canonical: https://ross.abutalabs.com/products/pihole-exporter
Language: Go
License: MIT
License Family: permissive
Topics: pihole, prometheus, prometheus-exporter, raspberry-pi, grafana, grafana-dashboard, docker, hacktoberfest
Last push: 2026-05-03T18:47:33+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 80, release rhythm 28, longevity 100
- inputs: {"age_days": 2674, "days_push": 122, "days_rel": 400, "gap_med": 56, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1170, forks 125 (observed 2026-08-28T04:03:51.334586+00:00)

## What it is
A Prometheus exporter written in Go that collects metrics from a Pi-hole ad-blocking instance and exposes them for scraping. It ships with ready-made Grafana dashboards and is available as a binary or Docker image.

## Use cases
- monitor pi-hole query and blocking statistics in prometheus
- build a grafana dashboard for my pi-hole dns metrics
- export pi-hole stats to prometheus
- track ads blocked by my raspberry pi ad blocker
- alert on pi-hole availability via prometheus

## When to choose
- you run pi-hole and want its metrics in prometheus/grafana
- you need a lightweight dockerized exporter for home network monitoring

## When to avoid
- you don't use pi-hole or prometheus
- you need metrics for other DNS blockers like AdGuard Home

## Facets
- artifact type: service
- maturity: active
- function: monitoring
- domain: monitoring, self-hosted, networking
- platform: go, cross-platform
- tags: prometheus-exporter, pi-hole, grafana, raspberry-pi, ad-blocking, linux, docker

## Member repositories
- eko/pihole-exporter (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:51.334586+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:36.478559+00:00, confidence not recorded.
  - readme: https://github.com/eko/pihole-exporter (fetched 2026-08-28T04:03:51.334586+00:00, sha d6372707f144)
- Data as of 2026-08-30T08:39:29.467469+00:00.
