im.dstype.displayType boolean vs state

We have a metric which tracks whether or not a Fortinet device is logging locally to disk. Currently it's set to state, but per https://indeni.atlassian.net/wiki/spaces/IKP/pages/57147403/Reserved+Metric+Tag+Names state appears to be for 0=down and 1=up. This isn't exactly up or down, it's more "enabled or disabled". Is boolean a more appropriate displayType? If so, could we update the boolean in the documentation with an example?


writeDoubleMetricWithLiveConfig("fortios-local-disk-logging", null, "gauge", 60, is_status_enable, "Logging Hard Disk", "state", "")

Yes I think boolean is more appropriate, it will display YES/NO rather than UP/DOWN.