refactored super for cpu metrics
added datapoint insertion