mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Default prefix for redis keys doesn't need period
This commit is contained in:
parent
8d5f26f6bd
commit
bfb387bc02
@ -42,9 +42,9 @@ import org.springframework.util.Assert;
|
||||
*/
|
||||
public class RedisMetricRepository implements MetricRepository {
|
||||
|
||||
private static final String DEFAULT_METRICS_PREFIX = "spring.metrics.";
|
||||
private static final String DEFAULT_METRICS_PREFIX = "spring.metrics";
|
||||
|
||||
private String prefix = DEFAULT_METRICS_PREFIX;
|
||||
private String prefix = DEFAULT_METRICS_PREFIX + ".";
|
||||
|
||||
private String key = "keys." + DEFAULT_METRICS_PREFIX;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user