-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FFM-7702 Clean up cache metrics registration
**What** - Cleans up the prometheus registration for the cache - Puts a check in so we don't register CacheNotFound errors as errors in prometheus metrics. I think the error label in the prometheus should be reserved for internal/unexpected errors, we already track the status code in the http handlers so can see when requests have been made for a resource that doesn't exist **Why** I was a bit sloppy when initailly registering some of the metrics for the cache and spotted they weren't coming throuhg during my load testing. **Testing** Tested these changes out locally
- Loading branch information
Showing
2 changed files
with
15 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters