Hello, team. Is there an easy way to add dimension...
# general
r
Hello, team. Is there an easy way to add dimensions to druid metrics?
Copy code
query/count	Number of total queries.	This metric is only available if the QueryCountStatsMonitor module is included.
I want to add
dataSource
dimension to metric
query/count
.
j
Hi Ran, try using
query/time
and just do a count of the metrics ... the datasource dimension should already be there. But if you want to add a dimension you can modify this file: https://github.com/apache/druid/blob/master/extensions-contrib/statsd-emitter/src/main/resources/defaultMetricDimensions.json
🙌 1