This is an automated email from the ASF dual-hosted git repository.

snlee pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new c3c96adda1 fix a metric name composing issue (#10100)
c3c96adda1 is described below

commit c3c96adda1a6c1fc82b70a43c8decc1145caefd5
Author: Haitao Zhang <hai...@startree.ai>
AuthorDate: Tue Jan 10 19:22:28 2023 -0800

    fix a metric name composing issue (#10100)
---
 .../src/main/java/org/apache/pinot/common/metrics/AbstractMetrics.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/pinot-common/src/main/java/org/apache/pinot/common/metrics/AbstractMetrics.java
 
b/pinot-common/src/main/java/org/apache/pinot/common/metrics/AbstractMetrics.java
index 41239bc882..30045efee5 100644
--- 
a/pinot-common/src/main/java/org/apache/pinot/common/metrics/AbstractMetrics.java
+++ 
b/pinot-common/src/main/java/org/apache/pinot/common/metrics/AbstractMetrics.java
@@ -247,7 +247,7 @@ public abstract class AbstractMetrics<QP extends 
AbstractMetrics.QueryPhase, M e
    */
   public PinotMeter addMeteredValue(final String key, final M meter, final 
long unitCount, PinotMeter reusedMeter) {
     String meterName = meter.getMeterName();
-    final String fullMeterName = _metricPrefix + meterName;
+    final String fullMeterName = _metricPrefix + key + "." + meterName;
     return addValueToMeter(fullMeterName, meter.getUnit(), unitCount, 
reusedMeter);
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to