MCPcopy Create free account
hub / github.com/prometheus/common / Resolved

Method Resolved

model/alert.go:63–65  ·  view source on GitHub ↗

Resolved returns true iff the activity interval ended in the past.

()

Source from the content-addressed store, hash-verified

61
62// Resolved returns true iff the activity interval ended in the past.
63func (a *Alert) Resolved() bool {
64 return a.ResolvedAt(time.Now())
65}
66
67// ResolvedAt returns true off the activity interval ended before
68// the given timestamp.

Callers 3

StringMethod · 0.95
StatusMethod · 0.95
HasFiringMethod · 0.80

Calls 1

ResolvedAtMethod · 0.95

Tested by

no test coverage detected