code: func (sink *influxdbSink) checkSanitizedMetricName(name string) error {
  	if !metricAllowedChars.MatchString(name) {
  		return fmt.Errorf("Invalid metric name %q", name)
  	}
  
  	return nil
  }
docs: // checkSanitizedMetricName errors out if invalid characters are found in the metric name, since InfluxDB
  // does not widely support bound parameters yet, and we need to sanitize our inputs.