registry cache_miss logic (#3578)
Signed-off-by: zouyee <zounyee1989@gmail.com>
This commit is contained in:
parent
908508a9bd
commit
99e7c3dee7
2 changed files with 38 additions and 0 deletions
1
plugin/cache/handler.go
vendored
1
plugin/cache/handler.go
vendored
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue