monitor interface graph total

This commit is contained in:
m0duspwnens
2021-11-02 11:07:29 -04:00
parent 561f86eac8
commit 7abb2e5935
5 changed files with 40 additions and 320 deletions

View File

@@ -294,7 +294,7 @@ grafana:
y: 1 y: 1
h: 4 h: 4
w: 4 w: 4
logstash_estimated_eps_stat: logstash_estimated_eps_in_stat:
gridPos: gridPos:
x: 0 x: 0
y: 5 y: 5
@@ -536,7 +536,7 @@ grafana:
y: 152 y: 152
h: 1 h: 1
w: 24 w: 24
logstash_estimated_eps_graph: logstash_estimated_eps_in_graph:
gridPos: gridPos:
x: 0 x: 0
y: 153 y: 153
@@ -1034,7 +1034,7 @@ grafana:
y: 1 y: 1
h: 4 h: 4
w: 4 w: 4
logstash_estimated_eps_stat: logstash_estimated_eps_in_stat:
gridPos: gridPos:
x: 0 x: 0
y: 5 y: 5
@@ -1234,7 +1234,7 @@ grafana:
y: 152 y: 152
h: 1 h: 1
w: 24 w: 24
logstash_estimated_eps_graph: logstash_estimated_eps_in_graph:
gridPos: gridPos:
x: 0 x: 0
y: 153 y: 153
@@ -1485,7 +1485,7 @@ grafana:
y: 61 y: 61
h: 8 h: 8
w: 24 w: 24
monitor_interface_traffic_inbound_combined_graph: monitor_interface_traffic_inbound_total_graph:
gridPos: gridPos:
x: 0 x: 0
y: 69 y: 69
@@ -1723,12 +1723,18 @@ grafana:
y: 1 y: 1
h: 4 h: 4
w: 4 w: 4
logstash_estimated_eps_stat: logstash_estimated_eps_in_stat:
gridPos: gridPos:
x: 0 x: 0
y: 5 y: 5
h: 4 h: 4
w: 4 w: 4
logstash_estimated_eps_out_stat:
gridPos:
x: 4
y: 5
h: 4
w: 4
row_cpu: row_cpu:
gridPos: gridPos:
@@ -1917,12 +1923,30 @@ grafana:
y: 152 y: 152
h: 1 h: 1
w: 24 w: 24
logstash_estimated_eps_graph: logstash_estimated_eps_in_graph:
gridPos: gridPos:
x: 0 x: 0
y: 153 y: 153
h: 8 h: 8
w: 24 w: 24
logstash_estimated_eps_in_total_graph:
gridPos:
x: 0
y: 161
h: 8
w: 24
logstash_estimated_eps_out_graph:
gridPos:
x: 0
y: 169
h: 8
w: 24
logstash_estimated_eps_out_total_graph:
gridPos:
x: 0
y: 172
h: 8
w: 24
heavynode: heavynode:
@@ -1999,7 +2023,7 @@ grafana:
y: 1 y: 1
h: 4 h: 4
w: 4 w: 4
logstash_estimated_eps_stat: logstash_estimated_eps_in_stat:
gridPos: gridPos:
x: 0 x: 0
y: 5 y: 5
@@ -2235,7 +2259,7 @@ grafana:
y: 152 y: 152
h: 1 h: 1
w: 24 w: 24
logstash_estimated_eps_graph: logstash_estimated_eps_in_graph:
gridPos: gridPos:
x: 0 x: 0
y: 153 y: 153

View File

@@ -1,192 +0,0 @@
{
"aliasColors": {},
"bars": false,
"maxDataPoints": 750,
"interval": "30s",
"dashLength": 10,
"dashes": false,
"datasource": "InfluxDB",
"description": "",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"x": {{ PANELS.logstash_estimated_eps_graph.gridPos.x }},
"y": {{ PANELS.logstash_estimated_eps_graph.gridPos.y }},
"w": {{ PANELS.logstash_estimated_eps_graph.gridPos.w }},
"h": {{ PANELS.logstash_estimated_eps_graph.gridPos.h }}
},
"hiddenSeries": false,
"id": 76,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"hideEmpty": true,
"max": true,
"min": false,
"rightSide": false,
"show": true,
"sort": "current",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": false
},
"percentage": false,
"pluginVersion": "7.5.4",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"alias": "/Trend/",
"dashLength": 4,
"dashes": true,
"fill": 0,
"linewidth": 4
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "EPS Current",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "consumptioneps",
"orderByTime": "ASC",
"policy": "default",
"queryType": "randomWalk",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"eps"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$servername$/"
}
]
},
{
"alias": "EPS Trend",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "consumptioneps",
"orderByTime": "ASC",
"policy": "so_long_term",
"queryType": "randomWalk",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"mean_eps"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "host",
"operator": "=~",
"value": "/^$servername$/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Estimated EPS",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": "EPS",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": false
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}

View File

@@ -1,112 +0,0 @@
{
"datasource": "InfluxDB",
"fieldConfig": {
"defaults": {
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"value": 1,
"color": "dark-green"
}
]
},
"mappings": [
{
"op": "=",
"text": "N/A",
"value": "null",
"$$hashKey": "object:730",
"id": 0,
"type": 1
}
],
"unit": "short",
"decimals": 0,
"color": {
"mode": "thresholds"
}
},
"overrides": []
},
"gridPos": {
"x": {{ PANELS.logstash_estimated_eps_stat.gridPos.x }},
"y": {{ PANELS.logstash_estimated_eps_stat.gridPos.y }},
"w": {{ PANELS.logstash_estimated_eps_stat.gridPos.w }},
"h": {{ PANELS.logstash_estimated_eps_stat.gridPos.h }}
},
"id": 23,
"interval": "30s",
"links": [],
"maxDataPoints": 750,
"targets": [
{
"dsType": "influxdb",
"groupBy": [
{
"params": [
"$interval"
],
"type": "time"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "consumptioneps",
"orderByTime": "ASC",
"policy": "default",
"queryType": "randomWalk",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"eps"
],
"type": "field"
},
{
"params": [],
"type": "last"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "$servername"
}
]
}
],
"title": "Estimated EPS",
"type": "stat",
"options": {
"reduceOptions": {
"values": false,
"calcs": [
"lastNotNull"
],
"fields": ""
},
"orientation": "horizontal",
"text": {},
"textMode": "value",
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto"
},
"cacheTimeout": null,
"pluginVersion": "7.5.4",
"timeFrom": null
}

View File

@@ -1,18 +1,18 @@
{ {
"id": 224244, "id": 224244,
"gridPos": { "gridPos": {
"x": {{ PANELS.monitor_interface_traffic_inbound_combined_graph.gridPos.x }}, "x": {{ PANELS.monitor_interface_traffic_inbound_total_graph.gridPos.x }},
"y": {{ PANELS.monitor_interface_traffic_inbound_combined_graph.gridPos.y }}, "y": {{ PANELS.monitor_interface_traffic_inbound_total_graph.gridPos.y }},
"w": {{ PANELS.monitor_interface_traffic_inbound_combined_graph.gridPos.w }}, "w": {{ PANELS.monitor_interface_traffic_inbound_total_graph.gridPos.w }},
"h": {{ PANELS.monitor_interface_traffic_inbound_combined_graph.gridPos.h }} "h": {{ PANELS.monitor_interface_traffic_inbound_total_graph.gridPos.h }}
}, },
"type": "timeseries", "type": "timeseries",
"title": "Monitor Traffic - Selected Combined", "title": "Monitor Traffic - Selected Total",
"transformations": [ "transformations": [
{ {
"id": "calculateField", "id": "calculateField",
"options": { "options": {
"alias": "Monitor Traffic", "alias": "Total Monitor Traffic",
"mode": "reduceRow", "mode": "reduceRow",
"reduce": { "reduce": {
"reducer": "sum" "reducer": "sum"

View File

@@ -7,7 +7,7 @@
"h": {{ PANELS.monitor_interface_traffic_stat.gridPos.h }} "h": {{ PANELS.monitor_interface_traffic_stat.gridPos.h }}
}, },
"type": "stat", "type": "stat",
"title": "Monitor Traffic - Combined", "title": "Monitor Traffic - Selected Total",
"datasource": "InfluxDB", "datasource": "InfluxDB",
"pluginVersion": "8.2.1", "pluginVersion": "8.2.1",
"interval": "30s", "interval": "30s",