Remove containerd_ namespace from container stats

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2017-03-21 14:53:10 -07:00
parent 155185c2b2
commit c90e0c94a5
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ func init() {
func New(ic *plugin.InitContext) (interface{}, error) { func New(ic *plugin.InitContext) (interface{}, error) {
var ( var (
ns = metrics.NewNamespace("containerd", "container", nil) ns = metrics.NewNamespace("container", "", nil)
collector = prometheus.New(ns) collector = prometheus.New(ns)
) )
oom, err := prometheus.NewOOMCollector(ns) oom, err := prometheus.NewOOMCollector(ns)