]> git.ipfire.org Git - thirdparty/pdns.git/commit
Modify per-thread cpu usage stats to be Prometheus-friendly. 10554/head
authorOtto <otto.moerbeek@open-xchange.com>
Wed, 30 Jun 2021 08:27:04 +0000 (10:27 +0200)
committerOtto <otto.moerbeek@open-xchange.com>
Wed, 18 Aug 2021 07:47:43 +0000 (09:47 +0200)
commit58d656168fc8ba738ee7f01d928c79bd00b31723
treef2b76c91eab06cf1ca6659137f842db898b7959e
parent56d07a924e0416f990748d0661a0df38fee64ddc
Modify per-thread cpu usage stats to be Prometheus-friendly.

Plus fix a few small issues wrt HELP texts.

Example output:

pdns_recursor_cpu_msec{thread=0} 10
pdns_recursor_cpu_msec{thread=1} 0
pdns_recursor_cpu_msec{thread=2} 0
pdns/rec_channel_rec.cc
pdns/recursordist/rec_metrics.hh
pdns/ws-recursor.cc