diff options
Diffstat (limited to 'plugin/metrics/vars/report.go')
-rw-r--r-- | plugin/metrics/vars/report.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugin/metrics/vars/report.go b/plugin/metrics/vars/report.go index fe6a5dccd..343d98a22 100644 --- a/plugin/metrics/vars/report.go +++ b/plugin/metrics/vars/report.go @@ -8,7 +8,9 @@ import ( "github.com/miekg/dns" ) -// Report reports the metrics data associated with request. +// Report reports the metrics data associated with request. This function is exported because it is also +// called from core/dnsserver to report requests hitting the server that should not be handled and are thus +// not sent down the plugin chain. func Report(server string, req request.Request, zone, rcode string, size int, start time.Time) { // Proto and Family. net := req.Proto() |