summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-04-22 23:11:45 +0000
committergVisor bot <gvisor-bot@google.com>2021-04-22 23:11:45 +0000
commit42ab6ba3f895199ebcad7093dc2f7e98133898ae (patch)
treecd28ab29468f2f8d21108df40d88d4a4377a0c76 /runsc
parentf2f926c52614691d7116ef6863aa28c385675096 (diff)
parent0a6eaed50b83a35a687699aa5e871b80605c9f46 (diff)
Merge release-20210419.0-21-g0a6eaed50 (automated)
Diffstat (limited to 'runsc')
-rw-r--r--runsc/boot/loader.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go
index 798c1a7a7..25f06165f 100644
--- a/runsc/boot/loader.go
+++ b/runsc/boot/loader.go
@@ -34,6 +34,7 @@ import (
"gvisor.dev/gvisor/pkg/fd"
"gvisor.dev/gvisor/pkg/log"
"gvisor.dev/gvisor/pkg/memutil"
+ "gvisor.dev/gvisor/pkg/metric"
"gvisor.dev/gvisor/pkg/rand"
"gvisor.dev/gvisor/pkg/refs"
"gvisor.dev/gvisor/pkg/refsvfs2"
@@ -217,6 +218,8 @@ func New(args Args) (*Loader, error) {
return nil, fmt.Errorf("setting up memory usage: %v", err)
}
+ metric.CreateSentryMetrics()
+
// Is this a VFSv2 kernel?
if args.Conf.VFS2 {
kernel.VFS2Enabled = true