Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Latest commit

 

History

History
49 lines (29 loc) · 1.47 KB

README.rst

File metadata and controls

49 lines (29 loc) · 1.47 KB

> ⚠️ The Knot project provides an official exporter now, so this project has been archived.

knot_exporter

knot_exporter is a Prometheus exporter for Knot's server and query statistics.

Getting Started

knot_exporter uses Knot's control unix socket, so Knot has to be installed on the same machine as knot_exporter, and knot_exporter must be executed by a user with access to Knot's socket path.

The Knot instance also needs to be configured to collect per-zone query statistic. This can be done by enabling and configuring the stats module.

Once everything is in place, knot_exporter can be started like so:

$ ./knot_exporter --knot-library-path /path/to/libknot.so

To get a complete list of the available options, run:

$ ./knot_exporter --help

Copyright

Copyright (C) 2018 Alessandro Ghedini <alessandro@ghedini.me>

Copyright (C) 2018 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz>

The Python bindings for libknot were adapted from the code available in the official Knot repo.

See COPYING for the license.