private static String serialize(RichGauge g) {
		StringBuilder sb = new StringBuilder();
		sb.append(Double.toString(g.getValue())).append(" ");
		sb.append(Double.toString(g.getAlpha())).append(" ");
		sb.append(Double.toString(g.getAverage())).append(" ");
		sb.append(Double.toString(g.getMax())).append(" ");
		sb.append(Double.toString(g.getMin())).append(" ");
		sb.append(Long.toString(g.getCount()));
		return sb.toString();
	}
Repository for rich-gauges backed by Redis.

@author Luke Taylor
@author Eric Bottard
spring-xd-analytics/src/main/java/org/springframework/xd/analytics/metrics/redis/RedisRichGaugeRepository.java