1
0
forked from c3d2/nix-config

grafana: fix, microvmify

This commit is contained in:
Astro 2022-06-18 02:09:33 +02:00
parent 31f7e440f4
commit b8a672f653
23 changed files with 18398 additions and 18935 deletions

View File

@ -482,7 +482,7 @@
grafana = nixosSystem' { grafana = nixosSystem' {
modules = [ modules = [
./config/lxc-container.nix self.nixosModules.microvm
./hosts/containers/grafana ./hosts/containers/grafana
]; ];
}; };

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,374 +1,348 @@
{ {
"meta": { "annotations": {
"isStarred": true, "list": [
"type": "db",
"canSave": true,
"canEdit": true,
"canAdmin": true,
"canStar": true,
"slug": "upstream-pings",
"url": "/d/5PIhLQ3Mk/upstream-pings",
"expires": "0001-01-01T00:00:00Z",
"created": "2021-05-27T14:35:55+02:00",
"updated": "2021-05-27T14:35:55+02:00",
"updatedBy": "root",
"createdBy": "root",
"version": 1,
"hasAcl": false,
"isFolder": false,
"folderId": 0,
"folderUid": "",
"folderTitle": "General",
"folderUrl": "",
"provisioned": false,
"provisionedExternalId": ""
},
"dashboard": {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": 15,
"links": [],
"panels": [
{ {
"aliasColors": {}, "builtIn": 1,
"bars": false, "datasource": "-- Grafana --",
"dashLength": 10, "enable": true,
"dashes": false, "hide": true,
"datasource": null, "iconColor": "rgba(0, 211, 255, 1)",
"decimals": 1, "name": "Annotations & Alerts",
"description": "", "type": "dashboard"
"fieldConfig": { }
"defaults": {}, ]
"overrides": [] },
}, "editable": true,
"fill": 1, "gnetId": null,
"fillGradient": 0, "graphTooltip": 0,
"gridPos": { "hideControls": false,
"h": 9, "id": 15,
"w": 24, "links": [],
"x": 0, "panels": [
"y": 0 {
}, "aliasColors": {},
"hiddenSeries": false, "bars": false,
"id": 2, "dashLength": 10,
"interval": "10", "dashes": false,
"legend": { "datasource": null,
"alignAsTable": true, "decimals": 1,
"avg": true, "description": "",
"current": false, "fieldConfig": {
"max": true, "defaults": {},
"min": true, "overrides": []
"rightSide": true, },
"show": true, "fill": 1,
"total": false, "fillGradient": 0,
"values": true "gridPos": {
}, "h": 9,
"lines": true, "w": 24,
"linewidth": 1, "x": 0,
"nullPointMode": "connected", "y": 0
"options": { },
"alertThreshold": true "hiddenSeries": false,
}, "id": 2,
"percentage": false, "interval": "10",
"pluginVersion": "7.5.7", "legend": {
"pointradius": 2, "alignAsTable": true,
"points": false, "avg": true,
"renderer": "flot", "current": false,
"seriesOverrides": [], "max": true,
"spaceLength": 10, "min": true,
"stack": false, "rightSide": true,
"steppedLine": false, "show": true,
"targets": [ "total": false,
{ "values": true
"alias": "$tag_host $tag_type_instance", },
"groupBy": [ "lines": true,
{ "linewidth": 1,
"params": [ "nullPointMode": "connected",
"$__interval" "options": {
], "alertThreshold": true
"type": "time" },
}, "percentage": false,
{ "pluginVersion": "7.5.7",
"params": [ "pointradius": 2,
"host" "points": false,
], "renderer": "flot",
"type": "tag" "seriesOverrides": [],
}, "spaceLength": 10,
{ "stack": false,
"params": [ "steppedLine": false,
"type" "targets": [
], {
"type": "tag" "alias": "$tag_host $tag_type_instance",
}, "groupBy": [
{ {
"params": [ "params": [
"type_instance" "$__interval"
], ],
"type": "tag" "type": "time"
}, },
{ {
"params": [ "params": [
"null" "host"
], ],
"type": "fill" "type": "tag"
} },
], {
"measurement": "ping_value", "params": [
"orderByTime": "ASC", "type"
"policy": "default", ],
"refId": "A", "type": "tag"
"resultFormat": "time_series", },
"select": [ {
[ "params": [
{ "type_instance"
"params": [ ],
"value" "type": "tag"
], },
"type": "field" {
}, "params": [
{ "null"
"params": [], ],
"type": "median" "type": "fill"
} }
] ],
], "measurement": "ping_value",
"tags": [ "orderByTime": "ASC",
{ "policy": "default",
"key": "type", "refId": "A",
"operator": "=", "resultFormat": "time_series",
"value": "ping" "select": [
} [
] {
} "params": [
], "value"
"thresholds": [], ],
"timeFrom": null, "type": "field"
"timeRegions": [], },
"timeShift": null, {
"title": "Ping RTT", "params": [],
"tooltip": { "type": "median"
"shared": true, }
"sort": 0, ]
"value_type": "individual" ],
}, "tags": [
"type": "graph", {
"xaxis": { "key": "type",
"buckets": null, "operator": "=",
"mode": "time", "value": "ping"
"name": null, }
"show": true, ]
"values": [] }
}, ],
"yaxes": [ "thresholds": [],
{ "timeFrom": null,
"$$hashKey": "object:56", "timeRegions": [],
"format": "ms", "timeShift": null,
"label": null, "title": "Ping RTT",
"logBase": 1, "tooltip": {
"max": null, "shared": true,
"min": null, "sort": 0,
"show": true "value_type": "individual"
}, },
{ "type": "graph",
"$$hashKey": "object:57", "xaxis": {
"format": "short", "buckets": null,
"label": null, "mode": "time",
"logBase": 1, "name": null,
"max": null, "show": true,
"min": null, "values": []
"show": true },
} "yaxes": [
], {
"yaxis": { "$$hashKey": "object:56",
"align": false, "format": "ms",
"alignLevel": null "label": null,
} "logBase": 1,
}, "max": null,
{ "min": null,
"aliasColors": {}, "show": true
"bars": false, },
"dashLength": 10, {
"dashes": false, "$$hashKey": "object:57",
"datasource": null, "format": "short",
"decimals": 1, "label": null,
"description": "", "logBase": 1,
"fieldConfig": { "max": null,
"defaults": {}, "min": null,
"overrides": [] "show": true
}, }
"fill": 1, ],
"fillGradient": 0, "yaxis": {
"gridPos": { "align": false,
"h": 9, "alignLevel": null
"w": 24,
"x": 0,
"y": 9
},
"hiddenSeries": false,
"id": 3,
"interval": "10",
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.7",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host $tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"type"
],
"type": "tag"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "ping_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "median"
}
]
],
"tags": [
{
"key": "type",
"operator": "=",
"value": "ping_droprate"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Ping Droprate",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:56",
"format": "percentunit",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:57",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
} }
],
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": []
}, },
"time": { {
"from": "now-2d", "aliasColors": {},
"to": "now" "bars": false,
}, "dashLength": 10,
"timepicker": {}, "dashes": false,
"timezone": "", "datasource": null,
"title": "Upstream Pings", "decimals": 1,
"uid": "5PIhLQ3Mk", "description": "",
"version": 1 "fieldConfig": {
} "defaults": {},
"overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 9
},
"hiddenSeries": false,
"id": 3,
"interval": "10",
"legend": {
"alignAsTable": true,
"avg": true,
"current": false,
"max": true,
"min": true,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "connected",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.7",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host $tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"type"
],
"type": "tag"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "ping_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "median"
}
]
],
"tags": [
{
"key": "type",
"operator": "=",
"value": "ping_droprate"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Ping Droprate",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:56",
"format": "percentunit",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:57",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-2d",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Upstream Pings",
"uid": "5PIhLQ3Mk",
"version": 1
} }

File diff suppressed because it is too large Load Diff

View File

@ -1,504 +1,479 @@
{ {
"meta": { "annotations": {
"type": "db", "list": [
"canSave": true, {
"canEdit": true, "builtIn": 1,
"canAdmin": true, "datasource": "-- Grafana --",
"canStar": true, "enable": true,
"slug": "nncp", "hide": true,
"url": "/d/9DXyfVb7k/nncp", "iconColor": "rgba(0, 211, 255, 1)",
"expires": "0001-01-01T00:00:00Z", "name": "Annotations & Alerts",
"created": "2022-01-23T17:32:04+01:00", "target": {
"updated": "2022-03-15T03:56:39+01:00", "limit": 100,
"updatedBy": "root", "matchAny": false,
"createdBy": "root", "tags": [],
"version": 10,
"hasAcl": false,
"isFolder": false,
"folderId": 2,
"folderUid": "2EG-P3Qiz",
"folderTitle": "HQ",
"folderUrl": "/dashboards/f/2EG-P3Qiz/hq",
"provisioned": false,
"provisionedExternalId": ""
},
"dashboard": {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard" "type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 22,
"links": [],
"liveNow": false,
"panels": [
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-RdYlGr"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 0,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "packets"
},
"overrides": []
}, },
"gridPos": { "type": "dashboard"
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 14,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"alias": "RX $tag_instance",
"datasource": {
"type": "influxdb",
"uid": "000000001"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "nncp"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "pending_operations"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=",
"value": "tx"
}
]
},
{
"alias": "TX $tag_instance",
"datasource": {
"type": "influxdb",
"uid": "000000001"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"* -1"
],
"type": "math"
}
]
],
"tags": [
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "nncp"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "pending_operations"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=",
"value": "rx"
}
]
}
],
"title": "Spooled Packets",
"type": "timeseries"
},
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-RdYlGr"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 2,
"pointSize": 0,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"alias": "RX $tag_instance",
"datasource": {
"type": "influxdb",
"uid": "000000001"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "nncp"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "bytes"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=",
"value": "tx"
}
]
},
{
"alias": "TX $tag_instance",
"datasource": {
"type": "influxdb",
"uid": "000000001"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"* -1"
],
"type": "math"
}
]
],
"tags": [
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "nncp"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "bytes"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=",
"value": "rx"
}
]
}
],
"title": "Spooled Bytes",
"type": "timeseries"
} }
], ]
"refresh": "1m", },
"schemaVersion": 35, "editable": true,
"style": "dark", "fiscalYearStartMonth": 0,
"tags": [], "graphTooltip": 0,
"templating": { "id": 22,
"list": [] "links": [],
"liveNow": false,
"panels": [
{
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-RdYlGr"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineWidth": 2,
"pointSize": 0,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "packets"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 0
},
"id": 14,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"alias": "RX $tag_instance",
"datasource": {
"type": "influxdb",
"uid": "000000001"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "nncp"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "pending_operations"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=",
"value": "tx"
}
]
},
{
"alias": "TX $tag_instance",
"datasource": {
"type": "influxdb",
"uid": "000000001"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"* -1"
],
"type": "math"
}
]
],
"tags": [
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "nncp"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "pending_operations"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=",
"value": "rx"
}
]
}
],
"title": "Spooled Packets",
"type": "timeseries"
}, },
"time": { {
"from": "now-7d", "fieldConfig": {
"to": "now" "defaults": {
}, "color": {
"timepicker": {}, "mode": "continuous-RdYlGr"
"timezone": "", },
"title": "NNCP", "custom": {
"uid": "9DXyfVb7k", "axisLabel": "",
"version": 10, "axisPlacement": "auto",
"weekStart": "" "barAlignment": 0,
} "drawStyle": "line",
"fillOpacity": 50,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 2,
"pointSize": 0,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "bytes"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 8
},
"id": 12,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"alias": "RX $tag_instance",
"datasource": {
"type": "influxdb",
"uid": "000000001"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "nncp"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "bytes"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=",
"value": "tx"
}
]
},
{
"alias": "TX $tag_instance",
"datasource": {
"type": "influxdb",
"uid": "000000001"
},
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"none"
],
"type": "fill"
}
],
"hide": false,
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"* -1"
],
"type": "math"
}
]
],
"tags": [
{
"condition": "AND",
"key": "instance",
"operator": "=",
"value": "nncp"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "bytes"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=",
"value": "rx"
}
]
}
],
"title": "Spooled Bytes",
"type": "timeseries"
}
],
"refresh": "1m",
"schemaVersion": 35,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-7d",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "NNCP",
"uid": "9DXyfVb7k",
"version": 10,
"weekStart": ""
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,349 +1,323 @@
{ {
"meta": { "annotations": {
"isStarred": true, "list": [
"type": "db",
"canSave": true,
"canEdit": true,
"canAdmin": true,
"canStar": true,
"slug": "impftermine",
"url": "/d/RaXiELwGz/impftermine",
"expires": "0001-01-01T00:00:00Z",
"created": "2021-03-24T21:11:44+01:00",
"updated": "2021-06-10T00:35:52+02:00",
"updatedBy": "root",
"createdBy": "root",
"version": 4,
"hasAcl": false,
"isFolder": false,
"folderId": 0,
"folderUid": "",
"folderTitle": "General",
"folderUrl": "",
"provisioned": false,
"provisionedExternalId": ""
},
"dashboard": {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 13,
"links": [],
"panels": [
{ {
"aliasColors": {}, "builtIn": 1,
"bars": false, "datasource": "-- Grafana --",
"dashLength": 10, "enable": true,
"dashes": false, "hide": true,
"datasource": "InfluxDB imfpee", "iconColor": "rgba(0, 211, 255, 1)",
"description": "", "name": "Annotations & Alerts",
"fieldConfig": { "type": "dashboard"
"defaults": {}, }
"overrides": [] ]
}, },
"fill": 1, "editable": true,
"fillGradient": 0, "gnetId": null,
"gridPos": { "graphTooltip": 0,
"h": 16, "id": 13,
"w": 24, "links": [],
"x": 0, "panels": [
"y": 0 {
}, "aliasColors": {},
"hiddenSeries": false, "bars": false,
"id": 2, "dashLength": 10,
"interval": "1m", "dashes": false,
"legend": { "datasource": "InfluxDB imfpee",
"avg": false, "description": "",
"current": false, "fieldConfig": {
"max": false, "defaults": {},
"min": false, "overrides": []
"show": true, },
"total": false, "fill": 1,
"values": false "fillGradient": 0,
}, "gridPos": {
"lines": true, "h": 16,
"linewidth": 1, "w": 24,
"nullPointMode": "null", "x": 0,
"options": { "y": 0
"alertThreshold": true },
}, "hiddenSeries": false,
"percentage": false, "id": 2,
"pluginVersion": "7.5.7", "interval": "1m",
"pointradius": 2, "legend": {
"points": false, "avg": false,
"renderer": "flot", "current": false,
"seriesOverrides": [], "max": false,
"spaceLength": 10, "min": false,
"stack": true, "show": true,
"steppedLine": false, "total": false,
"targets": [ "values": false
{ },
"alias": "$tag_name", "lines": true,
"groupBy": [ "linewidth": 1,
{ "nullPointMode": "null",
"params": [ "options": {
"$__interval" "alertThreshold": true
], },
"type": "time" "percentage": false,
}, "pluginVersion": "7.5.7",
{ "pointradius": 2,
"params": [ "points": false,
"slug" "renderer": "flot",
], "seriesOverrides": [],
"type": "tag" "spaceLength": 10,
}, "stack": true,
{ "steppedLine": false,
"params": [ "targets": [
"name" {
], "alias": "$tag_name",
"type": "tag" "groupBy": [
}, {
{ "params": [
"params": [ "$__interval"
"null" ],
], "type": "time"
"type": "fill" },
} {
], "params": [
"measurement": "iz", "slug"
"orderByTime": "ASC", ],
"policy": "default", "type": "tag"
"refId": "A", },
"resultFormat": "time_series", {
"select": [ "params": [
[ "name"
{ ],
"params": [ "type": "tag"
"sum" },
], {
"type": "field" "params": [
}, "null"
{ ],
"params": [], "type": "fill"
"type": "mean" }
} ],
] "measurement": "iz",
], "orderByTime": "ASC",
"tags": [] "policy": "default",
} "refId": "A",
], "resultFormat": "time_series",
"thresholds": [], "select": [
"timeFrom": null, [
"timeRegions": [], {
"timeShift": null, "params": [
"title": "Verfügbare Impftermine", "sum"
"tooltip": { ],
"shared": true, "type": "field"
"sort": 0, },
"value_type": "individual" {
}, "params": [],
"type": "graph", "type": "mean"
"xaxis": { }
"buckets": null, ]
"mode": "time", ],
"name": null, "tags": []
"show": true, }
"values": [] ],
}, "thresholds": [],
"yaxes": [ "timeFrom": null,
{ "timeRegions": [],
"$$hashKey": "object:55", "timeShift": null,
"decimals": 0, "title": "Verfügbare Impftermine",
"format": "short", "tooltip": {
"label": "", "shared": true,
"logBase": 1, "sort": 0,
"max": null, "value_type": "individual"
"min": "0", },
"show": true "type": "graph",
}, "xaxis": {
{ "buckets": null,
"$$hashKey": "object:56", "mode": "time",
"format": "short", "name": null,
"label": null, "show": true,
"logBase": 1, "values": []
"max": null, },
"min": null, "yaxes": [
"show": true {
} "$$hashKey": "object:55",
], "decimals": 0,
"yaxis": { "format": "short",
"align": false, "label": "",
"alignLevel": null "logBase": 1,
} "max": null,
}, "min": "0",
{ "show": true
"aliasColors": {}, },
"bars": true, {
"dashLength": 10, "$$hashKey": "object:56",
"dashes": false, "format": "short",
"datasource": "InfluxDB imfpee", "label": null,
"description": "", "logBase": 1,
"fieldConfig": { "max": null,
"defaults": {}, "min": null,
"overrides": [] "show": true
}, }
"fill": 1, ],
"fillGradient": 0, "yaxis": {
"gridPos": { "align": false,
"h": 16, "alignLevel": null
"w": 24,
"x": 0,
"y": 16
},
"hiddenSeries": false,
"id": 3,
"interval": "1h",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.7",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"slug"
],
"type": "tag"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "iz",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sum"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [],
"type": "difference"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Differenz Verfügbarer Impftermine",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:55",
"decimals": 0,
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:56",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
} }
],
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": []
}, },
"time": { {
"from": "now-24h", "aliasColors": {},
"to": "now" "bars": true,
}, "dashLength": 10,
"timepicker": {}, "dashes": false,
"timezone": "", "datasource": "InfluxDB imfpee",
"title": "Impftermine", "description": "",
"uid": "RaXiELwGz", "fieldConfig": {
"version": 4 "defaults": {},
} "overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 16,
"w": 24,
"x": 0,
"y": 16
},
"hiddenSeries": false,
"id": 3,
"interval": "1h",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": false,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.7",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"slug"
],
"type": "tag"
},
{
"params": [
"name"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "iz",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"sum"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [],
"type": "difference"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Differenz Verfügbarer Impftermine",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:55",
"decimals": 0,
"format": "short",
"label": "",
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:56",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-24h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Impftermine",
"uid": "RaXiELwGz",
"version": 4
} }

View File

@ -1,376 +1,350 @@
{ {
"meta": { "annotations": {
"isStarred": true, "list": [
"type": "db",
"canSave": true,
"canEdit": true,
"canAdmin": true,
"canStar": true,
"slug": "nginx",
"url": "/d/U6EKlHInz/nginx",
"expires": "0001-01-01T00:00:00Z",
"created": "2021-09-09T21:56:07+02:00",
"updated": "2021-09-09T22:19:17+02:00",
"updatedBy": "root",
"createdBy": "root",
"version": 2,
"hasAcl": false,
"isFolder": false,
"folderId": 2,
"folderUid": "2EG-P3Qiz",
"folderTitle": "HQ",
"folderUrl": "/dashboards/f/2EG-P3Qiz/hq",
"provisioned": false,
"provisionedExternalId": ""
},
"dashboard": {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 17,
"links": [],
"panels": [
{ {
"aliasColors": {}, "builtIn": 1,
"bars": false, "datasource": "-- Grafana --",
"dashLength": 10, "enable": true,
"dashes": false, "hide": true,
"datasource": null, "iconColor": "rgba(0, 211, 255, 1)",
"description": "", "name": "Annotations & Alerts",
"fieldConfig": { "type": "dashboard"
"defaults": {}, }
"overrides": [] ]
}, },
"fill": 1, "editable": true,
"fillGradient": 0, "gnetId": null,
"gridPos": { "graphTooltip": 0,
"h": 9, "id": 17,
"w": 24, "links": [],
"x": 0, "panels": [
"y": 0 {
}, "aliasColors": {},
"hiddenSeries": false, "bars": false,
"id": 4, "dashLength": 10,
"legend": { "dashes": false,
"avg": false, "datasource": null,
"current": false, "description": "",
"max": false, "fieldConfig": {
"min": false, "defaults": {},
"show": true, "overrides": []
"total": false, },
"values": false "fill": 1,
}, "fillGradient": 0,
"lines": true, "gridPos": {
"linewidth": 1, "h": 9,
"nullPointMode": "null", "w": 24,
"options": { "x": 0,
"alertThreshold": true "y": 0
}, },
"percentage": false, "hiddenSeries": false,
"pluginVersion": "7.5.10", "id": 4,
"pointradius": 2, "legend": {
"points": false, "avg": false,
"renderer": "flot", "current": false,
"seriesOverrides": [], "max": false,
"spaceLength": 10, "min": false,
"stack": true, "show": true,
"steppedLine": false, "total": false,
"targets": [ "values": false
{ },
"alias": "$tag_host $tag_type_instance", "lines": true,
"groupBy": [ "linewidth": 1,
{ "nullPointMode": "null",
"params": [ "options": {
"$__interval" "alertThreshold": true
], },
"type": "time" "percentage": false,
}, "pluginVersion": "7.5.10",
{ "pointradius": 2,
"params": [ "points": false,
"host" "renderer": "flot",
], "seriesOverrides": [],
"type": "tag" "spaceLength": 10,
}, "stack": true,
{ "steppedLine": false,
"params": [ "targets": [
"type_instance" {
], "alias": "$tag_host $tag_type_instance",
"type": "tag" "groupBy": [
}, {
{ "params": [
"params": [ "$__interval"
"null" ],
], "type": "time"
"type": "fill" },
} {
], "params": [
"measurement": "nginx_value", "host"
"orderByTime": "ASC", ],
"policy": "default", "type": "tag"
"refId": "A", },
"resultFormat": "time_series", {
"select": [ "params": [
[ "type_instance"
{ ],
"params": [ "type": "tag"
"value" },
], {
"type": "field" "params": [
}, "null"
{ ],
"params": [], "type": "fill"
"type": "mean" }
} ],
] "measurement": "nginx_value",
], "orderByTime": "ASC",
"tags": [ "policy": "default",
{ "refId": "A",
"key": "type", "resultFormat": "time_series",
"operator": "=", "select": [
"value": "nginx_connections" [
} {
] "params": [
} "value"
], ],
"thresholds": [], "type": "field"
"timeFrom": null, },
"timeRegions": [], {
"timeShift": null, "params": [],
"title": "Nginx connections", "type": "mean"
"tooltip": { }
"shared": true, ]
"sort": 0, ],
"value_type": "individual" "tags": [
}, {
"type": "graph", "key": "type",
"xaxis": { "operator": "=",
"buckets": null, "value": "nginx_connections"
"mode": "time", }
"name": null, ]
"show": true, }
"values": [] ],
}, "thresholds": [],
"yaxes": [ "timeFrom": null,
{ "timeRegions": [],
"$$hashKey": "object:1899", "timeShift": null,
"format": "short", "title": "Nginx connections",
"label": null, "tooltip": {
"logBase": 1, "shared": true,
"max": null, "sort": 0,
"min": null, "value_type": "individual"
"show": true },
}, "type": "graph",
{ "xaxis": {
"$$hashKey": "object:1900", "buckets": null,
"format": "short", "mode": "time",
"label": null, "name": null,
"logBase": 1, "show": true,
"max": null, "values": []
"min": null, },
"show": true "yaxes": [
} {
], "$$hashKey": "object:1899",
"yaxis": { "format": "short",
"align": false, "label": null,
"alignLevel": null "logBase": 1,
} "max": null,
}, "min": null,
{ "show": true
"aliasColors": {}, },
"bars": false, {
"dashLength": 10, "$$hashKey": "object:1900",
"dashes": false, "format": "short",
"datasource": null, "label": null,
"description": "", "logBase": 1,
"fieldConfig": { "max": null,
"defaults": {}, "min": null,
"overrides": [] "show": true
}, }
"fill": 1, ],
"fillGradient": 0, "yaxis": {
"gridPos": { "align": false,
"h": 11, "alignLevel": null
"w": 24,
"x": 0,
"y": 9
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.10",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:2111",
"alias": "/ accepted$/",
"color": "#8AB8FF"
},
{
"$$hashKey": "object:2119",
"alias": "/ handled$/",
"color": "#96D98D"
},
{
"$$hashKey": "object:2127",
"alias": "/ failed$/",
"color": "#F2495C"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host connections $tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "nginx_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "type",
"operator": "=",
"value": "connections"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Nginx connections",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1686",
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:1687",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
} }
],
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": []
}, },
"time": { {
"from": "now-6h", "aliasColors": {},
"to": "now" "bars": false,
}, "dashLength": 10,
"timepicker": {}, "dashes": false,
"timezone": "", "datasource": null,
"title": "Nginx", "description": "",
"uid": "U6EKlHInz", "fieldConfig": {
"version": 2 "defaults": {},
} "overrides": []
},
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 9
},
"hiddenSeries": false,
"id": 2,
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.10",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [
{
"$$hashKey": "object:2111",
"alias": "/ accepted$/",
"color": "#8AB8FF"
},
{
"$$hashKey": "object:2119",
"alias": "/ handled$/",
"color": "#96D98D"
},
{
"$$hashKey": "object:2127",
"alias": "/ failed$/",
"color": "#F2495C"
}
],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host connections $tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "nginx_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "type",
"operator": "=",
"value": "connections"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Nginx connections",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:1686",
"format": "reqps",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:1687",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Nginx",
"uid": "U6EKlHInz",
"version": 2
} }

View File

@ -1,500 +1,475 @@
{ {
"meta": { "annotations": {
"type": "db", "list": [
"canSave": true,
"canEdit": true,
"canAdmin": true,
"canStar": true,
"slug": "prosody",
"url": "/d/UX0rEpd7z/prosody",
"expires": "0001-01-01T00:00:00Z",
"created": "2021-10-19T02:18:41+02:00",
"updated": "2021-10-19T02:50:12+02:00",
"updatedBy": "root",
"createdBy": "root",
"version": 3,
"hasAcl": false,
"isFolder": false,
"folderId": 2,
"folderUid": "2EG-P3Qiz",
"folderTitle": "HQ",
"folderUrl": "/dashboards/f/2EG-P3Qiz/hq",
"provisioned": false,
"provisionedExternalId": ""
},
"dashboard": {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 21,
"links": [],
"panels": [
{ {
"aliasColors": {}, "builtIn": 1,
"bars": false, "datasource": "-- Grafana --",
"dashLength": 10, "enable": true,
"dashes": false, "hide": true,
"datasource": null, "iconColor": "rgba(0, 211, 255, 1)",
"fieldConfig": { "name": "Annotations & Alerts",
"defaults": {}, "type": "dashboard"
"overrides": [] }
}, ]
"fill": 6, },
"fillGradient": 0, "editable": true,
"gridPos": { "gnetId": null,
"h": 18, "graphTooltip": 0,
"w": 12, "id": 21,
"x": 0, "links": [],
"y": 0 "panels": [
}, {
"hiddenSeries": false, "aliasColors": {},
"id": 2, "bars": false,
"interval": "180", "dashLength": 10,
"legend": { "dashes": false,
"avg": false, "datasource": null,
"current": false, "fieldConfig": {
"max": false, "defaults": {},
"min": false, "overrides": []
"show": true, },
"total": false, "fill": 6,
"values": false "fillGradient": 0,
}, "gridPos": {
"lines": true, "h": 18,
"linewidth": 1, "w": 12,
"nullPointMode": "null as zero", "x": 0,
"options": { "y": 0
"alertThreshold": true },
}, "hiddenSeries": false,
"percentage": false, "id": 2,
"pluginVersion": "7.5.11", "interval": "180",
"pointradius": 2, "legend": {
"points": false, "avg": false,
"renderer": "flot", "current": false,
"seriesOverrides": [], "max": false,
"spaceLength": 10, "min": false,
"stack": true, "show": true,
"steppedLine": false, "total": false,
"targets": [ "values": false
{ },
"alias": "$tag_host C2S $tag_type_instance", "lines": true,
"groupBy": [ "linewidth": 1,
{ "nullPointMode": "null as zero",
"params": [ "options": {
"$__interval" "alertThreshold": true
], },
"type": "time" "percentage": false,
}, "pluginVersion": "7.5.11",
{ "pointradius": 2,
"params": [ "points": false,
"type_instance" "renderer": "flot",
], "seriesOverrides": [],
"type": "tag" "spaceLength": 10,
}, "stack": true,
{ "steppedLine": false,
"params": [ "targets": [
"host" {
], "alias": "$tag_host C2S $tag_type_instance",
"type": "tag" "groupBy": [
}, {
{ "params": [
"params": [ "$__interval"
"null" ],
], "type": "time"
"type": "fill" },
} {
], "params": [
"measurement": "exec_value", "type_instance"
"orderByTime": "ASC", ],
"policy": "default", "type": "tag"
"refId": "A", },
"resultFormat": "time_series", {
"select": [ "params": [
[ "host"
{ ],
"params": [ "type": "tag"
"value" },
], {
"type": "field" "params": [
}, "null"
{ ],
"params": [], "type": "fill"
"type": "mean" }
} ],
] "measurement": "exec_value",
], "orderByTime": "ASC",
"tags": [ "policy": "default",
{ "refId": "A",
"key": "instance", "resultFormat": "time_series",
"operator": "=", "select": [
"value": "prosody-c2s" [
} {
] "params": [
} "value"
], ],
"thresholds": [], "type": "field"
"timeFrom": null, },
"timeRegions": [], {
"timeShift": null, "params": [],
"title": "Client to Server connections", "type": "mean"
"tooltip": { }
"shared": true, ]
"sort": 0, ],
"value_type": "individual" "tags": [
}, {
"type": "graph", "key": "instance",
"xaxis": { "operator": "=",
"buckets": null, "value": "prosody-c2s"
"mode": "time", }
"name": null, ]
"show": true, }
"values": [] ],
}, "thresholds": [],
"yaxes": [ "timeFrom": null,
{ "timeRegions": [],
"$$hashKey": "object:58", "timeShift": null,
"format": "short", "title": "Client to Server connections",
"label": null, "tooltip": {
"logBase": 1, "shared": true,
"max": null, "sort": 0,
"min": null, "value_type": "individual"
"show": true },
}, "type": "graph",
{ "xaxis": {
"$$hashKey": "object:59", "buckets": null,
"format": "short", "mode": "time",
"label": null, "name": null,
"logBase": 1, "show": true,
"max": null, "values": []
"min": null, },
"show": true "yaxes": [
} {
], "$$hashKey": "object:58",
"yaxis": { "format": "short",
"align": false, "label": null,
"alignLevel": null "logBase": 1,
} "max": null,
}, "min": null,
{ "show": true
"aliasColors": {}, },
"bars": false, {
"dashLength": 10, "$$hashKey": "object:59",
"dashes": false, "format": "short",
"datasource": null, "label": null,
"fieldConfig": { "logBase": 1,
"defaults": {}, "max": null,
"overrides": [] "min": null,
}, "show": true
"fill": 6, }
"fillGradient": 0, ],
"gridPos": { "yaxis": {
"h": 9, "align": false,
"w": 12, "alignLevel": null
"x": 12,
"y": 0
},
"hiddenSeries": false,
"id": 3,
"interval": "180",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.11",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host S2S $tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "instance",
"operator": "=",
"value": "prosody-s2s-in"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Incoming Server to Server connections",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:58",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:59",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"description": "",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"fill": 6,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 9
},
"hiddenSeries": false,
"id": 4,
"interval": "180",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.11",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host S2S out $tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "instance",
"operator": "=",
"value": "prosody-s2s-out"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Outgoing Server to Server connections",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:58",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:59",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
} }
],
"refresh": "5s",
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": []
}, },
"time": { {
"from": "now-2d", "aliasColors": {},
"to": "now" "bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fieldConfig": {
"defaults": {},
"overrides": []
},
"fill": 6,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 0
},
"hiddenSeries": false,
"id": 3,
"interval": "180",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.11",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host S2S $tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"hide": false,
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "B",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "instance",
"operator": "=",
"value": "prosody-s2s-in"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Incoming Server to Server connections",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:58",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:59",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}, },
"timepicker": {}, {
"timezone": "", "aliasColors": {},
"title": "Prosody", "bars": false,
"uid": "UX0rEpd7z", "dashLength": 10,
"version": 3 "dashes": false,
} "datasource": null,
"description": "",
"fieldConfig": {
"defaults": {},
"overrides": []
},
"fill": 6,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 12,
"x": 12,
"y": 9
},
"hiddenSeries": false,
"id": 4,
"interval": "180",
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null as zero",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.11",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": true,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host S2S out $tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "exec_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "instance",
"operator": "=",
"value": "prosody-s2s-out"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Outgoing Server to Server connections",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:58",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:59",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "5s",
"schemaVersion": 27,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-2d",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Prosody",
"uid": "UX0rEpd7z",
"version": 3
} }

View File

@ -1,337 +1,312 @@
{ {
"meta": { "annotations": {
"type": "db", "list": [
"canSave": true,
"canEdit": true,
"canAdmin": true,
"canStar": true,
"slug": "infra",
"url": "/d/_xlWvVTZk/infra",
"expires": "0001-01-01T00:00:00Z",
"created": "2019-10-13T23:37:11+02:00",
"updated": "2020-06-05T01:11:37+02:00",
"updatedBy": "root",
"createdBy": "root",
"version": 5,
"hasAcl": false,
"isFolder": false,
"folderId": 2,
"folderUid": "2EG-P3Qiz",
"folderTitle": "HQ",
"folderUrl": "/dashboards/f/2EG-P3Qiz/hq",
"provisioned": false,
"provisionedExternalId": ""
},
"dashboard": {
"annotations": {
"list": [
{
"$$hashKey": "object:210",
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": 4,
"links": [],
"panels": [
{ {
"aliasColors": {}, "$$hashKey": "object:210",
"bars": false, "builtIn": 1,
"dashLength": 10, "datasource": "-- Grafana --",
"dashes": false, "enable": true,
"datasource": "InfluxDB collectd", "hide": true,
"fill": 1, "iconColor": "rgba(0, 211, 255, 1)",
"fillGradient": 0, "name": "Annotations & Alerts",
"gridPos": { "type": "dashboard"
"h": 9, }
"w": 12, ]
"x": 0, },
"y": 0 "editable": true,
}, "gnetId": null,
"hiddenSeries": false, "graphTooltip": 0,
"id": 2, "id": 4,
"interval": "", "links": [],
"legend": { "panels": [
"avg": false, {
"current": false, "aliasColors": {},
"max": false, "bars": false,
"min": false, "dashLength": 10,
"show": false, "dashes": false,
"total": false, "datasource": "InfluxDB collectd",
"values": false "fill": 1,
}, "fillGradient": 0,
"lines": true, "gridPos": {
"linewidth": 1, "h": 9,
"nullPointMode": "null", "w": 12,
"options": { "x": 0,
"dataLinks": [] "y": 0
}, },
"percentage": false, "hiddenSeries": false,
"pointradius": 2, "id": 2,
"points": false, "interval": "",
"renderer": "flot", "legend": {
"seriesOverrides": [], "avg": false,
"spaceLength": 10, "current": false,
"stack": false, "max": false,
"steppedLine": false, "min": false,
"targets": [ "show": false,
{ "total": false,
"alias": "$tag_host", "values": false
"groupBy": [ },
{ "lines": true,
"params": [ "linewidth": 1,
"$__interval" "nullPointMode": "null",
], "options": {
"type": "time" "dataLinks": []
}, },
{ "percentage": false,
"params": [ "pointradius": 2,
"host" "points": false,
], "renderer": "flot",
"type": "tag" "seriesOverrides": [],
}, "spaceLength": 10,
{ "stack": false,
"params": [ "steppedLine": false,
"null" "targets": [
], {
"type": "fill" "alias": "$tag_host",
} "groupBy": [
], {
"measurement": "load_longterm", "params": [
"orderByTime": "ASC", "$__interval"
"policy": "default", ],
"refId": "A", "type": "time"
"resultFormat": "time_series", },
"select": [ {
[ "params": [
{ "host"
"params": [ ],
"value" "type": "tag"
], },
"type": "field" {
}, "params": [
{ "null"
"params": [], ],
"type": "mean" "type": "fill"
} }
] ],
], "measurement": "load_longterm",
"tags": [] "orderByTime": "ASC",
} "policy": "default",
], "refId": "A",
"thresholds": [], "resultFormat": "time_series",
"timeFrom": null, "select": [
"timeRegions": [], [
"timeShift": null, {
"title": "Loadavg", "params": [
"tooltip": { "value"
"shared": true, ],
"sort": 0, "type": "field"
"value_type": "individual" },
}, {
"type": "graph", "params": [],
"xaxis": { "type": "mean"
"buckets": null, }
"mode": "time", ]
"name": null, ],
"show": true, "tags": []
"values": [] }
}, ],
"yaxes": [ "thresholds": [],
{ "timeFrom": null,
"format": "short", "timeRegions": [],
"label": null, "timeShift": null,
"logBase": 1, "title": "Loadavg",
"max": null, "tooltip": {
"min": null, "shared": true,
"show": true "sort": 0,
}, "value_type": "individual"
{ },
"format": "short", "type": "graph",
"label": null, "xaxis": {
"logBase": 1, "buckets": null,
"max": null, "mode": "time",
"min": null, "name": null,
"show": true "show": true,
} "values": []
], },
"yaxis": { "yaxes": [
"align": false, {
"alignLevel": null "format": "short",
} "label": null,
}, "logBase": 1,
{ "max": null,
"aliasColors": {}, "min": null,
"bars": false, "show": true
"dashLength": 10, },
"dashes": false, {
"datasource": "InfluxDB collectd", "format": "short",
"fill": 1, "label": null,
"fillGradient": 0, "logBase": 1,
"gridPos": { "max": null,
"h": 24, "min": null,
"w": 12, "show": true
"x": 12, }
"y": 0 ],
}, "yaxis": {
"hiddenSeries": false, "align": false,
"id": 4, "alignLevel": null
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host $tag_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "interface_rx",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(non_negative_derivative(\"value\", 1m)) FROM \"interface_rx\" WHERE $timeFilter GROUP BY time($__interval), \"host\", \"instance\" fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "max"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Throughput",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "Bps",
"label": "Bandwidth",
"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
}
} }
],
"refresh": false,
"schemaVersion": 22,
"style": "dark",
"tags": [],
"templating": {
"list": []
}, },
"time": { {
"from": "now-2d", "aliasColors": {},
"to": "now" "bars": false,
}, "dashLength": 10,
"timepicker": {}, "dashes": false,
"timezone": "", "datasource": "InfluxDB collectd",
"title": "Infra", "fill": 1,
"uid": "_xlWvVTZk", "fillGradient": 0,
"variables": { "gridPos": {
"list": [] "h": 24,
}, "w": 12,
"version": 5 "x": 12,
} "y": 0
},
"hiddenSeries": false,
"id": 4,
"interval": "1m",
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"sort": "max",
"sortDesc": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_host $tag_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"host"
],
"type": "tag"
},
{
"params": [
"instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "interface_rx",
"orderByTime": "ASC",
"policy": "default",
"query": "SELECT mean(non_negative_derivative(\"value\", 1m)) FROM \"interface_rx\" WHERE $timeFilter GROUP BY time($__interval), \"host\", \"instance\" fill(null)",
"rawQuery": false,
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "max"
},
{
"params": [
"1s"
],
"type": "non_negative_derivative"
}
]
],
"tags": []
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Throughput",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"decimals": null,
"format": "Bps",
"label": "Bandwidth",
"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
}
}
],
"refresh": false,
"schemaVersion": 22,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-2d",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Infra",
"uid": "_xlWvVTZk",
"variables": {
"list": []
},
"version": 5
} }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,505 +1,480 @@
{ {
"meta": { "annotations": {
"type": "db", "list": [
"canSave": true,
"canEdit": true,
"canAdmin": true,
"canStar": true,
"slug": "dnscache",
"url": "/d/xRVLBsAZk/dnscache",
"expires": "0001-01-01T00:00:00Z",
"created": "2019-11-02T02:41:42+01:00",
"updated": "2019-11-02T02:41:42+01:00",
"updatedBy": "root",
"createdBy": "root",
"version": 1,
"hasAcl": false,
"isFolder": false,
"folderId": 0,
"folderUid": "",
"folderTitle": "General",
"folderUrl": "",
"provisioned": false,
"provisionedExternalId": ""
},
"dashboard": {
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"hideControls": false,
"id": 6,
"links": [],
"panels": [
{ {
"aliasColors": {}, "builtIn": 1,
"bars": false, "datasource": "-- Grafana --",
"dashLength": 10, "enable": true,
"dashes": false, "hide": true,
"datasource": "InfluxDB collectd", "iconColor": "rgba(0, 211, 255, 1)",
"fill": 1, "name": "Annotations & Alerts",
"fillGradient": 0, "type": "dashboard"
"gridPos": { }
"h": 11, ]
"w": 12, },
"x": 0, "editable": true,
"y": 0 "gnetId": null,
}, "graphTooltip": 0,
"id": 6, "hideControls": false,
"legend": { "id": 6,
"avg": false, "links": [],
"current": false, "panels": [
"max": false, {
"min": false, "aliasColors": {},
"show": false, "bars": false,
"total": false, "dashLength": 10,
"values": false "dashes": false,
}, "datasource": "InfluxDB collectd",
"lines": true, "fill": 1,
"linewidth": 1, "fillGradient": 0,
"nullPointMode": "connected", "gridPos": {
"options": { "h": 11,
"dataLinks": [] "w": 12,
}, "x": 0,
"percentage": false, "y": 0
"pointradius": 2, },
"points": false, "id": 6,
"renderer": "flot", "legend": {
"seriesOverrides": [], "avg": false,
"spaceLength": 10, "current": false,
"stack": false, "max": false,
"steppedLine": false, "min": false,
"targets": [ "show": false,
{ "total": false,
"alias": "Request list average", "values": false
"groupBy": [ },
{ "lines": true,
"params": [ "linewidth": 1,
"$__interval" "nullPointMode": "connected",
], "options": {
"type": "time" "dataLinks": []
}, },
{ "percentage": false,
"params": [ "pointradius": 2,
"type" "points": false,
], "renderer": "flot",
"type": "tag" "seriesOverrides": [],
}, "spaceLength": 10,
{ "stack": false,
"params": [ "steppedLine": false,
"type" "targets": [
], {
"type": "tag" "alias": "Request list average",
}, "groupBy": [
{ {
"params": [ "params": [
"type_instance" "$__interval"
], ],
"type": "tag" "type": "time"
}, },
{ {
"params": [ "params": [
"null" "type"
], ],
"type": "fill" "type": "tag"
} },
], {
"measurement": "unbound_value", "params": [
"orderByTime": "ASC", "type"
"policy": "default", ],
"refId": "A", "type": "tag"
"resultFormat": "time_series", },
"select": [ {
[ "params": [
{ "type_instance"
"params": [ ],
"value" "type": "tag"
], },
"type": "field" {
}, "params": [
{ "null"
"params": [], ],
"type": "mean" "type": "fill"
} }
] ],
], "measurement": "unbound_value",
"tags": [ "orderByTime": "ASC",
{ "policy": "default",
"key": "host", "refId": "A",
"operator": "=", "resultFormat": "time_series",
"value": "dnscache" "select": [
}, [
{ {
"condition": "AND", "params": [
"key": "type", "value"
"operator": "=", ],
"value": "gauge" "type": "field"
}, },
{ {
"condition": "AND", "params": [],
"key": "type_instance", "type": "mean"
"operator": "=", }
"value": "requestlist.avg" ]
} ],
] "tags": [
} {
], "key": "host",
"thresholds": [], "operator": "=",
"timeFrom": null, "value": "dnscache"
"timeRegions": [], },
"timeShift": null, {
"title": "Request list", "condition": "AND",
"tooltip": { "key": "type",
"shared": true, "operator": "=",
"sort": 0, "value": "gauge"
"value_type": "individual" },
}, {
"type": "graph", "condition": "AND",
"xaxis": { "key": "type_instance",
"buckets": null, "operator": "=",
"mode": "time", "value": "requestlist.avg"
"name": null, }
"show": true, ]
"values": [] }
}, ],
"yaxes": [ "thresholds": [],
{ "timeFrom": null,
"format": "short", "timeRegions": [],
"label": null, "timeShift": null,
"logBase": 1, "title": "Request list",
"max": null, "tooltip": {
"min": null, "shared": true,
"show": true "sort": 0,
}, "value_type": "individual"
{ },
"format": "short", "type": "graph",
"label": null, "xaxis": {
"logBase": 1, "buckets": null,
"max": null, "mode": "time",
"min": null, "name": null,
"show": true "show": true,
} "values": []
], },
"yaxis": { "yaxes": [
"align": false, {
"alignLevel": null "format": "short",
} "label": null,
}, "logBase": 1,
{ "max": null,
"aliasColors": {}, "min": null,
"bars": false, "show": true
"dashLength": 10, },
"dashes": false, {
"datasource": null, "format": "short",
"fill": 1, "label": null,
"fillGradient": 0, "logBase": 1,
"gridPos": { "max": null,
"h": 11, "min": null,
"w": 12, "show": true
"x": 12, }
"y": 0 ],
}, "yaxis": {
"id": 4, "align": false,
"interval": "", "alignLevel": null
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "unbound_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "dnscache"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "gauge"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=~",
"value": "/time/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Timing stats",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 20,
"w": 24,
"x": 0,
"y": 11
},
"id": 2,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "unbound_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"10s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "dnscache"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "derive"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DNS counters",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
} }
],
"schemaVersion": 20,
"style": "dark",
"tags": [],
"templating": {
"list": []
}, },
"time": { {
"from": "now-30m", "aliasColors": {},
"to": "now" "bars": false,
"dashLength": 10,
"dashes": false,
"datasource": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 11,
"w": 12,
"x": 12,
"y": 0
},
"id": 4,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "unbound_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "dnscache"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "gauge"
},
{
"condition": "AND",
"key": "type_instance",
"operator": "=~",
"value": "/time/"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Timing stats",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "s",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}, },
"timepicker": {}, {
"timezone": "", "aliasColors": {},
"title": "dnscache", "bars": false,
"uid": "xRVLBsAZk", "dashLength": 10,
"version": 1 "dashes": false,
} "datasource": null,
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 20,
"w": 24,
"x": 0,
"y": 11
},
"id": 2,
"interval": "",
"legend": {
"alignAsTable": true,
"avg": true,
"current": true,
"max": true,
"min": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"alias": "$tag_type_instance",
"groupBy": [
{
"params": [
"$__interval"
],
"type": "time"
},
{
"params": [
"type_instance"
],
"type": "tag"
},
{
"params": [
"null"
],
"type": "fill"
}
],
"measurement": "unbound_value",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"value"
],
"type": "field"
},
{
"params": [],
"type": "mean"
},
{
"params": [
"10s"
],
"type": "non_negative_derivative"
}
]
],
"tags": [
{
"key": "host",
"operator": "=",
"value": "dnscache"
},
{
"condition": "AND",
"key": "type",
"operator": "=",
"value": "derive"
}
]
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "DNS counters",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"schemaVersion": 20,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-30m",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "dnscache",
"uid": "xRVLBsAZk",
"version": 1
} }

View File

@ -3,6 +3,11 @@
let let
restartServices = [ "grafana" "influxdb" ]; restartServices = [ "grafana" "influxdb" ];
in { in {
microvm.mem = 4096;
c3d2.deployment = {
server = "server10";
mounts = [ "etc" "home" "var"];
};
c3d2.isInHq = false; c3d2.isInHq = false;
c3d2.autoUpdate = true; c3d2.autoUpdate = true;
@ -11,12 +16,6 @@ in {
environment.noXlibs = false; environment.noXlibs = false;
networking.hostName = "grafana"; networking.hostName = "grafana";
networking.useNetworkd = true;
networking.interfaces.eth0.ipv4.addresses = [{
address = "172.20.73.43";
prefixLength = zentralwerk.lib.config.site.net.serv.subnet4Len;
}];
networking.defaultGateway = "172.20.73.1";
# http https influxdb # http https influxdb
networking.firewall.allowedTCPPorts = [ 80 443 8086 ]; networking.firewall.allowedTCPPorts = [ 80 443 8086 ];
@ -50,7 +49,7 @@ in {
datasources = map (datasource: { datasources = map (datasource: {
inherit (datasource) name type access orgId url password user database isDefault jsonData; inherit (datasource) name type access orgId url password user database isDefault jsonData;
}) (with builtins; fromJSON (readFile ./datasources.json)); }) (with builtins; fromJSON (readFile ./datasources.json));
# for id in `curl https://root:SECRET@grafana.hq.c3d2.de/api/search | jq -j 'map(.uid) | join(" ")'`; do curl https://root:SECRET@grafana.hq.c3d2.de/api/dashboards/uid/$id | jq > hosts/containers/grafana/dashboards/$id.json;done # for id in `curl https://root:SECRET@grafana.hq.c3d2.de/api/search | jq -j 'map(.uid) | join(" ")'`; do curl https://root:SECRET@grafana.hq.c3d2.de/api/dashboards/uid/$id | jq .dashboard > hosts/containers/grafana/dashboards/$id.json;done
dashboards = [ dashboards = [
{ options.path = ./dashboards; } { options.path = ./dashboards; }
]; ];
@ -70,6 +69,8 @@ in {
enabled = true; enabled = true;
database = "collectd"; database = "collectd";
typesdb = "${collectdTypes}/share/collectd/types.db"; typesdb = "${collectdTypes}/share/collectd/types.db";
# create retention policy "30d" on collectd duration 30d replication 1 default
retention-policy = "30d";
}]; }];
}; };
}; };
@ -87,6 +88,7 @@ in {
influxdb.serviceConfig.LimitNOFILE = "1048576:1048576"; influxdb.serviceConfig.LimitNOFILE = "1048576:1048576";
influxdb.serviceConfig.TimeoutStartSec = "infinity"; influxdb.serviceConfig.TimeoutStartSec = "infinity";
}; };
environment.systemPackages = with pkgs; [ influxdb ];
# This value determines the NixOS release with which your system is to be # This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database # compatible, in order to avoid breaking some software such as database