refactored the metric service graph def to be a multi adapter