Commit graph

67 commits

Author SHA1 Message Date
Daniel Salzman
eebfa83a3f knot_exporter: add maximum libknot dependency version to ensure library consistency
fixes #956
2025-04-29 15:52:39 +02:00
Daniel Salzman
d19a35a3fe python: relicense to GPL-2.0-or-later 2025-03-24 09:53:50 +01:00
Jan Doskočil
3425988ba4 python: expanded CTL documentation 2025-01-06 12:22:39 +01:00
Jan Doskočil
83ac6a0539 knot-exporter: less confusing opt parsing and help 2024-11-29 18:03:37 +01:00
Jan Doskočil
672967638c
knot-exporter: no zone timers by default 2024-11-26 13:45:24 +01:00
Tomas Velechovsky
8f9d5d099b knot-exporter: fix zone-status parsing
Relates to:
ctl/zone-status: print since when event is running/pending/frozen
2024-10-30 12:52:04 +01:00
Jan Doskočil
5655bad2f6 knot_exporter: avoid faulty escape sequence interpretation 2024-10-22 21:34:42 +02:00
Daniel Salzman
63fe2a1e48 python: add anchors to libknot README 2024-10-13 07:55:28 +02:00
Daniel Salzman
000c5276f8 ctl: rename KNOT_CTL_IDX_FILTER to KNOT_CTL_IDX_FILTERS 2024-09-24 17:10:22 +02:00
Daniel Salzman
abafc9af9a ctl: move command-specific flags to filters
This affects conf-list, conf-diff, zone-diff, and zone-status.
2024-09-24 17:10:22 +02:00
Daniel Salzman
4930ccf99e python/control: fix setting empty values 2024-05-16 16:57:53 +02:00
Libor Peltan
fdad47e267 implemented DoT for queries and XFR 2024-05-07 07:52:29 +02:00
Marcel
0aa95252cd knot-exporter: add a counter-type variant of each metric
closes #921
2024-02-27 09:05:32 +01:00
Daniel Salzman
7d900a7152 python/libknot: add example for zone status 2023-12-05 08:54:41 +01:00
Tomas Velechovsky
14fc748103 knot_exporter: new option --no-zone-serial
closes #880
2023-09-14 07:34:04 +02:00
Daniel Salzman
07f5c3970f knot_exporter: fix knotd PIDs parsing
This fixes https://github.com/ghedo/knot_exporter/issues/8#issuecomment-1713565861
2023-09-13 11:05:25 +02:00
Daniel Salzman
831e3a9854 knot_exporter: fix typo in pyproject.toml.in 2023-08-25 16:04:15 +02:00
Daniel Salzman
630dfcc226 python: fix paths to knot_exporter and libknot source 2023-08-23 18:05:20 +02:00
Jakub Ružička
544095536b python: improve build file selection
Disable the use of .gitignore for builds:

[tool.hatch.build]
ignore-vcs = true
2023-08-21 16:07:35 +02:00
Daniel Salzman
80b604f1df python: add knot_exporter
Based on https://github.com/salzmdan/knot_exporter,
commit 564a6daa3e17f68e410d25fe4b876d79e418d4d1
2023-08-21 16:07:35 +02:00
Daniel Salzman
4d7eb96bf9 python: move libknot to a separate subdirectory libknot 2023-08-21 16:07:35 +02:00
Daniel Salzman
196fdf6e7c python: add pyproject.toml and hatchling support, keep setup.py for compatibility 2023-08-21 16:07:35 +02:00
Daniel Salzman
27308ee8e0 python: add dname from bytes initialization (in cooperation with Jan Hák) 2023-06-22 13:30:12 +02:00
Daniel Salzman
c71600db14 probe: add support for UNIX socket protocol 2023-01-04 08:48:43 +01:00
Daniel Salzman
c649290a06 python: add wrapper for some dname operations 2022-12-02 07:51:44 +01:00
Daniel Salzman
a8525ade5d server: add proto value to qdata and remove redundant qdata flags
Also add QUIC support to mod-stats and mod-probe.
Restrict the proxy mode to UDP in the xdp-handler.
2022-07-24 19:34:26 +02:00
Daniel Salzman
bbd532d87f python/libknot: remove some compatibility for Python2, improve function output 2022-05-17 11:07:31 +02:00
Daniel Salzman
c8bcea98c0 python/libknot: raise various control exceptions to better distinguish the exception source 2022-05-17 09:38:29 +02:00
Daniel Salzman
15cd3fb044 python: tiny control example extension 2022-05-12 12:47:20 +02:00
Daniel Salzman
8fd1730605 ctl: fix listing current zones 2022-03-03 13:04:48 +01:00
Daniel Salzman
9bf810a2c5 python: various probe improvements 2021-11-23 08:47:50 +01:00
Daniel Salzman
9e0cc6ddb4 python/setup: remove absolute path to package
This reverts 10516d0905, which broke installation
from PyPi with the message:
error: package directory '...' does not exist
2021-09-09 15:36:58 +02:00
Daniel Salzman
802c0d183a python: add long_description_content_type to setup.py 2021-08-02 09:51:54 +02:00
Jan Hak
ead09de3b8 python: brief description of the Python API in README.md 2021-07-31 21:43:05 +02:00
Daniel Salzman
f7e7b44e4f python: add README skeleton 2021-05-31 15:04:23 +02:00
Daniel Salzman
22a742ffce python: add libknot.probe module 2021-05-31 15:04:23 +02:00
Daniel Salzman
1e6506482d python: refactor libknot.control module 2021-05-31 15:04:23 +02:00
Rick van Rein
10516d0905 python: allow calling from other directories 2020-08-07 21:37:06 +02:00
Daniel Salzman
dfdb69bb15 Update links to gitlab.nic.cz 2020-07-28 16:41:05 +02:00
Daniel Salzman
1c42b3998c Revert "python: add libknot installation"
The change didn't work as expected :-/

This reverts commit d71091d135.
2020-05-25 08:46:20 +02:00
Daniel Salzman
d71091d135 python: add libknot installation 2020-05-24 22:06:18 +02:00
Daniel Salzman
8b9fe86bd1 Add 'soname' variable to pkg-config files 2019-01-23 09:05:05 +01:00
Daniel Salzman
464afebcd1 python: add targets for packaging to Makefile 2018-12-12 20:23:09 +01:00
Daniel Salzman
26a5be7416 python: extend .gitignore 2018-11-22 13:27:30 +01:00
Daniel Salzman
faf44dc421 python: improve libknot detection 2018-11-21 13:57:11 +01:00
Daniel Salzman
6a27e8b819 README: switch to libidn2 for Fedora 2018-11-20 15:38:58 +01:00
Daniel Salzman
efac81acec python: add setup.py 2018-11-16 15:04:24 +01:00
Daniel Salzman
4b4f2b969d python: move stats_*.py to samples 2018-11-16 13:00:19 +01:00
Daniel Salzman
c1e844cc05 python: add comment about libknot.so loading 2018-10-24 12:51:02 +02:00
Ladislav Lhotka
f45f184a43 Fix import 2018-10-19 15:08:53 +02:00