You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by xv...@apache.org on 2019/10/04 00:43:39 UTC
[incubator-druid] 02/02: fix jvm/gc/cpu to be a counter instead of
timre
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é <xv...@apache.org>
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: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org