add measure layer to badgerds profile defaults

License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
Jeromy 2017-09-05 21:24:48 -07:00
parent 152a9fa866
commit 526a0acc10

View File

@ -43,8 +43,12 @@ var ConfigProfiles = map[string]func(*Config) error{
},
"badgerds": func(c *Config) error {
c.Datastore.Spec = map[string]interface{}{
"type": "badgerds",
"path": "badgerds",
"type": "measure",
"prefix": "badger.datastore",
"child": map[string]interface{}{
"type": "badgerds",
"path": "badgerds",
},
}
return nil
},