You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "sebastienviale (via GitHub)" <gi...@apache.org> on 2024/05/31 08:21:02 UTC

[PR] MINOR: update all-latency-avg documentation [kafka]

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

   Fixes the indentation of the code listings for:
   
   ops.html
   
   This change update the documentation for the all-latency-avg. It specifies that the execution time of the all operation is in fact the time the iterator is in use.
   


-- 
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] MINOR: update all-latency-avg documentation [kafka]

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


##########
docs/ops.html:
##########
@@ -3143,7 +3143,7 @@ <h5 class="anchor-heading"><a id="kafka_streams_store_monitoring" class="anchor-
       </tr>
       <tr>
         <td>all-latency-avg</td>
-        <td>The average all operation execution time in ns.</td>
+        <td>The average execution time in ns, for iterating over the results of the all operation.</td>

Review Comment:
   I took your message, it fits more to the code: 
   
   public void close() {
               try {
                   this.iter.close();
               } finally {
                   this.sensor.record((double)(MeteredKeyValueStore.this.time.nanoseconds() - this.startNs));
               }
           }



-- 
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] MINOR: update all-latency-avg documentation [kafka]

Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on PR #16148:
URL: https://github.com/apache/kafka/pull/16148#issuecomment-2142858494

   Thanks for the PR!


-- 
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] MINOR: update all-latency-avg documentation [kafka]

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


##########
docs/ops.html:
##########
@@ -3143,7 +3143,7 @@ <h5 class="anchor-heading"><a id="kafka_streams_store_monitoring" class="anchor-
       </tr>
       <tr>
         <td>all-latency-avg</td>
-        <td>The average all operation execution time in ns.</td>
+        <td>The average execution time in ns, for iterating over the results of the all operation.</td>

Review Comment:
   ```suggestion
           <td>The average execution time in ns, from iterator create to close time.</td>
   ```



-- 
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] MINOR: update all-latency-avg documentation [kafka]

Posted by "sebastienviale (via GitHub)" <gi...@apache.org>.
sebastienviale commented on PR #16148:
URL: https://github.com/apache/kafka/pull/16148#issuecomment-2142880744

   hum, may be a check is needed. If yes, I will create another PR


-- 
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] MINOR: update all-latency-avg documentation [kafka]

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


##########
docs/ops.html:
##########
@@ -3143,7 +3143,7 @@ <h5 class="anchor-heading"><a id="kafka_streams_store_monitoring" class="anchor-
       </tr>
       <tr>
         <td>all-latency-avg</td>
-        <td>The average all operation execution time in ns.</td>
+        <td>The average execution time in ns, for iterating over the results of the all operation.</td>

Review Comment:
   "iterating over all results" implicitly says "until close", but being explicit might be better? -- Also just a suggestion. Feel free to reject, or merge your and my ideas to something even better.



-- 
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] MINOR: update all-latency-avg documentation [kafka]

Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on PR #16148:
URL: https://github.com/apache/kafka/pull/16148#issuecomment-2142860090

   Just wondering. This seems to also apply to `all-latency-max` and the other metrics over iterators, ie, range?


-- 
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] MINOR: update all-latency-avg documentation [kafka]

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


-- 
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