]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Add 'statistics' to the general API endpoint 11659/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 31 May 2022 14:55:41 +0000 (16:55 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 7 Jun 2022 09:59:47 +0000 (11:59 +0200)
commit14325153bcfe2ec0bdc6ae4f961e337eb97deb83
tree0b70544b769d347776345006bacc8433ae81d8e3
parent0438e2462d39e5547493f0db859e7bbc585436f2
dnsdist: Add 'statistics' to the general API endpoint

Making it possible to retrieve all metrics by querying one endpoint
(/api/v1/servers/localhost) instead of two (/api/v1/servers/localhost
and /api/v1/servers/localhost/statistics).
pdns/dnsdist-web.cc
regression-tests.dnsdist/test_API.py