Skip to content

Commit

Permalink
backport(fix): Grafana dashboard shows data from #246 (#247)
Browse files Browse the repository at this point in the history
* Fix grafana dashboard by removing `uid` from the `datasource` fields.
* Add tags `ckf` and `seldon` to dashboard.

Ref canonical/bundle-kubeflow#856
Ref canonical/bundle-kubeflow#834
  • Loading branch information
orfeas-k committed Apr 9, 2024
1 parent 3f6e37d commit e6ef437
Showing 1 changed file with 7 additions and 13 deletions.
20 changes: 7 additions & 13 deletions src/grafana_dashboards/seldon-core.json.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@
"liveNow": false,
"panels": [
{
"datasource": {
"type": "${prometheusds}",
"uid": "P19B9F3F8E2C8F6D0"
},
"datasource": "${prometheusds}",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -107,10 +104,7 @@
"pluginVersion": "9.2.1",
"targets": [
{
"datasource": {
"type": "${prometheusds}",
"uid": "P19B9F3F8E2C8F6D0"
},
"datasource": "${prometheusds}",
"editorMode": "builder",
"exemplar": false,
"expr": "controller_runtime_webhook_requests_total{webhook=\"/validate-machinelearning-seldon-io-v1-seldondeployment\", code=\"200\"}",
Expand All @@ -121,10 +115,7 @@
"refId": "A"
},
{
"datasource": {
"type": "${prometheusds}",
"uid": "P19B9F3F8E2C8F6D0"
},
"datasource": "${prometheusds}",
"editorMode": "builder",
"expr": "controller_runtime_webhook_requests_total{webhook=\"/mutate-machinelearning-seldon-io-v1-seldondeployment\", code=\"500\"}",
"hide": false,
Expand All @@ -140,7 +131,10 @@
],
"schemaVersion": 37,
"style": "dark",
"tags": [],
"tags": [
"ckf",
"seldon"
],
"templating": {
"list": []
},
Expand Down

0 comments on commit e6ef437

Please sign in to comment.