diff options
author | 2020-01-03 17:06:37 +0800 | |
---|---|---|
committer | 2020-01-03 10:06:37 +0100 | |
commit | 99e7c3dee750f4b80a0724b22acbeef6bf12dd7a (patch) | |
tree | 289bebfc9bfa039e81880fcd0605f355b536d582 /plugin/cache/handler.go | |
parent | 908508a9bd5cf0b0e41fb63ca97d2f4d492e3505 (diff) | |
download | coredns-99e7c3dee750f4b80a0724b22acbeef6bf12dd7a.tar.gz coredns-99e7c3dee750f4b80a0724b22acbeef6bf12dd7a.tar.zst coredns-99e7c3dee750f4b80a0724b22acbeef6bf12dd7a.zip |
registry cache_miss logic (#3578)
Signed-off-by: zouyee <zounyee1989@gmail.com>
Diffstat (limited to 'plugin/cache/handler.go')
-rw-r--r-- | plugin/cache/handler.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/cache/handler.go b/plugin/cache/handler.go index 905a98ef4..2a64f11e4 100644 --- a/plugin/cache/handler.go +++ b/plugin/cache/handler.go @@ -114,6 +114,7 @@ func (c *Cache) getIgnoreTTL(now time.Time, state request.Request, server string } return i.(*item) } + cacheMisses.WithLabelValues(server).Inc() return nil } |