Skip to content

Commit 5c949c2

Browse files
authored
Merge pull request #2847 from Kavinjsir/fix/nit
🌱 grafana/v1-alpha: correct title and description syntax
2 parents ec8fc32 + afc5c84 commit 5c949c2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

pkg/plugins/optional/grafana/v1alpha/scaffolds/internal/templates/runtime.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ const controllerRuntimeTemplate = `{
105105
},
106106
{
107107
"datasource": "${DS_PROMETHEUS}",
108-
"description": "Total number of reconciliation per controller",
108+
"description": "Total number of reconciliations per controller",
109109
"fieldConfig": {
110110
"defaults": {
111111
"color": {
@@ -187,7 +187,7 @@ const controllerRuntimeTemplate = `{
187187
"refId": "A"
188188
}
189189
],
190-
"title": "Reconciliation Total Count Per Controller",
190+
"title": "Total Reconciliation Count Per Controller",
191191
"type": "timeseries"
192192
},
193193
{

testdata/project-v3-addon-and-grafana/grafana/controller-runtime-metrics.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
{
6262
"datasource": "${DS_PROMETHEUS}",
63-
"description": "Total number of reconciliation per controller",
63+
"description": "Total number of reconciliations per controller",
6464
"fieldConfig": {
6565
"defaults": {
6666
"color": {
@@ -142,7 +142,7 @@
142142
"refId": "A"
143143
}
144144
],
145-
"title": "Reconciliation Total Count Per Controller",
145+
"title": "Total Reconciliation Count Per Controller",
146146
"type": "timeseries"
147147
},
148148
{

testdata/project-v4-addon-and-grafana/grafana/controller-runtime-metrics.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
},
6161
{
6262
"datasource": "${DS_PROMETHEUS}",
63-
"description": "Total number of reconciliation per controller",
63+
"description": "Total number of reconciliations per controller",
6464
"fieldConfig": {
6565
"defaults": {
6666
"color": {
@@ -142,7 +142,7 @@
142142
"refId": "A"
143143
}
144144
],
145-
"title": "Reconciliation Total Count Per Controller",
145+
"title": "Total Reconciliation Count Per Controller",
146146
"type": "timeseries"
147147
},
148148
{

0 commit comments

Comments
 (0)