Skip to content

Commit 6e2047e

Browse files
committed
fix in CreateGrafanaDataSource
1 parent f1559dd commit 6e2047e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cluster/ClusterServiceExtended.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ func (impl *ClusterServiceImplExtended) CreateGrafanaDataSource(clusterBean *bea
294294
if grafanaDatasourceId == 0 {
295295
//starts grafana creation
296296
createDatasourceReq := grafana.CreateDatasourceRequest{
297-
Name: "Prometheus-" + env.Name,
297+
Name: "Prometheus-" + env.Name + "-EnvId-" + fmt.Sprint(env.Id),
298298
Type: "prometheus",
299299
Url: clusterBean.PrometheusUrl,
300300
Access: "proxy",

0 commit comments

Comments
 (0)