Closed yunmanger1 closed 4 years ago
@cdavis maybe you should do somethings like value = value == "True" and True or False
https://github.com/graphite-project/carbon/blob/master/lib/carbon/conf.py#L163
I just hit the same problem. I believe a boolean default value for this setting needs to be set in conf.py:
https://github.com/graphite-project/carbon/blob/master/lib/carbon/conf.py#L31
...because the Settings module uses these initial defaults to determine the type for each setting (https://github.com/graphite-project/carbon/blob/master/lib/carbon/conf.py#L144). AMQP_METRIC_NAME_IN_BODY
has no initial default value, so it's treated as a string. I think.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think that
returns a string. Any non-empty string is true.