feat(monitors): heartbeat token, ping recording and overdue verdict
This commit is contained in:
1 parent
590c369d36
commit
09888825a8
4 files changed
+363
-25
No files matched your search
@@ -92,6 +92,8 @@ type Monitor struct {
|
||||
// HeartbeatTokenHash is the SHA-256 of the ping token. The token itself is
|
||||
// shown once, on create or rotate, and never stored.
|
||||
HeartbeatTokenHash string `bson:"heartbeat_token_hash,omitempty" json:"-"`
|
||||
// HeartbeatToken is the plaintext token, set only on the create response.
|
||||
HeartbeatToken string `bson:"-" json:"heartbeat_token,omitempty"`
|
||||
}
|
||||
|
||||
type Incident struct {
|
||||
|
||||
Reference in new issue
Block a user