Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ar51an/unbound-exporter

Unbound Metrics Exporter For Prometheus
https://github.com/ar51an/unbound-exporter

exporter go golang grafana metrics prometheus prometheus-exporter prometheus-metrics unbound unbound-exporter

Last synced: 2 months ago
JSON representation

Unbound Metrics Exporter For Prometheus

Awesome Lists containing this project

README

        

## unbound exporter

![unbound](https://img.shields.io/badge/-unbound‑exporter-D8BFD8?logo=unrealengine&logoColor=3a3a3d)
  ![visitors](https://img.shields.io/endpoint?color=4883c2&label=visitors&logo=github&url=https%3A%2F%2Fhits.dwyl.com%2Far51an%2Funbound-exporter.json)
  ![license](https://img.shields.io/github/license/ar51an/unbound-exporter?color=CED8E1)


### Summary
🔸 Exports Unbound DNS server statistic as `Prometheus` metrics.
🔸 `unbound-exporter` is tailored for [unbound-dashboard](https://github.com/ar51an/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](https://github.com/ar51an/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](https://user-images.githubusercontent.com/11185794/213894845-05f6336e-ba93-475a-bb97-37f23ce768fa.png)