We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 064a076 commit aafb61bCopy full SHA for aafb61b
jicofo/src/main/kotlin/org/jitsi/jicofo/JicofoServices.kt
@@ -210,8 +210,19 @@ class JicofoServices {
210
put("threads", ManagementFactory.getThreadMXBean().threadCount)
211
put("jingle", JingleStats.toJson())
212
healthChecker?.let {
213
+ val result = it.result
214
put("slow_health_check", it.totalSlowHealthChecks)
- put("healthy", it.result == null)
215
+ put("healthy", result.success)
216
+ put(
217
+ "health",
218
+ JSONObject().apply {
219
+ put("success", result.success)
220
+ put("hardFailure", result.hardFailure)
221
+ put("responseCode", result.responseCode)
222
+ put("sticky", result.sticky)
223
+ put("message", result.message)
224
+ }
225
+ )
226
}
227
228
0 commit comments