def write_metric(self, name, value):
        self._record_writer.write_metric(name, value)

    # P2 [ ] TODO: Support custom inspector values
Writes a metric that will be added to the search inspector.
dataset/ETHPy150Open splunk/splunk-sdk-python/splunklib/searchcommands/search_command.py/SearchCommand.write_metric