Skip to content

Fix bool serialization when using carbon2#8162

Merged
reimda merged 1 commit intoinfluxdata:masterfrom
SumoLogic:fix-bool-serialization-in-carbon2-serializer-pr
Oct 7, 2020
Merged

Fix bool serialization when using carbon2#8162
reimda merged 1 commit intoinfluxdata:masterfrom
SumoLogic:fix-bool-serialization-in-carbon2-serializer-pr

Conversation

@pmalek-sumo
Copy link
Copy Markdown
Contributor

To align with other serializers e.g. prometheus, this PR addresses the way carbon2 serializer serializes bools.
Instead of false and true it should output 0 and 1 respectively. Some systems do not accept string formatted bools and return errors.

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@reimda reimda merged commit a976e6f into influxdata:master Oct 7, 2020
@pmalek-sumo pmalek-sumo deleted the fix-bool-serialization-in-carbon2-serializer-pr branch October 8, 2020 14:13
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants