github.com/netdata/go.d.plugin@v0.58.1/modules/powerdns_recursor/metrics.go (about)

     1  // SPDX-License-Identifier: GPL-3.0-or-later
     2  
     3  package powerdns_recursor
     4  
     5  // https://doc.powerdns.com/recursor/metrics.html
     6  // https://docs.powerdns.com/recursor/performance.html#recursor-caches
     7  
     8  // PowerDNS Recursor documentation has no section about statistics objects,
     9  // fortunately authoritative has.
    10  // https://doc.powerdns.com/authoritative/http-api/statistics.html#objects
    11  type (
    12  	statisticMetrics []statisticMetric
    13  	statisticMetric  struct {
    14  		Name  string
    15  		Type  string
    16  		Value interface{}
    17  	}
    18  )