| { |
| "annotations": { |
| "list": [ |
| { |
| "builtIn": 1, |
| "datasource": { |
| "type": "grafana", |
| "uid": "-- Grafana --" |
| }, |
| "enable": true, |
| "hide": true, |
| "iconColor": "rgba(0, 211, 255, 1)", |
| "name": "Annotations & Alerts", |
| "target": { |
| "limit": 100, |
| "matchAny": false, |
| "tags": [], |
| "type": "dashboard" |
| }, |
| "type": "dashboard" |
| } |
| ] |
| }, |
| "editable": true, |
| "fiscalYearStartMonth": 0, |
| "graphTooltip": 0, |
| "id": 1, |
| "links": [], |
| "liveNow": false, |
| "panels": [ |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisCenteredZero": false, |
| "axisColorMode": "text", |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "smooth", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [ |
| { |
| "__systemRef": "hideSeriesFrom", |
| "matcher": { |
| "id": "byNames", |
| "options": { |
| "mode": "exclude", |
| "names": [ |
| "{__name__=\"TextFileSource_total\", dimension=\"sourceFailCount\", inlongGroupId=\"-\", inlongStreamId=\"stu\", instance=\"-\", job=\"agent\", pluginId=\"TextFileSource\"}" |
| ], |
| "prefix": "All except:", |
| "readOnly": true |
| } |
| }, |
| "properties": [ |
| { |
| "id": "custom.hideFrom", |
| "value": { |
| "legend": false, |
| "tooltip": false, |
| "viz": true |
| } |
| } |
| ] |
| } |
| ] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 0 |
| }, |
| "id": 18, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "editorMode": "builder", |
| "expr": "{__name__=~\".*\",dimension=~\"(sourceSuccessCount|sourceFailCount)\",inlongGroupId=~\"$inlongGroupId\",inlongStreamId=~\"$inlongStreamId\",pluginId=~\".*Source.*\"}", |
| "legendFormat": "__auto", |
| "range": true, |
| "refId": "A" |
| } |
| ], |
| "title": "Source", |
| "type": "timeseries" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisCenteredZero": false, |
| "axisColorMode": "text", |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "smooth", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 12, |
| "y": 0 |
| }, |
| "id": 19, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "editorMode": "code", |
| "expr": "{__name__=~\".*\",dimension=~\"(pluginReadCount|pluginReadFailCount|pluginReadSuccessCount)\",inlongGroupId=~\"$inlongGroupId\",inlongStreamId=~\"$inlongStreamId\",pluginId=~\".*Reader.*\"}", |
| "legendFormat": "__auto", |
| "range": true, |
| "refId": "A" |
| } |
| ], |
| "title": "Reader", |
| "type": "timeseries" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisCenteredZero": false, |
| "axisColorMode": "text", |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "smooth", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 9, |
| "w": 12, |
| "x": 0, |
| "y": 8 |
| }, |
| "id": 20, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "editorMode": "code", |
| "expr": "{__name__=~\".*\",dimension=~\"(pluginReadCount|pluginReadFailCount|pluginReadSuccessCount|pluginSendCount|pluginSendFailCount|pluginSendSuccessCount)\",inlongGroupId=~\"$inlongGroupId\",inlongStreamId=~\"$inlongStreamId\",pluginId=~\".*Channel.*\"}", |
| "legendFormat": "__auto", |
| "range": true, |
| "refId": "A" |
| } |
| ], |
| "title": "Channel", |
| "type": "timeseries" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisCenteredZero": false, |
| "axisColorMode": "text", |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "smooth", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 9, |
| "w": 12, |
| "x": 12, |
| "y": 8 |
| }, |
| "id": 21, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "editorMode": "code", |
| "expr": "{__name__=~\".*\",dimension=~\"(sinkFailCount|sinkSuccessCount)\",inlongGroupId=~\"$inlongGroupId\",inlongStreamId=~\"$inlongStreamId\",pluginId=~\".*Sink.*\"}", |
| "legendFormat": "__auto", |
| "range": true, |
| "refId": "A" |
| } |
| ], |
| "title": "Sink", |
| "type": "timeseries" |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 17 |
| }, |
| "id": 10, |
| "panels": [], |
| "title": "AgentTotal", |
| "type": "row" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisCenteredZero": false, |
| "axisColorMode": "text", |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green", |
| "value": null |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 9, |
| "w": 12, |
| "x": 0, |
| "y": 18 |
| }, |
| "id": 4, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "editorMode": "builder", |
| "expr": "agent_total{job=\"agent\"}", |
| "legendFormat": "__auto", |
| "range": true, |
| "refId": "A" |
| } |
| ], |
| "title": "Agent", |
| "type": "timeseries" |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 27 |
| }, |
| "id": 14, |
| "panels": [], |
| "title": "Manager", |
| "type": "row" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisCenteredZero": false, |
| "axisColorMode": "text", |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 0, |
| "y": 28 |
| }, |
| "id": 23, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "editorMode": "code", |
| "expr": "{__name__=~\".*\",dimension=~\"(jobRunningCount|jobFatalCount)\",componentName=\"JobManager\"}", |
| "legendFormat": "__auto", |
| "range": true, |
| "refId": "A" |
| } |
| ], |
| "title": "JobManager", |
| "type": "timeseries" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisCenteredZero": false, |
| "axisColorMode": "text", |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 12, |
| "y": 28 |
| }, |
| "id": 24, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "editorMode": "code", |
| "expr": "{__name__=~\".*\",dimension=~\"(taskRunningCount|taskRetryingCount|taskFatalCount)\",componentName=\"TaskManager\"}", |
| "legendFormat": "__auto", |
| "range": true, |
| "refId": "A" |
| } |
| ], |
| "title": "TaskManager", |
| "type": "timeseries" |
| }, |
| { |
| "collapsed": false, |
| "gridPos": { |
| "h": 1, |
| "w": 24, |
| "x": 0, |
| "y": 36 |
| }, |
| "id": 12, |
| "panels": [], |
| "title": "JVM", |
| "type": "row" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "ygYfLWvVk" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "palette-classic" |
| }, |
| "custom": { |
| "axisCenteredZero": false, |
| "axisColorMode": "text", |
| "axisLabel": "", |
| "axisPlacement": "auto", |
| "barAlignment": 0, |
| "drawStyle": "line", |
| "fillOpacity": 0, |
| "gradientMode": "none", |
| "hideFrom": { |
| "legend": false, |
| "tooltip": false, |
| "viz": false |
| }, |
| "lineInterpolation": "linear", |
| "lineWidth": 1, |
| "pointSize": 5, |
| "scaleDistribution": { |
| "type": "linear" |
| }, |
| "showPoints": "auto", |
| "spanNulls": false, |
| "stacking": { |
| "group": "A", |
| "mode": "none" |
| }, |
| "thresholdsStyle": { |
| "mode": "off" |
| } |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 12, |
| "w": 11, |
| "x": 0, |
| "y": 37 |
| }, |
| "id": 6, |
| "options": { |
| "legend": { |
| "calcs": [], |
| "displayMode": "list", |
| "placement": "bottom", |
| "showLegend": true |
| }, |
| "tooltip": { |
| "mode": "single", |
| "sort": "none" |
| } |
| }, |
| "pluginVersion": "9.1.6", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus", |
| "uid": "ygYfLWvVk" |
| }, |
| "editorMode": "code", |
| "expr": "{__name__=~\"jvm_.*\"}", |
| "hide": false, |
| "legendFormat": "__auto", |
| "range": true, |
| "refId": "A" |
| } |
| ], |
| "title": "JVM", |
| "type": "timeseries" |
| }, |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "fieldConfig": { |
| "defaults": { |
| "color": { |
| "mode": "thresholds" |
| }, |
| "mappings": [], |
| "thresholds": { |
| "mode": "absolute", |
| "steps": [ |
| { |
| "color": "green" |
| }, |
| { |
| "color": "red", |
| "value": 80 |
| } |
| ] |
| } |
| }, |
| "overrides": [] |
| }, |
| "gridPos": { |
| "h": 8, |
| "w": 12, |
| "x": 12, |
| "y": 37 |
| }, |
| "id": 26, |
| "options": { |
| "displayMode": "gradient", |
| "minVizHeight": 10, |
| "minVizWidth": 0, |
| "orientation": "auto", |
| "reduceOptions": { |
| "calcs": [ |
| "lastNotNull" |
| ], |
| "fields": "", |
| "values": false |
| }, |
| "showUnfilled": true |
| }, |
| "pluginVersion": "9.1.6", |
| "targets": [ |
| { |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "editorMode": "code", |
| "expr": "{__name__=~\"process_.*\"}", |
| "legendFormat": "__auto", |
| "range": true, |
| "refId": "A" |
| } |
| ], |
| "title": "Process", |
| "type": "bargauge" |
| } |
| ], |
| "refresh": false, |
| "schemaVersion": 37, |
| "style": "dark", |
| "tags": [], |
| "templating": { |
| "list": [ |
| { |
| "current": { |
| "selected": false, |
| "text": "-", |
| "value": "-" |
| }, |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "definition": "{__name__=~\".*Source.*\",inlongGroupId=~\".+\"}", |
| "hide": 0, |
| "includeAll": false, |
| "label": "GroupId", |
| "multi": false, |
| "name": "inlongGroupId", |
| "options": [], |
| "query": { |
| "query": "{__name__=~\".*Source.*\",inlongGroupId=~\".+\"}", |
| "refId": "StandardVariableQuery" |
| }, |
| "refresh": 1, |
| "regex": "/.*[^_]inlongGroupId=\\\"([^\\\"]+)\\\".*/", |
| "skipUrlSync": false, |
| "sort": 2, |
| "type": "query" |
| }, |
| { |
| "current": { |
| "selected": false, |
| "text": "-", |
| "value": "-" |
| }, |
| "datasource": { |
| "type": "prometheus" |
| }, |
| "definition": "{__name__=~\".*Source.*\",inlongGroupId=~\"$inlongGroupId\",inlongStreamId=~\".+\"}", |
| "hide": 0, |
| "includeAll": false, |
| "label": "StreamId", |
| "multi": false, |
| "name": "inlongStreamId", |
| "options": [], |
| "query": { |
| "query": "{__name__=~\".*Source.*\",inlongGroupId=~\"$inlongGroupId\",inlongStreamId=~\".+\"}", |
| "refId": "StandardVariableQuery" |
| }, |
| "refresh": 1, |
| "regex": "/.*[^_]inlongStreamId=\\\"([^\\\"]+)\\\".*/", |
| "skipUrlSync": false, |
| "sort": 0, |
| "type": "query" |
| } |
| ] |
| }, |
| "time": { |
| "from": "now-12h", |
| "to": "now" |
| }, |
| "timepicker": {}, |
| "timezone": "", |
| "title": "agent dashborad", |
| "uid": "xi89WFv4z", |
| "version": 20, |
| "weekStart": "" |
| } |