-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Encode logger metadata as string. (#127)
This avoid a potential issue where JSON logs are parsed and numbers are treated as floats. This can lead to the trace and span ids losing precision when read from JSON. If you look at the DataDog docs for other languages, you can see this. See: https://docs.datadoghq.com/tracing/connect_logs_and_traces/ruby/
- Loading branch information
Showing
2 changed files
with
6 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