From dff4ca22932a7ea0797e443aea7976b74b9f893f Mon Sep 17 00:00:00 2001 From: izeye Date: Sun, 14 Feb 2021 17:37:46 +0900 Subject: [PATCH 1/2] Document Kafka Streams metrics support See gh-25272 --- .../src/docs/asciidoc/production-ready-features.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc index a2fe54712744..e4add68f86fe 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc @@ -1865,7 +1865,7 @@ Spring Boot registers the following core metrics when applicable: ** Number of classes loaded/unloaded * CPU metrics * File descriptor metrics -* Kafka consumer and producer metrics +* Kafka consumer, producer and streams metrics * Log4j2 metrics: record the number of events logged to Log4j2 at each level * Logback metrics: record the number of events logged to Logback at each level * Uptime metrics: report a gauge for uptime and a fixed gauge representing the application's absolute start time @@ -2117,6 +2117,7 @@ Auto-configuration will enable the instrumentation of all available RabbitMQ con [[production-ready-metrics-kafka]] ==== Kafka Metrics Auto-configuration will register a `MicrometerConsumerListener` and `MicrometerProducerListener` for the auto-configured consumer factory and producer factory respectively. +It will also register `KafkaStreamsMicrometerListener` for `StreamsBuilderFactoryBean`. For more details refer to {spring-kafka-docs}#micrometer-native[Micrometer Native Metrics] section of the Spring Kafka documentation. From 569002e917766fc16e308b027baf4102c66956fb Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 15 Feb 2021 14:11:34 +0100 Subject: [PATCH 2/2] Polish "Document Kafka Streams metrics support" See gh-25272 --- .../src/docs/asciidoc/production-ready-features.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc index e4add68f86fe..7b7b146c1fe6 100644 --- a/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc +++ b/spring-boot-project/spring-boot-docs/src/docs/asciidoc/production-ready-features.adoc @@ -1865,7 +1865,7 @@ Spring Boot registers the following core metrics when applicable: ** Number of classes loaded/unloaded * CPU metrics * File descriptor metrics -* Kafka consumer, producer and streams metrics +* Kafka consumer, producer, and streams metrics * Log4j2 metrics: record the number of events logged to Log4j2 at each level * Logback metrics: record the number of events logged to Logback at each level * Uptime metrics: report a gauge for uptime and a fixed gauge representing the application's absolute start time @@ -2117,7 +2117,7 @@ Auto-configuration will enable the instrumentation of all available RabbitMQ con [[production-ready-metrics-kafka]] ==== Kafka Metrics Auto-configuration will register a `MicrometerConsumerListener` and `MicrometerProducerListener` for the auto-configured consumer factory and producer factory respectively. -It will also register `KafkaStreamsMicrometerListener` for `StreamsBuilderFactoryBean`. +It will also register a `KafkaStreamsMicrometerListener` for `StreamsBuilderFactoryBean`. For more details refer to {spring-kafka-docs}#micrometer-native[Micrometer Native Metrics] section of the Spring Kafka documentation.