-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tags: change serializeTags to never modify the tags map (#101)
This changes serializeTags() to not delete entries from the provided tags map when keys/values are invalid. This prevents a race condition when users pass the same tags map with invalid entries to NewCounterWithTags, NewGaugeWithTags, or NewTimerWithTags.
- Loading branch information
1 parent
fc942d7
commit 00f2fa1
Showing
4 changed files
with
419 additions
and
33 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
Oops, something went wrong.