Remove containerd_ namespace from container stats
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
155185c2b2
commit
c90e0c94a5
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue