code: func (m *EntityMetric) SampleInfoCSV() string {
  	vals := make([]string, len(m.SampleInfo)*2)
  
  	i := 0
  
  	for _, s := range m.SampleInfo {
  		vals[i] = s.Timestamp.Format(time.RFC3339)
  		i++
  		vals[i] = strconv.Itoa(int(s.Interval))
  		i++
  	}
  
  	return strings.Join(vals, ",")
  }
docs: // SampleInfoCSV converts the SampleInfo field to a CSV string