suneet-s commented on code in PR #15347:
URL: https://github.com/apache/druid/pull/15347#discussion_r1388553099
##########
docs/development/extensions-contrib/prometheus.md:
##########
@@ -107,8 +107,10 @@ 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" }
```
+
+Please note that the Coordinator service name can be customized via the
`druid.selectors.coordinator.serviceName` configuration setting. It is
essential to ensure that this name matches the service name prefix used in the
metric configuration.
Review Comment:
```suggestion
```
##########
docs/development/extensions-contrib/statsd.md:
##########
@@ -65,7 +65,9 @@ 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" }`
+
+Please note that the Coordinator service name can be customized via the
`druid.selectors.coordinator.serviceName` configuration setting. It is
essential to ensure that this name matches the service name prefix used in the
metric configuration.
Review Comment:
```suggestion
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]