mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
grafana bug fixes and improvements - https://github.com/Security-Onion-Solutions/securityonion/issues/6007
This commit is contained in:
@@ -598,19 +598,13 @@ grafana:
|
|||||||
x: 0
|
x: 0
|
||||||
y: 188
|
y: 188
|
||||||
h: 8
|
h: 8
|
||||||
w: 10
|
w: 12
|
||||||
zeek_capture_loss_graph:
|
zeek_capture_loss_graph:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 10
|
x: 12
|
||||||
y: 188
|
y: 188
|
||||||
h: 8
|
h: 8
|
||||||
w: 10
|
w: 12
|
||||||
zeek_restarts_healthcheck_stat:
|
|
||||||
gridPos:
|
|
||||||
x: 20
|
|
||||||
y: 188
|
|
||||||
h: 8
|
|
||||||
w: 4
|
|
||||||
|
|
||||||
row_suricata:
|
row_suricata:
|
||||||
gridPos:
|
gridPos:
|
||||||
@@ -726,15 +720,9 @@ grafana:
|
|||||||
y: 1
|
y: 1
|
||||||
h: 4
|
h: 4
|
||||||
w: 4
|
w: 4
|
||||||
logstash_estimated_eps_stat:
|
|
||||||
gridPos:
|
|
||||||
x: 0
|
|
||||||
y: 5
|
|
||||||
h: 4
|
|
||||||
w: 4
|
|
||||||
redis_queue_stat:
|
redis_queue_stat:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 4
|
x: 0
|
||||||
y: 5
|
y: 5
|
||||||
h: 4
|
h: 4
|
||||||
w: 4
|
w: 4
|
||||||
@@ -1633,19 +1621,13 @@ grafana:
|
|||||||
x: 0
|
x: 0
|
||||||
y: 153
|
y: 153
|
||||||
h: 8
|
h: 8
|
||||||
w: 10
|
w: 12
|
||||||
zeek_capture_loss_graph:
|
zeek_capture_loss_graph:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 10
|
x: 12
|
||||||
y: 153
|
y: 153
|
||||||
h: 8
|
h: 8
|
||||||
w: 10
|
w: 12
|
||||||
zeek_restarts_healthcheck_stat:
|
|
||||||
gridPos:
|
|
||||||
x: 20
|
|
||||||
y: 153
|
|
||||||
h: 8
|
|
||||||
w: 4
|
|
||||||
|
|
||||||
row_suricata:
|
row_suricata:
|
||||||
gridPos:
|
gridPos:
|
||||||
@@ -1679,6 +1661,7 @@ grafana:
|
|||||||
h: 8
|
h: 8
|
||||||
w: 8
|
w: 8
|
||||||
|
|
||||||
|
|
||||||
searchnode:
|
searchnode:
|
||||||
templating:
|
templating:
|
||||||
list:
|
list:
|
||||||
@@ -1753,12 +1736,6 @@ grafana:
|
|||||||
y: 5
|
y: 5
|
||||||
h: 4
|
h: 4
|
||||||
w: 4
|
w: 4
|
||||||
redis_queue_stat:
|
|
||||||
gridPos:
|
|
||||||
x: 4
|
|
||||||
y: 5
|
|
||||||
h: 4
|
|
||||||
w: 4
|
|
||||||
|
|
||||||
row_cpu:
|
row_cpu:
|
||||||
gridPos:
|
gridPos:
|
||||||
@@ -1954,19 +1931,6 @@ grafana:
|
|||||||
h: 8
|
h: 8
|
||||||
w: 24
|
w: 24
|
||||||
|
|
||||||
row_redis:
|
|
||||||
gridPos:
|
|
||||||
x: 0
|
|
||||||
y: 161
|
|
||||||
h: 1
|
|
||||||
w: 24
|
|
||||||
redis_queue_graph:
|
|
||||||
gridPos:
|
|
||||||
x: 0
|
|
||||||
y: 162
|
|
||||||
h: 8
|
|
||||||
w: 24
|
|
||||||
|
|
||||||
|
|
||||||
heavynode:
|
heavynode:
|
||||||
templating:
|
templating:
|
||||||
@@ -2048,33 +2012,27 @@ grafana:
|
|||||||
y: 5
|
y: 5
|
||||||
h: 4
|
h: 4
|
||||||
w: 4
|
w: 4
|
||||||
redis_queue_stat:
|
monitor_interface_traffic_stat:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 4
|
x: 4
|
||||||
y: 5
|
y: 5
|
||||||
h: 4
|
h: 4
|
||||||
w: 4
|
w: 4
|
||||||
monitor_interface_traffic_stat:
|
zeek_packet_loss_stat:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 8
|
x: 8
|
||||||
y: 5
|
y: 5
|
||||||
h: 4
|
h: 4
|
||||||
w: 4
|
w: 4
|
||||||
zeek_packet_loss_stat:
|
suricata_packet_loss_stat:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 12
|
x: 12
|
||||||
y: 5
|
y: 5
|
||||||
h: 4
|
h: 4
|
||||||
w: 4
|
w: 4
|
||||||
suricata_packet_loss_stat:
|
|
||||||
gridPos:
|
|
||||||
x: 16
|
|
||||||
y: 5
|
|
||||||
h: 4
|
|
||||||
w: 4
|
|
||||||
stenographer_packet_loss_stat:
|
stenographer_packet_loss_stat:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 20
|
x: 16
|
||||||
y: 5
|
y: 5
|
||||||
h: 4
|
h: 4
|
||||||
w: 4
|
w: 4
|
||||||
@@ -2291,19 +2249,6 @@ grafana:
|
|||||||
h: 8
|
h: 8
|
||||||
w: 24
|
w: 24
|
||||||
|
|
||||||
row_redis:
|
|
||||||
gridPos:
|
|
||||||
x: 0
|
|
||||||
y: 161
|
|
||||||
h: 1
|
|
||||||
w: 24
|
|
||||||
redis_queue_graph:
|
|
||||||
gridPos:
|
|
||||||
x: 0
|
|
||||||
y: 162
|
|
||||||
h: 8
|
|
||||||
w: 24
|
|
||||||
|
|
||||||
row_zeek:
|
row_zeek:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 0
|
x: 0
|
||||||
@@ -2315,19 +2260,13 @@ grafana:
|
|||||||
x: 0
|
x: 0
|
||||||
y: 171
|
y: 171
|
||||||
h: 8
|
h: 8
|
||||||
w: 10
|
w: 12
|
||||||
zeek_capture_loss_graph:
|
zeek_capture_loss_graph:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 10
|
x: 12
|
||||||
y: 171
|
y: 171
|
||||||
h: 8
|
h: 8
|
||||||
w: 10
|
w: 12
|
||||||
zeek_restarts_healthcheck_stat:
|
|
||||||
gridPos:
|
|
||||||
x: 20
|
|
||||||
y: 171
|
|
||||||
h: 8
|
|
||||||
w: 4
|
|
||||||
|
|
||||||
row_suricata:
|
row_suricata:
|
||||||
gridPos:
|
gridPos:
|
||||||
@@ -2721,19 +2660,13 @@ grafana:
|
|||||||
x: 0
|
x: 0
|
||||||
y: 188
|
y: 188
|
||||||
h: 8
|
h: 8
|
||||||
w: 10
|
w: 12
|
||||||
zeek_capture_loss_graph:
|
zeek_capture_loss_graph:
|
||||||
gridPos:
|
gridPos:
|
||||||
x: 10
|
x: 12
|
||||||
y: 188
|
y: 188
|
||||||
h: 8
|
h: 8
|
||||||
w: 10
|
w: 12
|
||||||
zeek_restarts_healthcheck_stat:
|
|
||||||
gridPos:
|
|
||||||
x: 20
|
|
||||||
y: 188
|
|
||||||
h: 8
|
|
||||||
w: 4
|
|
||||||
|
|
||||||
row_suricata:
|
row_suricata:
|
||||||
gridPos:
|
gridPos:
|
||||||
|
|||||||
@@ -1,20 +1,142 @@
|
|||||||
{
|
{
|
||||||
"type": "graph",
|
"id": 100,
|
||||||
"title": "Container CPU Usage Current",
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.cpu_docker_combined_current_graph.gridPos.x }},
|
"x": {{ PANELS.cpu_docker_combined_current_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.cpu_docker_combined_current_graph.gridPos.y }},
|
"y": {{ PANELS.cpu_docker_combined_current_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.cpu_docker_combined_current_graph.gridPos.w }},
|
"w": {{ PANELS.cpu_docker_combined_current_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.cpu_docker_combined_current_graph.gridPos.h }}
|
"h": {{ PANELS.cpu_docker_combined_current_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"id": 100,
|
"type": "timeseries",
|
||||||
|
"title": "Container CPU Usage Current",
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"pluginVersion": "8.2.1",
|
||||||
|
"interval": "30s",
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"lineWidth": 1,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"spanNulls": false,
|
||||||
|
"showPoints": "never",
|
||||||
|
"pointSize": 5,
|
||||||
|
"stacking": {
|
||||||
|
"mode": "none",
|
||||||
|
"group": "A"
|
||||||
|
},
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"axisLabel": "",
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"hideFrom": {
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false,
|
||||||
|
"legend": false
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"decimals": 1,
|
||||||
|
"unit": "percent"
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"matcher": {
|
||||||
|
"id": "byRegexp",
|
||||||
|
"options": "/n_cpus/"
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"id": "custom.fillOpacity",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
},
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "right",
|
||||||
|
"calcs": [
|
||||||
|
"max",
|
||||||
|
"mean",
|
||||||
|
"lastNotNull"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"refId": "A",
|
"alias": "$tag_host: $tag_container_name",
|
||||||
"queryType": "randomWalk",
|
"groupBy": [
|
||||||
"policy": "default",
|
{
|
||||||
"resultFormat": "time_series",
|
"params": [
|
||||||
|
"$__interval"
|
||||||
|
],
|
||||||
|
"type": "time"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"container_name"
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"type": "fill"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"measurement": "docker_container_cpu",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
|
"policy": "default",
|
||||||
|
"query": "SELECT mean(\"usage_percent\") FROM \"docker_container_cpu\" WHERE (\"host\" =~ /^$servername$/ AND \"container_name\" =~ /^$containers$/) AND $timeFilter GROUP BY time($__interval), \"container_name\", \"host\" fill(null)",
|
||||||
|
"queryType": "randomWalk",
|
||||||
|
"rawQuery": false,
|
||||||
|
"refId": "A",
|
||||||
|
"resultFormat": "time_series",
|
||||||
|
"select": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"usage_percent"
|
||||||
|
],
|
||||||
|
"type": "field"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [],
|
||||||
|
"type": "mean"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
@@ -28,6 +150,21 @@
|
|||||||
"value": "/^$containers$/"
|
"value": "/^$containers$/"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"hide": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "B",
|
||||||
|
"hide": false,
|
||||||
|
"policy": "default",
|
||||||
|
"resultFormat": "time_series",
|
||||||
|
"orderByTime": "ASC",
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"key": "host",
|
||||||
|
"value": "/^$servername$/",
|
||||||
|
"operator": "=~"
|
||||||
|
}
|
||||||
|
],
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
"type": "time",
|
"type": "time",
|
||||||
@@ -38,7 +175,7 @@
|
|||||||
{
|
{
|
||||||
"type": "tag",
|
"type": "tag",
|
||||||
"params": [
|
"params": [
|
||||||
"container_name"
|
"host"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -53,105 +190,27 @@
|
|||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"params": [
|
"params": [
|
||||||
"usage_percent"
|
"n_cpus"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "mean",
|
"type": "last",
|
||||||
"params": []
|
"params": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "math",
|
"type": "math",
|
||||||
"params": [
|
"params": [
|
||||||
" / $cpucount"
|
" * 100"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"measurement": "docker_container_cpu",
|
"measurement": "system",
|
||||||
"alias": "$tag_container_name"
|
"alias": "$tag_host: n_cpus*100"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"options": {
|
"transformations": [],
|
||||||
"alertThreshold": true
|
"maxDataPoints": null,
|
||||||
},
|
|
||||||
"datasource": "InfluxDB",
|
|
||||||
"fieldConfig": {
|
|
||||||
"defaults": {},
|
|
||||||
"overrides": []
|
|
||||||
},
|
|
||||||
"pluginVersion": "7.5.4",
|
|
||||||
"renderer": "flot",
|
|
||||||
"yaxes": [
|
|
||||||
{
|
|
||||||
"label": null,
|
|
||||||
"show": true,
|
|
||||||
"logBase": 1,
|
|
||||||
"min": null,
|
|
||||||
"max": null,
|
|
||||||
"format": "percent",
|
|
||||||
"$$hashKey": "object:315"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": null,
|
|
||||||
"show": false,
|
|
||||||
"logBase": 1,
|
|
||||||
"min": null,
|
|
||||||
"max": null,
|
|
||||||
"format": "short",
|
|
||||||
"$$hashKey": "object:316"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"xaxis": {
|
|
||||||
"show": true,
|
|
||||||
"mode": "time",
|
|
||||||
"name": null,
|
|
||||||
"values": [],
|
|
||||||
"buckets": null
|
|
||||||
},
|
|
||||||
"yaxis": {
|
|
||||||
"align": false,
|
|
||||||
"alignLevel": null
|
|
||||||
},
|
|
||||||
"lines": true,
|
|
||||||
"fill": 1,
|
|
||||||
"linewidth": 1,
|
|
||||||
"dashLength": 10,
|
|
||||||
"spaceLength": 10,
|
|
||||||
"pointradius": 2,
|
|
||||||
"legend": {
|
|
||||||
"show": true,
|
|
||||||
"values": false,
|
|
||||||
"min": false,
|
|
||||||
"max": false,
|
|
||||||
"current": false,
|
|
||||||
"total": false,
|
|
||||||
"avg": false,
|
|
||||||
"alignAsTable": false,
|
|
||||||
"rightSide": false,
|
|
||||||
"hideZero": false
|
|
||||||
},
|
|
||||||
"nullPointMode": "connected",
|
|
||||||
"tooltip": {
|
|
||||||
"value_type": "individual",
|
|
||||||
"shared": true,
|
|
||||||
"sort": 2
|
|
||||||
},
|
|
||||||
"aliasColors": {},
|
|
||||||
"seriesOverrides": [],
|
|
||||||
"thresholds": [],
|
|
||||||
"timeRegions": [],
|
|
||||||
"decimals": null,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"dashes": false,
|
|
||||||
"hiddenSeries": false,
|
|
||||||
"points": false,
|
|
||||||
"bars": false,
|
|
||||||
"stack": false,
|
|
||||||
"percentage": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeShift": null,
|
"timeShift": null
|
||||||
"maxDataPoints": 750,
|
|
||||||
"interval": "30s"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,20 +1,79 @@
|
|||||||
{
|
{
|
||||||
"type": "graph",
|
"id": 101,
|
||||||
"title": "Container CPU Usage Trend",
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.cpu_docker_combined_trend_graph.gridPos.x }},
|
"x": {{ PANELS.cpu_docker_combined_trend_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.cpu_docker_combined_trend_graph.gridPos.y }},
|
"y": {{ PANELS.cpu_docker_combined_trend_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.cpu_docker_combined_trend_graph.gridPos.w }},
|
"w": {{ PANELS.cpu_docker_combined_trend_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.cpu_docker_combined_trend_graph.gridPos.h }}
|
"h": {{ PANELS.cpu_docker_combined_trend_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"id": 101,
|
"type": "timeseries",
|
||||||
|
"title": "Container CPU Usage Trend",
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"pluginVersion": "8.2.1",
|
||||||
|
"interval": "30s",
|
||||||
|
"options": {
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
},
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "right",
|
||||||
|
"calcs": [
|
||||||
|
"max",
|
||||||
|
"mean",
|
||||||
|
"lastNotNull"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"refId": "A",
|
"alias": "$tag_host: $tag_container_name",
|
||||||
"queryType": "randomWalk",
|
"groupBy": [
|
||||||
"policy": "so_long_term",
|
{
|
||||||
"resultFormat": "time_series",
|
"params": [
|
||||||
|
"$__interval"
|
||||||
|
],
|
||||||
|
"type": "time"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"container_name"
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"type": "fill"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"measurement": "docker_container_cpu",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
|
"policy": "so_long_term",
|
||||||
|
"queryType": "randomWalk",
|
||||||
|
"refId": "A",
|
||||||
|
"resultFormat": "time_series",
|
||||||
|
"select": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
|
"params": [
|
||||||
|
"mean_usage_percent"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "mean",
|
||||||
|
"params": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
@@ -27,6 +86,20 @@
|
|||||||
"operator": "=~",
|
"operator": "=~",
|
||||||
"value": "/^$containers$/"
|
"value": "/^$containers$/"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"refId": "B",
|
||||||
|
"hide": false,
|
||||||
|
"policy": "so_long_term",
|
||||||
|
"resultFormat": "time_series",
|
||||||
|
"orderByTime": "ASC",
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"key": "host",
|
||||||
|
"value": "/^$servername$/",
|
||||||
|
"operator": "=~"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -38,7 +111,7 @@
|
|||||||
{
|
{
|
||||||
"type": "tag",
|
"type": "tag",
|
||||||
"params": [
|
"params": [
|
||||||
"container_name"
|
"host"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -53,106 +126,88 @@
|
|||||||
{
|
{
|
||||||
"type": "field",
|
"type": "field",
|
||||||
"params": [
|
"params": [
|
||||||
"mean_usage_percent"
|
"mean_n_cpus"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "mean",
|
"type": "last",
|
||||||
"params": []
|
"params": []
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "math",
|
"type": "math",
|
||||||
"params": [
|
"params": [
|
||||||
" / $cpucount"
|
" * 100"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"measurement": "docker_container_cpu",
|
"measurement": "system",
|
||||||
"alias": "$tag_container_name"
|
"alias": "$tag_host: n_cpus*100"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"options": {
|
|
||||||
"alertThreshold": true
|
|
||||||
},
|
|
||||||
"datasource": "InfluxDB",
|
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {},
|
"defaults": {
|
||||||
"overrides": []
|
"custom": {
|
||||||
},
|
"drawStyle": "line",
|
||||||
"pluginVersion": "7.5.4",
|
"lineInterpolation": "linear",
|
||||||
"renderer": "flot",
|
"barAlignment": 0,
|
||||||
"yaxes": [
|
"lineWidth": 1,
|
||||||
{
|
"fillOpacity": 10,
|
||||||
"label": null,
|
"gradientMode": "none",
|
||||||
"show": true,
|
"spanNulls": true,
|
||||||
"logBase": 1,
|
"showPoints": "never",
|
||||||
"min": null,
|
"pointSize": 5,
|
||||||
"max": null,
|
"stacking": {
|
||||||
"format": "percent",
|
"mode": "none",
|
||||||
"$$hashKey": "object:315"
|
"group": "A"
|
||||||
|
},
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"axisLabel": "",
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"hideFrom": {
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false,
|
||||||
|
"legend": false
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"unit": "percent",
|
||||||
|
"decimals": 1
|
||||||
},
|
},
|
||||||
{
|
"overrides": [
|
||||||
"label": null,
|
{
|
||||||
"show": false,
|
"matcher": {
|
||||||
"logBase": 1,
|
"id": "byRegexp",
|
||||||
"min": null,
|
"options": "/n_cpus/"
|
||||||
"max": null,
|
},
|
||||||
"format": "short",
|
"properties": [
|
||||||
"$$hashKey": "object:316"
|
{
|
||||||
}
|
"id": "custom.fillOpacity",
|
||||||
],
|
"value": 0
|
||||||
"xaxis": {
|
}
|
||||||
"show": true,
|
]
|
||||||
"mode": "time",
|
}
|
||||||
"name": null,
|
]
|
||||||
"values": [],
|
|
||||||
"buckets": null
|
|
||||||
},
|
},
|
||||||
"yaxis": {
|
"maxDataPoints": null,
|
||||||
"align": false,
|
|
||||||
"alignLevel": null
|
|
||||||
},
|
|
||||||
"lines": true,
|
|
||||||
"fill": 1,
|
|
||||||
"linewidth": 1,
|
|
||||||
"dashLength": 10,
|
|
||||||
"spaceLength": 10,
|
|
||||||
"pointradius": 2,
|
|
||||||
"legend": {
|
|
||||||
"show": true,
|
|
||||||
"values": true,
|
|
||||||
"min": false,
|
|
||||||
"max": false,
|
|
||||||
"current": false,
|
|
||||||
"total": false,
|
|
||||||
"avg": true,
|
|
||||||
"alignAsTable": false,
|
|
||||||
"rightSide": false,
|
|
||||||
"hideZero": false
|
|
||||||
},
|
|
||||||
"nullPointMode": "connected",
|
|
||||||
"tooltip": {
|
|
||||||
"value_type": "individual",
|
|
||||||
"shared": true,
|
|
||||||
"sort": 2
|
|
||||||
},
|
|
||||||
"aliasColors": {},
|
|
||||||
"seriesOverrides": [],
|
|
||||||
"thresholds": [],
|
|
||||||
"timeRegions": [],
|
|
||||||
"decimals": 1,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"dashes": false,
|
|
||||||
"hiddenSeries": false,
|
|
||||||
"points": false,
|
|
||||||
"bars": false,
|
|
||||||
"stack": false,
|
|
||||||
"percentage": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"timeFrom": null,
|
|
||||||
"timeShift": null,
|
|
||||||
"description": "",
|
"description": "",
|
||||||
"maxDataPoints": 750,
|
"timeFrom": null,
|
||||||
"interval": "30s"
|
"timeShift": null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
],
|
],
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(load1) as \"1 minute\", mean(load5) as \"5 minutes\", mean(load15) as \"15 minutes\" FROM \"system\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), * ORDER BY asc",
|
"query": "SELECT mean(load1) as \"1 minute\", last(n_cpus) as \"Total Cores\" FROM \"system\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), * ORDER BY asc",
|
||||||
"queryType": "randomWalk",
|
"queryType": "randomWalk",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "A",
|
"refId": "A",
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
],
|
],
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "default",
|
"policy": "default",
|
||||||
"query": "SELECT mean(mean_load1) as \"trend_1 minute\", mean(mean_load5) as \"trend_5 minutes\", mean(mean_load15) as \"trend_15 minutes\" FROM \"so_long_term\".\"system\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), * ORDER BY asc",
|
"query": "SELECT mean(mean_load1) as \"trend_1 minute\" FROM \"so_long_term\".\"system\" WHERE host =~ /$servername$/ AND $timeFilter GROUP BY time($__interval), * ORDER BY asc",
|
||||||
"queryType": "randomWalk",
|
"queryType": "randomWalk",
|
||||||
"rawQuery": true,
|
"rawQuery": true,
|
||||||
"refId": "B",
|
"refId": "B",
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
],
|
],
|
||||||
"thresholds": [],
|
"thresholds": [],
|
||||||
"timeRegions": [],
|
"timeRegions": [],
|
||||||
"title": "Load Averages - $cpucount Cores",
|
"title": "1 Minute Load Average",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"shared": true,
|
"shared": true,
|
||||||
"sort": 0,
|
"sort": 0,
|
||||||
|
|||||||
@@ -98,8 +98,8 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -143,8 +143,8 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,70 +1,107 @@
|
|||||||
{
|
{
|
||||||
"aliasColors": {
|
"id": 18,
|
||||||
"InBound": "#629E51",
|
"gridPos": {
|
||||||
"OutBound": "#5195CE",
|
|
||||||
"net.non_negative_derivative": "super-light-blue"
|
|
||||||
},
|
},
|
||||||
"maxDataPoints": 750,
|
"type": "timeseries",
|
||||||
"interval": "30s",
|
"title": "Management Interface Traffic ",
|
||||||
"bars": false,
|
|
||||||
"dashLength": 10,
|
|
||||||
"dashes": false,
|
|
||||||
"datasource": "InfluxDB",
|
"datasource": "InfluxDB",
|
||||||
"editable": true,
|
"pluginVersion": "8.2.1",
|
||||||
"error": false,
|
"interval": "30s",
|
||||||
|
"links": [],
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"links": []
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"spanNulls": false,
|
||||||
|
"showPoints": "never",
|
||||||
|
"pointSize": 5,
|
||||||
|
"stacking": {
|
||||||
|
"mode": "none",
|
||||||
|
"group": "A"
|
||||||
|
},
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"axisLabel": "",
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"hideFrom": {
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false,
|
||||||
|
"legend": false
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"links": [],
|
||||||
|
"unit": "bps"
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": [
|
||||||
|
{
|
||||||
|
"matcher": {
|
||||||
|
"id": "byRegexp",
|
||||||
|
"options": "/Trend/"
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"id": "custom.fillOpacity",
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "custom.lineWidth",
|
||||||
|
"value": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "custom.lineStyle",
|
||||||
|
"value": {
|
||||||
|
"fill": "dash",
|
||||||
|
"dash": [
|
||||||
|
4,
|
||||||
|
10
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"fill": 1,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"gridPos": {
|
|
||||||
"x": {{ PANELS.management_interface_traffic_both_graph.gridPos.x }},
|
|
||||||
"y": {{ PANELS.management_interface_traffic_both_graph.gridPos.y }},
|
|
||||||
"w": {{ PANELS.management_interface_traffic_both_graph.gridPos.w }},
|
|
||||||
"h": {{ PANELS.management_interface_traffic_both_graph.gridPos.h }}
|
|
||||||
},
|
|
||||||
"hiddenSeries": false,
|
|
||||||
"id": 18,
|
|
||||||
"legend": {
|
|
||||||
"alignAsTable": true,
|
|
||||||
"avg": true,
|
|
||||||
"current": true,
|
|
||||||
"max": true,
|
|
||||||
"min": true,
|
|
||||||
"show": true,
|
|
||||||
"total": false,
|
|
||||||
"values": true
|
|
||||||
},
|
|
||||||
"lines": true,
|
|
||||||
"linewidth": 2,
|
|
||||||
"links": [],
|
|
||||||
"nullPointMode": "connected",
|
|
||||||
"options": {
|
"options": {
|
||||||
"alertThreshold": true
|
"tooltip": {
|
||||||
},
|
"mode": "single"
|
||||||
"percentage": false,
|
},
|
||||||
"pluginVersion": "7.5.4",
|
"legend": {
|
||||||
"pointradius": 5,
|
"displayMode": "table",
|
||||||
"points": false,
|
"placement": "bottom",
|
||||||
"renderer": "flot",
|
"calcs": [
|
||||||
"seriesOverrides": [
|
"mean",
|
||||||
{
|
"lastNotNull",
|
||||||
"alias": "/Trend/",
|
"max",
|
||||||
"dashLength": 4,
|
"min"
|
||||||
"dashes": true,
|
]
|
||||||
"fill": 0,
|
|
||||||
"linewidth": 4
|
|
||||||
}
|
}
|
||||||
],
|
},
|
||||||
"spaceLength": 10,
|
|
||||||
"stack": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "Inbound Current",
|
"alias": "$tag_host: $tag_interface: Inbound Current",
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -73,6 +110,18 @@
|
|||||||
],
|
],
|
||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"interface"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -114,19 +163,19 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"condition": "AND",
|
"condition": "AND",
|
||||||
"key": "interface",
|
"key": "interface",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$manint"
|
"value": "/^$manint$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alias": "Outbound Current",
|
"alias": "$tag_host: $tag_interface: Outbound Current",
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -135,6 +184,18 @@
|
|||||||
],
|
],
|
||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"interface"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -176,19 +237,19 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"condition": "AND",
|
"condition": "AND",
|
||||||
"key": "interface",
|
"key": "interface",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$manint"
|
"value": "/^$manint$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alias": "Inbound Trend",
|
"alias": "$tag_host: $tag_interface: Inbound Trend",
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -197,6 +258,18 @@
|
|||||||
],
|
],
|
||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"interface"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -239,19 +312,19 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"condition": "AND",
|
"condition": "AND",
|
||||||
"key": "interface",
|
"key": "interface",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$manint"
|
"value": "/^$manint$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alias": "Outbound Trend",
|
"alias": "$tag_host: $tag_interface: Outbound Trend",
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -260,6 +333,18 @@
|
|||||||
],
|
],
|
||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"interface"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -302,56 +387,20 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"condition": "AND",
|
"condition": "AND",
|
||||||
"key": "interface",
|
"key": "interface",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$manint"
|
"value": "/^$manint$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
"maxDataPoints": null,
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeRegions": [],
|
|
||||||
"timeShift": null,
|
"timeShift": null,
|
||||||
"title": "Management Interface Traffic - $manint",
|
"description": ""
|
||||||
"tooltip": {
|
|
||||||
"msResolution": true,
|
|
||||||
"shared": true,
|
|
||||||
"sort": 0,
|
|
||||||
"value_type": "cumulative"
|
|
||||||
},
|
|
||||||
"type": "graph",
|
|
||||||
"xaxis": {
|
|
||||||
"buckets": null,
|
|
||||||
"mode": "time",
|
|
||||||
"name": null,
|
|
||||||
"show": true,
|
|
||||||
"values": []
|
|
||||||
},
|
|
||||||
"yaxes": [
|
|
||||||
{
|
|
||||||
"format": "bps",
|
|
||||||
"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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,20 +1,79 @@
|
|||||||
{
|
{
|
||||||
"type": "graph",
|
"id": 102,
|
||||||
"title": "Container Memory Usage Current",
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.memory_used_docker_combined_current_graph.gridPos.x }},
|
"x": {{ PANELS.memory_used_docker_combined_current_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.memory_used_docker_combined_current_graph.gridPos.y }},
|
"y": {{ PANELS.memory_used_docker_combined_current_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.memory_used_docker_combined_current_graph.gridPos.w }},
|
"w": {{ PANELS.memory_used_docker_combined_current_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.memory_used_docker_combined_current_graph.gridPos.h }}
|
"h": {{ PANELS.memory_used_docker_combined_current_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"id": 102,
|
"type": "timeseries",
|
||||||
|
"title": "Container Memory Usage Current",
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"pluginVersion": "8.2.1",
|
||||||
|
"interval": "30s",
|
||||||
|
"options": {
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
},
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "right",
|
||||||
|
"calcs": [
|
||||||
|
"max",
|
||||||
|
"mean",
|
||||||
|
"lastNotNull"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"refId": "A",
|
"alias": "$tag_host: $tag_container_name",
|
||||||
"queryType": "randomWalk",
|
"groupBy": [
|
||||||
"policy": "default",
|
{
|
||||||
"resultFormat": "time_series",
|
"params": [
|
||||||
|
"$__interval"
|
||||||
|
],
|
||||||
|
"type": "time"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"container_name"
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"type": "fill"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"measurement": "docker_container_mem",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
|
"policy": "default",
|
||||||
|
"queryType": "randomWalk",
|
||||||
|
"refId": "A",
|
||||||
|
"resultFormat": "time_series",
|
||||||
|
"select": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"usage_percent"
|
||||||
|
],
|
||||||
|
"type": "field"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [],
|
||||||
|
"type": "mean"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
@@ -27,125 +86,58 @@
|
|||||||
"operator": "=~",
|
"operator": "=~",
|
||||||
"value": "/^$containers$/"
|
"value": "/^$containers$/"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"groupBy": [
|
}
|
||||||
{
|
],
|
||||||
"type": "time",
|
"fieldConfig": {
|
||||||
"params": [
|
"defaults": {
|
||||||
"$__interval"
|
"custom": {
|
||||||
]
|
"drawStyle": "line",
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"lineWidth": 1,
|
||||||
|
"fillOpacity": 0,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"spanNulls": false,
|
||||||
|
"showPoints": "never",
|
||||||
|
"pointSize": 5,
|
||||||
|
"stacking": {
|
||||||
|
"mode": "none",
|
||||||
|
"group": "A"
|
||||||
},
|
},
|
||||||
{
|
"axisPlacement": "auto",
|
||||||
"type": "tag",
|
"axisLabel": "",
|
||||||
"params": [
|
"scaleDistribution": {
|
||||||
"container_name"
|
"type": "linear"
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
"hideFrom": {
|
||||||
"type": "fill",
|
"tooltip": false,
|
||||||
"params": [
|
"viz": false,
|
||||||
"null"
|
"legend": false
|
||||||
]
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
}
|
}
|
||||||
],
|
},
|
||||||
"select": [
|
"color": {
|
||||||
[
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
{
|
{
|
||||||
"type": "field",
|
"color": "green",
|
||||||
"params": [
|
"value": null
|
||||||
"usage_percent"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "mean",
|
|
||||||
"params": []
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
},
|
||||||
"measurement": "docker_container_mem",
|
"mappings": [],
|
||||||
"alias": "$tag_container_name"
|
"unit": "percent",
|
||||||
}
|
"decimals": 1
|
||||||
],
|
},
|
||||||
"options": {
|
|
||||||
"alertThreshold": true
|
|
||||||
},
|
|
||||||
"datasource": "InfluxDB",
|
|
||||||
"fieldConfig": {
|
|
||||||
"defaults": {},
|
|
||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"pluginVersion": "7.5.4",
|
"maxDataPoints": null,
|
||||||
"renderer": "flot",
|
|
||||||
"yaxes": [
|
|
||||||
{
|
|
||||||
"label": null,
|
|
||||||
"show": true,
|
|
||||||
"logBase": 1,
|
|
||||||
"min": null,
|
|
||||||
"max": null,
|
|
||||||
"format": "percent",
|
|
||||||
"$$hashKey": "object:315"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": null,
|
|
||||||
"show": false,
|
|
||||||
"logBase": 1,
|
|
||||||
"min": null,
|
|
||||||
"max": null,
|
|
||||||
"format": "short",
|
|
||||||
"$$hashKey": "object:316"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"xaxis": {
|
|
||||||
"show": true,
|
|
||||||
"mode": "time",
|
|
||||||
"name": null,
|
|
||||||
"values": [],
|
|
||||||
"buckets": null
|
|
||||||
},
|
|
||||||
"yaxis": {
|
|
||||||
"align": false,
|
|
||||||
"alignLevel": null
|
|
||||||
},
|
|
||||||
"lines": true,
|
|
||||||
"fill": 1,
|
|
||||||
"linewidth": 1,
|
|
||||||
"dashLength": 10,
|
|
||||||
"spaceLength": 10,
|
|
||||||
"pointradius": 2,
|
|
||||||
"legend": {
|
|
||||||
"show": true,
|
|
||||||
"values": false,
|
|
||||||
"min": false,
|
|
||||||
"max": false,
|
|
||||||
"current": false,
|
|
||||||
"total": false,
|
|
||||||
"avg": false,
|
|
||||||
"alignAsTable": false,
|
|
||||||
"rightSide": false,
|
|
||||||
"hideZero": false
|
|
||||||
},
|
|
||||||
"nullPointMode": "connected",
|
|
||||||
"tooltip": {
|
|
||||||
"value_type": "individual",
|
|
||||||
"shared": true,
|
|
||||||
"sort": 2
|
|
||||||
},
|
|
||||||
"aliasColors": {},
|
|
||||||
"seriesOverrides": [],
|
|
||||||
"thresholds": [],
|
|
||||||
"timeRegions": [],
|
|
||||||
"decimals": null,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"dashes": false,
|
|
||||||
"hiddenSeries": false,
|
|
||||||
"points": false,
|
|
||||||
"bars": false,
|
|
||||||
"stack": false,
|
|
||||||
"percentage": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeShift": null,
|
"timeShift": null
|
||||||
"maxDataPoints": 750,
|
|
||||||
"interval": "30s"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,53 +1,66 @@
|
|||||||
{
|
{
|
||||||
"type": "graph",
|
"id": 103,
|
||||||
"title": "Container Memory Usage Trend",
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.memory_used_docker_combined_trend_graph.gridPos.x }},
|
"x": {{ PANELS.memory_used_docker_combined_trend_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.memory_used_docker_combined_trend_graph.gridPos.y }},
|
"y": {{ PANELS.memory_used_docker_combined_trend_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.memory_used_docker_combined_trend_graph.gridPos.w }},
|
"w": {{ PANELS.memory_used_docker_combined_trend_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.memory_used_docker_combined_trend_graph.gridPos.h }}
|
"h": {{ PANELS.memory_used_docker_combined_trend_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"id": 103,
|
"type": "timeseries",
|
||||||
|
"title": "Container Memory Usage Trend",
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"pluginVersion": "8.2.1",
|
||||||
|
"maxDataPoints": 750,
|
||||||
|
"interval": "30s",
|
||||||
|
"options": {
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
},
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "right",
|
||||||
|
"calcs": [
|
||||||
|
"max",
|
||||||
|
"mean",
|
||||||
|
"lastNotNull"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"refId": "A",
|
"alias": "$tag_host: $tag_container_name",
|
||||||
"queryType": "randomWalk",
|
|
||||||
"policy": "so_long_term",
|
|
||||||
"resultFormat": "time_series",
|
|
||||||
"orderByTime": "ASC",
|
|
||||||
"tags": [
|
|
||||||
{
|
|
||||||
"key": "host",
|
|
||||||
"operator": "=~",
|
|
||||||
"value": "/^$servername$/"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "AND",
|
|
||||||
"key": "container_name",
|
|
||||||
"operator": "=~",
|
|
||||||
"value": "/^$containers$/"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
"type": "time",
|
|
||||||
"params": [
|
"params": [
|
||||||
"$__interval"
|
"$__interval"
|
||||||
]
|
],
|
||||||
|
"type": "time"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"container_name"
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "tag",
|
"type": "tag",
|
||||||
"params": [
|
"params": [
|
||||||
"container_name"
|
"host"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "fill",
|
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
]
|
],
|
||||||
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"measurement": "docker_container_mem",
|
||||||
|
"orderByTime": "ASC",
|
||||||
|
"policy": "so_long_term",
|
||||||
|
"queryType": "randomWalk",
|
||||||
|
"refId": "A",
|
||||||
|
"resultFormat": "time_series",
|
||||||
"select": [
|
"select": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -62,90 +75,69 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"measurement": "docker_container_mem",
|
"tags": [
|
||||||
"alias": "$tag_container_name"
|
{
|
||||||
|
"key": "host",
|
||||||
|
"operator": "=~",
|
||||||
|
"value": "/^$servername$/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "AND",
|
||||||
|
"key": "container_name",
|
||||||
|
"operator": "=~",
|
||||||
|
"value": "/^$containers$/"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"options": {
|
|
||||||
"alertThreshold": true
|
|
||||||
},
|
|
||||||
"datasource": "InfluxDB",
|
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {},
|
"defaults": {
|
||||||
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"lineWidth": 1,
|
||||||
|
"fillOpacity": 0,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"spanNulls": true,
|
||||||
|
"showPoints": "never",
|
||||||
|
"pointSize": 5,
|
||||||
|
"stacking": {
|
||||||
|
"mode": "none",
|
||||||
|
"group": "A"
|
||||||
|
},
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"axisLabel": "",
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"hideFrom": {
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false,
|
||||||
|
"legend": false
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"unit": "percent",
|
||||||
|
"decimals": 1
|
||||||
|
},
|
||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"pluginVersion": "7.5.4",
|
|
||||||
"renderer": "flot",
|
|
||||||
"yaxes": [
|
|
||||||
{
|
|
||||||
"label": null,
|
|
||||||
"show": true,
|
|
||||||
"logBase": 1,
|
|
||||||
"min": null,
|
|
||||||
"max": null,
|
|
||||||
"format": "percent",
|
|
||||||
"$$hashKey": "object:315"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": null,
|
|
||||||
"show": false,
|
|
||||||
"logBase": 1,
|
|
||||||
"min": null,
|
|
||||||
"max": null,
|
|
||||||
"format": "short",
|
|
||||||
"$$hashKey": "object:316"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"xaxis": {
|
|
||||||
"show": true,
|
|
||||||
"mode": "time",
|
|
||||||
"name": null,
|
|
||||||
"values": [],
|
|
||||||
"buckets": null
|
|
||||||
},
|
|
||||||
"yaxis": {
|
|
||||||
"align": false,
|
|
||||||
"alignLevel": null
|
|
||||||
},
|
|
||||||
"lines": true,
|
|
||||||
"fill": 1,
|
|
||||||
"linewidth": 1,
|
|
||||||
"dashLength": 10,
|
|
||||||
"spaceLength": 10,
|
|
||||||
"pointradius": 2,
|
|
||||||
"legend": {
|
|
||||||
"show": true,
|
|
||||||
"values": true,
|
|
||||||
"min": false,
|
|
||||||
"max": false,
|
|
||||||
"current": false,
|
|
||||||
"total": false,
|
|
||||||
"avg": true,
|
|
||||||
"alignAsTable": false,
|
|
||||||
"rightSide": false,
|
|
||||||
"hideZero": false
|
|
||||||
},
|
|
||||||
"nullPointMode": "connected",
|
|
||||||
"tooltip": {
|
|
||||||
"value_type": "individual",
|
|
||||||
"shared": true,
|
|
||||||
"sort": 2
|
|
||||||
},
|
|
||||||
"aliasColors": {},
|
|
||||||
"seriesOverrides": [],
|
|
||||||
"thresholds": [],
|
|
||||||
"timeRegions": [],
|
|
||||||
"decimals": 1,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"dashes": false,
|
|
||||||
"hiddenSeries": false,
|
|
||||||
"points": false,
|
|
||||||
"bars": false,
|
|
||||||
"stack": false,
|
|
||||||
"percentage": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeShift": null,
|
"timeShift": null
|
||||||
"maxDataPoints": 750,
|
|
||||||
"interval": "30s"
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,70 +1,107 @@
|
|||||||
{
|
{
|
||||||
"aliasColors": {
|
"id": 10,
|
||||||
"InBound": "#629E51",
|
"gridPos": {
|
||||||
"OutBound": "#5195CE",
|
|
||||||
"net.non_negative_derivative": "light-orange"
|
|
||||||
},
|
},
|
||||||
"bars": false,
|
"type": "timeseries",
|
||||||
"maxDataPoints": 750,
|
"title": "Monitor Interface Traffic",
|
||||||
"interval": "30s",
|
|
||||||
"dashLength": 10,
|
|
||||||
"dashes": false,
|
|
||||||
"datasource": "InfluxDB",
|
"datasource": "InfluxDB",
|
||||||
"editable": true,
|
"pluginVersion": "8.2.1",
|
||||||
"error": false,
|
"interval": "30s",
|
||||||
|
"links": [],
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"links": []
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"lineWidth": 2,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"spanNulls": false,
|
||||||
|
"showPoints": "never",
|
||||||
|
"pointSize": 5,
|
||||||
|
"stacking": {
|
||||||
|
"mode": "none",
|
||||||
|
"group": "A"
|
||||||
|
},
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"axisLabel": "",
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"hideFrom": {
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false,
|
||||||
|
"legend": false
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"links": [],
|
||||||
|
"unit": "bps"
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": [
|
||||||
|
{
|
||||||
|
"matcher": {
|
||||||
|
"id": "byRegexp",
|
||||||
|
"options": "/Trend/"
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"id": "custom.fillOpacity",
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "custom.lineWidth",
|
||||||
|
"value": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "custom.lineStyle",
|
||||||
|
"value": {
|
||||||
|
"fill": "dash",
|
||||||
|
"dash": [
|
||||||
|
4,
|
||||||
|
10
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"fill": 1,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"gridPos": {
|
|
||||||
"x": {{ PANELS.monitor_interface_traffic_both_graph.gridPos.x }},
|
|
||||||
"y": {{ PANELS.monitor_interface_traffic_both_graph.gridPos.y }},
|
|
||||||
"w": {{ PANELS.monitor_interface_traffic_both_graph.gridPos.w }},
|
|
||||||
"h": {{ PANELS.monitor_interface_traffic_both_graph.gridPos.h }}
|
|
||||||
},
|
|
||||||
"hiddenSeries": false,
|
|
||||||
"id": 10,
|
|
||||||
"legend": {
|
|
||||||
"alignAsTable": true,
|
|
||||||
"avg": true,
|
|
||||||
"current": true,
|
|
||||||
"max": true,
|
|
||||||
"min": true,
|
|
||||||
"show": true,
|
|
||||||
"total": false,
|
|
||||||
"values": true
|
|
||||||
},
|
|
||||||
"lines": true,
|
|
||||||
"linewidth": 2,
|
|
||||||
"links": [],
|
|
||||||
"nullPointMode": "connected",
|
|
||||||
"options": {
|
"options": {
|
||||||
"alertThreshold": true
|
"tooltip": {
|
||||||
},
|
"mode": "single"
|
||||||
"percentage": false,
|
},
|
||||||
"pluginVersion": "7.5.4",
|
"legend": {
|
||||||
"pointradius": 5,
|
"displayMode": "table",
|
||||||
"points": false,
|
"placement": "bottom",
|
||||||
"renderer": "flot",
|
"calcs": [
|
||||||
"seriesOverrides": [
|
"mean",
|
||||||
{
|
"lastNotNull",
|
||||||
"alias": "/Trend/",
|
"max",
|
||||||
"dashLength": 4,
|
"min"
|
||||||
"dashes": true,
|
]
|
||||||
"fill": 0,
|
|
||||||
"linewidth": 4
|
|
||||||
}
|
}
|
||||||
],
|
},
|
||||||
"spaceLength": 10,
|
|
||||||
"stack": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "Inbound Current",
|
"alias": "$tag_host: $tag_interface: Inbound Current",
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -73,6 +110,18 @@
|
|||||||
],
|
],
|
||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"interface"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -114,19 +163,19 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"condition": "AND",
|
"condition": "AND",
|
||||||
"key": "interface",
|
"key": "interface",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$monint"
|
"value": "/^$monint$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alias": "Inbound Trend",
|
"alias": "$tag_host: $tag_interface: Inbound Trend",
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -135,6 +184,18 @@
|
|||||||
],
|
],
|
||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"interface"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -177,56 +238,20 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"condition": "AND",
|
"condition": "AND",
|
||||||
"key": "interface",
|
"key": "interface",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$monint"
|
"value": "/^$monint$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
"maxDataPoints": null,
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeRegions": [],
|
|
||||||
"timeShift": null,
|
"timeShift": null,
|
||||||
"title": "Monitor Interface Traffic - $monint",
|
"description": ""
|
||||||
"tooltip": {
|
|
||||||
"msResolution": true,
|
|
||||||
"shared": true,
|
|
||||||
"sort": 0,
|
|
||||||
"value_type": "cumulative"
|
|
||||||
},
|
|
||||||
"type": "graph",
|
|
||||||
"xaxis": {
|
|
||||||
"buckets": null,
|
|
||||||
"mode": "time",
|
|
||||||
"name": null,
|
|
||||||
"show": true,
|
|
||||||
"values": []
|
|
||||||
},
|
|
||||||
"yaxes": [
|
|
||||||
{
|
|
||||||
"format": "bps",
|
|
||||||
"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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,17 @@
|
|||||||
{
|
{
|
||||||
|
"id": 24,
|
||||||
|
"gridPos": {
|
||||||
|
"x": {{ PANELS.monitor_interface_traffic_stat.gridPos.x }},
|
||||||
|
"y": {{ PANELS.monitor_interface_traffic_stat.gridPos.y }},
|
||||||
|
"w": {{ PANELS.monitor_interface_traffic_stat.gridPos.w }},
|
||||||
|
"h": {{ PANELS.monitor_interface_traffic_stat.gridPos.h }}
|
||||||
|
},
|
||||||
|
"type": "stat",
|
||||||
|
"title": "Monitor Traffic",
|
||||||
"datasource": "InfluxDB",
|
"datasource": "InfluxDB",
|
||||||
|
"pluginVersion": "8.2.1",
|
||||||
|
"interval": "30s",
|
||||||
|
"links": [],
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
@@ -9,108 +21,31 @@
|
|||||||
"color": "rgba(245, 54, 54, 0.9)",
|
"color": "rgba(245, 54, 54, 0.9)",
|
||||||
"value": null
|
"value": null
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"color": "rgba(237, 129, 40, 0.89)",
|
|
||||||
"value": 0.5
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"color": "rgba(50, 172, 45, 0.97)",
|
"color": "rgba(50, 172, 45, 0.97)",
|
||||||
"value": 3
|
"value": 1
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"op": "=",
|
"options": {
|
||||||
"text": "N/A",
|
"match": "null",
|
||||||
"value": "null",
|
"result": {
|
||||||
"$$hashKey": "object:645",
|
"text": "N/A"
|
||||||
"id": 0,
|
}
|
||||||
"type": 1
|
},
|
||||||
|
"type": "special"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"unit": "bps",
|
|
||||||
"decimals": 2,
|
|
||||||
"color": {
|
"color": {
|
||||||
"mode": "thresholds"
|
"mode": "thresholds"
|
||||||
}
|
},
|
||||||
|
"decimals": 2,
|
||||||
|
"unit": "bps"
|
||||||
},
|
},
|
||||||
"overrides": []
|
"overrides": []
|
||||||
},
|
},
|
||||||
"gridPos": {
|
|
||||||
"x": {{ PANELS.monitor_interface_traffic_stat.gridPos.x }},
|
|
||||||
"y": {{ PANELS.monitor_interface_traffic_stat.gridPos.y }},
|
|
||||||
"w": {{ PANELS.monitor_interface_traffic_stat.gridPos.w }},
|
|
||||||
"h": {{ PANELS.monitor_interface_traffic_stat.gridPos.h }}
|
|
||||||
},
|
|
||||||
"id": 24,
|
|
||||||
"links": [],
|
|
||||||
"maxDataPoints": 100,
|
|
||||||
"targets": [
|
|
||||||
{
|
|
||||||
"dsType": "influxdb",
|
|
||||||
"groupBy": [
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"$__interval"
|
|
||||||
],
|
|
||||||
"type": "time"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"type": "fill"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"measurement": "net",
|
|
||||||
"orderByTime": "ASC",
|
|
||||||
"policy": "default",
|
|
||||||
"refId": "A",
|
|
||||||
"resultFormat": "time_series",
|
|
||||||
"select": [
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"bytes_recv"
|
|
||||||
],
|
|
||||||
"type": "field"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"params": [],
|
|
||||||
"type": "last"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"1s"
|
|
||||||
],
|
|
||||||
"type": "non_negative_derivative"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"*8"
|
|
||||||
],
|
|
||||||
"type": "math"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
],
|
|
||||||
"tags": [
|
|
||||||
{
|
|
||||||
"key": "host",
|
|
||||||
"operator": "=",
|
|
||||||
"value": "$servername"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "AND",
|
|
||||||
"key": "interface",
|
|
||||||
"operator": "=",
|
|
||||||
"value": "$monint"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"title": "Monitor Traffic - $monint",
|
|
||||||
"type": "stat",
|
|
||||||
"options": {
|
"options": {
|
||||||
"reduceOptions": {
|
"reduceOptions": {
|
||||||
"values": false,
|
"values": false,
|
||||||
@@ -126,7 +61,92 @@
|
|||||||
"graphMode": "area",
|
"graphMode": "area",
|
||||||
"justifyMode": "auto"
|
"justifyMode": "auto"
|
||||||
},
|
},
|
||||||
|
"targets": [
|
||||||
|
{
|
||||||
|
"dsType": "influxdb",
|
||||||
|
"groupBy": [
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"$__interval"
|
||||||
|
],
|
||||||
|
"type": "time"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"none"
|
||||||
|
],
|
||||||
|
"type": "fill"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"measurement": "net",
|
||||||
|
"orderByTime": "ASC",
|
||||||
|
"policy": "default",
|
||||||
|
"refId": "A",
|
||||||
|
"resultFormat": "time_series",
|
||||||
|
"select": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"type": "field",
|
||||||
|
"params": [
|
||||||
|
"bytes_recv"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "mean",
|
||||||
|
"params": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "non_negative_derivative",
|
||||||
|
"params": [
|
||||||
|
"1s"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "math",
|
||||||
|
"params": [
|
||||||
|
"*8"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"key": "host",
|
||||||
|
"operator": "=~",
|
||||||
|
"value": "/^$servername$/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "AND",
|
||||||
|
"key": "interface",
|
||||||
|
"operator": "=~",
|
||||||
|
"value": "/^$monint$/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"query": "SELECT non_negative_derivative(mean(\"bytes_recv\"), 1s) *8 FROM \"net\" WHERE (\"host\" =~ /^$servername$/ AND \"interface\" = '$monint') AND $timeFilter GROUP BY time($__interval) fill(null)",
|
||||||
|
"rawQuery": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"maxDataPoints": null,
|
||||||
"cacheTimeout": null,
|
"cacheTimeout": null,
|
||||||
"interval": null,
|
"interval": null,
|
||||||
"pluginVersion": "7.5.4"
|
"transformations": [
|
||||||
|
{
|
||||||
|
"id": "calculateField",
|
||||||
|
"options": {
|
||||||
|
"mode": "reduceRow",
|
||||||
|
"reduce": {
|
||||||
|
"reducer": "sum"
|
||||||
|
},
|
||||||
|
"alias": "Monitor Traffic",
|
||||||
|
"replaceFields": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": ""
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,45 +1,33 @@
|
|||||||
{
|
{
|
||||||
"aliasColors": {},
|
"id": 61868,
|
||||||
"dashLength": 10,
|
"gridPos": {
|
||||||
"datasource": "InfluxDB",
|
|
||||||
"fieldConfig": {
|
|
||||||
"defaults": {},
|
|
||||||
"overrides": []
|
|
||||||
},
|
|
||||||
"fill": 1,
|
|
||||||
"gridPos": {
|
|
||||||
"x": {{ PANELS.network_usage_docker_combined_current_graph.gridPos.x }},
|
"x": {{ PANELS.network_usage_docker_combined_current_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.network_usage_docker_combined_current_graph.gridPos.y }},
|
"y": {{ PANELS.network_usage_docker_combined_current_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.network_usage_docker_combined_current_graph.gridPos.w }},
|
"w": {{ PANELS.network_usage_docker_combined_current_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.network_usage_docker_combined_current_graph.gridPos.h }}
|
"h": {{ PANELS.network_usage_docker_combined_current_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"id": 61868,
|
"type": "timeseries",
|
||||||
"legend": {
|
"title": "Container Network Usage Current",
|
||||||
"alignAsTable": false,
|
"datasource": "InfluxDB",
|
||||||
"avg": false,
|
"pluginVersion": "8.2.1",
|
||||||
"current": false,
|
"interval": "30s",
|
||||||
"hideZero": false,
|
|
||||||
"max": false,
|
|
||||||
"min": false,
|
|
||||||
"rightSide": false,
|
|
||||||
"show": true,
|
|
||||||
"total": false,
|
|
||||||
"values": false
|
|
||||||
},
|
|
||||||
"lines": true,
|
|
||||||
"linewidth": 1,
|
|
||||||
"nullPointMode": "connected",
|
|
||||||
"options": {
|
"options": {
|
||||||
"alertThreshold": true
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
},
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "right",
|
||||||
|
"calcs": [
|
||||||
|
"max",
|
||||||
|
"mean",
|
||||||
|
"lastNotNull"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"pluginVersion": "7.5.4",
|
|
||||||
"pointradius": 2,
|
|
||||||
"renderer": "flot",
|
|
||||||
"seriesOverrides": [],
|
|
||||||
"spaceLength": 10,
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "$tag_container_name RX",
|
"alias": "$tag_host: $tag_container_name RX",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
@@ -53,6 +41,12 @@
|
|||||||
],
|
],
|
||||||
"type": "tag"
|
"type": "tag"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -69,94 +63,26 @@
|
|||||||
"select": [
|
"select": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"type": "field",
|
|
||||||
"params": [
|
"params": [
|
||||||
"rx_bytes"
|
"rx_bytes"
|
||||||
]
|
],
|
||||||
|
"type": "field"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "mean",
|
"params": [],
|
||||||
"params": []
|
"type": "mean"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "non_negative_derivative",
|
|
||||||
"params": [
|
"params": [
|
||||||
"1s"
|
"1s"
|
||||||
]
|
],
|
||||||
|
"type": "non_negative_derivative"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "math",
|
|
||||||
"params": [
|
"params": [
|
||||||
"*8"
|
"*8"
|
||||||
]
|
],
|
||||||
}
|
"type": "math"
|
||||||
]
|
|
||||||
],
|
|
||||||
"tags": [
|
|
||||||
{
|
|
||||||
"key": "host",
|
|
||||||
"operator": "=~",
|
|
||||||
"value": "/^$servername$/"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "AND",
|
|
||||||
"key": "container_name",
|
|
||||||
"operator": "=~",
|
|
||||||
"value": "/^$containers$/"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"alias": "$tag_container_name TX",
|
|
||||||
"groupBy": [
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"$__interval"
|
|
||||||
],
|
|
||||||
"type": "time"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"container_name"
|
|
||||||
],
|
|
||||||
"type": "tag"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"params": [
|
|
||||||
"null"
|
|
||||||
],
|
|
||||||
"type": "fill"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"measurement": "docker_container_net",
|
|
||||||
"orderByTime": "ASC",
|
|
||||||
"policy": "default",
|
|
||||||
"queryType": "randomWalk",
|
|
||||||
"refId": "B",
|
|
||||||
"resultFormat": "time_series",
|
|
||||||
"select": [
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"type": "field",
|
|
||||||
"params": [
|
|
||||||
"tx_bytes"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "mean",
|
|
||||||
"params": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "non_negative_derivative",
|
|
||||||
"params": [
|
|
||||||
"1s"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "math",
|
|
||||||
"params": [
|
|
||||||
"*8"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -174,60 +100,133 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"hide": false
|
"hide": false
|
||||||
}
|
|
||||||
],
|
|
||||||
"thresholds": [],
|
|
||||||
"timeRegions": [],
|
|
||||||
"title": "Container Network Usage Current",
|
|
||||||
"tooltip": {
|
|
||||||
"shared": true,
|
|
||||||
"sort": 2,
|
|
||||||
"value_type": "individual"
|
|
||||||
},
|
|
||||||
"type": "graph",
|
|
||||||
"xaxis": {
|
|
||||||
"buckets": null,
|
|
||||||
"mode": "time",
|
|
||||||
"name": null,
|
|
||||||
"show": true,
|
|
||||||
"values": []
|
|
||||||
},
|
|
||||||
"yaxes": [
|
|
||||||
{
|
|
||||||
"$$hashKey": "object:315",
|
|
||||||
"format": "bps",
|
|
||||||
"label": null,
|
|
||||||
"logBase": 1,
|
|
||||||
"max": null,
|
|
||||||
"min": null,
|
|
||||||
"show": true
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"$$hashKey": "object:316",
|
"alias": "$tag_host: $tag_container_name TX",
|
||||||
"format": "short",
|
"groupBy": [
|
||||||
"label": null,
|
{
|
||||||
"logBase": 1,
|
"params": [
|
||||||
"max": null,
|
"$__interval"
|
||||||
"min": null,
|
],
|
||||||
"show": false
|
"type": "time"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"container_name"
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"type": "fill"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"hide": false,
|
||||||
|
"measurement": "docker_container_net",
|
||||||
|
"orderByTime": "ASC",
|
||||||
|
"policy": "default",
|
||||||
|
"queryType": "randomWalk",
|
||||||
|
"refId": "B",
|
||||||
|
"resultFormat": "time_series",
|
||||||
|
"select": [
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"tx_bytes"
|
||||||
|
],
|
||||||
|
"type": "field"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [],
|
||||||
|
"type": "mean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"1s"
|
||||||
|
],
|
||||||
|
"type": "non_negative_derivative"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"*8"
|
||||||
|
],
|
||||||
|
"type": "math"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
],
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"key": "host",
|
||||||
|
"operator": "=~",
|
||||||
|
"value": "/^$servername$/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "AND",
|
||||||
|
"key": "container_name",
|
||||||
|
"operator": "=~",
|
||||||
|
"value": "/^$containers$/"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"yaxis": {
|
"fieldConfig": {
|
||||||
"align": false,
|
"defaults": {
|
||||||
"alignLevel": null
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"lineWidth": 1,
|
||||||
|
"fillOpacity": 5,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"spanNulls": true,
|
||||||
|
"showPoints": "never",
|
||||||
|
"pointSize": 5,
|
||||||
|
"stacking": {
|
||||||
|
"mode": "none",
|
||||||
|
"group": "A"
|
||||||
|
},
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"axisLabel": "",
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"hideFrom": {
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false,
|
||||||
|
"legend": false
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"unit": "bps",
|
||||||
|
"decimals": 1
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
},
|
},
|
||||||
"bars": false,
|
"maxDataPoints": null,
|
||||||
"dashes": false,
|
|
||||||
"decimals": null,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"hiddenSeries": false,
|
|
||||||
"percentage": false,
|
|
||||||
"points": false,
|
|
||||||
"stack": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"timeFrom": null,
|
|
||||||
"timeShift": null,
|
|
||||||
"description": "",
|
"description": "",
|
||||||
"maxDataPoints": 750,
|
"timeFrom": null,
|
||||||
"interval": "30s"
|
"timeShift": null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,45 +1,33 @@
|
|||||||
{
|
{
|
||||||
"aliasColors": {},
|
"id": 61461,
|
||||||
"dashLength": 10,
|
|
||||||
"datasource": "InfluxDB",
|
|
||||||
"fieldConfig": {
|
|
||||||
"defaults": {},
|
|
||||||
"overrides": []
|
|
||||||
},
|
|
||||||
"fill": 1,
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.network_usage_docker_combined_trend_graph.gridPos.x }},
|
"x": {{ PANELS.network_usage_docker_combined_trend_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.network_usage_docker_combined_trend_graph.gridPos.y }},
|
"y": {{ PANELS.network_usage_docker_combined_trend_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.network_usage_docker_combined_trend_graph.gridPos.w }},
|
"w": {{ PANELS.network_usage_docker_combined_trend_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.network_usage_docker_combined_trend_graph.gridPos.h }}
|
"h": {{ PANELS.network_usage_docker_combined_trend_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"id": 61461,
|
"type": "timeseries",
|
||||||
"legend": {
|
"title": "Container Network Usage Trend",
|
||||||
"alignAsTable": false,
|
"datasource": "InfluxDB",
|
||||||
"avg": false,
|
"pluginVersion": "8.2.1",
|
||||||
"current": false,
|
"interval": "5m",
|
||||||
"hideZero": false,
|
|
||||||
"max": false,
|
|
||||||
"min": false,
|
|
||||||
"rightSide": false,
|
|
||||||
"show": true,
|
|
||||||
"total": false,
|
|
||||||
"values": false
|
|
||||||
},
|
|
||||||
"lines": true,
|
|
||||||
"linewidth": 1,
|
|
||||||
"nullPointMode": "connected",
|
|
||||||
"options": {
|
"options": {
|
||||||
"alertThreshold": true
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
},
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "right",
|
||||||
|
"calcs": [
|
||||||
|
"max",
|
||||||
|
"mean",
|
||||||
|
"lastNotNull"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"pluginVersion": "7.5.4",
|
|
||||||
"pointradius": 2,
|
|
||||||
"renderer": "flot",
|
|
||||||
"seriesOverrides": [],
|
|
||||||
"spaceLength": 10,
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "$tag_container_name RX",
|
"alias": "$tag_host: $tag_container_name RX",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
@@ -53,6 +41,12 @@
|
|||||||
],
|
],
|
||||||
"type": "tag"
|
"type": "tag"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -69,26 +63,26 @@
|
|||||||
"select": [
|
"select": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"type": "field",
|
|
||||||
"params": [
|
"params": [
|
||||||
"mean_rx_bytes"
|
"mean_rx_bytes"
|
||||||
]
|
],
|
||||||
|
"type": "field"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "mean",
|
"params": [],
|
||||||
"params": []
|
"type": "mean"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "non_negative_derivative",
|
|
||||||
"params": [
|
"params": [
|
||||||
"1s"
|
"1s"
|
||||||
]
|
],
|
||||||
|
"type": "non_negative_derivative"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "math",
|
|
||||||
"params": [
|
"params": [
|
||||||
"*8"
|
"*8"
|
||||||
]
|
],
|
||||||
|
"type": "math"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -107,7 +101,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alias": "$tag_container_name TX",
|
"alias": "$tag_host: $tag_container_name TX",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
@@ -121,6 +115,12 @@
|
|||||||
],
|
],
|
||||||
"type": "tag"
|
"type": "tag"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -128,6 +128,7 @@
|
|||||||
"type": "fill"
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"hide": false,
|
||||||
"measurement": "docker_container_net",
|
"measurement": "docker_container_net",
|
||||||
"orderByTime": "ASC",
|
"orderByTime": "ASC",
|
||||||
"policy": "so_long_term",
|
"policy": "so_long_term",
|
||||||
@@ -137,26 +138,26 @@
|
|||||||
"select": [
|
"select": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"type": "field",
|
|
||||||
"params": [
|
"params": [
|
||||||
"mean_tx_bytes"
|
"mean_tx_bytes"
|
||||||
]
|
],
|
||||||
|
"type": "field"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "mean",
|
"params": [],
|
||||||
"params": []
|
"type": "mean"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "non_negative_derivative",
|
|
||||||
"params": [
|
"params": [
|
||||||
"1s"
|
"1s"
|
||||||
]
|
],
|
||||||
|
"type": "non_negative_derivative"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "math",
|
|
||||||
"params": [
|
"params": [
|
||||||
"*8"
|
"*8"
|
||||||
]
|
],
|
||||||
|
"type": "math"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
@@ -172,62 +173,59 @@
|
|||||||
"operator": "=~",
|
"operator": "=~",
|
||||||
"value": "/^$containers$/"
|
"value": "/^$containers$/"
|
||||||
}
|
}
|
||||||
],
|
]
|
||||||
"hide": false
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
"fieldConfig": {
|
||||||
"timeRegions": [],
|
"defaults": {
|
||||||
"title": "Container Network Usage Trend",
|
"custom": {
|
||||||
"tooltip": {
|
"drawStyle": "line",
|
||||||
"shared": true,
|
"lineInterpolation": "linear",
|
||||||
"sort": 2,
|
"barAlignment": 0,
|
||||||
"value_type": "individual"
|
"lineWidth": 1,
|
||||||
},
|
"fillOpacity": 5,
|
||||||
"type": "graph",
|
"gradientMode": "none",
|
||||||
"xaxis": {
|
"spanNulls": false,
|
||||||
"buckets": null,
|
"showPoints": "never",
|
||||||
"mode": "time",
|
"pointSize": 5,
|
||||||
"name": null,
|
"stacking": {
|
||||||
"show": true,
|
"mode": "none",
|
||||||
"values": []
|
"group": "A"
|
||||||
},
|
},
|
||||||
"yaxes": [
|
"axisPlacement": "auto",
|
||||||
{
|
"axisLabel": "",
|
||||||
"$$hashKey": "object:315",
|
"scaleDistribution": {
|
||||||
"format": "bps",
|
"type": "linear"
|
||||||
"label": null,
|
},
|
||||||
"logBase": 1,
|
"hideFrom": {
|
||||||
"max": null,
|
"tooltip": false,
|
||||||
"min": null,
|
"viz": false,
|
||||||
"show": true
|
"legend": false
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"unit": "bps",
|
||||||
|
"decimals": 1
|
||||||
},
|
},
|
||||||
{
|
"overrides": []
|
||||||
"$$hashKey": "object:316",
|
|
||||||
"format": "short",
|
|
||||||
"label": null,
|
|
||||||
"logBase": 1,
|
|
||||||
"max": null,
|
|
||||||
"min": null,
|
|
||||||
"show": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"yaxis": {
|
|
||||||
"align": false,
|
|
||||||
"alignLevel": null
|
|
||||||
},
|
},
|
||||||
"bars": false,
|
"maxDataPoints": null,
|
||||||
"dashes": false,
|
|
||||||
"decimals": null,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"hiddenSeries": false,
|
|
||||||
"percentage": false,
|
|
||||||
"points": false,
|
|
||||||
"stack": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"timeFrom": null,
|
|
||||||
"timeShift": null,
|
|
||||||
"description": "",
|
"description": "",
|
||||||
"maxDataPoints": 750,
|
"timeFrom": null,
|
||||||
"interval": "30s"
|
"timeShift": null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,64 +1,106 @@
|
|||||||
{
|
{
|
||||||
"aliasColors": {},
|
"id": 2239,
|
||||||
"bars": false,
|
|
||||||
"maxDataPoints": 750,
|
|
||||||
"interval": "30s",
|
|
||||||
"cacheTimeout": null,
|
|
||||||
"dashLength": 10,
|
|
||||||
"dashes": false,
|
|
||||||
"datasource": "InfluxDB",
|
|
||||||
"fieldConfig": {
|
|
||||||
"defaults": {
|
|
||||||
"unit": "s"
|
|
||||||
},
|
|
||||||
"overrides": []
|
|
||||||
},
|
|
||||||
"fill": 1,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.stenographer_pcap_retention_graph.gridPos.x }},
|
"x": {{ PANELS.stenographer_pcap_retention_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.stenographer_pcap_retention_graph.gridPos.y }},
|
"y": {{ PANELS.stenographer_pcap_retention_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.stenographer_pcap_retention_graph.gridPos.w }},
|
"w": {{ PANELS.stenographer_pcap_retention_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.stenographer_pcap_retention_graph.gridPos.h }}
|
"h": {{ PANELS.stenographer_pcap_retention_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"hiddenSeries": false,
|
"type": "timeseries",
|
||||||
"id": 2239,
|
"title": "Stenographer PCAP Retention",
|
||||||
"legend": {
|
"datasource": "InfluxDB",
|
||||||
"avg": false,
|
"pluginVersion": "8.2.1",
|
||||||
"current": false,
|
"maxDataPoints": 750,
|
||||||
"max": false,
|
"interval": "30s",
|
||||||
"min": false,
|
|
||||||
"show": false,
|
|
||||||
"total": false,
|
|
||||||
"values": false
|
|
||||||
},
|
|
||||||
"lines": true,
|
|
||||||
"linewidth": 1,
|
|
||||||
"links": [],
|
"links": [],
|
||||||
"nullPointMode": "connected",
|
"fieldConfig": {
|
||||||
"options": {
|
"defaults": {
|
||||||
"alertThreshold": true
|
"custom": {
|
||||||
|
"drawStyle": "line",
|
||||||
|
"lineInterpolation": "linear",
|
||||||
|
"barAlignment": 0,
|
||||||
|
"lineWidth": 1,
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"spanNulls": true,
|
||||||
|
"showPoints": "never",
|
||||||
|
"pointSize": 5,
|
||||||
|
"stacking": {
|
||||||
|
"mode": "none",
|
||||||
|
"group": "A"
|
||||||
|
},
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"axisLabel": "",
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"hideFrom": {
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false,
|
||||||
|
"legend": false
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"unit": "s",
|
||||||
|
"decimals": 2
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"matcher": {
|
||||||
|
"id": "byRegexp",
|
||||||
|
"options": "/Trend/"
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"id": "custom.fillOpacity",
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "custom.lineWidth",
|
||||||
|
"value": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "custom.lineStyle",
|
||||||
|
"value": {
|
||||||
|
"fill": "dash",
|
||||||
|
"dash": [
|
||||||
|
4,
|
||||||
|
10
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"percentage": false,
|
"options": {
|
||||||
"pluginVersion": "7.5.4",
|
"tooltip": {
|
||||||
"pointradius": 2,
|
"mode": "single"
|
||||||
"points": false,
|
},
|
||||||
"renderer": "flot",
|
"legend": {
|
||||||
"seriesOverrides": [
|
"displayMode": "hidden",
|
||||||
{
|
"placement": "bottom",
|
||||||
"alias": "/Trend/",
|
"calcs": []
|
||||||
"dashLength": 4,
|
|
||||||
"dashes": true,
|
|
||||||
"fill": 0,
|
|
||||||
"linewidth": 4
|
|
||||||
}
|
}
|
||||||
],
|
},
|
||||||
"spaceLength": 10,
|
|
||||||
"stack": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "Oldest Pcap Current",
|
"alias": "$tag_host: Oldest Pcap Current",
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -67,6 +109,12 @@
|
|||||||
],
|
],
|
||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -96,13 +144,13 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alias": "Oldest Pcap Trend",
|
"alias": "$tag_host: Oldest Pcap Trend",
|
||||||
"dsType": "influxdb",
|
"dsType": "influxdb",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
@@ -111,6 +159,12 @@
|
|||||||
],
|
],
|
||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -141,51 +195,13 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
"cacheTimeout": null,
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeRegions": [],
|
"timeShift": null
|
||||||
"timeShift": null,
|
|
||||||
"title": "Stenographer PCAP Retention",
|
|
||||||
"tooltip": {
|
|
||||||
"shared": true,
|
|
||||||
"sort": 0,
|
|
||||||
"value_type": "individual"
|
|
||||||
},
|
|
||||||
"type": "graph",
|
|
||||||
"xaxis": {
|
|
||||||
"buckets": null,
|
|
||||||
"mode": "time",
|
|
||||||
"name": null,
|
|
||||||
"show": true,
|
|
||||||
"values": []
|
|
||||||
},
|
|
||||||
"yaxes": [
|
|
||||||
{
|
|
||||||
"decimals": 2,
|
|
||||||
"format": "s",
|
|
||||||
"label": "",
|
|
||||||
"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
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,53 +1,87 @@
|
|||||||
{
|
{
|
||||||
"type": "graph",
|
"id": 68999,
|
||||||
"title": "Container Uptime Trend",
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.uptime_docker_combined_trend_graph.gridPos.x }},
|
"x": {{ PANELS.uptime_docker_combined_trend_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.uptime_docker_combined_trend_graph.gridPos.y }},
|
"y": {{ PANELS.uptime_docker_combined_trend_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.uptime_docker_combined_trend_graph.gridPos.w }},
|
"w": {{ PANELS.uptime_docker_combined_trend_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.uptime_docker_combined_trend_graph.gridPos.h }}
|
"h": {{ PANELS.uptime_docker_combined_trend_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"id": 68999,
|
"type": "graph",
|
||||||
|
"title": "Container Uptime Trend",
|
||||||
|
"datasource": "InfluxDB",
|
||||||
|
"thresholds": [
|
||||||
|
{
|
||||||
|
"$$hashKey": "object:1299",
|
||||||
|
"colorMode": "critical",
|
||||||
|
"fill": false,
|
||||||
|
"line": true,
|
||||||
|
"op": "lt",
|
||||||
|
"value": 4500000000000,
|
||||||
|
"yaxis": "left"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"pluginVersion": "8.2.1",
|
||||||
|
"legend": {
|
||||||
|
"alignAsTable": true,
|
||||||
|
"avg": false,
|
||||||
|
"current": true,
|
||||||
|
"max": false,
|
||||||
|
"min": false,
|
||||||
|
"rightSide": true,
|
||||||
|
"show": true,
|
||||||
|
"sort": "current",
|
||||||
|
"sortDesc": false,
|
||||||
|
"total": false,
|
||||||
|
"values": true
|
||||||
|
},
|
||||||
|
"aliasColors": {},
|
||||||
|
"dashLength": 10,
|
||||||
|
"decimals": 1,
|
||||||
|
"lines": true,
|
||||||
|
"linewidth": 1,
|
||||||
|
"nullPointMode": "connected",
|
||||||
|
"options": {
|
||||||
|
"alertThreshold": true
|
||||||
|
},
|
||||||
|
"pointradius": 2,
|
||||||
|
"renderer": "flot",
|
||||||
|
"seriesOverrides": [],
|
||||||
|
"spaceLength": 10,
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"refId": "A",
|
"alias": "$tag_host: $tag_container_name",
|
||||||
"queryType": "randomWalk",
|
|
||||||
"policy": "so_long_term",
|
|
||||||
"resultFormat": "time_series",
|
|
||||||
"orderByTime": "ASC",
|
|
||||||
"tags": [
|
|
||||||
{
|
|
||||||
"key": "host",
|
|
||||||
"operator": "=~",
|
|
||||||
"value": "/^$servername$/"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"condition": "AND",
|
|
||||||
"key": "container_name",
|
|
||||||
"operator": "=~",
|
|
||||||
"value": "/^$containers$/"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
"type": "time",
|
|
||||||
"params": [
|
"params": [
|
||||||
"$__interval"
|
"$__interval"
|
||||||
]
|
],
|
||||||
|
"type": "time"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"params": [
|
||||||
|
"container_name"
|
||||||
|
],
|
||||||
|
"type": "tag"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "tag",
|
"type": "tag",
|
||||||
"params": [
|
"params": [
|
||||||
"container_name"
|
"host"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "fill",
|
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
]
|
],
|
||||||
|
"type": "fill"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"measurement": "docker_container_status",
|
||||||
|
"orderByTime": "ASC",
|
||||||
|
"policy": "so_long_term",
|
||||||
|
"queryType": "randomWalk",
|
||||||
|
"refId": "A",
|
||||||
|
"resultFormat": "time_series",
|
||||||
"select": [
|
"select": [
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
@@ -62,98 +96,70 @@
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"measurement": "docker_container_status",
|
"tags": [
|
||||||
"alias": "$tag_container_name"
|
{
|
||||||
|
"key": "host",
|
||||||
|
"operator": "=~",
|
||||||
|
"value": "/^$servername$/"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"condition": "AND",
|
||||||
|
"key": "container_name",
|
||||||
|
"operator": "=~",
|
||||||
|
"value": "/^$containers$/"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"options": {
|
"timeRegions": [],
|
||||||
"alertThreshold": true
|
"tooltip": {
|
||||||
|
"shared": true,
|
||||||
|
"sort": 1,
|
||||||
|
"value_type": "individual"
|
||||||
},
|
},
|
||||||
"datasource": "InfluxDB",
|
|
||||||
"fieldConfig": {
|
|
||||||
"defaults": {},
|
|
||||||
"overrides": []
|
|
||||||
},
|
|
||||||
"pluginVersion": "7.5.4",
|
|
||||||
"renderer": "flot",
|
|
||||||
"yaxes": [
|
|
||||||
{
|
|
||||||
"label": null,
|
|
||||||
"show": true,
|
|
||||||
"logBase": 1,
|
|
||||||
"min": null,
|
|
||||||
"max": null,
|
|
||||||
"format": "ns",
|
|
||||||
"$$hashKey": "object:192"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"label": "",
|
|
||||||
"show": true,
|
|
||||||
"logBase": 1,
|
|
||||||
"min": "0",
|
|
||||||
"max": null,
|
|
||||||
"format": "short",
|
|
||||||
"$$hashKey": "object:193",
|
|
||||||
"decimals": 2
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"xaxis": {
|
"xaxis": {
|
||||||
"show": true,
|
"buckets": null,
|
||||||
"mode": "time",
|
"mode": "time",
|
||||||
"name": null,
|
"name": null,
|
||||||
"values": [],
|
"show": true,
|
||||||
"buckets": null
|
"values": []
|
||||||
},
|
},
|
||||||
|
"yaxes": [
|
||||||
|
{
|
||||||
|
"$$hashKey": "object:192",
|
||||||
|
"format": "ns",
|
||||||
|
"label": null,
|
||||||
|
"logBase": 1,
|
||||||
|
"max": "604800000000000",
|
||||||
|
"min": null,
|
||||||
|
"show": true,
|
||||||
|
"decimals": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$$hashKey": "object:193",
|
||||||
|
"decimals": 2,
|
||||||
|
"format": "short",
|
||||||
|
"label": "",
|
||||||
|
"logBase": 1,
|
||||||
|
"max": null,
|
||||||
|
"min": "0",
|
||||||
|
"show": false
|
||||||
|
}
|
||||||
|
],
|
||||||
"yaxis": {
|
"yaxis": {
|
||||||
"align": false,
|
"align": false,
|
||||||
"alignLevel": null
|
"alignLevel": null
|
||||||
},
|
},
|
||||||
"lines": true,
|
"interval": "30s",
|
||||||
"linewidth": 1,
|
|
||||||
"dashLength": 10,
|
|
||||||
"spaceLength": 10,
|
|
||||||
"pointradius": 2,
|
|
||||||
"legend": {
|
|
||||||
"show": false,
|
|
||||||
"values": true,
|
|
||||||
"min": false,
|
|
||||||
"max": false,
|
|
||||||
"current": true,
|
|
||||||
"total": false,
|
|
||||||
"avg": false,
|
|
||||||
"alignAsTable": true,
|
|
||||||
"rightSide": true
|
|
||||||
},
|
|
||||||
"nullPointMode": "connected",
|
|
||||||
"tooltip": {
|
|
||||||
"value_type": "individual",
|
|
||||||
"shared": true,
|
|
||||||
"sort": 1
|
|
||||||
},
|
|
||||||
"aliasColors": {},
|
|
||||||
"seriesOverrides": [],
|
|
||||||
"thresholds": [
|
|
||||||
{
|
|
||||||
"value": 4500000000000,
|
|
||||||
"colorMode": "critical",
|
|
||||||
"op": "lt",
|
|
||||||
"fill": false,
|
|
||||||
"line": true,
|
|
||||||
"yaxis": "left",
|
|
||||||
"$$hashKey": "object:1299"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"timeRegions": [],
|
|
||||||
"decimals": 2,
|
|
||||||
"fill": 0,
|
|
||||||
"timeFrom": null,
|
|
||||||
"timeShift": null,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"dashes": false,
|
|
||||||
"hiddenSeries": false,
|
|
||||||
"points": false,
|
|
||||||
"bars": false,
|
"bars": false,
|
||||||
"stack": false,
|
"dashes": false,
|
||||||
|
"fill": 0,
|
||||||
|
"fillGradient": 0,
|
||||||
|
"hiddenSeries": false,
|
||||||
"percentage": false,
|
"percentage": false,
|
||||||
"steppedLine": false
|
"points": false,
|
||||||
|
"stack": false,
|
||||||
|
"steppedLine": false,
|
||||||
|
"timeFrom": null,
|
||||||
|
"timeShift": null
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,67 +1,109 @@
|
|||||||
{
|
{
|
||||||
"aliasColors": {},
|
"id": 71,
|
||||||
"bars": false,
|
|
||||||
"maxDataPoints": 750,
|
|
||||||
"interval": "30s",
|
|
||||||
"dashLength": 10,
|
|
||||||
"dashes": false,
|
|
||||||
"datasource": "InfluxDB",
|
|
||||||
"fieldConfig": {
|
|
||||||
"defaults": {
|
|
||||||
"links": []
|
|
||||||
},
|
|
||||||
"overrides": []
|
|
||||||
},
|
|
||||||
"fill": 1,
|
|
||||||
"fillGradient": 0,
|
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"x": {{ PANELS.zeek_capture_loss_graph.gridPos.x }},
|
"x": {{ PANELS.zeek_capture_loss_graph.gridPos.x }},
|
||||||
"y": {{ PANELS.zeek_capture_loss_graph.gridPos.y }},
|
"y": {{ PANELS.zeek_capture_loss_graph.gridPos.y }},
|
||||||
"w": {{ PANELS.zeek_capture_loss_graph.gridPos.w }},
|
"w": {{ PANELS.zeek_capture_loss_graph.gridPos.w }},
|
||||||
"h": {{ PANELS.zeek_capture_loss_graph.gridPos.h }}
|
"h": {{ PANELS.zeek_capture_loss_graph.gridPos.h }}
|
||||||
},
|
},
|
||||||
"hiddenSeries": false,
|
"type": "timeseries",
|
||||||
"id": 71,
|
"title": "Capture Loss",
|
||||||
"legend": {
|
"datasource": "InfluxDB",
|
||||||
"alignAsTable": true,
|
"pluginVersion": "8.2.1",
|
||||||
"avg": true,
|
"interval": "30s",
|
||||||
"current": true,
|
"fieldConfig": {
|
||||||
"hideEmpty": true,
|
"defaults": {
|
||||||
"max": true,
|
"custom": {
|
||||||
"min": false,
|
"drawStyle": "line",
|
||||||
"rightSide": false,
|
"lineInterpolation": "linear",
|
||||||
"show": true,
|
"barAlignment": 0,
|
||||||
"sort": "current",
|
"lineWidth": 1,
|
||||||
"sortDesc": true,
|
"fillOpacity": 10,
|
||||||
"total": false,
|
"gradientMode": "none",
|
||||||
"values": true
|
"spanNulls": true,
|
||||||
|
"showPoints": "auto",
|
||||||
|
"pointSize": 6,
|
||||||
|
"stacking": {
|
||||||
|
"mode": "none",
|
||||||
|
"group": "A"
|
||||||
|
},
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"axisLabel": "",
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"hideFrom": {
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false,
|
||||||
|
"legend": false
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mappings": [],
|
||||||
|
"links": [],
|
||||||
|
"unit": "percent",
|
||||||
|
"decimals": 1,
|
||||||
|
"min": 0
|
||||||
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"matcher": {
|
||||||
|
"id": "byRegexp",
|
||||||
|
"options": "/Trend/"
|
||||||
|
},
|
||||||
|
"properties": [
|
||||||
|
{
|
||||||
|
"id": "custom.fillOpacity",
|
||||||
|
"value": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "custom.lineWidth",
|
||||||
|
"value": 4
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "custom.lineStyle",
|
||||||
|
"value": {
|
||||||
|
"fill": "dash",
|
||||||
|
"dash": [
|
||||||
|
4,
|
||||||
|
10
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"lines": true,
|
|
||||||
"linewidth": 1,
|
|
||||||
"nullPointMode": "connected",
|
|
||||||
"options": {
|
"options": {
|
||||||
"alertThreshold": true
|
"tooltip": {
|
||||||
},
|
"mode": "single"
|
||||||
"percentage": false,
|
},
|
||||||
"pluginVersion": "7.5.4",
|
"legend": {
|
||||||
"pointradius": 2,
|
"displayMode": "table",
|
||||||
"points": true,
|
"placement": "right",
|
||||||
"renderer": "flot",
|
"calcs": [
|
||||||
"seriesOverrides": [
|
"mean",
|
||||||
{
|
"lastNotNull"
|
||||||
"alias": "/Trend/",
|
]
|
||||||
"dashLength": 4,
|
|
||||||
"dashes": true,
|
|
||||||
"fill": 0,
|
|
||||||
"linewidth": 4
|
|
||||||
}
|
}
|
||||||
],
|
},
|
||||||
"spaceLength": 10,
|
|
||||||
"stack": false,
|
|
||||||
"steppedLine": false,
|
|
||||||
"targets": [
|
"targets": [
|
||||||
{
|
{
|
||||||
"alias": "Loss Current",
|
"alias": "$tag_host: Loss Current",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
@@ -69,6 +111,12 @@
|
|||||||
],
|
],
|
||||||
"type": "time"
|
"type": "time"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "tag",
|
||||||
|
"params": [
|
||||||
|
"host"
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
"null"
|
"null"
|
||||||
@@ -98,13 +146,13 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"alias": "Loss Trend",
|
"alias": "$tag_host: Loss Trend",
|
||||||
"groupBy": [
|
"groupBy": [
|
||||||
{
|
{
|
||||||
"params": [
|
"params": [
|
||||||
@@ -142,51 +190,13 @@
|
|||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"key": "host",
|
"key": "host",
|
||||||
"operator": "=",
|
"operator": "=~",
|
||||||
"value": "$servername"
|
"value": "/^$servername$/"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": [],
|
"maxDataPoints": null,
|
||||||
"timeFrom": null,
|
"timeFrom": null,
|
||||||
"timeRegions": [],
|
"timeShift": null
|
||||||
"timeShift": null,
|
|
||||||
"title": "Capture Loss",
|
|
||||||
"tooltip": {
|
|
||||||
"shared": true,
|
|
||||||
"sort": 0,
|
|
||||||
"value_type": "individual"
|
|
||||||
},
|
|
||||||
"type": "graph",
|
|
||||||
"xaxis": {
|
|
||||||
"buckets": null,
|
|
||||||
"mode": "time",
|
|
||||||
"name": null,
|
|
||||||
"show": true,
|
|
||||||
"values": []
|
|
||||||
},
|
|
||||||
"yaxes": [
|
|
||||||
{
|
|
||||||
"decimals": 1,
|
|
||||||
"format": "percent",
|
|
||||||
"label": "",
|
|
||||||
"logBase": 1,
|
|
||||||
"max": null,
|
|
||||||
"min": 0,
|
|
||||||
"show": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"format": "short",
|
|
||||||
"label": null,
|
|
||||||
"logBase": 1,
|
|
||||||
"max": null,
|
|
||||||
"min": null,
|
|
||||||
"show": false
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"yaxis": {
|
|
||||||
"align": false,
|
|
||||||
"alignLevel": null
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user