mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-03 14:16:28 +00:00
DSS-4092, add metric into search and advanced search
This commit is contained in:
parent
aacb722e4e
commit
402c541fac
@ -250,6 +250,9 @@ public class MetricsDAO extends AbstractMySQLOpenSourceDAO
|
||||
return getMetricListViewMetricNodes(metric.dashboardName, metric.group);
|
||||
}
|
||||
|
||||
public final static String GET_METRIC_AUTO_COMPLETE_LIST = "SELECT DISTINCT metric_name " +
|
||||
"FROM dict_business_metric2 WHERE metric_name is not null and metric_name != '' ORDER by 1";
|
||||
|
||||
public static JsonNode getMetricDashboardNodes()
|
||||
{
|
||||
List<String> dashboardList = getJdbcTemplate().queryForList(GET_METRIC_TREE_DASHBOARD_NODES, String.class);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user