diff --git a/solr/core/src/java/org/apache/solr/servlet/PrometheusMetricsServlet.java b/solr/core/src/java/org/apache/solr/servlet/PrometheusMetricsServlet.java index 16629e0f503..ee9628dd52f 100644 --- a/solr/core/src/java/org/apache/solr/servlet/PrometheusMetricsServlet.java +++ b/solr/core/src/java/org/apache/solr/servlet/PrometheusMetricsServlet.java @@ -718,15 +718,11 @@ enum CoreMetric { AUTOCOMMIT( "UPDATE.updateHandler.autoCommits", "auto_commits_hard", - "cumulative number of hard auto commits across cores", - null, - PrometheusMetricType.COUNTER), + "cumulative number of hard auto commits across cores"), SOFT_AUTOCOMMIT( "UPDATE.updateHandler.softAutoCommits", "auto_commits_soft", - "cumulative number of soft auto commits across cores", - null, - PrometheusMetricType.COUNTER), + "cumulative number of soft auto commits across cores"), COMMITS("UPDATE.updateHandler.commits", "commits", "cumulative number of commits across cores"), CUMULATIVE_DEL_BY_ID( "UPDATE.updateHandler.cumulativeDeletesById",