This is an automated email from the ASF dual-hosted git repository.

xvrl pushed a commit to branch fix-dogstatsd-types
in repository https://gitbox.apache.org/repos/asf/incubator-druid.git

commit cbc99d23ed74eef2e5bc000d6c8950855c0fcdfb
Author: Xavier Léauté <[email protected]>
AuthorDate: Thu Oct 3 17:40:02 2019 -0700

    fix jvm/gc/cpu to be a counter instead of timre
    
    jvm/gc/cpu represents the total cpu time spent for multiple gc
    invocations, not the time spent in each gc cycle.
    
    the number needs to be divided by jvm/gc/count to get the average gc
    time per cycle
---
 .../statsd-emitter/src/main/resources/defaultMetricDimensions.json      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/extensions-contrib/statsd-emitter/src/main/resources/defaultMetricDimensions.json
 
b/extensions-contrib/statsd-emitter/src/main/resources/defaultMetricDimensions.json
index 0355e6f..30cbeff 100644
--- 
a/extensions-contrib/statsd-emitter/src/main/resources/defaultMetricDimensions.json
+++ 
b/extensions-contrib/statsd-emitter/src/main/resources/defaultMetricDimensions.json
@@ -102,7 +102,7 @@
   "jvm/mem/used" : { "dimensions" : ["memKind"], "type" : "gauge" },
   "jvm/mem/committed" : { "dimensions" : ["memKind"], "type" : "gauge" },
   "jvm/gc/count" : { "dimensions" : ["gcName"], "type" : "count" },
-  "jvm/gc/cpu" : { "dimensions" : ["gcName"], "type" : "timer" },
+  "jvm/gc/cpu" : { "dimensions" : ["gcName"], "type" : "count" },
 
   "ingest/events/buffered" : { "dimensions" : ["serviceName, bufferCapacity"], 
"type" : "gauge"},
 


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

Reply via email to