Apache Solr open-source search software
SOLR-14702 / SOLR-16128: Rename prometheus key solr_metrics_core_replication_master as solr_metrics_core_replication_leader (#781)
Jan Høydahl6e86bcb140f0
diff --git a/solr/prometheus-exporter/conf/solr-exporter-config.xml b/solr/prometheus-exporter/conf/solr-exporter-config.xmlindex d13a6f451be..4c78221f14d 100644--- a/solr/prometheus-exporter/conf/solr-exporter-config.xml+++ b/solr/prometheus-exporter/conf/solr-exporter-config.xml@@ -833,7 +833,7 @@(if $object.value == true then 1.0 else 0.0 end) as $value |if $parent_key_item_len == 3 then{- name: "solr_metrics_core_replication_master",+ name: "solr_metrics_core_replication_leader",type: "GAUGE",help: "See following URL: https://solr.apache.org/guide/metrics-reporting.html",label_names: ["category", "handler", "core"],@@ -842,7 +842,7 @@}else{- name: "solr_metrics_core_replication_master",+ name: "solr_metrics_core_replication_leader",type: "GAUGE",help: "See following URL: https://solr.apache.org/guide/metrics-reporting.html",label_names: ["category", "handler", "core", "collection", "shard", "replica"],diff --git a/solr/prometheus-exporter/src/test-files/conf/prometheus-solr-exporter-integration-test-config.xml b/solr/prometheus-exporter/src/test-files/conf/prometheus-solr-exporter-integration-test-config.xmlindex 74126451d7c..a1ddfbfe907 100644--- a/solr/prometheus-exporter/src/test-files/conf/prometheus-solr-exporter-integration-test-config.xml+++ b/solr/prometheus-exporter/src/test-files/conf/prometheus-solr-exporter-integration-test-config.xml@@ -1004,7 +1004,7 @@(if $object.value == true then 1.0 else 0.0 end) as $value |if $parent_key_item_len == 3 then{- name: "solr_metrics_core_replication_master",+ name: "solr_metrics_core_replication_leader",type: "GAUGE",help: "See following URL: https://solr.apache.org/guide/metrics-reporting.html",label_names: ["category", "handler", "core"],@@ -1013,7 +1013,7 @@}else{- name: "solr_metrics_core_replication_master",+ name: "solr_metrics_core_replication_leader",type: "GAUGE",help: "See following URL: https://solr.apache.org/guide/metrics-reporting.html",label_names: ["category", "handler", "core", "collection", "shard", "replica"],