Skip to content

Commit

Permalink
Some changes that will hopefully fix the dashboard (#273)
Browse files Browse the repository at this point in the history
* Attempt at some fixes.

* Fixes by comparing with test dashboard.

* Fix id, was the test id.

* Change selected back to true.
  • Loading branch information
merlante authored Nov 18, 2024
1 parent bdb7bfe commit f54f638
Showing 1 changed file with 10 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,55 +2,6 @@ apiVersion: v1
data:
relations-api-data-sync-dashboard.json: |-
{
"__inputs": [
{
"name": "DS_CRCS02UE1-PROMETHEUS",
"label": "crcs02ue1-prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
},
{
"name": "DS_EXPRESSION",
"label": "Expression",
"description": "",
"type": "datasource",
"pluginId": "__expr__"
}
],
"__elements": {},
"__requires": [
{
"type": "datasource",
"id": "__expr__",
"version": "1.0.0"
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "10.4.1"
},
{
"type": "datasource",
"id": "prometheus",
"name": "Prometheus",
"version": "1.0.0"
},
{
"type": "panel",
"id": "state-timeline",
"name": "State timeline",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
Expand All @@ -71,13 +22,13 @@ data:
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"id": 957360,
"links": [],
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_CRCS02UE1-PROMETHEUS}"
"uid": "${Datasource}"
},
"description": "Periods of lag, when the rate of replication events generated exceeds the rate at which it's consumed by relations-api.",
"fieldConfig": {
Expand Down Expand Up @@ -142,7 +93,7 @@ data:
{
"datasource": {
"type": "prometheus",
"uid": "${DS_CRCS02UE1-PROMETHEUS}"
"uid": "${Datasource}"
},
"editorMode": "code",
"exemplar": false,
Expand Down Expand Up @@ -194,7 +145,7 @@ data:
{
"datasource": {
"type": "prometheus",
"uid": "${DS_CRCS02UE1-PROMETHEUS}"
"uid": "${Datasource}"
},
"description": "The rate at which replication events are created and propagated should be matched closely by the rate at which replication events are processed and relations are applied to relations-api.",
"fieldConfig": {
Expand Down Expand Up @@ -302,7 +253,7 @@ data:
{
"datasource": {
"type": "prometheus",
"uid": "${DS_CRCS02UE1-PROMETHEUS}"
"uid": "${Datasource}"
},
"disableTextWrap": false,
"editorMode": "code",
Expand All @@ -322,7 +273,7 @@ data:
{
"datasource": {
"type": "prometheus",
"uid": "${DS_CRCS02UE1-PROMETHEUS}"
"uid": "${Datasource}"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -401,7 +352,7 @@ data:
{
"datasource": {
"type": "prometheus",
"uid": "${DS_CRCS02UE1-PROMETHEUS}"
"uid": "${Datasource}"
},
"editorMode": "code",
"expr": "sum(kafka_connect_source_task_source_record_write_total{connector=\"rbac-debezium\"})",
Expand All @@ -417,7 +368,7 @@ data:
{
"datasource": {
"type": "prometheus",
"uid": "${DS_CRCS02UE1-PROMETHEUS}"
"uid": "${Datasource}"
},
"fieldConfig": {
"defaults": {
Expand Down Expand Up @@ -496,7 +447,7 @@ data:
{
"datasource": {
"type": "prometheus",
"uid": "${DS_CRCS02UE1-PROMETHEUS}"
"uid": "${Datasource}"
},
"editorMode": "code",
"expr": "sum(kafka_connect_sink_task_sink_record_send_total{connector=\"relations-sink-connector\"})",
Expand Down Expand Up @@ -545,7 +496,7 @@ data:
"timezone": "browser",
"title": "Kessel - Relations API data sync",
"uid": "ce3ty1vy1gpvkd",
"version": 1,
"version": 2,
"weekStart": ""
}
kind: ConfigMap
Expand Down

0 comments on commit f54f638

Please sign in to comment.