The resource version metrics expose the resource version as a string in the label.
This value can change often and would therefore create huge cardinality.
This changes is to be the number value of the metric itself instead.
- To allow other external Stores, remove the `FamilyByteSlicer` interface
and give access directly to `metric.Family`.
- Move functions present in `pkg/metric/generator.go` to a dedicated package
`generator` in `pkg/metric_generator/generator.go`.
Signed-off-by: cedric lamoriniere <cedric.lamoriniere@datadoghq.com>