Github user revans2 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/753#discussion_r40848297
  
    --- Diff: storm-core/src/clj/backtype/storm/stats.clj ---
    @@ -218,11 +220,17 @@
       [stats stream amt]
       (update-executor-stat! stats [:common :transferred] stream (* 
(stats-rate stats) amt)))
     
    +(defn update-stats-throughput! [stats stream throughput]
    +  (update-executor-stat! stats [:common :throughput] stream (* (stats-rate 
stats) throughput)))
    +
     (defn bolt-execute-tuple!
    -  [^BoltExecutorStats stats component stream latency-ms]
    +  [^BoltExecutorStats stats component stream throughput latency-ms]
       (let [key [component stream]]
         (update-executor-stat! stats :executed key (stats-rate stats))
    -    (update-executor-stat! stats :execute-latencies key latency-ms)))
    +    (update-executor-stat! stats :execute-latencies key latency-ms)
    +    (update-stats-throughput! stats stream throughput)
    +    ))
    +
    --- End diff --
    
    Extra blank line here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to