add type column to data table and make it part of partition key

Since I opted to store the different metric types in a single data table, I
have decided to partition the data by type. This is predicated on the
assumption that access patterns will be for data of the same type, e.g.,
numeric or availability.