forked from vectordotdev/vector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(observability): correct emitted metrics (vectordotdev#17562)
Ref vectordotdev#17465 There were a couple of outstanding issues from the above PR. 1. The redis sink was counting the network bytes before actually creating the bytes, so the count was always zero. 2. The Vector sink was not counting the `JsonSize` of the event. The comment saying this was not being used was incorrect. Signed-off-by: Stephen Wakely <fungus.humungus@gmail.com>
- Loading branch information
1 parent
bcc5b6c
commit 7a4f1f7
Showing
2 changed files
with
8 additions
and
3 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