Open kklimonda-fn opened 10 months ago
The codebase has been enhanced to track errors in cache operations more meticulously. A new metric name constant has been introduced, and the ObjectStorageBackedDMap
structure now includes an error counter. The Get
and Put
methods within this type have been updated to increment this counter upon encountering errors, thus improving monitoring capabilities.
File Path | Change Summary |
---|---|
pkg/metrics/schema.go |
Introduced constant for tracking cache operation errors. |
pkg/objectstorage/persistent-dmap.go |
Modified ObjectStorageBackedDMap to include error tracking field and updated Get and Put methods. |
🐇 "In the realm of cache and byte,
We count the errors in the night.
Persistent stores, now under watch,
CodeRabbit's metrics, ever top-notch!" 🌟
Description of change
Checklist
Summary by CodeRabbit