mirror of https://github.com/apache/druid.git
Fix for segment/count Metric Not Emitting with Statsd-emitter (#15347)
* fix segment/count metric in Statsd-emitter * update doc * Update docs/development/extensions-contrib/prometheus.md Co-authored-by: Suneet Saldanha <suneet@apache.org> * Update docs/development/extensions-contrib/statsd.md Co-authored-by: Suneet Saldanha <suneet@apache.org> --------- Co-authored-by: Suneet Saldanha <suneet@apache.org>
This commit is contained in:
parent
e7d0429f5b
commit
3a3d37ef40
|
@ -107,8 +107,8 @@ For metrics which are emitted from multiple services with different dimensions,
|
|||
the service name. For example:
|
||||
|
||||
```json
|
||||
"coordinator-segment/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
|
||||
"historical-segment/count" : { "dimensions" : ["dataSource", "tier", "priority"], "type" : "gauge" }
|
||||
"druid/coordinator-segment/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
|
||||
"druid/historical-segment/count" : { "dimensions" : ["dataSource", "tier", "priority"], "type" : "gauge" }
|
||||
```
|
||||
|
||||
For most use cases, the default mapping is sufficient.
|
||||
|
|
|
@ -65,7 +65,7 @@ e.g.
|
|||
For metrics which are emitted from multiple services with different dimensions, the metric name is prefixed with
|
||||
the service name.
|
||||
e.g.
|
||||
`"coordinator-segment/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
|
||||
"historical-segment/count" : { "dimensions" : ["dataSource", "tier", "priority"], "type" : "gauge" }`
|
||||
|
||||
`"druid/coordinator-segment/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
|
||||
"druid/historical-segment/count" : { "dimensions" : ["dataSource", "tier", "priority"], "type" : "gauge" }`
|
||||
|
||||
For most use-cases, the default mapping is sufficient.
|
||||
|
|
|
@ -138,8 +138,8 @@
|
|||
"sys/storage/used" : { "dimensions" : ["fsDirName"], "type" : "gauge"},
|
||||
"sys/cpu" : { "dimensions" : ["cpuName", "cpuTime"], "type" : "gauge"},
|
||||
|
||||
"coordinator-segment/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
|
||||
"historical-segment/count" : { "dimensions" : ["dataSource", "tier", "priority"], "type" : "gauge" },
|
||||
"druid/coordinator-segment/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
|
||||
"druid/historical-segment/count" : { "dimensions" : ["dataSource", "tier", "priority"], "type" : "gauge" },
|
||||
|
||||
"jetty/numOpenConnections": { "dimensions" : [], "type" : "gauge" },
|
||||
"jetty/threadPool/total": { "dimensions" : [], "type" : "gauge" },
|
||||
|
|
Loading…
Reference in New Issue