Duties in Indexing group (such as Auto Compaction) does not report metrics (#12352)
authorMaytas Monsereenusorn <maytasm@apache.org>
Thu, 24 Mar 2022 01:18:28 +0000 (18:18 -0700)
committerGitHub <noreply@github.com>
Thu, 24 Mar 2022 01:18:28 +0000 (18:18 -0700)
commitea51d8a16c77dbb4074f5f665bbefb1cdc9e3406
tree5cc8e14d66902cdf634c66d507e9b0b6a6a1a5b4
parentb6eeef31e586c62853c69ade67848d31f0af18cd
Duties in Indexing group (such as Auto Compaction) does not report metrics (#12352)

* add impl

* add unit tests

* fix checkstyle

* address comments

* fix checkstyle
server/src/main/java/org/apache/druid/server/coordinator/DruidCoordinator.java
server/src/main/java/org/apache/druid/server/coordinator/duty/EmitClusterStatsAndMetrics.java
server/src/test/java/org/apache/druid/server/coordinator/DruidCoordinatorTest.java
server/src/test/java/org/apache/druid/server/coordinator/duty/EmitClusterStatsAndMetricsTest.java [new file with mode: 0644]