Created
October 4, 2018 04:28
-
-
Save kanazux/1570112ef77db54f218af8483fb83d74 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "__inputs": [ | |
| { | |
| "name": "ds_caterpy", | |
| "label": "prometheus", | |
| "description": "", | |
| "type": "datasource", | |
| "pluginId": "prometheus", | |
| "pluginName": "Prometheus" | |
| } | |
| ], | |
| "__requires": [ | |
| { | |
| "type": "panel", | |
| "id": "graph", | |
| "name": "Graph", | |
| "version": "" | |
| }, | |
| { | |
| "type": "grafana", | |
| "id": "grafana", | |
| "name": "Grafana", | |
| "version": "3.1.1" | |
| }, | |
| { | |
| "type": "datasource", | |
| "id": "prometheus", | |
| "name": "Prometheus", | |
| "version": "1.0.0" | |
| } | |
| ], | |
| "id": null, | |
| "title": "Dashboard Process", | |
| "tags": [ | |
| "OS" | |
| ], | |
| "style": "dark", | |
| "timezone": "browser", | |
| "editable": true, | |
| "hideControls": false, | |
| "sharedCrosshair": true, | |
| "rows": [ | |
| { | |
| "collapse": false, | |
| "editable": true, | |
| "height": "250px", | |
| "transparent": true, | |
| "panels": [ | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "datasource": "ds_caterpy", | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "threshold1": 50, | |
| "threshold1Color": "rgba(255, 255, 255, 0.5)", | |
| "threshold2": 150, | |
| "threshold2Color": "rgba(225, 100, 100, 0.5)" | |
| }, | |
| "id": 1, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": 200, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 3, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 6, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "namedprocess_namegroup_num_procs{groupname=~\"$processes\", job=~\"$job\"}", | |
| "intervalFactor": 2, | |
| "legendFormat": "{{groupname}}", | |
| "metric": "process_namegroup_num_procs", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Num. Processes", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "show": true | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": "Processes", | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "datasource": "ds_caterpy", | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "threshold1": -1024000000, | |
| "threshold1Color": "rgba(255, 255, 255, 0.5)", | |
| "threshold2": 2048000000, | |
| "threshold2Color": "rgba(227, 100, 100, 0.5)" | |
| }, | |
| "id": 5, | |
| "isNew": true, | |
| "legend": { | |
| "avg": true, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": true, | |
| "values": true | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 3, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 6, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "namedprocess_namegroup_memory_bytes{groupname=~\"$processes\", job=~\"$job\", memtype=\"resident\"}", | |
| "intervalFactor": 2, | |
| "legendFormat": "{{groupname}}", | |
| "metric": "namedprocess_namegroup_memory_bytes", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Memory In Use", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "show": true | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "bytes", | |
| "label": "Memory", | |
| "logBase": 2, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "datasource": "ds_caterpy", | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "threshold1": -1024000000, | |
| "threshold1Color": "#fce2de", | |
| "threshold2": 1024000000, | |
| "threshold2Color": "#bf1b00" | |
| }, | |
| "id": 6, | |
| "isNew": true, | |
| "legend": { | |
| "avg": true, | |
| "current": true, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 3, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 6, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "namedprocess_namegroup_memory_bytes{groupname=~\"$processes\", job=~\"$job\", memtype=\"virtual\"}", | |
| "intervalFactor": 2, | |
| "legendFormat": "{{groupname}}", | |
| "metric": "namedprocess_namegroup_memory_bytes", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Virtual Memory", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "show": true | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "bytes", | |
| "label": "Memory", | |
| "logBase": 2, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "datasource": "ds_caterpy", | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "threshold1": 80, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2": 120, | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "id": 2, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": false, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 6, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "namedprocess_namegroup_num_threads{groupname=~\"$processes\", job=~\"$job\"}", | |
| "intervalFactor": 2, | |
| "legendFormat": "{{groupname}}", | |
| "metric": "namedprocess_namegroup_num_threads", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Num. Threads", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "cumulative" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "show": true | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": "Threads", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": true, | |
| "datasource": "ds_caterpy", | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "threshold1": -30, | |
| "threshold1Color": "rgba(255, 255, 255, 0.5)", | |
| "threshold2": 80, | |
| "threshold2Color": "rgba(225, 100, 100, 0.5)" | |
| }, | |
| "id": 3, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": false, | |
| "linewidth": 2, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 5, | |
| "points": false, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 6, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "namedprocess_namegroup_open_filedesc{groupname=~\"$processes\", job=~\"$job\"}", | |
| "intervalFactor": 2, | |
| "legendFormat": "{{groupname}}", | |
| "metric": "namedprocess_namegroup_open_filedesc", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "Open File Descriptors", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "show": true | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": "File Descriptors", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "short", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| }, | |
| { | |
| "aliasColors": {}, | |
| "bars": false, | |
| "datasource": "ds_caterpy", | |
| "editable": true, | |
| "error": false, | |
| "fill": 1, | |
| "grid": { | |
| "threshold1": null, | |
| "threshold1Color": "rgba(216, 200, 27, 0.27)", | |
| "threshold2": null, | |
| "threshold2Color": "rgba(234, 112, 112, 0.22)" | |
| }, | |
| "id": 4, | |
| "isNew": true, | |
| "legend": { | |
| "avg": false, | |
| "current": false, | |
| "max": false, | |
| "min": false, | |
| "show": true, | |
| "total": false, | |
| "values": false | |
| }, | |
| "lines": true, | |
| "linewidth": 1, | |
| "links": [], | |
| "nullPointMode": "null as zero", | |
| "percentage": false, | |
| "pointradius": 0.5, | |
| "points": true, | |
| "renderer": "flot", | |
| "seriesOverrides": [], | |
| "span": 6, | |
| "stack": false, | |
| "steppedLine": false, | |
| "targets": [ | |
| { | |
| "expr": "namedprocess_namegroup_thread_cpu_seconds_total{cpumode=~\"system\", groupname=~\"$processes\", job=~\"$job\", threadname=~\"$processes\"}", | |
| "intervalFactor": 2, | |
| "legendFormat": "{{cpumode}}-{{groupname}}", | |
| "metric": "namedprocess_namegroup_thread_cpu_seconds_total", | |
| "refId": "A", | |
| "step": 10 | |
| } | |
| ], | |
| "timeFrom": null, | |
| "timeShift": null, | |
| "title": "CPU Time Process", | |
| "tooltip": { | |
| "msResolution": false, | |
| "shared": true, | |
| "sort": 0, | |
| "value_type": "individual" | |
| }, | |
| "type": "graph", | |
| "xaxis": { | |
| "show": true | |
| }, | |
| "yaxes": [ | |
| { | |
| "format": "short", | |
| "label": "CPU Time Process", | |
| "logBase": 1, | |
| "max": null, | |
| "min": 0, | |
| "show": true | |
| }, | |
| { | |
| "format": "seconds", | |
| "label": null, | |
| "logBase": 1, | |
| "max": null, | |
| "min": null, | |
| "show": true | |
| } | |
| ] | |
| } | |
| ], | |
| "title": "Row" | |
| } | |
| ], | |
| "time": { | |
| "from": "now-1h", | |
| "to": "now" | |
| }, | |
| "timepicker": { | |
| "refresh_intervals": [ | |
| "5s", | |
| "10s", | |
| "30s", | |
| "1m", | |
| "5m", | |
| "15m", | |
| "30m", | |
| "1h", | |
| "2h", | |
| "1d" | |
| ], | |
| "time_options": [ | |
| "5m", | |
| "15m", | |
| "1h", | |
| "6h", | |
| "12h", | |
| "24h", | |
| "2d", | |
| "7d", | |
| "30d" | |
| ] | |
| }, | |
| "templating": { | |
| "list": [ | |
| { | |
| "allValue": ".*", | |
| "current": {}, | |
| "datasource": "ds_caterpy", | |
| "hide": 0, | |
| "includeAll": true, | |
| "multi": true, | |
| "label": "Job", | |
| "name": "job", | |
| "options": [], | |
| "query": "label_values(job)", | |
| "refresh": 1, | |
| "regex": "/process_.*/", | |
| "type": "query" | |
| }, | |
| { | |
| "allValue": ".*", | |
| "current": {}, | |
| "datasource": "ds_caterpy", | |
| "hide": 0, | |
| "label": "Process", | |
| "includeAll": true, | |
| "multi": true, | |
| "name": "processes", | |
| "options": [], | |
| "query": "label_values(groupname)", | |
| "refresh": 1, | |
| "type": "query" | |
| }, | |
| { | |
| "current": { | |
| "selected": false, | |
| "text": "10m", | |
| "value": "10m" | |
| }, | |
| "datasource": null, | |
| "hide": 0, | |
| "includeAll": false, | |
| "multi": false, | |
| "name": "interval", | |
| "options": [ | |
| { | |
| "selected": false, | |
| "text": "1m", | |
| "value": "1m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "5m", | |
| "value": "5m" | |
| }, | |
| { | |
| "selected": true, | |
| "text": "10m", | |
| "value": "10m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "30m", | |
| "value": "30m" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1h", | |
| "value": "1h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "6h", | |
| "value": "6h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "12h", | |
| "value": "12h" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "1d", | |
| "value": "1d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "7d", | |
| "value": "7d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "14d", | |
| "value": "14d" | |
| }, | |
| { | |
| "selected": false, | |
| "text": "30d", | |
| "value": "30d" | |
| } | |
| ], | |
| "query": "1m,5m,10m,30m,1h,6h,12h,1d,7d,14d,30d", | |
| "refresh": 0, | |
| "label": "Interval", | |
| "type": "interval" | |
| } | |
| ] | |
| }, | |
| "annotations": { | |
| "list": [] | |
| }, | |
| "refresh": "10s", | |
| "schemaVersion": 12, | |
| "version": 8, | |
| "links": [ | |
| { | |
| "asDropdown": true, | |
| "icon": "external link", | |
| "includeVars": true, | |
| "keepTime": true, | |
| "tags": [ | |
| "OS" | |
| ], | |
| "title": "OS", | |
| "type": "dashboards" | |
| } | |
| ], | |
| "gnetId": 715, | |
| "description": "Dashboard for Processes with process-exporter." | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment