aboutsummaryrefslogtreecommitdiff
path: root/plugin.md
diff options
context:
space:
mode:
authorGravatar Ben Kochie <superq@gmail.com> 2020-03-31 20:03:18 +0200
committerGravatar GitHub <noreply@github.com> 2020-03-31 20:03:18 +0200
commita29a594e5c2283496af0577bd5c64dc2b439dee6 (patch)
treed5d13667c459328221d233ba78220fc961306cc6 /plugin.md
parente2ece87035f67bbf6012b9feb8b7e79c9dba1353 (diff)
downloadcoredns-a29a594e5c2283496af0577bd5c64dc2b439dee6.tar.gz
coredns-a29a594e5c2283496af0577bd5c64dc2b439dee6.tar.zst
coredns-a29a594e5c2283496af0577bd5c64dc2b439dee6.zip
Update more metrics names (#3799)
The subsystem of a metric must be it's plugin name. "dns" is reserved for the core. Use a const convention to avoid copy-paste mistakes in naming. Fix dns64 and acl plugin. Signed-off-by: Ben Kochie <superq@gmail.com>
Diffstat (limited to 'plugin.md')
-rw-r--r--plugin.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin.md b/plugin.md
index dfb043c11..68ab10e50 100644
--- a/plugin.md
+++ b/plugin.md
@@ -56,7 +56,7 @@ server.
## Metrics
When exporting metrics the *Namespace* should be `plugin.Namespace` (="coredns"), and the
-*Subsystem* should be the name of the plugin. The README.md for the plugin should then also contain
+*Subsystem* must be the name of the plugin. The README.md for the plugin should then also contain
a *Metrics* section detailing the metrics.
## Readiness