summaryrefslogtreecommitdiffstats
path: root/src/go/collectors/go.d.plugin/modules/powerdns/metrics.go
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/go/collectors/go.d.plugin/modules/powerdns/metrics.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/go/collectors/go.d.plugin/modules/powerdns/metrics.go b/src/go/collectors/go.d.plugin/modules/powerdns/metrics.go
new file mode 100644
index 000000000..3efa2c980
--- /dev/null
+++ b/src/go/collectors/go.d.plugin/modules/powerdns/metrics.go
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+package powerdns
+
+// https://doc.powerdns.com/authoritative/http-api/statistics.html#objects
+type (
+ statisticMetrics []statisticMetric
+ statisticMetric struct {
+ Name string
+ Type string
+ Value interface{}
+ }
+)