Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "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": 2,
- "iteration": 1568892474283,
- "links": [],
- "panels": [
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 6,
- "w": 14,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pointradius": 2,
- "points": false,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "format": "time_series",
- "group": [],
- "metricColumn": "none",
- "rawQuery": false,
- "rawSql": "SELECT\n $__time(measurement),\n cpu as cpu\nFROM\n server_status\nWHERE\n $__timeFilter(measurement)\n and\n server_id IN ([[server]])\nORDER BY time\n",
- "refId": "A",
- "select": [
- [
- {
- "params": [
- "cpu"
- ],
- "type": "column"
- },
- {
- "params": [
- "cpu"
- ],
- "type": "alias"
- }
- ]
- ],
- "table": "server_status",
- "timeColumn": "cpu",
- "timeColumnType": "float8",
- "where": [
- {
- "name": "$__unixEpochFilter",
- "params": [],
- "type": "macro"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Andamento CPU Usata",
- "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
- }
- },
- {
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 14,
- "y": 0
- },
- "id": 7,
- "options": {
- "fieldOptions": {
- "calcs": [
- "mean"
- ],
- "defaults": {
- "mappings": [],
- "max": 8,
- "min": 0,
- "thresholds": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "#EAB839",
- "value": 2
- },
- {
- "color": "red",
- "value": 4
- }
- ]
- },
- "override": {},
- "values": false
- },
- "orientation": "auto",
- "showThresholdLabels": true,
- "showThresholdMarkers": true
- },
- "pluginVersion": "6.3.5",
- "targets": [
- {
- "format": "time_series",
- "group": [
- {
- "params": [
- "$__interval",
- "none"
- ],
- "type": "time"
- }
- ],
- "metricColumn": "none",
- "rawQuery": false,
- "rawSql": "SELECT\n $__time(measurement),\n cpu as cpu\nFROM\n server_status\nWHERE\n $__timeFilter(measurement)\n and\n server_id IN ([[server]])\n",
- "refId": "A",
- "select": [
- [
- {
- "params": [
- "cpu"
- ],
- "type": "column"
- },
- {
- "params": [
- "avg"
- ],
- "type": "aggregate"
- },
- {
- "params": [
- "cpu"
- ],
- "type": "alias"
- }
- ]
- ],
- "table": "server_status",
- "timeColumn": "measurement",
- "timeColumnType": "timestamp",
- "where": [
- {
- "name": "$__timeFilter",
- "params": [],
- "type": "macro"
- }
- ]
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Cpu Massima utilizzata $server",
- "type": "gauge"
- },
- {
- "gridPos": {
- "h": 6,
- "w": 5,
- "x": 19,
- "y": 0
- },
- "id": 6,
- "options": {
- "fieldOptions": {
- "calcs": [
- "mean"
- ],
- "defaults": {
- "mappings": [],
- "max": 8,
- "min": 0,
- "thresholds": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "#EAB839",
- "value": 2
- },
- {
- "color": "red",
- "value": 4
- }
- ]
- },
- "override": {},
- "values": false
- },
- "orientation": "auto",
- "showThresholdLabels": true,
- "showThresholdMarkers": true
- },
- "pluginVersion": "6.3.5",
- "targets": [
- {
- "format": "time_series",
- "group": [
- {
- "params": [
- "$__interval",
- "none"
- ],
- "type": "time"
- }
- ],
- "metricColumn": "none",
- "rawQuery": false,
- "rawSql": "SELECT\n $__time(measurement),\n cpu as cpu\nFROM\n server_status\nWHERE\n $__timeFilter(measurement)\n and\n server_id IN ([[server]])\n",
- "refId": "A",
- "select": [
- [
- {
- "params": [
- "cpu"
- ],
- "type": "column"
- },
- {
- "params": [
- "max"
- ],
- "type": "aggregate"
- },
- {
- "params": [
- "cpu"
- ],
- "type": "alias"
- }
- ]
- ],
- "table": "server_status",
- "timeColumn": "measurement",
- "timeColumnType": "timestamp",
- "where": [
- {
- "name": "$__timeFilter",
- "params": [],
- "type": "macro"
- }
- ]
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Cpu Massima utilizzata $server",
- "type": "gauge"
- },
- {
- "aliasColors": {},
- "bars": false,
- "dashLength": 10,
- "dashes": false,
- "fill": 1,
- "fillGradient": 0,
- "gridPos": {
- "h": 7,
- "w": 14,
- "x": 0,
- "y": 6
- },
- "id": 4,
- "legend": {
- "avg": false,
- "current": false,
- "max": false,
- "min": false,
- "show": true,
- "total": false,
- "values": false
- },
- "lines": true,
- "linewidth": 1,
- "nullPointMode": "null",
- "options": {
- "dataLinks": []
- },
- "percentage": false,
- "pluginVersion": "6.3.5",
- "pointradius": 2,
- "points": true,
- "renderer": "flot",
- "seriesOverrides": [],
- "spaceLength": 10,
- "stack": false,
- "steppedLine": false,
- "targets": [
- {
- "format": "time_series",
- "group": [],
- "metricColumn": "none",
- "rawQuery": false,
- "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
- "refId": "A",
- "select": [
- [
- {
- "params": [
- "num_of_requests"
- ],
- "type": "column"
- }
- ]
- ],
- "table": "server_status",
- "timeColumn": "measurement",
- "timeColumnType": "timestamp",
- "where": [
- {
- "name": "$__timeFilter",
- "params": [],
- "type": "macro"
- }
- ]
- }
- ],
- "thresholds": [],
- "timeFrom": null,
- "timeRegions": [],
- "timeShift": null,
- "title": "Numero richieste al minuto",
- "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
- }
- },
- {
- "cacheTimeout": null,
- "gridPos": {
- "h": 7,
- "w": 10,
- "x": 14,
- "y": 6
- },
- "id": 9,
- "links": [],
- "options": {
- "displayMode": "lcd",
- "fieldOptions": {
- "calcs": [
- "mean"
- ],
- "defaults": {
- "mappings": [],
- "max": 100,
- "min": 0,
- "thresholds": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 70
- }
- ]
- },
- "override": {},
- "values": false
- },
- "orientation": "horizontal"
- },
- "pluginVersion": "6.3.5",
- "targets": [
- {
- "format": "time_series",
- "group": [
- {
- "params": [
- "$__interval",
- "none"
- ],
- "type": "time"
- }
- ],
- "metricColumn": "none",
- "rawQuery": false,
- "rawSql": "SELECT\n $__time(time_column),\n value1\nFROM\n metric_table\nWHERE\n $__timeFilter(time_column)\n",
- "refId": "A",
- "select": [
- [
- {
- "params": [
- "num_of_requests"
- ],
- "type": "column"
- },
- {
- "params": [
- "max"
- ],
- "type": "aggregate"
- },
- {
- "params": [
- "num_of_requests"
- ],
- "type": "alias"
- }
- ]
- ],
- "table": "server_status",
- "timeColumn": "measurement",
- "timeColumnType": "timestamp",
- "where": [
- {
- "name": "$__timeFilter",
- "params": [],
- "type": "macro"
- }
- ]
- }
- ],
- "timeFrom": null,
- "timeShift": null,
- "title": "Numero di Richieste massimo da $server",
- "type": "bargauge"
- }
- ],
- "refresh": "5s",
- "schemaVersion": 19,
- "style": "dark",
- "tags": [],
- "templating": {
- "list": [
- {
- "allValue": null,
- "current": {
- "tags": [],
- "text": "All",
- "value": [
- "$__all"
- ]
- },
- "datasource": "PostgreSQL",
- "definition": "SELECT DISTINCT server_id FROM server_status",
- "hide": 0,
- "includeAll": true,
- "label": null,
- "multi": true,
- "name": "server",
- "options": [
- {
- "selected": false,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": true,
- "text": "server1",
- "value": "server1"
- },
- {
- "selected": false,
- "text": "server2",
- "value": "server2"
- },
- {
- "selected": false,
- "text": "server3",
- "value": "server3"
- }
- ],
- "query": "SELECT DISTINCT server_id FROM server_status",
- "refresh": 0,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tags": [],
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-6h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ]
- },
- "timezone": "",
- "title": "Dashboard esercizi",
- "uid": "lnPHMItWz",
- "version": 28
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement