MonitoFi/Grafana/Dashboards/NiFiMonitorDashboard.json

2461 строка
94 KiB
JSON

{
"dashboard": {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations \u0026 Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"cacheTimeout": null,
"datasource": null,
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": null
},
"mappings": [
{
"id": 0,
"op": "=",
"text": "N/A",
"type": 1,
"value": "null"
}
],
"max": 100,
"min": 0,
"nullValueMode": "connected",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 4,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.3.1",
"targets": [
{
"alias": "",
"groupBy": [],
"measurement": "flow/cluster/summary",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"clusterSummary.connectedNodeCount"
],
"type": "field"
}
],
[
{
"params": [
"clusterSummary.totalNodeCount"
],
"type": "field"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Connected Nodes Info",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"flow/cluster/summary.clusterSummary.connectedNodeCount": "Connected Nodes",
"flow/cluster/summary.clusterSummary.totalNodeCount": "Total Nodes"
}
}
}
],
"type": "stat"
},
{
"datasource": "InfluxDB-Flux",
"fieldConfig": {
"defaults": {
"custom": {
"align": null
},
"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": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "7.3.1",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "from(bucket: \"nifi/autogen\")\n |\u003e range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |\u003e filter(fn: (r) =\u003e\n r._measurement == \"flow/status\" and\n r._field == \"controllerStatus.runningCount\" or r._field == \"controllerStatus.disabledCount\" or r._field == \"controllerStatus.stoppedCount\" or r._field == \"controllerStatus.syncFailureCount\"\n )",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Flow Status - Processors",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"controllerStatus.disabledCount flow/status": "Disabled",
"controllerStatus.runningCount flow/status": "Running",
"controllerStatus.stoppedCount flow/status": "Stopped",
"controllerStatus.syncFailureCount flow/status": "SyncFailure"
}
}
}
],
"type": "gauge"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "InfluxDB-Flux",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"hiddenSeries": false,
"id": 25,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": true,
"orderByTime": "ASC",
"policy": "default",
"query": "import \"strings\"\nfrom(bucket: \"nifi/autogen\")\n |\u003e range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |\u003e filter(fn: (r) =\u003e\n r._measurement == \"controller/cluster\" )\n |\u003e filter(fn: (r) =\u003e r._field == \"cluster.nodes.0.queued\") \n |\u003e map(fn: (r) =\u003e\n ({\n r with \n _ind: strings.lastIndex(v: r._value, substr: \"/ \"),\n _value: r._value\n }))\n |\u003e map(fn: (r) =\u003e ({\n r with \n _files: r._value ,\n _size: strings.substring(v: r._value, start: r._ind+2, end: strings.strlen(v: r._value)),\n _value: int(v: strings.replaceAll(v:strings.replaceAll(v: strings.substring(v: r._value, start: 0, end: r._ind), t: \" \", u: \"\"), t: \",\", u: \"\"))\n }))\n |\u003e aggregateWindow(every: 5m, fn: mean)",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": true,
"orderByTime": "ASC",
"policy": "default",
"query": "import \"strings\"\nfrom(bucket: \"nifi/autogen\")\n |\u003e range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |\u003e filter(fn: (r) =\u003e\n r._measurement == \"controller/cluster\" )\n |\u003e filter(fn: (r) =\u003e r._field == \"cluster.nodes.1.queued\") \n |\u003e map(fn: (r) =\u003e\n ({\n r with \n _ind: strings.lastIndex(v: r._value, substr: \"/ \"),\n _value: r._value\n }))\n |\u003e map(fn: (r) =\u003e ({\n r with \n _files: r._value ,\n _size: strings.substring(v: r._value, start: r._ind+2, end: strings.strlen(v: r._value)),\n _value: int(v: strings.replaceAll(v:strings.replaceAll(v: strings.substring(v: r._value, start: 0, end: r._ind), t: \" \", u: \"\"), t: \",\", u: \"\"))\n }))\n |\u003e aggregateWindow(every: 5m, fn: mean)",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": true,
"orderByTime": "ASC",
"policy": "default",
"query": "import \"strings\"\nfrom(bucket: \"nifi/autogen\")\n |\u003e range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |\u003e filter(fn: (r) =\u003e\n r._measurement == \"controller/cluster\" )\n |\u003e filter(fn: (r) =\u003e r._field == \"cluster.nodes.2.queued\") \n |\u003e map(fn: (r) =\u003e\n ({\n r with \n _ind: strings.lastIndex(v: r._value, substr: \"/ \"),\n _value: r._value\n }))\n |\u003e map(fn: (r) =\u003e ({\n r with \n _files: r._value ,\n _size: strings.substring(v: r._value, start: r._ind+2, end: strings.strlen(v: r._value)),\n _value: int(v: strings.replaceAll(v:strings.replaceAll(v: strings.substring(v: r._value, start: 0, end: r._ind), t: \" \", u: \"\"), t: \",\", u: \"\"))\n }))\n |\u003e aggregateWindow(every: 5m, fn: mean)",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "from(bucket: \"nifi/autogen\")\n |\u003e range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |\u003e filter(fn: (r) =\u003e r._measurement == \"flow/status\" and (r._field == \"controllerStatus.flowFilesQueued\"))\n |\u003e window(every: 5m)\n |\u003e toFloat()\n |\u003e median()\n |\u003e group(columns: [\"_time\", \"_start\", \"_stop\", \"_value\"], mode: \"except\")\n \n",
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Flow Files in Queue Per Node",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "seriesToColumns",
"options": {
"byField": "Time"
}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"cluster.nodes.0.queued controller/cluster": "Node 0",
"cluster.nodes.1.queued controller/cluster": "Node 1",
"cluster.nodes.2.queued controller/cluster": "Node 2"
}
}
}
],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
25000
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "alerting",
"for": "5m",
"frequency": "1m",
"handler": 1,
"message": "FLOW FILES IN QUEUE HAS CROSSED 25K, Backpressure on Processor 1. Configured Threshold per node is 10k.",
"name": "Flow Files in Queue alert",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {
"align": null
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 8
},
"hiddenSeries": false,
"id": 15,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Flow Files Queued",
"groupBy": [
{
"params": [
"5m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "flow/status",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"controllerStatus.flowFilesQueued\") FROM \"flow/status\" WHERE $timeFilter GROUP BY time(5m) fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"controllerStatus.flowFilesQueued"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": true,
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(\"controllerStatus.flowFilesQueued\") as actual,\nderivative(mean(\"controllerStatus.flowFilesQueued\"), 3h) + mean(\"controllerStatus.flowFilesQueued\") as forecast\nFROM \"flow/status\" WHERE $timeFilter \nGROUP BY time(5m) fill(null)\n",
"rawQuery": true,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 25000
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Overall FlowFiles Queued",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"datasource": "InfluxDB-Flux",
"description": "Per connection",
"fieldConfig": {
"defaults": {
"custom": {
"align": null
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 21,
"interval": "5m",
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.3.1",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "from(bucket: \"nifi/autogen\")\n |\u003e range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |\u003e filter(fn: (r) =\u003e r._measurement == \"flow/process-groups/root\" and \n r._field == \"processGroupFlow.flow.connections.0.status.aggregateSnapshot.flowFilesQueued\" or \n r._field == \"processGroupFlow.flow.connections.1.status.aggregateSnapshot.flowFilesQueued\" or \n r._field == \"processGroupFlow.flow.connections.2.status.aggregateSnapshot.flowFilesQueued\")\n",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Flow Files Queued - Per Connection",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"processGroupFlow.flow.connections.0.status.aggregateSnapshot.flowFilesQueued flow/process-groups/root": "Connection 1",
"processGroupFlow.flow.connections.1.status.aggregateSnapshot.flowFilesQueued flow/process-groups/root": "Connection 2",
"processGroupFlow.flow.connections.2.status.aggregateSnapshot.flowFilesQueued flow/process-groups/root": "Connection 3"
}
}
}
],
"type": "stat"
},
{
"cacheTimeout": null,
"datasource": null,
"description": "Per Connection",
"fieldConfig": {
"defaults": {
"custom": {
"align": null
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 13,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.3.1",
"targets": [
{
"alias": "Connection 1",
"groupBy": [
{
"params": [
"5m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "flow/process-groups/root",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"processGroupFlow.flow.connections.0.status.aggregateSnapshot.flowFilesOut\") FROM \"flow/process-groups/root\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"processGroupFlow.flow.connections.0.status.aggregateSnapshot.flowFilesIn"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": []
},
{
"alias": "Connection 2",
"groupBy": [
{
"params": [
"5m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "flow/process-groups/root",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"processGroupFlow.flow.connections.1.status.aggregateSnapshot.flowFilesOut\") FROM \"flow/process-groups/root\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"processGroupFlow.flow.connections.1.status.aggregateSnapshot.flowFilesIn"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": []
},
{
"alias": "Connection 3",
"groupBy": [
{
"params": [
"5m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "flow/process-groups/root",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT sum(\"processGroupFlow.flow.connections.2.status.aggregateSnapshot.flowFilesOut\") FROM \"flow/process-groups/root\" WHERE $timeFilter GROUP BY time($__interval) fill(null)",
"rawQuery": false,
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"processGroupFlow.flow.connections.2.status.aggregateSnapshot.flowFilesIn"
],
"type": "field"
},
{
"params": [],
"type": "sum"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Flow Files Processed",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "stat"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
80
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "alerting",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "Heap Utilisation % alert",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "InfluxDB-Flux",
"fieldConfig": {
"defaults": {
"custom": {
"align": null
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "percent"
},
"overrides": []
},
"fill": 1,
"fillGradient": 10,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 24
},
"hiddenSeries": false,
"id": 12,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.1",
"pointradius": 2,
"points": true,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Heap Utilization %",
"groupBy": [],
"hide": false,
"measurement": "system-diagnostics?nodewise=true",
"orderByTime": "ASC",
"policy": "autogen",
"query": "import \"strings\"\nfrom(bucket: \"nifi/autogen\")\n |\u003e range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |\u003e filter(fn: (r) =\u003e\n r._measurement == \"system-diagnostics\" )\n |\u003e filter(fn: (r) =\u003e r._field == \"systemDiagnostics.aggregateSnapshot.heapUtilization\")\n |\u003e map(fn: (r) =\u003e ({\n r with\n _value: strings.substring(v: r._value, start: 0, end: 4)\n })\n )\n |\u003e toFloat()\n |\u003e aggregateWindow(every: 5m, fn: mean)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"systemDiagnostics.aggregateSnapshot.heapUtilization"
],
"type": "field"
}
]
],
"tags": []
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 80
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Heap Utilisation %",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"systemDiagnostics.aggregateSnapshot.heapUtilization": "Heap Utilization %"
}
}
}
],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percent",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
304087040
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"A",
"5m",
"now"
]
},
"reducer": {
"params": [],
"type": "avg"
},
"type": "query"
}
],
"executionErrorState": "alerting",
"for": "5m",
"frequency": "1m",
"handler": 1,
"name": "Total KBs Queued alert",
"noDataState": "no_data",
"notifications": []
},
"aliasColors": {},
"bars": false,
"cacheTimeout": null,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {
"align": null
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "decbytes"
},
"overrides": []
},
"fill": 10,
"fillGradient": 10,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 24
},
"hiddenSeries": false,
"id": 10,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 10,
"links": [],
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.1",
"pointradius": 2,
"points": true,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Total KBs Queued",
"groupBy": [
{
"params": [
"5m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "flow/status",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"controllerStatus.bytesQueued"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 304087040
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Total KBs Queued",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "decbytes",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"cacheTimeout": null,
"datasource": null,
"description": "Per Connection",
"fieldConfig": {
"defaults": {
"custom": {
"align": null
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 32
},
"id": 8,
"links": [],
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "horizontal",
"reduceOptions": {
"calcs": [
"mean"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.3.1",
"targets": [
{
"alias": "Connection 1",
"groupBy": [
{
"params": [
"5m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "flow/process-groups/root",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"processGroupFlow.flow.connections.0.status.aggregateSnapshot.flowFilesIn"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"alias": "Coonection 2",
"groupBy": [
{
"params": [
"5m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "flow/process-groups/root",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"processGroupFlow.flow.connections.1.status.aggregateSnapshot.flowFilesIn"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
},
{
"alias": "Connection 3",
"groupBy": [
{
"params": [
"5m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "flow/process-groups/root",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"processGroupFlow.flow.connections.2.status.aggregateSnapshot.flowFilesIn"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Flow Files In",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "stat"
},
{
"datasource": "InfluxDB-Flux",
"fieldConfig": {
"defaults": {
"custom": {
"align": null
},
"decimals": 2,
"links": [],
"mappings": [],
"max": 1,
"min": 0,
"thresholds": {
"mode": "percentage",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "percentunit"
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Total Space"
},
"properties": [
{
"id": "unit",
"value": "decbytes"
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 32
},
"id": 17,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"last"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "7.3.1",
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"orderByTime": "ASC",
"policy": "default",
"query": "from(bucket: \"nifi/autogen\")\n |\u003e range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |\u003e filter(fn: (r) =\u003e r._measurement == \"system-diagnostics\" and \n r._field == \"systemDiagnostics.aggregateSnapshot.flowFileRepositoryStorageUsage.usedSpaceBytes\" or r._field == \"systemDiagnostics.aggregateSnapshot.flowFileRepositoryStorageUsage.totalSpaceBytes\"\n or r._field == \"systemDiagnostics.aggregateSnapshot.flowFileRepositoryStorageUsage.freeSpaceBytes\")",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"timeFrom": null,
"timeShift": null,
"title": "Flow FileRepository Storage",
"transformations": [
{
"id": "seriesToColumns",
"options": {}
},
{
"id": "organize",
"options": {
"excludeByName": {},
"indexByName": {},
"renameByName": {
"systemDiagnostics.aggregateSnapshot.flowFileRepositoryStorageUsage.freeSpaceBytes system-diagnostics": "Free Space",
"systemDiagnostics.aggregateSnapshot.flowFileRepositoryStorageUsage.totalSpace system-diagnostics": "Total Space",
"systemDiagnostics.aggregateSnapshot.flowFileRepositoryStorageUsage.totalSpaceBytes system-diagnostics": "Total Space",
"systemDiagnostics.aggregateSnapshot.flowFileRepositoryStorageUsage.usedSpace system-diagnostics": "Used Space",
"systemDiagnostics.aggregateSnapshot.flowFileRepositoryStorageUsage.usedSpaceBytes system-diagnostics": "Used Space"
}
}
},
{
"id": "calculateField",
"options": {
"alias": "%Used",
"binary": {
"left": "Used Space",
"operator": "/",
"reducer": "sum",
"right": "Total Space"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "calculateField",
"options": {
"alias": "% Free",
"binary": {
"left": "Free Space",
"operator": "/",
"reducer": "sum",
"right": "Total Space"
},
"mode": "binary",
"reduce": {
"reducer": "sum"
}
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Free Space": true,
"Total Space": false,
"Used Space": true
},
"indexByName": {
"% Free": 4,
"%Used": 3,
"Free Space": 1,
"Time": 0,
"Total Space": 5,
"Used Space": 2
},
"renameByName": {}
}
}
],
"type": "stat"
},
{
"alert": {
"alertRuleTags": {},
"conditions": [
{
"evaluator": {
"params": [
0
],
"type": "gt"
},
"operator": {
"type": "and"
},
"query": {
"params": [
"C",
"5s",
"now"
]
},
"reducer": {
"params": [],
"type": "last"
},
"type": "query"
}
],
"executionErrorState": "alerting",
"for": "1s",
"frequency": "2s",
"handler": 1,
"message": "1 or more processors are in Stopped State. Please verify desired flow status.",
"name": "Stopped Count",
"noDataState": "keep_state",
"notifications": []
},
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": false
},
"links": [],
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 40
},
"hiddenSeries": false,
"id": 6,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Running Count",
"groupBy": [],
"measurement": "flow/status",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"controllerStatus.runningCount"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "Disabled Count",
"groupBy": [],
"measurement": "flow/status",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"controllerStatus.disabledCount"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "Stopped Count",
"groupBy": [],
"measurement": "flow/status",
"orderByTime": "ASC",
"policy": "default",
"refId": "C",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"controllerStatus.stoppedCount"
],
"type": "field"
}
]
],
"tags": []
},
{
"alias": "SyncFailure Count",
"groupBy": [],
"measurement": "flow/status",
"orderByTime": "ASC",
"policy": "default",
"refId": "D",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"controllerStatus.syncFailureCount"
],
"type": "field"
}
]
],
"tags": []
}
],
"thresholds": [
{
"colorMode": "critical",
"fill": true,
"line": true,
"op": "gt",
"value": 0,
"yaxis": "left"
}
],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Running,Stopped,Disabled Count",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "InfluxDB-Flux",
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 40
},
"hiddenSeries": false,
"id": 27,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"orderByTime": "ASC",
"policy": "default",
"query": "from(bucket: \"nifi/autogen\")\n |\u003e range(start: v.timeRangeStart, stop:v.timeRangeStop)\n |\u003e filter(fn: (r) =\u003e r._measurement == \"flow/status\" and (r._field == \"controllerStatus.flowFilesQueued\"))\n |\u003e window(every: 5m)\n |\u003e toFloat()\n |\u003e median()\n |\u003e group(columns: [\"_time\", \"_start\", \"_stop\", \"_value\"], mode: \"except\")\n \n",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Total FlowFiles in Queue",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {
"align": null,
"filterable": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 48
},
"hiddenSeries": false,
"id": 23,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"groupBy": [],
"measurement": "controller/cluster",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"cluster.nodes.0.queued"
],
"type": "field"
}
],
[
{
"params": [
"cluster.nodes.1.queued"
],
"type": "field"
}
],
[
{
"params": [
"cluster.nodes.2.queued"
],
"type": "field"
}
]
],
"tags": []
},
{
"groupBy": [],
"measurement": "flow/status",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"controllerStatus.queued"
],
"type": "field"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "WIP",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transformations": [
{
"id": "seriesToColumns",
"options": {}
}
],
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fieldConfig": {
"defaults": {
"custom": {},
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 48
},
"hiddenSeries": false,
"id": 2,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.3.1",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "Active Thread Count",
"groupBy": [
{
"params": [
"5m"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "flow/status",
"orderByTime": "ASC",
"policy": "autogen",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"controllerStatus.activeThreadCount"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Active Thread Count",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "5s",
"schemaVersion": 26,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "",
"title": "NiFi Monitor",
"uid": null,
"version": 0
},
"folderId": 0,
"overwrite": false
}