public Optional<Affinity> getAffinity() {
        return affinity;
    }
Overridden by subclasses. List of default dimensions to be added to this services metrics

@return the default dimensions for this service
config-model/src/main/java/com/yahoo/vespa/model/AbstractService.java