-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Labels
Description
Related to PR #1670
Logging related metrics were not generated by default in currently implemented integration tests.
It is necessary to find out the way how to force Kafka to generate these metrics and check them in the integration test.
Metrics should be verified most probably in KafkaIntegrationTest using the following code:
.add( "kafka.logs.flush.count", metric -> metric .hasDescription("Log flush count") .hasUnit("{flush}") .isCounter() .hasDataPointsWithoutAttributes()) .add( "kafka.logs.flush.time.median", metric -> metric .hasDescription("Log flush time - 50th percentile") .hasUnit("ms") .isGauge() .hasDataPointsWithoutAttributes()) .add( "kafka.logs.flush.time.99p", metric -> metric .hasDescription("Log flush time - 99th percentile") .hasUnit("ms") .isGauge() .hasDataPointsWithoutAttributes())