/unbound-exporter

Unbound Metrics Exporter For Prometheus

Primary LanguageGoApache License 2.0Apache-2.0

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