core: basic MetricWriter