From 5e2beb3e845c05ec3edb79d4b9004cdb791cdced Mon Sep 17 00:00:00 2001 From: Miek Gieben Date: Thu, 23 Jun 2016 12:57:06 +0000 Subject: [PATCH] Add monitoring metrics docs to middleware/cache --- middleware/cache/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/middleware/cache/README.md b/middleware/cache/README.md index fe15d6878..5a6964ce8 100644 --- a/middleware/cache/README.md +++ b/middleware/cache/README.md @@ -22,6 +22,12 @@ middleware essentially doubles the memory load with no concealable increase of q The minimum TTL allowed on resource records is 5 seconds. +If monitoring is enabled (`prometheus` directive) then the following metrics are added: +* coredns_cache_hit_count_total, and +* coredns_cache_miss_count_total + +They both work on a per zone basis and just count the hit and miss counts for each query. + ## Examples ~~~