You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by ca...@apache.org on 2026/07/08 20:59:54 UTC
(druid) branch master updated: add tierAlias to coordinator tier capacity metrics for statsd and prometheus emitters (#19667)
This is an automated email from the ASF dual-hosted git repository.
capistrant pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new e787535df06 add tierAlias to coordinator tier capacity metrics for statsd and prometheus emitters (#19667)
e787535df06 is described below
commit e787535df06b2e54dcb332f805702068089ea0b2
Author: Lucas Capistrant <ca...@users.noreply.github.com>
AuthorDate: Wed Jul 8 15:59:47 2026 -0500
add tierAlias to coordinator tier capacity metrics for statsd and prometheus emitters (#19667)
---
.../prometheus-emitter/src/main/resources/defaultMetrics.json | 8 ++++----
.../src/main/resources/defaultMetricDimensions.json | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/extensions-contrib/prometheus-emitter/src/main/resources/defaultMetrics.json b/extensions-contrib/prometheus-emitter/src/main/resources/defaultMetrics.json
index e582958e768..52d72cf19bc 100644
--- a/extensions-contrib/prometheus-emitter/src/main/resources/defaultMetrics.json
+++ b/extensions-contrib/prometheus-emitter/src/main/resources/defaultMetrics.json
@@ -178,10 +178,10 @@
"segment/unavailable/count" : { "dimensions" : ["dataSource"], "type" : "gauge", "help": "Number of segments (not including replicas) left to load until segments that should be loaded in the cluster are available for queries."},
"segment/underReplicated/count" : { "dimensions" : ["dataSource", "tier"], "type" : "gauge", "help": "Number of segments (including replicas) left to load until segments that should be loaded in the cluster are available for queries."},
"segment/availableDeepStorageOnly/count" : { "dimensions" : ["dataSource", "tier"], "type" : "gauge", "help": "Number of unique segments that are only available for querying directly from deep storage."},
- "tier/historical/count" : { "dimensions" : ["tier"], "type" : "count", "help": "Number of available historical nodes in each tier."},
- "tier/replication/factor" : { "dimensions" : ["tier"], "type" : "count", "help": "Configured maximum replication factor in each tier."},
- "tier/required/capacity" : { "dimensions" : ["tier"], "type" : "count", "help": "Total capacity in bytes required in each tier."},
- "tier/total/capacity" : { "dimensions" : ["tier"], "type" : "count", "help": "Total capacity in bytes available in each tier."},
+ "tier/historical/count" : { "dimensions" : ["tier", "tierAlias"], "type" : "count", "help": "Number of available historical nodes in each tier."},
+ "tier/replication/factor" : { "dimensions" : ["tier", "tierAlias"], "type" : "count", "help": "Configured maximum replication factor in each tier."},
+ "tier/required/capacity" : { "dimensions" : ["tier", "tierAlias"], "type" : "count", "help": "Total capacity in bytes required in each tier."},
+ "tier/total/capacity" : { "dimensions" : ["tier", "tierAlias"], "type" : "count", "help": "Total capacity in bytes available in each tier."},
"compact/task/count" : { "dimensions" : [], "type" : "gauge", "help": "Number of tasks issued in the auto compaction run."},
"compactTask/maxSlot/count" : { "dimensions" : [], "type" : "gauge", "help": "Maximum number of task slots available for auto compaction tasks in the auto compaction run."},
"compactTask/availableSlot/count" : { "dimensions" : [], "type" : "gauge", "help": "Number of available task slots that can be used for auto compaction tasks in the auto compaction run."},
diff --git a/extensions-contrib/statsd-emitter/src/main/resources/defaultMetricDimensions.json b/extensions-contrib/statsd-emitter/src/main/resources/defaultMetricDimensions.json
index 9eae1dd5a62..24a0129362e 100644
--- a/extensions-contrib/statsd-emitter/src/main/resources/defaultMetricDimensions.json
+++ b/extensions-contrib/statsd-emitter/src/main/resources/defaultMetricDimensions.json
@@ -174,10 +174,10 @@
"coordinator/time" : { "dimensions" : [], "type" : "timer"},
"coordinator/global/time" : { "dimensions" : ["dutyGroup"], "type" : "timer"},
- "tier/required/capacity" : { "dimensions" : ["tier"], "type" : "gauge" },
- "tier/total/capacity" : { "dimensions" : ["tier"], "type" : "gauge" },
- "tier/replication/factor" : { "dimensions" : ["tier"], "type" : "gauge" },
- "tier/historical/count" : { "dimensions" : ["tier"], "type" : "count" },
+ "tier/required/capacity" : { "dimensions" : ["tier", "tierAlias"], "type" : "gauge" },
+ "tier/total/capacity" : { "dimensions" : ["tier", "tierAlias"], "type" : "gauge" },
+ "tier/replication/factor" : { "dimensions" : ["tier", "tierAlias"], "type" : "gauge" },
+ "tier/historical/count" : { "dimensions" : ["tier", "tierAlias"], "type" : "count" },
"compact/task/count" : { "dimensions" : [], "type" : "count" },
"compactTask/maxSlot/count" : { "dimensions" : [], "type" : "count" },
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org