Generator modified to adapt to the sla-core:BrooklynMetricsRetriever