Skip to content

Commit 809eea2

Browse files
authored
Add uid and allow editing for Prometheus datasources (#434)
1 parent afb6e3f commit 809eea2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

modules/grafana/templates/prometheus-datasource.yaml.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ apiVersion: 1
44
datasources:
55
<% @prometheus_servers.each do |server, domain| -%>
66
- name: prometheus_<%= domain %>
7+
uid: prometheus_<%= domain %>
78
type: prometheus
89
url: http://<%= server %>:9090
910
access: proxy
1011
isDefault: false
11-
editable: false
12+
editable: true
1213
<% end -%>

0 commit comments

Comments
 (0)