diff options
author | 2019-10-08 10:20:48 +0100 | |
---|---|---|
committer | 2019-10-08 10:20:48 +0100 | |
commit | 65458b2de24bd748e2983e34c779f5b04d38f20c (patch) | |
tree | 1a79107784baf6ef94e9775274b84538d6a7e05b /plugin/cache | |
parent | ffe6225ff6b1c55b4d9a89a016c4f1aed98dc026 (diff) | |
download | coredns-65458b2de24bd748e2983e34c779f5b04d38f20c.tar.gz coredns-65458b2de24bd748e2983e34c779f5b04d38f20c.tar.zst coredns-65458b2de24bd748e2983e34c779f5b04d38f20c.zip |
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>
Diffstat (limited to 'plugin/cache')
-rw-r--r-- | plugin/cache/README.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/cache/README.md b/plugin/cache/README.md index 3f0847f26..2958f90c9 100644 --- a/plugin/cache/README.md +++ b/plugin/cache/README.md @@ -61,9 +61,9 @@ Since shards don't fill up perfectly evenly, evictions will occur before the ent Each shard capacity is equal to the total cache size / number of shards (256). Eviction is random, not TTL based. Entries with 0 TTL will remain in the cache until randomly evicted when the shard reaches capacity. -# Metrics +## Metrics -If monitoring is enabled (via the *prometheus* directive) then the following metrics are exported: +If monitoring is enabled (via the *prometheus* plugin) then the following metrics are exported: * `coredns_cache_size{server, type}` - Total elements in the cache by cache type. * `coredns_cache_hits_total{server, type}` - Counter of cache hits by cache type. |