-
Notifications
You must be signed in to change notification settings - Fork 33
/
0025-activate-alert-command.avsc
66 lines (66 loc) · 1.6 KB
/
0025-activate-alert-command.avsc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"namespace": "org.kaaproject.ipc.amp.gen.v1",
"name": "ActivateAlertCommand",
"type": "record",
"doc": "Alert activation command",
"fields": [
{
"name": "correlationId",
"type": "string",
"doc": "Message ID primarily used to track message processing across services"
},
{
"name": "timestamp",
"type": "long",
"doc": "Message creation UNIX timestamp in milliseconds"
},
{
"name": "timeout",
"type": "long",
"default": 0,
"doc": "Amount of milliseconds since the timestamp until the message expires. Value of 0 is reserved to indicate no expiration."
},
{
"name": "alertType",
"type": "string",
"doc": "Alert type"
},
{
"name": "severityLevel",
"type": "string",
"doc": "Alert severity level"
},
{
"name": "entityType",
"type": "string",
"doc": "Entity type that alert raised at"
},
{
"name": "entityId",
"type": "string",
"doc": "Entity ID that alert raised at"
},
{
"name": "tenantId",
"type": "string",
"doc": "Entity's tenant ID that alert raised at"
},
{
"name": "activateReason",
"type": "string",
"doc": "Alert activation reason"
},
{
"name": "startedAt",
"type": "long",
"default": 0,
"doc": "Time when alert started. Server timestamp is used if not specified"
},
{
"name": "lastActiveAt",
"type": "long",
"default": 0,
"doc": "Time when alert was last active. Server timestamp is used if not specified"
}
]
}