enforce tenant control for scoped ingestion.
add hooks for metric pre- and post-processing.
Legacy metric ingestion.

 - caches type, units and rollup type.

 Mostly a POC. It does not handle multi-tenant or aggregated metrics.