@Override
	public GaugeResource toResource(Gauge entity) {
		return createResourceWithId(entity.getName(), entity);
	}
Knows how to assemble {@link GaugeResource}s out of {@link Gauge}s.

@author Luke Taylor
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/rest/metrics/DeepGaugeResourceAssembler.java