manesioz commented on code in PR #68506:
URL: https://github.com/apache/doris/pull/68506#discussion_r4136846292
##########
fe/fe-core/src/main/java/org/apache/doris/metric/MetricRepo.java:
##########
@@ -837,7 +837,7 @@ public Long getValue() {
HTTP_COUNTER_COPY_INFO_QUERY_REQUEST = new
LongCounterMetric("http_copy_into_query_request_total",
MetricUnit.REQUESTS, "http copy into total query request");
DORIS_METRIC_REGISTER.addMetrics(HTTP_COUNTER_COPY_INFO_QUERY_REQUEST);
- HTTP_COUNTER_COPY_INFO_QUERY_ERR = new
LongCounterMetric("http_copy_into_upload_err_total",
+ HTTP_COUNTER_COPY_INFO_QUERY_ERR = new
LongCounterMetric("http_copy_into_query_err_total",
Review Comment:
Added MetricsTest#testCopyIntoErrorMetricsAreDistinct. It checks that each
name resolves to its own counter object, that the counters increment
independently from captured starting values, and that both series appear in the
Prometheus and JSON output.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]