Repository navigation
What's Changed
- Add
ObserveCacheSizeBytesto theMetricsRecorderinterface. It reports an estimate of how much memory the cache entries use, kept as a running tally that is updated when entries are written, overwritten, deleted, or evicted. Closes #39 in #48.
Breaking change: implementations of MetricsRecorder need to add the new ObserveCacheSizeBytes(func() int64) method.
Full Changelog: v1.1.6...v1.2.0