summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-05-15 00:26:10 +0000
committergVisor bot <gvisor-bot@google.com>2021-05-15 00:26:10 +0000
commit8665ce2587e98bf7c45eccfefd3794525420caf8 (patch)
tree8f3fcd152650627c5019ebedf510d24aca0b463c /pkg/sentry
parent0f2459decc7e8c6009b13e9093f7bbff7ea3b96f (diff)
parent8e8b752524e1c1558a0858a121bb56ac1b78456c (diff)
Merge release-20210510.0-43-g8e8b75252 (automated)
Diffstat (limited to 'pkg/sentry')
-rw-r--r--pkg/sentry/watchdog/watchdog.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/sentry/watchdog/watchdog.go b/pkg/sentry/watchdog/watchdog.go
index bd31464d0..dfe85f31d 100644
--- a/pkg/sentry/watchdog/watchdog.go
+++ b/pkg/sentry/watchdog/watchdog.go
@@ -243,6 +243,7 @@ func (w *Watchdog) waitForStart() {
}
stuckStartup.Increment()
+ metric.WeirdnessMetric.Increment("watchdog_stuck_startup")
var buf bytes.Buffer
buf.WriteString(fmt.Sprintf("Watchdog.Start() not called within %s", w.StartupTimeout))
@@ -316,6 +317,7 @@ func (w *Watchdog) runTurn() {
// Task.UninterruptibleSleepStart/Finish.
tc = &offender{lastUpdateTime: lastUpdateTime}
stuckTasks.Increment()
+ metric.WeirdnessMetric.Increment("watchdog_stuck_tasks")
newTaskFound = true
}
newOffenders[t] = tc