@Override
	public M findOne(String name) {
		Assert.notNull(name, "The name of the metric must not be null");
		String gaugeKey = getMetricKey(name);
		if (redisOperations.hasKey(gaugeKey)) {
			V value = this.valueOperations.get(gaugeKey);
			return create(name, value);
		}
		else {
			return null;
		}
	}
Provides the key for a named metric. By default this appends the name to the metricPrefix value.

@param metricName the name of the metric
@return the redis key under which the metric is stored
spring-xd-analytics/src/main/java/org/springframework/xd/analytics/metrics/redis/AbstractRedisMetricRepository.java