aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker-compose/config/grafana/cps-database-pool.json886
-rw-r--r--docker-compose/config/grafana/data-dashboard.json14
-rw-r--r--docker-compose/config/grafana/inventory-dashboard.json16
-rw-r--r--docker-compose/config/grafana/jvm-micrometer-dashboard.json735
-rw-r--r--docker-compose/config/grafana/postgresql-statistics-dashboard.json34
-rw-r--r--docker-compose/docker-compose.yml1
6 files changed, 1029 insertions, 657 deletions
diff --git a/docker-compose/config/grafana/cps-database-pool.json b/docker-compose/config/grafana/cps-database-pool.json
new file mode 100644
index 0000000000..37782af71a
--- /dev/null
+++ b/docker-compose/config/grafana/cps-database-pool.json
@@ -0,0 +1,886 @@
+{
+ "annotations": {
+ "list": [
+ {
+ "builtIn": 1,
+ "datasource": {
+ "type": "datasource",
+ "uid": "grafana"
+ },
+ "enable": true,
+ "hide": true,
+ "iconColor": "rgba(0, 211, 255, 1)",
+ "name": "Annotations & Alerts",
+ "type": "dashboard"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "enable": true,
+ "expr": "resets(process_uptime_seconds{application=\"$application\", region=\"$region\", instance=\"$instance\"}[1m]) > 0",
+ "hide": false,
+ "iconColor": "rgba(255, 96, 96, 1)",
+ "limit": 100,
+ "name": "Restart Detection",
+ "showIn": 0,
+ "step": "1m",
+ "tagKeys": "restart-tag",
+ "tags": [],
+ "textFormat": "uptime reset",
+ "titleFormat": "Restart",
+ "type": "tags"
+ }
+ ]
+ },
+ "description": "HikariCP & JDBC Dashboard (Micrometer.io)",
+ "editable": true,
+ "fiscalYearStartMonth": 0,
+ "graphTooltip": 1,
+ "id": 16,
+ "links": [],
+ "panels": [
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 0
+ },
+ "id": 4,
+ "panels": [],
+ "title": "JDBC Connections",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "mappings": [
+ {
+ "options": {
+ "match": "null",
+ "result": {
+ "text": "N/A"
+ }
+ },
+ "type": "special"
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 3,
+ "w": 8,
+ "x": 0,
+ "y": 1
+ },
+ "id": 6,
+ "maxDataPoints": 100,
+ "options": {
+ "colorMode": "none",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "horizontal",
+ "percentChangeColorMode": "standard",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "11.3.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "jdbc_connections_min{application=\"$application\", region=~\"$region\", instance=~\"$instance\", name=~\"$jdbc_connection_name\"}",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "refId": "A"
+ }
+ ],
+ "title": "Min",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "fixedColor": "rgb(31, 120, 193)",
+ "mode": "fixed"
+ },
+ "mappings": [
+ {
+ "options": {
+ "match": "null",
+ "result": {
+ "text": "N/A"
+ }
+ },
+ "type": "special"
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 3,
+ "w": 8,
+ "x": 8,
+ "y": 1
+ },
+ "id": 7,
+ "maxDataPoints": 100,
+ "options": {
+ "colorMode": "none",
+ "graphMode": "area",
+ "justifyMode": "auto",
+ "orientation": "horizontal",
+ "percentChangeColorMode": "standard",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "11.3.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "jdbc_connections_active{application=\"$application\", region=~\"$region\", instance=~\"$instance\", name=~\"$jdbc_connection_name\"}",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "refId": "A"
+ }
+ ],
+ "title": "Active",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "mappings": [
+ {
+ "options": {
+ "match": "null",
+ "result": {
+ "text": "N/A"
+ }
+ },
+ "type": "special"
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 3,
+ "w": 8,
+ "x": 16,
+ "y": 1
+ },
+ "id": 8,
+ "maxDataPoints": 100,
+ "options": {
+ "colorMode": "none",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "horizontal",
+ "percentChangeColorMode": "standard",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "11.3.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "jdbc_connections_max{application=\"$application\", region=~\"$region\", instance=~\"$instance\", name=~\"$jdbc_connection_name\"}",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "refId": "A"
+ }
+ ],
+ "title": "Max",
+ "type": "stat"
+ },
+ {
+ "collapsed": false,
+ "gridPos": {
+ "h": 1,
+ "w": 24,
+ "x": 0,
+ "y": 4
+ },
+ "id": 2,
+ "panels": [],
+ "title": "Hikari Connections",
+ "type": "row"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "min": 0,
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "short"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 12,
+ "w": 21,
+ "x": 0,
+ "y": 5
+ },
+ "id": 10,
+ "options": {
+ "legend": {
+ "calcs": [
+ "max",
+ "min"
+ ],
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "11.3.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "hikaricp_connections_active{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "legendFormat": "Active connections",
+ "refId": "C"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "hikaricp_connections_idle{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "legendFormat": "Idle connections",
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "hikaricp_connections_pending{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "legendFormat": "Pending threads",
+ "refId": "B"
+ }
+ ],
+ "title": "Connections",
+ "type": "timeseries"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "mappings": [
+ {
+ "options": {
+ "match": "null",
+ "result": {
+ "text": "N/A"
+ }
+ },
+ "type": "special"
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 4,
+ "w": 3,
+ "x": 21,
+ "y": 5
+ },
+ "id": 12,
+ "maxDataPoints": 100,
+ "options": {
+ "colorMode": "none",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "horizontal",
+ "percentChangeColorMode": "standard",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "11.3.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "hikaricp_connections_max{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "refId": "A"
+ }
+ ],
+ "title": "Max",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "mappings": [
+ {
+ "options": {
+ "match": "null",
+ "result": {
+ "text": "N/A"
+ }
+ },
+ "type": "special"
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 4,
+ "w": 3,
+ "x": 21,
+ "y": 9
+ },
+ "id": 13,
+ "maxDataPoints": 100,
+ "options": {
+ "colorMode": "none",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "horizontal",
+ "percentChangeColorMode": "standard",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "11.3.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "hikaricp_connections_min{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "refId": "A"
+ }
+ ],
+ "title": "Min",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "mappings": [
+ {
+ "options": {
+ "match": "null",
+ "result": {
+ "text": "N/A"
+ }
+ },
+ "type": "special"
+ }
+ ],
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "none"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 4,
+ "w": 3,
+ "x": 21,
+ "y": 13
+ },
+ "id": 17,
+ "maxDataPoints": 100,
+ "options": {
+ "colorMode": "none",
+ "graphMode": "none",
+ "justifyMode": "auto",
+ "orientation": "horizontal",
+ "percentChangeColorMode": "standard",
+ "reduceOptions": {
+ "calcs": [
+ "lastNotNull"
+ ],
+ "fields": "",
+ "values": false
+ },
+ "showPercentChange": false,
+ "textMode": "auto",
+ "wideLayout": true
+ },
+ "pluginVersion": "11.3.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "hikaricp_connections_timeout_total{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "legendFormat": "",
+ "refId": "A"
+ }
+ ],
+ "title": "Total Timeout",
+ "type": "stat"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "fieldConfig": {
+ "defaults": {
+ "color": {
+ "mode": "palette-classic"
+ },
+ "custom": {
+ "axisBorderShow": false,
+ "axisCenteredZero": false,
+ "axisColorMode": "text",
+ "axisLabel": "",
+ "axisPlacement": "auto",
+ "barAlignment": 0,
+ "barWidthFactor": 0.6,
+ "drawStyle": "line",
+ "fillOpacity": 10,
+ "gradientMode": "none",
+ "hideFrom": {
+ "legend": false,
+ "tooltip": false,
+ "viz": false
+ },
+ "insertNulls": false,
+ "lineInterpolation": "linear",
+ "lineWidth": 1,
+ "pointSize": 5,
+ "scaleDistribution": {
+ "type": "linear"
+ },
+ "showPoints": "never",
+ "spanNulls": false,
+ "stacking": {
+ "group": "A",
+ "mode": "none"
+ },
+ "thresholdsStyle": {
+ "mode": "off"
+ }
+ },
+ "mappings": [],
+ "min": 0,
+ "thresholds": {
+ "mode": "absolute",
+ "steps": [
+ {
+ "color": "green",
+ "value": null
+ },
+ {
+ "color": "red",
+ "value": 80
+ }
+ ]
+ },
+ "unit": "dtdurations"
+ },
+ "overrides": []
+ },
+ "gridPos": {
+ "h": 9,
+ "w": 24,
+ "x": 0,
+ "y": 17
+ },
+ "id": 16,
+ "options": {
+ "legend": {
+ "calcs": [
+ "max",
+ "min"
+ ],
+ "displayMode": "table",
+ "placement": "bottom",
+ "showLegend": true
+ },
+ "tooltip": {
+ "mode": "multi",
+ "sort": "none"
+ }
+ },
+ "pluginVersion": "11.3.1",
+ "targets": [
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "irate(hikaricp_connections_usage_seconds_sum{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}[5m]) / irate(hikaricp_connections_usage_seconds_count{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}[5m])",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "legendFormat": "Usage time",
+ "refId": "C"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "irate(hikaricp_connections_creation_seconds_sum{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}[5m]) / irate(hikaricp_connections_creation_seconds_count{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}[5m])",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "legendFormat": "Creation time",
+ "refId": "A"
+ },
+ {
+ "datasource": {
+ "type": "prometheus",
+ "uid": "PBFA97CFB590B2093"
+ },
+ "expr": "irate(hikaricp_connections_acquire_seconds_sum{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}[5m]) / irate(hikaricp_connections_acquire_seconds_count{application=\"$application\", region=~\"$region\", instance=~\"$instance\", pool=~\"$hikaricp_pool_name\"}[5m])",
+ "format": "time_series",
+ "intervalFactor": 1,
+ "legendFormat": "Acquire time",
+ "refId": "B"
+ }
+ ],
+ "title": "Connections Time",
+ "type": "timeseries"
+ }
+ ],
+ "preload": false,
+ "refresh": "5s",
+ "schemaVersion": 40,
+ "tags": [
+ "prometheus",
+ "hikaricp",
+ "micrometer",
+ "spring boot",
+ "jdbc"
+ ],
+ "templating": {
+ "list": [
+ {
+ "current": {
+ "text": "",
+ "value": ""
+ },
+ "datasource": "PBFA97CFB590B2093",
+ "definition": "",
+ "includeAll": false,
+ "label": "Application",
+ "name": "application",
+ "options": [],
+ "query": "label_values(application)",
+ "refresh": 2,
+ "regex": "",
+ "type": "query"
+ },
+ {
+ "current": {
+ "text": "All",
+ "value": "$__all"
+ },
+ "datasource": "PBFA97CFB590B2093",
+ "definition": "",
+ "includeAll": true,
+ "label": "Region",
+ "name": "region",
+ "options": [],
+ "query": "label_values(jdbc_connections_min{application=\"$application\"}, region)",
+ "refresh": 1,
+ "regex": "",
+ "sort": 1,
+ "type": "query"
+ },
+ {
+ "current": {
+ "text": "129.192.80.24:9998",
+ "value": "129.192.80.24:9998"
+ },
+ "datasource": "PBFA97CFB590B2093",
+ "definition": "label_values(jdbc_connections_min{application=\"$application\", region=~\"$region\"}, instance)",
+ "includeAll": true,
+ "label": "Instance",
+ "name": "instance",
+ "options": [],
+ "query": "label_values(jdbc_connections_min{application=\"$application\", region=~\"$region\"}, instance)",
+ "refresh": 2,
+ "regex": "",
+ "sort": 1,
+ "type": "query"
+ },
+ {
+ "current": {
+ "text": "dataSource",
+ "value": "dataSource"
+ },
+ "datasource": "PBFA97CFB590B2093",
+ "definition": "label_values(jdbc_connections_min{application=\"$application\", region=~\"$region\", instance=~\"$instance\"}, name)",
+ "includeAll": false,
+ "label": "JDBC Connection Name",
+ "name": "jdbc_connection_name",
+ "options": [],
+ "query": "label_values(jdbc_connections_min{application=\"$application\", region=~\"$region\", instance=~\"$instance\"}, name)",
+ "refresh": 2,
+ "regex": "",
+ "sort": 1,
+ "type": "query"
+ },
+ {
+ "current": {
+ "text": "CpsDatabasePool",
+ "value": "CpsDatabasePool"
+ },
+ "datasource": "PBFA97CFB590B2093",
+ "definition": "label_values(hikaricp_connections_min{application=\"$application\", region=~\"$region\", instance=~\"$instance\"}, pool)",
+ "includeAll": false,
+ "label": "Hikari Pool Name",
+ "name": "hikaricp_pool_name",
+ "options": [],
+ "query": "label_values(hikaricp_connections_min{application=\"$application\", region=~\"$region\", instance=~\"$instance\"}, pool)",
+ "refresh": 2,
+ "regex": "",
+ "sort": 1,
+ "type": "query"
+ }
+ ]
+ },
+ "time": {
+ "from": "now-1h",
+ "to": "now"
+ },
+ "timepicker": {},
+ "timezone": "",
+ "title": "Cps Database Pool",
+ "uid": "wdV6wx7iz",
+ "version": 1,
+ "weekStart": ""
+} \ No newline at end of file
diff --git a/docker-compose/config/grafana/data-dashboard.json b/docker-compose/config/grafana/data-dashboard.json
index a75e7a59ea..4fbb65ee5b 100644
--- a/docker-compose/config/grafana/data-dashboard.json
+++ b/docker-compose/config/grafana/data-dashboard.json
@@ -19,7 +19,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
- "id": 13,
+ "id": 2,
"links": [],
"panels": [
{
@@ -101,7 +101,7 @@
"sort": "none"
}
},
- "pluginVersion": "11.3.1",
+ "pluginVersion": "11.4.0",
"targets": [
{
"disableTextWrap": false,
@@ -197,7 +197,7 @@
"sort": "none"
}
},
- "pluginVersion": "11.3.1",
+ "pluginVersion": "11.4.0",
"targets": [
{
"disableTextWrap": false,
@@ -219,9 +219,9 @@
"refresh": "5s",
"schemaVersion": 40,
"tags": [
- "CPS",
- "NCMP",
- "k6"
+ "ncmp",
+ "data",
+ "api"
],
"templating": {
"list": [
@@ -271,6 +271,6 @@
"timezone": "browser",
"title": "Data REST Interfaces",
"uid": "aeavdgvjyt2iob",
- "version": 5,
+ "version": 1,
"weekStart": ""
} \ No newline at end of file
diff --git a/docker-compose/config/grafana/inventory-dashboard.json b/docker-compose/config/grafana/inventory-dashboard.json
index f6a7e8cbb2..959995fa69 100644
--- a/docker-compose/config/grafana/inventory-dashboard.json
+++ b/docker-compose/config/grafana/inventory-dashboard.json
@@ -18,7 +18,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
- "id": 12,
+ "id": 3,
"links": [],
"panels": [
{
@@ -100,7 +100,7 @@
"sort": "none"
}
},
- "pluginVersion": "11.3.1",
+ "pluginVersion": "11.4.0",
"targets": [
{
"disableTextWrap": false,
@@ -196,7 +196,7 @@
"sort": "none"
}
},
- "pluginVersion": "11.3.1",
+ "pluginVersion": "11.4.0",
"targets": [
{
"disableTextWrap": false,
@@ -292,7 +292,7 @@
"sort": "none"
}
},
- "pluginVersion": "11.3.1",
+ "pluginVersion": "11.4.0",
"targets": [
{
"disableTextWrap": false,
@@ -313,9 +313,9 @@
"preload": false,
"schemaVersion": 40,
"tags": [
- "CPS",
- "NCMP",
- "k6"
+ "lcm-state",
+ "inventory",
+ "ncmp"
],
"templating": {
"list": [
@@ -365,6 +365,6 @@
"timezone": "browser",
"title": "Inventory REST Interfaces",
"uid": "beao8xrt6qjnkc",
- "version": 7,
+ "version": 1,
"weekStart": ""
} \ No newline at end of file
diff --git a/docker-compose/config/grafana/jvm-micrometer-dashboard.json b/docker-compose/config/grafana/jvm-micrometer-dashboard.json
index 8f7747c596..9f09d2e2cb 100644
--- a/docker-compose/config/grafana/jvm-micrometer-dashboard.json
+++ b/docker-compose/config/grafana/jvm-micrometer-dashboard.json
@@ -22,6 +22,7 @@
},
"enable": true,
"expr": "resets(process_uptime_seconds{application=\"$application\", instance=\"$instance\"}[1m]) > 0",
+ "hide": false,
"iconColor": "rgba(255, 96, 96, 1)",
"name": "Restart Detection",
"showIn": 0,
@@ -35,17 +36,12 @@
"description": "Dashboard for Micrometer instrumented applications (Java, Spring Boot, Micronaut)",
"editable": true,
"fiscalYearStartMonth": 0,
- "gnetId": 4701,
"graphTooltip": 1,
- "id": 1,
+ "id": 3,
"links": [],
"panels": [
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
"gridPos": {
"h": 1,
"w": 24,
@@ -54,15 +50,6 @@
},
"id": 139,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
- "refId": "A"
- }
- ],
"title": "Quick Facts",
"type": "row"
},
@@ -73,6 +60,10 @@
},
"fieldConfig": {
"defaults": {
+ "color": {
+ "fixedColor": "green",
+ "mode": "fixed"
+ },
"decimals": 1,
"mappings": [
{
@@ -127,7 +118,7 @@
"textMode": "auto",
"wideLayout": true
},
- "pluginVersion": "11.1.4",
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -153,6 +144,10 @@
},
"fieldConfig": {
"defaults": {
+ "color": {
+ "fixedColor": "green",
+ "mode": "fixed"
+ },
"mappings": [
{
"options": {
@@ -206,7 +201,7 @@
"textMode": "auto",
"wideLayout": true
},
- "pluginVersion": "11.1.4",
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -292,7 +287,7 @@
"textMode": "auto",
"wideLayout": true
},
- "pluginVersion": "11.1.4",
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -387,7 +382,7 @@
"textMode": "auto",
"wideLayout": true
},
- "pluginVersion": "11.1.4",
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -407,10 +402,6 @@
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
"gridPos": {
"h": 1,
"w": 24,
@@ -419,15 +410,6 @@
},
"id": 140,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
- "refId": "A"
- }
- ],
"title": "I/O Overview",
"type": "row"
},
@@ -448,6 +430,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -513,6 +496,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -546,6 +530,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -642,6 +627,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -675,6 +661,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -740,6 +727,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -787,6 +775,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -852,6 +841,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -931,10 +921,6 @@
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
"gridPos": {
"h": 1,
"w": 24,
@@ -943,15 +929,6 @@
},
"id": 141,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
- "refId": "A"
- }
- ],
"title": "JVM Memory",
"type": "row"
},
@@ -972,6 +949,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -1038,6 +1016,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -1097,6 +1076,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -1163,6 +1143,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -1223,6 +1204,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -1289,6 +1271,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -1348,6 +1331,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -1414,6 +1398,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -1468,10 +1453,6 @@
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
"gridPos": {
"h": 1,
"w": 24,
@@ -1480,15 +1461,6 @@
},
"id": 142,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
- "refId": "A"
- }
- ],
"title": "JVM Misc",
"type": "row"
},
@@ -1509,6 +1481,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -1577,6 +1550,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -1637,6 +1611,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -1704,6 +1679,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -1750,6 +1726,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -1817,6 +1794,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -1890,6 +1868,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -2046,6 +2025,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -2080,6 +2060,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -2148,6 +2129,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -2181,6 +2163,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -2324,6 +2307,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -2360,6 +2344,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
+ "barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 10,
"gradientMode": "none",
@@ -2428,6 +2413,7 @@
"sort": "none"
}
},
+ "pluginVersion": "11.4.0",
"targets": [
{
"datasource": {
@@ -2463,10 +2449,6 @@
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
"gridPos": {
"h": 1,
"w": 24,
@@ -2476,15 +2458,6 @@
"id": 143,
"panels": [],
"repeat": "persistence_counts",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
- "refId": "A"
- }
- ],
"title": "JVM Memory Pools (Heap)",
"type": "row"
},
@@ -2536,8 +2509,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -2551,7 +2523,7 @@
},
"gridPos": {
"h": 7,
- "w": 8,
+ "w": 24,
"x": 0,
"y": 36
},
@@ -2572,6 +2544,7 @@
}
},
"repeat": "jvm_memory_pool_heap",
+ "repeatDirection": "h",
"targets": [
{
"datasource": {
@@ -2624,10 +2597,6 @@
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
"gridPos": {
"h": 1,
"w": 24,
@@ -2636,66 +2605,29 @@
},
"id": 144,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
- "refId": "A"
- }
- ],
"title": "JVM Memory Pools (Non-Heap)",
"type": "row"
},
{
- "aliasColors": {},
- "autoMigrateFrom": "graph",
- "bars": false,
- "dashLength": 10,
- "dashes": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {
- "leftLogBase": 1,
- "rightLogBase": 1
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
},
"gridPos": {
"h": 7,
- "w": 8,
+ "w": 24,
"x": 0,
"y": 44
},
"id": 78,
- "legend": {
- "alignAsTable": false,
- "avg": false,
- "current": true,
- "max": true,
- "min": false,
- "rightSide": false,
- "show": true,
- "total": false,
- "values": true
- },
- "lines": true,
- "linewidth": 1,
"maxPerRow": 3,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
+ "options": {},
"repeat": "jvm_memory_pool_nonheap",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "repeatDirection": "h",
"targets": [
{
"datasource": {
@@ -2743,104 +2675,39 @@
"step": 1800
}
],
- "thresholds": [],
"title": "$jvm_memory_pool_nonheap",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "timeseries",
- "x-axis": true,
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "y-axis": true,
- "y_formats": [
- "mbytes",
- "short"
- ],
- "yaxes": [
- {
- "format": "bytes",
- "logBase": 1,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ]
+ "type": "timeseries"
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
- "y": 58
+ "y": 51
},
"id": 145,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
- "refId": "A"
- }
- ],
"title": "Garbage Collection",
"type": "row"
},
{
- "aliasColors": {},
- "autoMigrateFrom": "graph",
- "bars": false,
- "dashLength": 10,
- "dashes": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
- "fill": 1,
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 7,
"w": 8,
"x": 0,
- "y": 59
+ "y": 52
},
"id": 98,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "options": {},
"targets": [
{
"datasource": {
@@ -2855,72 +2722,26 @@
"refId": "A"
}
],
- "thresholds": [],
"title": "Collections",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "timeseries",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "ops",
- "logBase": 1,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "show": true
- }
- ]
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "autoMigrateFrom": "graph",
- "bars": false,
- "dashLength": 10,
- "dashes": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
- "fill": 1,
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 7,
"w": 8,
"x": 8,
- "y": 59
+ "y": 52
},
"id": 101,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "options": {},
"targets": [
{
"datasource": {
@@ -2949,72 +2770,26 @@
"refId": "B"
}
],
- "thresholds": [],
"title": "Pause Durations",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "timeseries",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "s",
- "logBase": 1,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "show": true
- }
- ]
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "autoMigrateFrom": "graph",
- "bars": false,
- "dashLength": 10,
- "dashes": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
- "fill": 1,
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 7,
"w": 8,
"x": 16,
- "y": 59
+ "y": 52
},
"id": 99,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "options": {},
"targets": [
{
"datasource": {
@@ -3041,103 +2816,39 @@
"refId": "B"
}
],
- "thresholds": [],
"title": "Allocated/Promoted",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "timeseries",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "Bps",
- "logBase": 1,
- "min": "0",
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ]
+ "type": "timeseries"
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
- "y": 66
+ "y": 59
},
"id": 146,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
- "refId": "A"
- }
- ],
"title": "Classloading",
"type": "row"
},
{
- "aliasColors": {},
- "autoMigrateFrom": "graph",
- "bars": false,
- "dashLength": 10,
- "dashes": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {
- "leftLogBase": 1,
- "rightLogBase": 1
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
- "y": 67
+ "y": 60
},
"id": 37,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "options": {},
"targets": [
{
"datasource": {
@@ -3153,84 +2864,26 @@
"step": 1200
}
],
- "thresholds": [],
"title": "Classes loaded",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "timeseries",
- "x-axis": true,
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "y-axis": true,
- "y_formats": [
- "short",
- "short"
- ],
- "yaxes": [
- {
- "format": "short",
- "logBase": 1,
- "min": 0,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ]
+ "type": "timeseries"
},
{
- "aliasColors": {},
- "autoMigrateFrom": "graph",
- "bars": false,
- "dashLength": 10,
- "dashes": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
- "editable": true,
- "error": false,
- "fill": 1,
- "grid": {
- "leftLogBase": 1,
- "rightLogBase": 1
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
},
"gridPos": {
"h": 7,
"w": 12,
"x": 12,
- "y": 67
+ "y": 60
},
"id": 38,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "options": {},
"targets": [
{
"datasource": {
@@ -3248,115 +2901,42 @@
"step": 1200
}
],
- "thresholds": [],
"title": "Class delta",
- "tooltip": {
- "msResolution": false,
- "shared": true,
- "sort": 0,
- "value_type": "cumulative"
- },
- "type": "timeseries",
- "x-axis": true,
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "y-axis": true,
- "y_formats": [
- "ops",
- "short"
- ],
- "yaxes": [
- {
- "format": "short",
- "label": "",
- "logBase": 1,
- "show": true
- },
- {
- "format": "short",
- "logBase": 1,
- "show": true
- }
- ]
+ "type": "timeseries"
},
{
"collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
- "y": 74
+ "y": 67
},
"id": 147,
"panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "PBFA97CFB590B2093"
- },
- "refId": "A"
- }
- ],
"title": "Buffer Pools",
"type": "row"
},
{
- "aliasColors": {},
- "autoMigrateFrom": "graph",
- "bars": false,
- "dashLength": 10,
- "dashes": false,
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
- "fill": 1,
+ "fieldConfig": {
+ "defaults": {},
+ "overrides": []
+ },
"gridPos": {
"h": 7,
- "w": 8,
+ "w": 24,
"x": 0,
- "y": 75
+ "y": 68
},
"id": 131,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
"maxPerRow": 3,
- "nullPointMode": "null",
- "percentage": false,
- "pointradius": 5,
- "points": false,
- "renderer": "flot",
+ "options": {},
"repeat": "jvm_buffer_pool",
- "seriesOverrides": [
- {
- "alias": "count",
- "yaxis": 2
- },
- {
- "alias": "buffers",
- "yaxis": 2
- }
- ],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
+ "repeatDirection": "h",
"targets": [
{
"datasource": {
@@ -3393,46 +2973,23 @@
"refId": "C"
}
],
- "thresholds": [],
"title": "$jvm_buffer_pool",
- "tooltip": {
- "shared": true,
- "sort": 0,
- "value_type": "individual"
- },
- "type": "timeseries",
- "xaxis": {
- "mode": "time",
- "show": true,
- "values": []
- },
- "yaxes": [
- {
- "format": "decbytes",
- "logBase": 1,
- "min": "0",
- "show": true
- },
- {
- "decimals": 0,
- "format": "short",
- "label": "",
- "logBase": 1,
- "min": "0",
- "show": true
- }
- ]
+ "type": "timeseries"
}
],
+ "preload": false,
"refresh": "auto",
- "schemaVersion": 39,
- "tags": [],
+ "schemaVersion": 40,
+ "tags": [
+ "jvm",
+ "prometheus",
+ "micrometer"
+ ],
"templating": {
"list": [
{
"current": {
"isNone": true,
- "selected": false,
"text": "None",
"value": ""
},
@@ -3441,26 +2998,17 @@
"uid": "PBFA97CFB590B2093"
},
"definition": "",
- "hide": 0,
"includeAll": false,
"label": "Application",
- "multi": false,
"name": "application",
"options": [],
"query": "label_values(application)",
"refresh": 2,
"regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
+ "type": "query"
},
{
- "allFormat": "glob",
"current": {
- "selected": false,
"text": "docker-compose-cps-and-ncmp-1:8080",
"value": "docker-compose-cps-and-ncmp-1:8080"
},
@@ -3469,27 +3017,17 @@
"uid": "PBFA97CFB590B2093"
},
"definition": "",
- "hide": 0,
"includeAll": false,
"label": "Instance",
- "multi": false,
- "multiFormat": "glob",
"name": "instance",
"options": [],
"query": "label_values(jvm_memory_used_bytes{application=\"$application\"}, instance)",
"refresh": 2,
"regex": "",
- "skipUrlSync": false,
- "sort": 0,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
+ "type": "query"
},
{
- "allFormat": "glob",
"current": {
- "selected": false,
"text": "All",
"value": "$__all"
},
@@ -3501,24 +3039,16 @@
"hide": 2,
"includeAll": true,
"label": "JVM Memory Pools Heap",
- "multi": false,
- "multiFormat": "glob",
"name": "jvm_memory_pool_heap",
"options": [],
"query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"},id)",
"refresh": 1,
"regex": "",
- "skipUrlSync": false,
"sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
+ "type": "query"
},
{
- "allFormat": "glob",
"current": {
- "selected": false,
"text": "All",
"value": "$__all"
},
@@ -3530,24 +3060,16 @@
"hide": 2,
"includeAll": true,
"label": "JVM Memory Pools Non-Heap",
- "multi": false,
- "multiFormat": "glob",
"name": "jvm_memory_pool_nonheap",
"options": [],
"query": "label_values(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\"},id)",
"refresh": 1,
"regex": "",
- "skipUrlSync": false,
"sort": 2,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
+ "type": "query"
},
{
- "allFormat": "glob",
"current": {
- "selected": false,
"text": "All",
"value": "$__all"
},
@@ -3559,19 +3081,13 @@
"hide": 2,
"includeAll": true,
"label": "JVM Buffer Pools",
- "multi": false,
- "multiFormat": "glob",
"name": "jvm_buffer_pool",
"options": [],
"query": "label_values(jvm_buffer_memory_used_bytes{application=\"$application\", instance=\"$instance\"},id)",
"refresh": 1,
"regex": "",
- "skipUrlSync": false,
"sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
+ "type": "query"
}
]
},
@@ -3579,35 +3095,10 @@
"from": "now-30m",
"to": "now"
},
- "timepicker": {
- "now": true,
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
+ "timepicker": {},
"timezone": "browser",
"title": "JVM (Micrometer)",
"uid": "bdvp1kgecrda8f",
"version": 1,
"weekStart": ""
-}
+} \ No newline at end of file
diff --git a/docker-compose/config/grafana/postgresql-statistics-dashboard.json b/docker-compose/config/grafana/postgresql-statistics-dashboard.json
index 642294167e..afc428f8cf 100644
--- a/docker-compose/config/grafana/postgresql-statistics-dashboard.json
+++ b/docker-compose/config/grafana/postgresql-statistics-dashboard.json
@@ -25,7 +25,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
- "id": 4,
+ "id": 5,
"links": [],
"panels": [
{
@@ -1257,8 +1257,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -1365,8 +1364,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -1483,8 +1481,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -1582,8 +1579,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -1688,8 +1684,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -1826,8 +1821,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -1930,8 +1924,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -2029,8 +2022,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -2122,8 +2114,7 @@
"mode": "absolute",
"steps": [
{
- "color": "green",
- "value": null
+ "color": "green"
},
{
"color": "red",
@@ -2189,7 +2180,10 @@
"preload": false,
"refresh": "5s",
"schemaVersion": 40,
- "tags": [],
+ "tags": [
+ "postgresql",
+ "postgres-exporter"
+ ],
"templating": {
"list": [
{
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index 33ad108be1..b669c06695 100644
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -203,6 +203,7 @@ services:
- ./config/grafana/inventory-dashboard.json:/var/lib/grafana/dashboards/inventory-dashboard.json
- ./config/grafana/data-dashboard.json:/var/lib/grafana/dashboards/data-dashboard.json
- ./config/grafana/postgresql-statistics-dashboard.json:/var/lib/grafana/dashboards/postgresql-statistics-dashboard.json
+ - ./config/grafana/cps-database-pool.json:/var/lib/grafana/dashboards/cps-database-pool.json
- grafana:/var/lib/grafana
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin