Skip to content

Commit

Permalink
fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
lhpqaq committed Jan 3, 2025
1 parent 88e1d21 commit c01cf06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,14 @@
apiVersion: 1
providers:
<#if prometheus_url??>
<#list db as dashboards>
<#list dashboards as db>
- name: '${db.name}'
orgId: 1
folder: '${db.folder}'
type: file
options:
path: '${db.path}'
</#if>
</#list>
]]>
</value>
<attrs>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public String dashboardConfigDir(String cluster) {

/// TODO
public List<String> getClusters() {
return List.of("ALL");
return List.of("cluster_name");
}

@GlobalParams
Expand Down

0 comments on commit c01cf06

Please sign in to comment.