-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Encode decimal values as numeric rather than base64 (#46)
Currently incoming `BigDecimal` values (e.g. from avro decoding) are encoded as base64 strings (the default) by the JsonConverter. Instead, it seems to make more sense to encode them as numeric values when publishing to Datadog. I considered making this configurable, but it seems unlikely that users would want the current behavior since it makes the data much less scruitable in Datadog. If we find this not to be the case (through an issue report) we can add a configuration option later. As it stands, I think it is a bug. Fixes: #27 Signed-off-by: Jesse Szwedko <[email protected]>
- Loading branch information
Showing
3 changed files
with
27 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
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