You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "gensericghiro (via GitHub)" <gi...@apache.org> on 2025/10/31 18:26:58 UTC

[PR] KAFKA-19734 Updating the docs as a follow up to #20766 [kafka]

gensericghiro opened a new pull request, #20804:
URL: https://github.com/apache/kafka/pull/20804

   ## Summary
   
   Updating the docs for the client state metric as a follow up to #20766


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-19734 Updating the docs as a follow up to #20766 [kafka]

Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on code in PR #20804:
URL: https://github.com/apache/kafka/pull/20804#discussion_r2488134551


##########
docs/ops.html:
##########
@@ -3037,7 +3037,7 @@ <h5 class="anchor-heading"><a id="kafka_streams_thread_monitoring" class="anchor
       <tr>
         <td>thread-state</td>
         <td>The state of the thread as a number (<code>ordinal()</code> of the corresponding enum).</td>
-        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+),process-id=([-.\w]+)</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+),process-id=([-.\w]+),application-id=([-.\w]+)</td>

Review Comment:
   Seems we only add the new tag to `client-state` but not to `thead-state` -- so this change seems not to apply.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-19734 Updating the docs as a follow up to #20766 [kafka]

Posted by "bbejeck (via GitHub)" <gi...@apache.org>.
bbejeck commented on code in PR #20804:
URL: https://github.com/apache/kafka/pull/20804#discussion_r2491570071


##########
docs/ops.html:
##########
@@ -3037,7 +3037,7 @@ <h5 class="anchor-heading"><a id="kafka_streams_thread_monitoring" class="anchor
       <tr>
         <td>thread-state</td>
         <td>The state of the thread as a number (<code>ordinal()</code> of the corresponding enum).</td>
-        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+),process-id=([-.\w]+)</td>
+        <td>kafka.streams:type=stream-thread-metrics,thread-id=([-.\w]+),process-id=([-.\w]+),application-id=([-.\w]+)</td>

Review Comment:
   As a follow-up to this comment, the `thread-id` will already have the `application-id` embedded in it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-19734: Updating the docs for KIP-1221 [kafka]

Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on code in PR #20804:
URL: https://github.com/apache/kafka/pull/20804#discussion_r2547653654


##########
docs/streams/upgrade-guide.html:
##########
@@ -146,6 +146,13 @@ <h3><a id="streams_api_changes_420" href="#streams_api_changes_420">Streams API
         More details can be found in <a href="https://cwiki.apache.org/confluence/x/ywnxFg">KIP-1216</a>.
     </p>
 
+    <p>
+        The <code>application-id</code> tag is now available for the Kafka Streams client state metric (<code>client-state</code>).
+        Additionally, the <code>process-id</code> tag is no longer a default client-level tag. It is now only available
+        for the following three metrics: <code>client-state</code>, <code>recording-level</code>, and <code>thread-state</code>.
+        More details can be found in <a href="https://cwiki.apache.org/confluence/x/jQobFw">KIP-1221</a>

Review Comment:
   ```suggestion
           More details can be found in <a href="https://cwiki.apache.org/confluence/x/jQobFw">KIP-1221</a>.
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-19734: Updating the docs for KIP-1221 [kafka]

Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax merged PR #20804:
URL: https://github.com/apache/kafka/pull/20804


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] KAFKA-19734: Updating the docs for KIP-1221 [kafka]

Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on code in PR #20804:
URL: https://github.com/apache/kafka/pull/20804#discussion_r2547653247


##########
docs/streams/upgrade-guide.html:
##########
@@ -146,6 +146,13 @@ <h3><a id="streams_api_changes_420" href="#streams_api_changes_420">Streams API
         More details can be found in <a href="https://cwiki.apache.org/confluence/x/ywnxFg">KIP-1216</a>.
     </p>
 
+    <p>
+        The <code>application-id</code> tag is now available for the Kafka Streams client state metric (<code>client-state</code>).
+        Additionally, the <code>process-id</code> tag is no longer a default client-level tag. It is now only available
+        for the following three metrics: <code>client-state</code>, <code>recording-level</code>, and <code>thread-state</code>.

Review Comment:
   This has nothing to do with the KIP. I would omit it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org