Interface for MetricPublisher.