This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 7165d4ee6f6 [Fix](metrics) Fix FE's incorrect prometheus metrics
format (#57059)
7165d4ee6f6 is described below
commit 7165d4ee6f69e414a8a7a91ebe6ac53de26d236f
Author: bobhan1 <[email protected]>
AuthorDate: Fri Oct 17 10:04:58 2025 +0800
[Fix](metrics) Fix FE's incorrect prometheus metrics format (#57059)
---
.../main/java/org/apache/doris/metric/PrometheusMetricVisitor.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/metric/PrometheusMetricVisitor.java
b/fe/fe-core/src/main/java/org/apache/doris/metric/PrometheusMetricVisitor.java
index 66712399159..f25c63339d3 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/metric/PrometheusMetricVisitor.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/metric/PrometheusMetricVisitor.java
@@ -209,9 +209,9 @@ public class PrometheusMetricVisitor extends MetricVisitor {
.append(snapshot.get99thPercentile()).append("\n");
sb.append(fullName).append("{quantile=\"0.999\"").append(delimiter).append(fullTag).append("}
")
.append(snapshot.get999thPercentile()).append("\n");
- sb.append(fullName).append("_sum {").append(fullTag).append("} ")
+ sb.append(fullName).append("_sum{").append(fullTag).append("} ")
.append(histogram.getCount() *
snapshot.getMean()).append("\n");
- sb.append(fullName).append("_count {").append(fullTag).append("} ")
+ sb.append(fullName).append("_count{").append(fullTag).append("} ")
.append(histogram.getCount()).append("\n");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]