aboutsummaryrefslogtreecommitdiff
path: root/other/metrics
diff options
context:
space:
mode:
authorJonas Falck <jonas.falck@fortnox.se>2021-06-22 09:54:13 +0200
committerJonas Falck <jonas.falck@fortnox.se>2021-06-22 13:09:42 +0200
commit829b195084274309bd10c5d87ecf31513db7176e (patch)
tree7c3af23dc28a2db3f69a1613ddf7bf934fda8cd1 /other/metrics
parent117f8e0bc14ba7d5a29d397d02e2cd15f8eb1ab0 (diff)
downloadseaweedfs-829b195084274309bd10c5d87ecf31513db7176e.tar.xz
seaweedfs-829b195084274309bd10c5d87ecf31513db7176e.zip
Add process metrics of weed itself
Diffstat (limited to 'other/metrics')
-rw-r--r--other/metrics/grafana_seaweedfs.json330
1 files changed, 330 insertions, 0 deletions
diff --git a/other/metrics/grafana_seaweedfs.json b/other/metrics/grafana_seaweedfs.json
index 074a3531f..8fbd5989a 100644
--- a/other/metrics/grafana_seaweedfs.json
+++ b/other/metrics/grafana_seaweedfs.json
@@ -1805,6 +1805,336 @@
"show": true
}
]
+ },
+ {
+ "type": "graph",
+ "title": "Process memory",
+ "gridPos": {
+ "x": 0,
+ "y": 40,
+ "w": 24,
+ "h": 7
+ },
+ "aliasColors": {},
+ "dashLength": 10,
+ "datasource": "${DS_PROMETHEUS-DEV}",
+ "fieldConfig": {
+ "defaults": {
+ "custom": {},
+ "links": []
+ },
+ "overrides": []
+ },
+ "fill": 1,
+ "id": 66,
+ "legend": {
+ "avg": false,
+ "current": false,
+ "max": false,
+ "min": false,
+ "show": true,
+ "total": false,
+ "values": false
+ },
+ "lines": true,
+ "linewidth": 1,
+ "links": [],
+ "nullPointMode": "null",
+ "options": {
+ "alertThreshold": true
+ },
+ "paceLength": 10,
+ "pluginVersion": "7.4.5",
+ "pointradius": 5,
+ "renderer": "flot",
+ "seriesOverrides": [
+ {
+ "$$hashKey": "object:258",
+ "alias": "max limit",
+ "color": "#890f02"
+ }
+ ],
+ "spaceLength": 10,
+ "targets": [
+ {
+ "expr": "process_resident_memory_bytes{exported_job=\"filer\"}",
+ "legendFormat": "resident {{exported_instance}}",
+ "interval": "",
+ "format": "time_series",
+ "groupBy": [
+ {
+ "params": [
+ "$__interval"
+ ],
+ "type": "time"
+ },
+ {
+ "params": [
+ "null"
+ ],
+ "type": "fill"
+ }
+ ],
+ "intervalFactor": 2,
+ "orderByTime": "ASC",
+ "policy": "default",
+ "refId": "A",
+ "resultFormat": "time_series",
+ "select": [
+ [
+ {
+ "params": [
+ "value"
+ ],
+ "type": "field"
+ },
+ {
+ "params": [],
+ "type": "mean"
+ }
+ ]
+ ],
+ "step": 120,
+ "tags": []
+ },
+ {
+ "expr": "process_virtual_memory_bytes{exported_job=\"filer\"}",
+ "legendFormat": "virtual {{exported_instance}}",
+ "interval": "",
+ "format": "time_series",
+ "intervalFactor": 2,
+ "refId": "B",
+ "step": 120
+ }
+ ],
+ "thresholds": [],
+ "timeRegions": [],
+ "tooltip": {
+ "shared": true,
+ "sort": 2,
+ "value_type": "individual"
+ },
+ "xaxis": {
+ "buckets": null,
+ "mode": "time",
+ "name": null,
+ "show": true,
+ "values": []
+ },
+ "yaxes": [
+ {
+ "$$hashKey": "object:265",
+ "format": "bytes",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ },
+ {
+ "$$hashKey": "object:266",
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ }
+ ],
+ "yaxis": {
+ "align": false,
+ "alignLevel": null
+ },
+ "bars": false,
+ "dashes": false,
+ "fillGradient": 0,
+ "hiddenSeries": false,
+ "percentage": false,
+ "points": false,
+ "stack": false,
+ "steppedLine": false,
+ "timeFrom": null,
+ "timeShift": null
+ },
+ {
+ "type": "graph",
+ "title": "Open File Descriptor",
+ "gridPos": {
+ "x": 0,
+ "y": 47,
+ "w": 24,
+ "h": 7
+ },
+ "aliasColors": {},
+ "dashLength": 10,
+ "datasource": "${DS_PROMETHEUS-DEV}",
+ "editable": true,
+ "fieldConfig": {
+ "defaults": {
+ "custom": {},
+ "links": []
+ },
+ "overrides": []
+ },
+ "fill": 1,
+ "id": 68,
+ "legend": {
+ "avg": false,
+ "current": false,
+ "max": false,
+ "min": false,
+ "show": true,
+ "total": false,
+ "values": false
+ },
+ "lines": true,
+ "linewidth": 1,
+ "links": [],
+ "nullPointMode": "connected",
+ "options": {
+ "alertThreshold": true
+ },
+ "paceLength": 10,
+ "pluginVersion": "7.4.5",
+ "pointradius": 5,
+ "renderer": "flot",
+ "seriesOverrides": [],
+ "spaceLength": 10,
+ "targets": [
+ {
+ "expr": "process_open_fds{exported_job=\"filer\"}",
+ "legendFormat": "{{exported_instance}}",
+ "interval": "",
+ "format": "time_series",
+ "groupBy": [
+ {
+ "params": [
+ "$interval"
+ ],
+ "type": "time"
+ },
+ {
+ "params": [
+ "null"
+ ],
+ "type": "fill"
+ }
+ ],
+ "intervalFactor": 2,
+ "metric": "",
+ "policy": "default",
+ "refId": "A",
+ "resultFormat": "time_series",
+ "select": [
+ [
+ {
+ "params": [
+ "value"
+ ],
+ "type": "field"
+ },
+ {
+ "params": [],
+ "type": "mean"
+ }
+ ]
+ ],
+ "step": 240,
+ "tags": []
+ },
+ {
+ "expr": "process_max_fds{exported_job=\"filer\"}",
+ "legendFormat": "{{exported_instance}}",
+ "interval": "",
+ "format": "time_series",
+ "groupBy": [
+ {
+ "params": [
+ "$interval"
+ ],
+ "type": "time"
+ },
+ {
+ "params": [
+ "null"
+ ],
+ "type": "fill"
+ }
+ ],
+ "intervalFactor": 2,
+ "metric": "",
+ "policy": "default",
+ "refId": "B",
+ "resultFormat": "time_series",
+ "select": [
+ [
+ {
+ "params": [
+ "value"
+ ],
+ "type": "field"
+ },
+ {
+ "params": [],
+ "type": "mean"
+ }
+ ]
+ ],
+ "step": 240,
+ "tags": [],
+ "hide": false
+ }
+ ],
+ "thresholds": [],
+ "timeRegions": [],
+ "tooltip": {
+ "msResolution": false,
+ "shared": true,
+ "sort": 0,
+ "value_type": "individual"
+ },
+ "xaxis": {
+ "buckets": null,
+ "mode": "time",
+ "name": null,
+ "show": true,
+ "values": []
+ },
+ "yaxes": [
+ {
+ "$$hashKey": "object:1087",
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ },
+ {
+ "$$hashKey": "object:1088",
+ "format": "short",
+ "label": null,
+ "logBase": 1,
+ "max": null,
+ "min": null,
+ "show": true
+ }
+ ],
+ "yaxis": {
+ "align": false,
+ "alignLevel": null
+ },
+ "bars": false,
+ "dashes": false,
+ "error": false,
+ "fillGradient": 0,
+ "hiddenSeries": false,
+ "percentage": false,
+ "points": false,
+ "stack": false,
+ "steppedLine": false,
+ "timeFrom": null,
+ "timeShift": null
}
],
"repeat": null,