mirror of https://github.com/apache/druid.git
Fix statsd types (#8628)
* fix segment underReplicated/unavailable counts to be gauges instead of counters * 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 * update docs * fix spellcheck
This commit is contained in:
parent
d91d1c8699
commit
1d42551d95
|
@ -242,7 +242,7 @@ These metrics are only available if the JVMMonitor module is included.
|
||||||
|`jvm/mem/used`|Used memory.|memKind.|< max memory|
|
|`jvm/mem/used`|Used memory.|memKind.|< max memory|
|
||||||
|`jvm/mem/committed`|Committed memory.|memKind.|close to max memory|
|
|`jvm/mem/committed`|Committed memory.|memKind.|close to max memory|
|
||||||
|`jvm/gc/count`|Garbage collection count.|gcName (cms/g1/parallel/etc.), gcGen (old/young)|Varies.|
|
|`jvm/gc/count`|Garbage collection count.|gcName (cms/g1/parallel/etc.), gcGen (old/young)|Varies.|
|
||||||
|`jvm/gc/cpu`|Cpu time in Nanoseconds spent on garbage collection.|gcName, gcGen|Sum of `jvm/gc/cpu` should be within 10-30% of sum of `jvm/cpu/total`, depending on the GC algorithm used (reported by [`JvmCpuMonitor`](../configuration/index.html#enabling-metrics)) |
|
|`jvm/gc/cpu`|Count of CPU time in Nanoseconds spent on garbage collection. Note: `jvm/gc/cpu` represents the total time over multiple GC cycles; divide by `jvm/gc/count` to get the mean GC time per cycle|gcName, gcGen|Sum of `jvm/gc/cpu` should be within 10-30% of sum of `jvm/cpu/total`, depending on the GC algorithm used (reported by [`JvmCpuMonitor`](../configuration/index.html#enabling-metrics)) |
|
||||||
|
|
||||||
### EventReceiverFirehose
|
### EventReceiverFirehose
|
||||||
|
|
||||||
|
|
|
@ -73,8 +73,8 @@
|
||||||
"segment/dropped/count" : { "dimensions" : ["tier"], "type" : "count" },
|
"segment/dropped/count" : { "dimensions" : ["tier"], "type" : "count" },
|
||||||
"segment/deleted/count" : { "dimensions" : ["tier"], "type" : "count" },
|
"segment/deleted/count" : { "dimensions" : ["tier"], "type" : "count" },
|
||||||
"segment/unneeded/count" : { "dimensions" : ["tier"], "type" : "count" },
|
"segment/unneeded/count" : { "dimensions" : ["tier"], "type" : "count" },
|
||||||
"segment/unavailable/count" : { "dimensions" : ["dataSource"], "type" : "count" },
|
"segment/unavailable/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
|
||||||
"segment/underReplicated/count" : { "dimensions" : ["dataSource", "tier"], "type" : "count" },
|
"segment/underReplicated/count" : { "dimensions" : ["dataSource", "tier"], "type" : "gauge" },
|
||||||
"segment/cost/raw" : { "dimensions" : ["tier"], "type" : "count" },
|
"segment/cost/raw" : { "dimensions" : ["tier"], "type" : "count" },
|
||||||
"segment/cost/normalization" : { "dimensions" : ["tier"], "type" : "count" },
|
"segment/cost/normalization" : { "dimensions" : ["tier"], "type" : "count" },
|
||||||
"segment/cost/normalized" : { "dimensions" : ["tier"], "type" : "count" },
|
"segment/cost/normalized" : { "dimensions" : ["tier"], "type" : "count" },
|
||||||
|
@ -102,7 +102,7 @@
|
||||||
"jvm/mem/used" : { "dimensions" : ["memKind"], "type" : "gauge" },
|
"jvm/mem/used" : { "dimensions" : ["memKind"], "type" : "gauge" },
|
||||||
"jvm/mem/committed" : { "dimensions" : ["memKind"], "type" : "gauge" },
|
"jvm/mem/committed" : { "dimensions" : ["memKind"], "type" : "gauge" },
|
||||||
"jvm/gc/count" : { "dimensions" : ["gcName"], "type" : "count" },
|
"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"},
|
"ingest/events/buffered" : { "dimensions" : ["serviceName, bufferCapacity"], "type" : "gauge"},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue