@ResponseBody
	@RequestMapping(value = "/{name}", method = RequestMethod.GET)
	public GaugeResource display(@PathVariable("name") String name) {
		Gauge g = repository.findOne(name);
		if (g == null) {
			throw new NoSuchMetricException(name, "There is no gauge named '%s'");
		}
		return gaugeResourceAssembler.toResource(g);
	}
Exposes representations of {@link Gauge}s.

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