recorder

The recorder that receives table name, operation, and duration for every query. Use this to bridge into any metrics backend (Micrometer, Dropwizard, etc.).

metrics {
enabled = true
recorder = KandraMetrics { table, op, durationMs ->
meterRegistry.timer("kandra.query", "table", table, "operation", op)
.record(durationMs, java.util.concurrent.TimeUnit.MILLISECONDS)
}
}