You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by GitBox <gi...@apache.org> on 2020/06/25 18:18:08 UTC
[GitHub] [storm] agresch commented on a change in pull request #3294: STORM-3648 add meter to track worker heartbeat rate
agresch commented on a change in pull request #3294:
URL: https://github.com/apache/storm/pull/3294#discussion_r445749542
##########
File path: storm-client/src/jvm/org/apache/storm/daemon/worker/Worker.java
##########
@@ -196,6 +198,8 @@ private Object loadWorker(IStateStorage stateStorage, IStormClusterState stormCl
throws Exception {
workerState = new WorkerState(conf, context, topologyId, assignmentId, supervisorIfaceSupplier, port, workerId,
topologyConf, stateStorage, stormClusterState, autoCreds, metricRegistry);
+ this.heatbeatMeter = metricRegistry.meter("doHeartbeat-calls", workerState.getWorkerTopologyContext(),
+ "__system", -1, "default");
Review comment:
Would you prefer I pass in "" for streamId? Or are you indicating we should have a metric name convention that allows skipping inclusion of stream?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org