You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*Issue #, if available:*
N/A
*Description of changes:*
- Add debug logging for cache metrics (hits, misses, hit rate, miss
rate). The logic is wrapped in `#[cfg(debug_assertions)]` which causes
it to be conditionally compiled only when the project is built in debug
mode to avoid performance overhead in release builds
- Example log statement:
`METRICS: Cache HIT for secret 'secret2'. Total hits: 2. Total misses:
1. Hit rate: 50.00%. Miss rate: 50.00%.`
By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.
0 commit comments