code: func (m MetricType) isCompatibleInt(val int) bool {
  	v := int64(val)
  	switch m {
  	case Int32Type:
  		return v >= math.MinInt32 && v <= math.MaxInt32
  	case Int64Type:
  		return true
  	case Uint32Type:
  		return v >= 0 && v <= math.MaxUint32
  	case Uint64Type:
  		return v >= 0
  	}
  	return false
  }
docs: //go:generate stringer -type=MetricType