Skip to content

Commit f26bba6

Browse files
committed
1 parent 3e800fa commit f26bba6

File tree

1 file changed

+83
-0
lines changed

1 file changed

+83
-0
lines changed

relay/event.schema.json

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,6 +2018,77 @@
20182018
"fatal"
20192019
]
20202020
},
2021+
"LockReason": {
2022+
"description": " Represents an instance of a held lock (java monitor object) in a thread.",
2023+
"anyOf": [
2024+
{
2025+
"type": "object",
2026+
"required": [
2027+
"type"
2028+
],
2029+
"properties": {
2030+
"address": {
2031+
"description": " Address of the java monitor object.",
2032+
"default": null,
2033+
"type": [
2034+
"string",
2035+
"null"
2036+
]
2037+
},
2038+
"class_name": {
2039+
"description": " Class name of the java monitor object.",
2040+
"default": null,
2041+
"type": [
2042+
"string",
2043+
"null"
2044+
]
2045+
},
2046+
"package_name": {
2047+
"description": " Package name of the java monitor object.",
2048+
"default": null,
2049+
"type": [
2050+
"string",
2051+
"null"
2052+
]
2053+
},
2054+
"thread_id": {
2055+
"description": " Thread ID that's holding the lock.",
2056+
"default": null,
2057+
"anyOf": [
2058+
{
2059+
"$ref": "#/definitions/ThreadId"
2060+
},
2061+
{
2062+
"type": "null"
2063+
}
2064+
]
2065+
},
2066+
"type": {
2067+
"description": " Type of lock on the thread with available options being blocked, waiting, sleeping and locked.",
2068+
"anyOf": [
2069+
{
2070+
"$ref": "#/definitions/LockReasonType"
2071+
},
2072+
{
2073+
"type": "null"
2074+
}
2075+
]
2076+
}
2077+
},
2078+
"additionalProperties": false
2079+
}
2080+
]
2081+
},
2082+
"LockReasonType": {
2083+
"description": "Possible lock types responsible for a thread's blocked state",
2084+
"type": "string",
2085+
"enum": [
2086+
"locked",
2087+
"waiting",
2088+
"sleeping",
2089+
"blocked"
2090+
]
2091+
},
20212092
"LogEntry": {
20222093
"description": " A log entry message.\n\n A log message is similar to the `message` attribute on the event itself but\n can additionally hold optional parameters.\n\n ```json\n {\n \"message\": {\n \"message\": \"My raw message with interpreted strings like %s\",\n \"params\": [\"this\"]\n }\n }\n ```\n\n ```json\n {\n \"message\": {\n \"message\": \"My raw message with interpreted strings like {foo}\",\n \"params\": {\"foo\": \"this\"}\n }\n }\n ```",
20232094
"anyOf": [
@@ -3122,6 +3193,18 @@
31223193
}
31233194
]
31243195
},
3196+
"lock_reason": {
3197+
"description": " Represents an instance of a held lock (java monitor object) in a thread.",
3198+
"default": null,
3199+
"anyOf": [
3200+
{
3201+
"$ref": "#/definitions/LockReason"
3202+
},
3203+
{
3204+
"type": "null"
3205+
}
3206+
]
3207+
},
31253208
"main": {
31263209
"description": " A flag indicating whether the thread was responsible for rendering the user interface.",
31273210
"default": null,

0 commit comments

Comments
 (0)