Skip to content

Commit e296173

Browse files
authored
Deactivate metrics
1 parent a61bd46 commit e296173

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kotlin-wot-binding-http/src/main/kotlin/http/HttpProtocolServer.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,13 +214,15 @@ fun Application.setupRouting(servient: Servient) {
214214
throw cause // re-throw if you want it to be logged
215215
}
216216
}
217+
/*
217218
install(MicrometerMetrics) {
218219
meterBinders = listOf(
219220
JvmMemoryMetrics(),
220221
JvmGcMetrics(),
221222
ProcessorMetrics()
222223
)
223224
}
225+
*/
224226
setupJackson()
225227
routing {
226228
route("/") {
@@ -408,4 +410,4 @@ private fun parseUrlParameters(
408410
name to value
409411
}.toMap()
410412
}
411-
*/
413+
*/

0 commit comments

Comments
 (0)