diff --git a/installer/k8s/README.md b/installer/k8s/README.md index 42e0dc8d64..adeca3ea09 100644 --- a/installer/k8s/README.md +++ b/installer/k8s/README.md @@ -280,7 +280,7 @@ rm -rf ${HOME}/streampipes-k8s | prometheus.config.backendJobName | Prometheus backend job name | "backend" | | prometheus.config.extensionsName | Prometheus extensions job name | "extensions-all-iiot" | | prometheus.config.tokenFileName | Prometheus token file name | "token" | -| prometheus.config.tokenFileDir | Prometheus token file directory | "/opt/data/" +| prometheus.config.tokenFileDir | Prometheus token file directory | "/opt/data" #### Monitoring - Grafana | Parameter Name | Description | Value | diff --git a/installer/k8s/templates/monitor/prometheus/prometheus-configmap.yaml b/installer/k8s/templates/monitor/prometheus/prometheus-configmap.yaml index dbb2e92468..817a20dbe9 100644 --- a/installer/k8s/templates/monitor/prometheus/prometheus-configmap.yaml +++ b/installer/k8s/templates/monitor/prometheus/prometheus-configmap.yaml @@ -37,7 +37,7 @@ data: - job_name: "{{ .Values.monitoring.prometheus.config.backendJobName }}" metrics_path: "/streampipes-backend/actuator/prometheus" - bearer_token_file: "{{ .Values.monitoring.prometheus.config.tokenFileDir }}{{ .Values.monitoring.prometheus.config.tokenFileName }}{{ .Values.monitoring.prometheus.config.tokenFileName }}" + bearer_token_file: "{{ .Values.monitoring.prometheus.config.tokenFileDir }}/{{ .Values.monitoring.prometheus.config.tokenFileName }}" static_configs: - targets: [ "{{ .Values.streampipes.core.service.name }}:{{ .Values.streampipes.core.service.port }}" ] diff --git a/installer/k8s/templates/monitor/prometheus/prometheus-deployment.yml b/installer/k8s/templates/monitor/prometheus/prometheus-deployment.yml index 260de082af..161a9e510f 100644 --- a/installer/k8s/templates/monitor/prometheus/prometheus-deployment.yml +++ b/installer/k8s/templates/monitor/prometheus/prometheus-deployment.yml @@ -51,7 +51,7 @@ spec: imagePullPolicy: "IfNotPresent" env: - name: SP_HOST - value: "backend" + value: "{{ .Values.streampipes.core.service.name }}" - name: SP_PORT value: "{{ .Values.streampipes.core.service.port }}" - name: SP_USERNAME @@ -60,13 +60,13 @@ spec: valueFrom: secretKeyRef: name: {{ .Values.streampipes.auth.secretName}} - key: sp-encryption-passcode + key: sp-initial-admin-password - name: PROMETHEUS_HOST value: "{{ .Values.monitoring.prometheus.service.name }}" - name: PROMETHEUS_PORT value: "{{ .Values.monitoring.prometheus.service.port }}" - name: TOKEN_FILE - value: "{{ .Values.monitoring.prometheus.config.tokenFileDir }}{{ .Values.monitoring.prometheus.config.tokenFileName }}" + value: "{{ .Values.monitoring.prometheus.config.tokenFileDir }}/{{ .Values.monitoring.prometheus.config.tokenFileName }}" volumeMounts: - name: shared-token mountPath: {{ .Values.monitoring.prometheus.config.tokenFileDir }} diff --git a/installer/k8s/values.yaml b/installer/k8s/values.yaml index ae6103995e..3e005fa784 100644 --- a/installer/k8s/values.yaml +++ b/installer/k8s/values.yaml @@ -212,7 +212,7 @@ monitoring: backendJobName: backend extensionsName: extensions-all-iiot tokenFileName: token - tokenFileDir: /opt/data/ + tokenFileDir: /opt/data # monitoring - grafana grafana: diff --git a/prometheus-grafana/grafana/dashboards/backend.json b/prometheus-grafana/grafana/dashboards/backend.json index 19aae21816..bfc6f90898 100644 --- a/prometheus-grafana/grafana/dashboards/backend.json +++ b/prometheus-grafana/grafana/dashboards/backend.json @@ -1,4 +1,13 @@ -{ +{ "__inputs": [ + { + "name": "DS_default", + "label": "default", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + } + ], "annotations": { "list": [ { @@ -16,10 +25,7 @@ "type": "dashboard" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "enable": false, "expr": "resets(process_uptime_seconds{application=\"$application\", instance=\"$instance\", job=\"backend\"}[1m]) > 0", "iconColor": "rgba(255, 96, 96, 1)", @@ -37,16 +43,13 @@ "fiscalYearStartMonth": 0, "gnetId": 4701, "graphTooltip": 1, - "id": 5, + "id": 1, "links": [], "liveNow": false, "panels": [ { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -57,10 +60,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -68,10 +68,7 @@ "type": "row" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -132,10 +129,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "process_uptime_seconds{application=\"$application\", instance=\"$instance\", job=\"backend\"}", @@ -155,10 +149,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -218,10 +209,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "process_start_time_seconds{application=\"$application\", instance=\"$instance\", job=\"backend\"} * 1000", @@ -241,10 +229,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -309,10 +294,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "(sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\", job=\"backend\"}) * 100) / sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})", @@ -331,10 +313,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -409,10 +388,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "(sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\", job=\"backend\"}) * 100) / sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\", job=\"backend\"})", @@ -444,10 +420,7 @@ "type": "row" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -539,10 +512,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "healthy_pipelines{instance=\"$instance\", application=\"$application\", job=\"backend\"}", @@ -555,10 +525,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "attention_required_pipelines{application=\"$application\", instance=\"$instance\", job=\"backend\"}", @@ -572,10 +539,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "failed_pipelines{application=\"$application\", instance=\"$instance\", job=\"backend\"}", @@ -593,10 +557,7 @@ "type": "piechart" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -644,10 +605,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "all_pipelines{instance=\"$instance\", application=\"$application\", job=\"backend\"}", @@ -660,10 +618,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "running_pipelines{application=\"$application\", instance=\"$instance\", job=\"backend\"}", @@ -677,10 +632,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "stopped_pipelines{instance=\"$instance\", application=\"$application\", job=\"backend\"}", @@ -698,10 +650,7 @@ "type": "bargauge" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -748,10 +697,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "element_count{application=\"$application\", instance=\"$instance\", job=\"backend\"}", @@ -768,10 +714,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -818,10 +761,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "received_total_data{instance=\"$instance\", application=\"$application\", job=\"backend\"}", @@ -838,10 +778,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -888,10 +825,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "processed_data{application=\"$application\", instance=\"$instance\", job=\"backend\"}", @@ -908,10 +842,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -958,10 +889,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "element_input_total_data{application=\"$application\", instance=\"$instance\", job=\"backend\"}", @@ -978,10 +906,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -1028,10 +953,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "element_output_total_data{instance=\"$instance\", application=\"$application\", job=\"backend\"}", @@ -1049,10 +971,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -1063,10 +982,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -1078,10 +994,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "editable": true, "error": false, "fill": 1, @@ -1125,10 +1038,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\", job=\"backend\"})", @@ -1144,10 +1054,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\", job=\"backend\"})", "format": "time_series", "intervalFactor": 2, @@ -1156,10 +1063,7 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\", job=\"backend\"})", "format": "time_series", "intervalFactor": 2, @@ -1211,10 +1115,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "editable": true, "error": false, "fill": 1, @@ -1259,10 +1160,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", job=\"backend\"})", @@ -1278,10 +1176,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", job=\"backend\"})", "format": "time_series", "intervalFactor": 2, @@ -1290,10 +1185,7 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", job=\"backend\"})", "format": "time_series", "intervalFactor": 2, @@ -1343,10 +1235,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -1357,10 +1246,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -1372,10 +1258,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "editable": true, "error": false, "fill": 1, @@ -1419,10 +1302,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "system_cpu_usage{application=\"$application\", instance=\"$instance\", job=\"backend\"}", @@ -1439,10 +1319,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "process_cpu_usage{application=\"$application\", instance=\"$instance\", job=\"backend\"}", "format": "time_series", "hide": false, @@ -1451,10 +1328,7 @@ "refId": "B" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "avg_over_time(process_cpu_usage{application=\"$application\", instance=\"$instance\", job=\"backend\"}[15m])", "format": "time_series", "hide": false, @@ -1509,10 +1383,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "description": "The percent of time spent on Garbage Collection over all CPUs assigned to the JVM process.", "fill": 1, "fillGradient": 0, @@ -1551,10 +1422,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "sum by(application, instance) (rate(jvm_gc_pause_seconds_sum{application=\"$application\", instance=\"$instance\", job=\"backend\"}[1m])) / on(application, instance) system_cpu_count", @@ -1606,10 +1474,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "editable": true, "error": false, "fill": 1, @@ -1653,10 +1518,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "jvm_threads_live_threads{application=\"$application\", instance=\"$instance\", job=\"backend\"}", @@ -1672,10 +1534,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "jvm_threads_daemon_threads{application=\"$application\", instance=\"$instance\", job=\"backend\"}", "format": "time_series", "intervalFactor": 2, @@ -1685,10 +1544,7 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "jvm_threads_peak_threads{application=\"$application\", instance=\"$instance\", job=\"backend\"}", "format": "time_series", "intervalFactor": 2, @@ -1697,10 +1553,7 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "process_threads{application=\"$application\", instance=\"$instance\", job=\"backend\"}", "format": "time_series", "interval": "", @@ -1761,10 +1614,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1804,10 +1654,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "jvm_threads_states_threads{application=\"$application\", instance=\"$instance\", job=\"backend\"}", @@ -1853,10 +1700,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -1867,10 +1711,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -1882,10 +1723,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1925,10 +1763,7 @@ "targets": [ { "alias": "", - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"info\", job=\"backend\"}[5m])", @@ -1978,10 +1813,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2021,10 +1853,7 @@ "targets": [ { "alias": "", - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"error\", job=\"backend\"}[5m])", @@ -2074,10 +1903,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2117,10 +1943,7 @@ "targets": [ { "alias": "", - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"warn\", job=\"backend\"}[5m])", @@ -2170,10 +1993,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2213,10 +2033,7 @@ "targets": [ { "alias": "", - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"debug\", job=\"backend\"}[5m])", @@ -2266,10 +2083,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2309,10 +2123,7 @@ "targets": [ { "alias": "", - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"trace\", job=\"backend\"}[5m])", @@ -2359,10 +2170,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -2374,10 +2182,7 @@ "repeat": "persistence_counts", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -2389,10 +2194,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "editable": true, "error": false, "fill": 1, @@ -2440,10 +2242,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\", job=\"backend\"}", @@ -2461,10 +2260,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\", job=\"backend\"}", "format": "time_series", "hide": false, @@ -2476,10 +2272,7 @@ "step": 1800 }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\", job=\"backend\"}", "format": "time_series", "hide": false, @@ -2531,10 +2324,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -2545,10 +2335,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -2560,10 +2347,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2601,10 +2385,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\", job=\"backend\"}[1m])", @@ -2656,10 +2437,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2697,10 +2475,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "rate(jvm_gc_pause_seconds_sum{application=\"$application\", instance=\"$instance\", job=\"backend\"}[1m]) / rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\"}[1m])", @@ -2715,10 +2490,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "jvm_gc_pause_seconds_max{application=\"$application\", instance=\"$instance\", job=\"backend\"}", "format": "time_series", "hide": false, @@ -2765,10 +2537,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2806,10 +2575,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "rate(jvm_gc_memory_allocated_bytes_total{application=\"$application\", instance=\"$instance\", job=\"backend\"}[1m])", @@ -2824,10 +2590,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "rate(jvm_gc_memory_promoted_bytes_total{application=\"$application\", instance=\"$instance\", job=\"backend\"}[1m])", "format": "time_series", "interval": "", @@ -2869,10 +2632,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -2883,10 +2643,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -2898,10 +2655,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2941,10 +2695,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(http_server_requests_seconds_count{instance=\"$instance\", application=\"$application\", uri!~\".*actuator.*\", job=\"backend\"}[5m])", @@ -2993,10 +2744,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -3036,10 +2784,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(http_server_requests_seconds_sum{instance=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\", job=\"backend\"}[5m]) / irate(http_server_requests_seconds_count{instance=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\"}[5m])", @@ -3098,10 +2843,7 @@ "text": "None", "value": "" }, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "definition": "", "hide": 0, "includeAll": false, @@ -3126,10 +2868,7 @@ "text": "localhost:8030", "value": "localhost:8030" }, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "definition": "", "hide": 0, "includeAll": false, @@ -3155,10 +2894,7 @@ "text": "All", "value": "$__all" }, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "definition": "", "hide": 2, "includeAll": true, @@ -3184,10 +2920,7 @@ "text": "All", "value": "$__all" }, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "definition": "", "hide": 2, "includeAll": true, @@ -3213,10 +2946,7 @@ "text": "All", "value": "$__all" }, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "definition": "", "hide": 2, "includeAll": true, diff --git a/prometheus-grafana/grafana/dashboards/extensions-all-iiot.json b/prometheus-grafana/grafana/dashboards/extensions-all-iiot.json index 686f264c6f..596a4f3802 100644 --- a/prometheus-grafana/grafana/dashboards/extensions-all-iiot.json +++ b/prometheus-grafana/grafana/dashboards/extensions-all-iiot.json @@ -1,4 +1,13 @@ -{ +{ "__inputs": [ + { + "name": "DS_default", + "label": "default", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + } +], "annotations": { "list": [ { @@ -16,10 +25,7 @@ "type": "dashboard" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "enable": true, "expr": "resets(process_uptime_seconds{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}[1m]) > 0", "iconColor": "rgba(255, 96, 96, 1)", @@ -43,10 +49,7 @@ "panels": [ { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -57,10 +60,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -68,10 +68,7 @@ "type": "row" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -132,10 +129,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "process_uptime_seconds{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}", @@ -155,10 +149,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -218,10 +209,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "process_start_time_seconds{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"} * 1000", @@ -241,10 +229,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -309,10 +294,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "(sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\", job=\"extensions-all-iiot\"}) * 100) / sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\"})", @@ -331,10 +313,7 @@ "type": "stat" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fieldConfig": { "defaults": { "color": { @@ -409,10 +388,7 @@ "pluginVersion": "10.1.1", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "(sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\", job=\"extensions-all-iiot\"}) * 100) / sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"nonheap\", job=\"extensions-all-iiot\"})", @@ -432,10 +408,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -446,10 +419,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -461,10 +431,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "editable": true, "error": false, "fill": 1, @@ -508,10 +475,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\", job=\"extensions-all-iiot\"})", @@ -527,10 +491,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\", job=\"extensions-all-iiot\"})", "format": "time_series", "intervalFactor": 2, @@ -539,10 +500,7 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", area=\"heap\", job=\"extensions-all-iiot\"})", "format": "time_series", "intervalFactor": 2, @@ -594,10 +552,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "editable": true, "error": false, "fill": 1, @@ -642,10 +597,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "sum(jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"})", @@ -661,10 +613,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "sum(jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"})", "format": "time_series", "intervalFactor": 2, @@ -673,10 +622,7 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "sum(jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"})", "format": "time_series", "intervalFactor": 2, @@ -726,10 +672,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -740,10 +683,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -755,10 +695,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "editable": true, "error": false, "fill": 1, @@ -802,10 +739,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "system_cpu_usage{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}", @@ -822,10 +756,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "process_cpu_usage{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}", "format": "time_series", "hide": false, @@ -834,10 +765,7 @@ "refId": "B" }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "avg_over_time(process_cpu_usage{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}[15m])", "format": "time_series", "hide": false, @@ -892,10 +820,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "description": "The percent of time spent on Garbage Collection over all CPUs assigned to the JVM process.", "fill": 1, "fillGradient": 0, @@ -934,10 +859,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "sum by(application, instance) (rate(jvm_gc_pause_seconds_sum{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}[1m])) / on(application, instance) system_cpu_count", @@ -989,10 +911,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "editable": true, "error": false, "fill": 1, @@ -1036,10 +955,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "jvm_threads_live_threads{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}", @@ -1055,10 +971,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "jvm_threads_daemon_threads{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}", "format": "time_series", "intervalFactor": 2, @@ -1068,10 +981,7 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "jvm_threads_peak_threads{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}", "format": "time_series", "intervalFactor": 2, @@ -1080,10 +990,7 @@ "step": 2400 }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "process_threads{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}", "format": "time_series", "interval": "", @@ -1144,10 +1051,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1187,10 +1091,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "jvm_threads_states_threads{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}", @@ -1236,10 +1137,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -1250,10 +1148,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -1265,10 +1160,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1308,10 +1200,7 @@ "targets": [ { "alias": "", - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"info\", job=\"extensions-all-iiot\"}[5m])", @@ -1361,10 +1250,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1404,10 +1290,7 @@ "targets": [ { "alias": "", - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"error\", job=\"extensions-all-iiot\"}[5m])", @@ -1457,10 +1340,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1500,10 +1380,7 @@ "targets": [ { "alias": "", - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"warn\", job=\"extensions-all-iiot\"}[5m])", @@ -1553,10 +1430,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1596,10 +1470,7 @@ "targets": [ { "alias": "", - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"debug\", job=\"extensions-all-iiot\"}[5m])", @@ -1649,10 +1520,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1692,10 +1560,7 @@ "targets": [ { "alias": "", - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(logback_events_total{instance=\"$instance\", application=\"$application\", level=\"trace\", job=\"extensions-all-iiot\"}[5m])", @@ -1742,10 +1607,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -1757,10 +1619,7 @@ "repeat": "persistence_counts", "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -1772,10 +1631,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "editable": true, "error": false, "fill": 1, @@ -1823,10 +1679,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "jvm_memory_used_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\", job=\"extensions-all-iiot\"}", @@ -1844,10 +1697,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "jvm_memory_committed_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\", job=\"extensions-all-iiot\"}", "format": "time_series", "hide": false, @@ -1859,10 +1709,7 @@ "step": 1800 }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "jvm_memory_max_bytes{application=\"$application\", instance=\"$instance\", id=~\"$jvm_memory_pool_heap\", job=\"extensions-all-iiot\"}", "format": "time_series", "hide": false, @@ -1914,10 +1761,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -1928,10 +1772,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -1943,10 +1784,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -1984,10 +1822,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}[1m])", @@ -2039,10 +1874,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2080,10 +1912,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "rate(jvm_gc_pause_seconds_sum{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}[1m]) / rate(jvm_gc_pause_seconds_count{application=\"$application\", instance=\"$instance\"}[1m])", @@ -2098,10 +1927,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "jvm_gc_pause_seconds_max{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}", "format": "time_series", "hide": false, @@ -2148,10 +1974,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2189,10 +2012,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "rate(jvm_gc_memory_allocated_bytes_total{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}[1m])", @@ -2207,10 +2027,7 @@ "useBackend": false }, { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "expr": "rate(jvm_gc_memory_promoted_bytes_total{application=\"$application\", instance=\"$instance\", job=\"extensions-all-iiot\"}[1m])", "format": "time_series", "interval": "", @@ -2252,10 +2069,7 @@ }, { "collapsed": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "gridPos": { "h": 1, "w": 24, @@ -2266,10 +2080,7 @@ "panels": [], "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "refId": "A" } ], @@ -2281,10 +2092,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2324,10 +2132,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(http_server_requests_seconds_count{instance=\"$instance\", application=\"$application\", uri!~\".*actuator.*\", job=\"extensions-all-iiot\"}[5m])", @@ -2376,10 +2181,7 @@ "bars": false, "dashLength": 10, "dashes": false, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "fill": 1, "fillGradient": 0, "gridPos": { @@ -2419,10 +2221,7 @@ "steppedLine": false, "targets": [ { - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "disableTextWrap": false, "editorMode": "builder", "expr": "irate(http_server_requests_seconds_sum{instance=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\", job=\"extensions-all-iiot\"}[5m]) / irate(http_server_requests_seconds_count{instance=\"$instance\", application=\"$application\", exception=\"None\", uri!~\".*actuator.*\"}[5m])", @@ -2481,10 +2280,7 @@ "text": "None", "value": "" }, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "definition": "", "hide": 0, "includeAll": false, @@ -2509,10 +2305,7 @@ "text": "localhost:7023", "value": "localhost:7023" }, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "definition": "", "hide": 0, "includeAll": false, @@ -2538,10 +2331,7 @@ "text": "All", "value": "$__all" }, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "definition": "", "hide": 2, "includeAll": true, @@ -2567,10 +2357,7 @@ "text": "All", "value": "$__all" }, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "definition": "", "hide": 2, "includeAll": true, @@ -2596,10 +2383,7 @@ "text": "All", "value": "$__all" }, - "datasource": { - "type": "prometheus", - "uid": "d841aad4-ff75-44cb-8766-9d199b90ed91" - }, + "datasource": "${DS_default}", "definition": "", "hide": 2, "includeAll": true,