Directive -> plugin (#3363)

Caught my eye, we name things directive still, esp when talking about
the prometheus *plugin*. Rename everything that needs to be plugin to
'plugin'. Also make sure Metrics is a H2 section (not H1).

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben 2019-10-08 10:20:48 +01:00 committed by GitHub
parent ffe6225ff6
commit 65458b2de2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 20 additions and 20 deletions

View file

@ -60,7 +60,7 @@ Also note the TLS config is "global" for the whole grpc proxy if you need a diff
## Metrics
If monitoring is enabled (via the *prometheus* directive) then the following metric are exported:
If monitoring is enabled (via the *prometheus* plugin) then the following metric are exported:
* `coredns_grpc_request_duration_seconds{to}` - duration per upstream interaction.
* `coredns_grpc_request_count_total{to}` - query count per upstream.