[HUDI-2974] Make the prefix for metrics name configurable (#4274)
Co-authored-by: Rajesh Mahindra <rmahindra@Rajeshs-MacBook-Pro.local>
This commit is contained in:
@@ -74,7 +74,7 @@ public class HoodieDeltaStreamerMetrics implements Serializable {
|
||||
}
|
||||
|
||||
String getMetricsName(String action, String metric) {
|
||||
return config == null ? null : String.format("%s.%s.%s", tableName, action, metric);
|
||||
return config == null ? null : String.format("%s.%s.%s", config.getMetricReporterMetricsNamePrefix(), action, metric);
|
||||
}
|
||||
|
||||
public void updateDeltaStreamerMetrics(long durationInNs) {
|
||||
|
||||
Reference in New Issue
Block a user