@cryptotaxi247 / kubo / commits / 526a0acc1

add measure layer to badgerds profile defaults

License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>

Jeromy committed Sep 5, 2017 at 21:24 UTC 526a0acc10ed7208763261cc4c4a3847eff063f3
1 file changed +6 -2
repo/config/profile.go
+6 -2
@@ -43,8 +43,12 @@ var ConfigProfiles = map[string]func(*Config) error{
43 },
44 "badgerds": func(c *Config) error {
45 c.Datastore.Spec = map[string]interface{}{
46 - "type": "badgerds",
47 - "path": "badgerds",
46 + "type": "measure",
47 + "prefix": "badger.datastore",
48 + "child": map[string]interface{}{
49 + "type": "badgerds",
50 + "path": "badgerds",
51 + },
52 }
53 return nil
54 },