Skip to content

v1.2.0

Latest

Choose a tag to compare

@viccon viccon released this 16 Nov 13:59
e226397

What's Changed

  • Add ObserveCacheSizeBytes to the MetricsRecorder interface. 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