We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1676a65 + 9d9440c commit 583057aCopy full SHA for 583057a
pkg/cluster/ClusterServiceExtended.go
@@ -267,7 +267,8 @@ func (impl *ClusterServiceImplExtended) CreateGrafanaDataSource(clusterBean *bea
267
if grafanaDatasourceId == 0 {
268
//starts grafana creation
269
// appending envId to ensure unique datasource name for each environment (ex- env got deleted and created with same name)
270
- DataSourceName := "Prometheus-" + env.Name + "-EnvId-" + fmt.Sprint(env.Id)
+ // reverting to old name will be done in next release
271
+ DataSourceName := "Prometheus-" + env.Name
272
createDatasourceReq := grafana.CreateDatasourceRequest{
273
Name: DataSourceName,
274
Type: "prometheus",
0 commit comments