suneet-s commented on code in PR #14743:
URL: https://github.com/apache/druid/pull/14743#discussion_r1282616430


##########
services/src/main/java/org/apache/druid/cli/CliMiddleManager.java:
##########
@@ -195,6 +202,18 @@ private void configureIntermediaryData(Binder binder)
             
biddy.addBinding("deepstore").to(DeepStorageIntermediaryDataManager.class).in(LazySingleton.class);
           }
 
+          @Provides
+          @LazySingleton
+          @Named(ServiceStatusMonitor.TAGS_BINDING)
+          public Supplier<Map<String, Object>> 
heartbeatDimensions(WorkerConfig workerConfig, WorkerTaskManager 
workerTaskManager)
+          {
+            return () -> ImmutableMap.of(
+                "workerVersion", workerConfig.getVersion(),
+                "workerCapacity", workerConfig.getCapacity(),

Review Comment:
   👍 This is more of a metric than a dimension. Removed.



##########
services/src/main/java/org/apache/druid/cli/CliMiddleManager.java:
##########
@@ -195,6 +202,18 @@ private void configureIntermediaryData(Binder binder)
             
biddy.addBinding("deepstore").to(DeepStorageIntermediaryDataManager.class).in(LazySingleton.class);
           }
 
+          @Provides
+          @LazySingleton
+          @Named(ServiceStatusMonitor.TAGS_BINDING)
+          public Supplier<Map<String, Object>> 
heartbeatDimensions(WorkerConfig workerConfig, WorkerTaskManager 
workerTaskManager)
+          {
+            return () -> ImmutableMap.of(
+                "workerVersion", workerConfig.getVersion(),
+                "workerCapacity", workerConfig.getCapacity(),

Review Comment:
   👍 This is more of a metric than a dimension. Removed.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to