glasser commented on a change in pull request #6791: statsd-emitter: support 
constant DogStatsD tags
URL: https://github.com/apache/incubator-druid/pull/6791#discussion_r245057785
 
 

 ##########
 File path: 
extensions-contrib/statsd-emitter/src/main/java/org/apache/druid/emitter/statsd/StatsDEmitter.java
 ##########
 @@ -53,7 +53,7 @@ static StatsDEmitter of(StatsDEmitterConfig config, 
ObjectMapper mapper)
         config.getPrefix(),
         config.getHostname(),
         config.getPort(),
-        EMPTY_ARRAY,
+        config.getDogstatsd() ? config.getDogstatsdConstantTags().toArray(new 
String[0]) : EMPTY_ARRAY,
 
 Review comment:
   Thanks! This was a preexisting field but I changed it now. I changed 
hashCode to use Objects.hash too.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to