-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
userservice: fix cache age metric (#401)
A reference to the AtomicLong for the PolledMeter was not retained so it would get garbage collected and stop reporting. Also removes an unnecessary print stack trace call and updates the client to set the endpoint for metrics. Since the remote service in this case does not have the headers set, it is not picked up automatically.
- Loading branch information
1 parent
1dcfcef
commit 28fb5a5
Showing
2 changed files
with
2 additions
and
2 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