Convert bool fields to int in graphite serializer

This commit is contained in:
Daniel Nelson
2017-08-29 16:22:03 -07:00
parent 9077cb83bc
commit f96cbb48c7
3 changed files with 37 additions and 2 deletions

View File

@@ -96,7 +96,8 @@ tars.cpu-total.us-east-1.cpu.usage_user 0.89 1455320690
tars.cpu-total.us-east-1.cpu.usage_idle 98.09 1455320690
```
Fields with non-numeric values will be skipped.
Fields with string values will be skipped. Boolean fields will be converted
to 1 (true) or 0 (false).
### Graphite Configuration: