[dnsdist] R: dnsdist metrics
Simone Beccato
s.beccato at it.net
Thu May 7 08:36:19 UTC 2020
Hi,
thanks to all!
As suggested by Winfried i followed the article on stackoverflow and I made these mods:
##dnsdist.conf
carbonServer(192.168.0.1:2003', myHostname', 10, 'dnsdist', 'main')
stopped service carbon-cache
##carbon/storage-schemas.conf
[default_10sec_for_30days]
pattern = .*
retentions = 10s:30d
removed all .wsp carbon files
started service carbon-cache
## graphite-web/local_settings.py
DEFAULT_CACHE_DURATION = 1
restarted httpd service
Using also perSeconds() function.
Here the result -> https://ibb.co/BLxPrr9
Thanks to all!
Best
Simone
----------------------------------------------
[logo_itnet_piccolo]
SIMONE BECCATO
Cloud Architect
ITNET S.r.l.
Via del Bosco Rinnovato 8 - Palazzo U4
20090 Assago Milanofiori Nord (MI)
www.it.net<http://www.it.net/>
Da: dnsdist <dnsdist-bounces at mailman.powerdns.com> Per conto di Jacob Bunk Nielsen via dnsdist
Inviato: mercoledì 6 maggio 2020 12:49
A: dnsdist at mailman.powerdns.com
Oggetto: Re: [dnsdist] dnsdist metrics
Hi
On 05/05/2020 16.41, Simone Beccato via dnsdist wrote:
I setup in dnsdist.conf the carbon export and configured Grafana to query data from Graphite but as I see, from dnsdist are coming only "totals", total queries, totals rdqueries etc.
Is there a way to get QPS and/or metrics per seconds? Or I have to manipulate data (how?)?
As others have already pointed out you'll want the derivative to find a rate rather than just the growing gauge value. E.g. by using the perSecond function like
perSecond(dnsdist.name.main.queries)
Best regards,
Jacob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20200507/5494d5c7/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2742 bytes
Desc: image001.png
URL: <http://mailman.powerdns.com/pipermail/dnsdist/attachments/20200507/5494d5c7/attachment.png>
More information about the dnsdist
mailing list