diff --git a/app/src/main/resources/grafana/explorer-backend-overview.json b/app/src/main/resources/grafana/explorer-backend-overview.json index dc0c78f70..987c8d2df 100644 --- a/app/src/main/resources/grafana/explorer-backend-overview.json +++ b/app/src/main/resources/grafana/explorer-backend-overview.json @@ -1,4 +1,14 @@ { + "__inputs": [ + { + "name": "DS_PROMETHEUS_ID", + "label": "Prometheus Data Source", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + } + ], "annotations": { "list": [ { @@ -24,7 +34,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "fieldConfig": { "defaults": { @@ -76,7 +86,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "disableTextWrap": false, "editorMode": "builder", @@ -96,7 +106,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "fieldConfig": { "defaults": { @@ -148,7 +158,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "disableTextWrap": false, "editorMode": "builder", @@ -168,7 +178,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "fieldConfig": { "defaults": { @@ -220,7 +230,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "disableTextWrap": false, "editorMode": "builder", @@ -240,7 +250,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "description": "Database Idle Connections", "fieldConfig": { @@ -289,7 +299,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "hikaricp_connections_idle", "instant": true, @@ -304,7 +314,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "description": "Threads Awaiting Connection", "fieldConfig": { @@ -353,7 +363,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "hikaricp_connections_pending", "instant": true, @@ -368,7 +378,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "description": "Database Current Connections", "fieldConfig": { @@ -426,7 +436,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "hikaricp_connections", "instant": true, @@ -441,7 +451,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "description": "Database Active Connections", "fieldConfig": { @@ -490,7 +500,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "hikaricp_connections_active", "instant": true, @@ -509,7 +519,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "description": "Number of requests per second, grouped by endpoint", "fieldConfig": { @@ -556,7 +566,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "sum(irate(explorer_backend_request_total{app=\"explorer-backend\"}[1m])) by (path)", "format": "time_series", @@ -568,7 +578,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "sum(irate(explorer_backend_request_total{app=\"explorer-backend\"}[1m]))", "interval": "", @@ -614,7 +624,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "description": "Failed requests count in last 1 minute", "fieldConfig": { @@ -661,7 +671,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "sum(increase(explorer_backend_request_total{app=\"explorer-backend\",status=\"5xx\"}[1m])) by (path)", "interval": "", @@ -707,7 +717,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "fieldConfig": { "defaults": { @@ -754,7 +764,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "histogram_quantile(0.99, sum(irate(explorer_backend_request_duration_seconds_bucket{app=\"explorer-backend\"}[1m])) by (le))", "interval": "", @@ -764,7 +774,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "histogram_quantile(0.95, sum(irate(explorer_backend_request_duration_seconds_bucket{app=\"explorer-backend\"}[1m])) by (le))", "interval": "", @@ -774,7 +784,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "histogram_quantile(0.50, sum(irate(explorer_backend_request_duration_seconds_bucket{app=\"explorer-backend\"}[1m])) by (le))", "interval": "", @@ -784,7 +794,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "sum(irate(explorer_backend_request_duration_seconds_sum{app=\"explorer-backend\"}[1m])) / sum(irate(explorer_backend_request_duration_seconds_count{app=\"explorer-backend\"}[1m]))", "interval": "", @@ -829,7 +839,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "description": "", "fieldConfig": { @@ -876,7 +886,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "(sum(irate(explorer_backend_request_duration_seconds_sum{app=\"explorer-backend\"}[1m])) by (path)) / (sum(irate(explorer_backend_request_duration_seconds_count{app=\"explorer-backend\"}[1m])) by (path))", "interval": "", @@ -921,7 +931,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "description": "Postgres transactions per second(committed + rollback)", "fieldConfig": { @@ -968,7 +978,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "irate(postgres_transactions_total{app=\"explorer-backend\"}[1m])", "interval": "", @@ -1014,7 +1024,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "description": "Postgres disk blocks read per second", "fieldConfig": { @@ -1061,7 +1071,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "irate(postgres_blocks_hits_total{app=\"explorer-backend\"}[1m])", "interval": "", @@ -1071,7 +1081,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "irate(postgres_blocks_reads_total{app=\"explorer-backend\"}[1m])", "interval": "", @@ -1117,7 +1127,7 @@ "dashes": false, "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "description": "Postgres rows read/write per second", "fieldConfig": { @@ -1164,7 +1174,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "irate(postgres_rows_fetched_total{app=\"explorer-backend\"}[1m])", "interval": "", @@ -1174,7 +1184,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "irate(postgres_rows_inserted_total{app=\"explorer-backend\"}[1m])", "interval": "", @@ -1184,7 +1194,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "irate(postgres_rows_updated_total{app=\"explorer-backend\"}[1m])", "interval": "", @@ -1194,7 +1204,7 @@ { "datasource": { "type": "prometheus", - "uid": "FWwc47WVk" + "uid": "${DS_PROMETHEUS_ID}" }, "expr": "irate(postgres_rows_deleted_total{app=\"explorer-backend\"}[1m])", "interval": "",