(fix)(headless) fix filter for measure (#626)

Co-authored-by: jolunoluo
This commit is contained in:
LXW
2024-01-15 16:10:54 +08:00
committed by GitHub
parent a6818fb6ff
commit 7f65057a0f
2 changed files with 6 additions and 0 deletions

View File

@@ -50,6 +50,8 @@ public class MetricYamlManager {
public static MeasureYamlTpl convert(Measure measure) {
MeasureYamlTpl measureYamlTpl = new MeasureYamlTpl();
measureYamlTpl.setName(measure.getBizName());
measureYamlTpl.setConstraint(measure.getConstraint());
measureYamlTpl.setAgg(measure.getAlias());
return measureYamlTpl;
}