Skip to content

QueryService removal, retrieval and cleanup metrics only increment actual messages

Compare
Choose a tag to compare
@akshaisarma akshaisarma released this 27 Jul 23:10
· 17 commits to master since this release

The metrics released in the previous version incremented the query.storage.retrieve.success, query.storage.cleanup.success and query.storage.remove.success metrics even when there was no storage actually being used. This release no longer does that. If the message from the storage is null, then these metrics are not incremented.

Conversely, the query.storage.add.success is still incremented if an actual storage is not used.