docs: def get_output_values(self):
          """
          Return an escaped string of comma separated value_name: value pairs
          """
          # Handle primitive values here and implicitly convert them to a dict because
          # it allows the API to be simpler.
  
          # Also influxDB mandates that each value also has a name so the default name
          # for any non-dict value is "value"
          if not isinstance(self.values, dict):
              metric_values = {'value': self.values}
          else:
              metric_values = self.values
  
          # Sort the values in lexicographically by value name
          sorted_values = sorted(metric_values.items())
  
          # Remove None values
          sorted_values = [(k, v) for k, v in sorted_values if v is not None]
  
          return u",".join(u"{0}={1}".format(format_string(k), format_value(v)) for k, v in sorted_values)