This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
writer: Clean up subscription dropped reporting
- Always report drop counts for each subscription, instead of only when a drop is detected. - Move the responsibility for reporting NATS drops to the statistician. This avoids a goroutine per subscription (which was probably overkill) and simplifies the code. - Removed a lot of logging that was of dubious value (the metric provides the same information and scales better) - Renamed "dropped" metric to "nats_dropped" to make the meaning clearer
- Loading branch information
Showing
2 changed files
with
34 additions
and
69 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