Find a file
2024-03-16 23:51:17 -04:00
bin/amd64 Delete bin/amd64/test 2024-03-16 23:51:17 -04:00
go.mod Initial Commit 2023-01-21 23:28:03 -05:00
go.sum Initial Commit 2023-01-21 23:28:03 -05:00
LICENSE Initial Commit 2023-01-21 23:28:03 -05:00
README.md Update README.md 2023-05-17 23:54:40 -04:00
unbound-exporter.go Initial Commit 2023-01-21 23:28:03 -05:00

unbound exporter

unbound   visitors   license

Summary

🔸 Exports Unbound DNS server statistic as Prometheus metrics.
🔸 unbound-exporter is tailored for unbound-dashboard. Dashboard release includes:
      ➟ Prebuilt unbound-exporter binary for arm64.
      ➟ Service to automatically run exporter at startup.
🔸 Unbound setup is available at unbound-redis.

Prerequisite:

  • Go 1.19 or later.

Compile:

  • Copy go.mod, go.sum & unbound-exporter.go from this repo to local dir.

  • Run below cmds:

    Download dependencies:
    go mod tidy

    Build:
    go build

    Reduce size:
    strip unbound-exporter

    Note:
    Make sure .../go/bin is in the PATH.

Usage

  • unbound-exporter -h

    Usage