grafana-templates/WPI - GLPI - ASSISTENCIA-1706238619993.json

4647 lines
113 KiB
JSON

{
"__inputs": [
{
"name": "DS_MYSQL",
"label": "MySQL",
"description": "",
"type": "datasource",
"pluginId": "mysql",
"pluginName": "MySQL"
}
],
"__elements": [],
"__requires": [
{
"type": "panel",
"id": "barchart",
"name": "Bar chart",
"version": ""
},
{
"type": "panel",
"id": "bargauge",
"name": "Bar gauge",
"version": ""
},
{
"type": "panel",
"id": "gauge",
"name": "Gauge",
"version": ""
},
{
"type": "grafana",
"id": "grafana",
"name": "Grafana",
"version": "9.0.0"
},
{
"type": "datasource",
"id": "mysql",
"name": "MySQL",
"version": "1.0.0"
},
{
"type": "panel",
"id": "piechart",
"name": "Pie chart",
"version": ""
},
{
"type": "panel",
"id": "stat",
"name": "Stat",
"version": ""
},
{
"type": "panel",
"id": "timeseries",
"name": "Time series",
"version": ""
}
],
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "Dashboard fornece estatísticas sobre Tickets e Ativos do GLPI através do Data-Source MySQL. TICKETS GLPI > NOVOS TICKETS; > ABERTO; > PENDENTE; > NÃO ATRIBUIDOS; > ATRIBUIDOS; > SOLUCIONADOS HOJE; > SOLUCIONADOS; > ENCERRADOS; > PRIORIDADE: MÉDIA, ALTA e CRÍTICA; > RANGINK DE TICKETS; > ATRIBUIDOS / TECNICOS; > EM ATENDIMENTO / TECNICOS; > TICKETS RECEBIDOS POR DIA; > TICKETS SOLUCIONADOS / ENCERRADOS POR DIA; > Nº TICKETS EM ABERTOS POR DIA ( ULTIMOS 30 DIAS );",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 17441,
"graphTooltip": 0,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"datasource": {
"type": "ddurieux-glpi-datasource",
"uid": "OEbfe0vVz"
},
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 14,
"panels": [],
"targets": [
{
"datasource": {
"type": "ddurieux-glpi-datasource",
"uid": "OEbfe0vVz"
},
"refId": "A"
}
],
"title": "Overview",
"type": "row"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "Novos Tickets de hoje",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "NOVOS TICKETS",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 0,
"y": 1
},
"id": 55,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS NÃO ATRIBUÍDOS",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 3,
"y": 1
},
"id": 54,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "Tickets Planejados",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS PLANEJADOS",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 6,
"y": 1
},
"id": 58,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "FILA DE NOTIFICAÇÕES",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 6,
"x": 9,
"y": 1
},
"id": 59,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS SOLUCIONADOS",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 15,
"y": 1
},
"id": 64,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS PENDENTES",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 18,
"y": 1
},
"id": 56,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS ENCERRADOS",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 21,
"y": 1
},
"id": 63,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "#9bdf57",
"value": 15
},
{
"color": "#ebe238",
"value": 30
},
{
"color": "#f27849",
"value": 45
},
{
"color": "red",
"value": 60
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 3
},
"id": 27,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where DATE(date_creation) = CURDATE()",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "green",
"value": 10
},
{
"color": "#ebe238",
"value": 20
},
{
"color": "#f27849",
"value": 30
},
{
"color": "red",
"value": 40
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 3
},
"id": 16,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where status = 1 and is_deleted = 0",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "Tickets Planejados",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"max": 50,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 6,
"y": 3
},
"id": 18,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where status = 3",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 25,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "super-light-green",
"value": null
},
{
"color": "yellow",
"value": 5
},
{
"color": "dark-red",
"value": 10
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 6,
"x": 9,
"y": 3
},
"id": 45,
"options": {
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showThresholdLabels": false,
"showThresholdMarkers": true
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(*) as notificationCount FROM `glpi_queuednotifications` where is_deleted = 0 AND sent_time is null;",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "gauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "dark-blue",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 15,
"y": 3
},
"id": 66,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where status = 5 and is_deleted = 0",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"max": 100,
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "dark-orange",
"value": 1
},
{
"color": "red",
"value": 5
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 18,
"y": 3
},
"id": 57,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where status = 4",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#110909",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 21,
"y": 3
},
"id": 65,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where status = 6 and is_deleted = 0",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "TICKETS ATRIBUIDOS",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS ABERTOS",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 0,
"y": 6
},
"id": 61,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "TICKETS ATRIBUIDOS",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS ATRIBUIDOS",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 3,
"y": 6
},
"id": 60,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "SOLUCIONADOS HOJE",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 6,
"y": 6
},
"id": 67,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "PRIORIDADE MÉDIA",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 15,
"y": 6
},
"id": 68,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "PRIORIDADE ALTA",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 18,
"y": 6
},
"id": 69,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "PRIORIDADE CRITICA",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 3,
"x": 21,
"y": 6
},
"id": 92,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "TICKETS ABERTOS / ATRIBUIDOS",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "light-orange",
"value": null
},
{
"color": "yellow",
"value": 50
},
{
"color": "#bd0000",
"value": 100
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 8
},
"id": 62,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where status in (1, 2, 3, 4, 5) AND\r\n\tglpi_tickets.is_deleted = 0",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "TICKETS ABERTOS / ATRIBUIDOS",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "light-orange",
"value": null
},
{
"color": "dark-orange",
"value": 50
},
{
"color": "#bd0000",
"value": 100
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 8
},
"id": 26,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where status = 2",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "dark-blue",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 6,
"y": 8
},
"id": 71,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where DATE(solvedate) = CURDATE()",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 15,
"y": 8
},
"id": 28,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where status in (1, 2, 3, 4) AND priority = 3",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "dark-orange",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 18,
"y": 8
},
"id": 70,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where status in (1, 2, 3, 4) AND priority = 4",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "dark-red",
"value": 1
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 21,
"y": 8
},
"id": 93,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {},
"textMode": "value"
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [],
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT count(id) as ticketCount FROM `glpi_tickets` where status in (1, 2, 3, 4) AND priority = 6",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS POR LOCALIZAÇÃO",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 8,
"x": 0,
"y": 11
},
"id": 94,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "TOTAL TICKETS EM ATENDIMENTO / POR TECNICO",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS EM ATENDIMENTO / POR TECNICO",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 8,
"x": 8,
"y": 11
},
"id": 82,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS POR CATEGORIA",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 8,
"x": 16,
"y": 11
},
"id": 96,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "Technician Assignments\nTotal de Chamados Atribuídos / Por Técnicos ",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"max": 300,
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 13
},
"id": 79,
"maxDataPoints": 1000,
"options": {
"displayLabels": [
"name",
"value"
],
"legend": {
"displayMode": "list",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [
{
"params": [
"1d",
"previous"
],
"type": "time"
}
],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT glpi_locations.name,\r\n COUNT(glpi_tickets.id) totalCount\r\nFROM glpi_locations\r\nINNER JOIN glpi_tickets on glpi_tickets.locations_id = glpi_locations.id\r\nWHERE glpi_tickets.status in (1, 2, 3, 4)\r\nGROUP BY glpi_locations.name\r\nORDER BY totalcount DESC",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
},
{
"params": [
"count"
],
"type": "aggregate"
},
{
"params": [
"Tickets"
],
"type": "alias"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_tickets",
"timeColumn": "date",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
},
{
"datatype": "int",
"name": "",
"params": [
"status",
"=",
"1"
],
"type": "expression"
}
]
}
],
"transparent": true,
"type": "piechart"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "Technician Assignments\nTotal de Chamados Atribuídos / Por Técnicos ",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"mappings": [],
"max": 50,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "semi-dark-red",
"value": 25
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 13
},
"id": 80,
"maxDataPoints": 1000,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [],
"fields": "",
"values": true
},
"showUnfilled": true
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [
{
"params": [
"1d",
"previous"
],
"type": "time"
}
],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT COUNT(glpi_tickets.id) ticketCount, glpi_users.firstname FROM glpi_tickets\r\nINNER JOIN glpi_tickets_users ON glpi_tickets_users.tickets_id = glpi_tickets.id\r\nINNER JOIN glpi_users ON glpi_tickets_users.users_id = glpi_users.id\r\nwhere glpi_tickets_users.type = \"2\" AND glpi_tickets.status = \"2\"\r\nGROUP BY glpi_users.firstname\r\nORDER BY ticketCount DESC",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
},
{
"params": [
"count"
],
"type": "aggregate"
},
{
"params": [
"Tickets"
],
"type": "alias"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_tickets",
"timeColumn": "date",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
},
{
"datatype": "int",
"name": "",
"params": [
"status",
"=",
"1"
],
"type": "expression"
}
]
}
],
"transparent": true,
"type": "bargauge"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "Technician Assignments\nTotal de Chamados Atribuídos / Por Técnicos ",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
}
},
"mappings": [],
"max": 300,
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 13
},
"id": 97,
"maxDataPoints": 1000,
"options": {
"displayLabels": [
"name",
"value"
],
"legend": {
"displayMode": "list",
"placement": "right",
"showLegend": true,
"values": [
"value"
]
},
"pieType": "donut",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": true
},
"tooltip": {
"mode": "multi",
"sort": "none"
}
},
"pluginVersion": "9.2.4",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [
{
"params": [
"1d",
"previous"
],
"type": "time"
}
],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT glpi_itilcategories.name,\r\n COUNT(glpi_tickets.id) totalCount\r\nFROM glpi_itilcategories\r\nINNER JOIN glpi_tickets on glpi_tickets.itilcategories_id = glpi_itilcategories.id\r\nWHERE glpi_tickets.status in (1, 2, 3, 4)\r\nGROUP BY glpi_itilcategories.name\r\nORDER BY totalcount DESC",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
},
{
"params": [
"count"
],
"type": "aggregate"
},
{
"params": [
"Tickets"
],
"type": "alias"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_tickets",
"timeColumn": "date",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
},
{
"datatype": "int",
"name": "",
"params": [
"status",
"=",
"1"
],
"type": "expression"
}
]
}
],
"transparent": true,
"type": "piechart"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS RECEBIDOS POR DIA",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 12,
"x": 0,
"y": 21
},
"id": 72,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TICKETS SOLUCIONADOS / ENCERRADOS POR DIA",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 12,
"x": 12,
"y": 21
},
"id": 73,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "Incoming Tickets per Day\nTickets recebidos por Dia",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"axisGridShow": false,
"axisLabel": "",
"axisPlacement": "right",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 100,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 5,
"pointSize": 10,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "always",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "semi-dark-blue",
"value": null
},
{
"color": "light-blue",
"value": 5
},
{
"color": "semi-dark-orange",
"value": 10
},
{
"color": "dark-red",
"value": 15
}
]
},
"unit": "Tickets"
},
"overrides": [
{
"__systemRef": "hideSeriesFrom",
"matcher": {
"id": "byNames",
"options": {
"mode": "exclude",
"names": [
"totalCount"
],
"prefix": "All except:",
"readOnly": true
}
},
"properties": [
{
"id": "custom.hideFrom",
"value": {
"legend": false,
"tooltip": false,
"viz": true
}
}
]
}
]
},
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 23
},
"id": 25,
"interval": "15m",
"maxDataPoints": 1000,
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "table",
"placement": "right",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "time_series",
"group": [
{
"params": [
"1d",
"previous"
],
"type": "time"
}
],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT DATE(glpi_tickets.date_creation) time,\r\n COUNT(DISTINCT id) totalCount\r\nFROM glpi_tickets\r\nGROUP BY DATE(glpi_tickets.date_creation)",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
},
{
"params": [
"count"
],
"type": "aggregate"
},
{
"params": [
"Tickets"
],
"type": "alias"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_tickets",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
},
{
"datatype": "int",
"name": "",
"params": [
"status",
"=",
"2"
],
"type": "expression"
}
]
}
],
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "Solutions per Day\nSolucionados por Dia",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"axisGridShow": false,
"axisLabel": "",
"axisPlacement": "right",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 100,
"gradientMode": "scheme",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "smooth",
"lineStyle": {
"fill": "solid"
},
"lineWidth": 5,
"pointSize": 10,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": true,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "area"
}
},
"decimals": 0,
"mappings": [],
"min": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-red",
"value": null
},
{
"color": "dark-orange",
"value": 5
},
{
"color": "light-blue",
"value": 10
},
{
"color": "semi-dark-blue",
"value": 15
}
]
},
"unit": "Solutions"
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 23
},
"id": 30,
"interval": "15m",
"maxDataPoints": 1000,
"options": {
"legend": {
"calcs": [
"last"
],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "8.4.2",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "time_series",
"group": [
{
"params": [
"1d",
"previous"
],
"type": "time"
}
],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT DATE(glpi_tickets.solvedate) time,\r\n COUNT(DISTINCT id) totalCount\r\nFROM glpi_tickets\r\nGROUP BY DATE(glpi_tickets.solvedate)",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
},
{
"params": [
"count"
],
"type": "aggregate"
},
{
"params": [
"Tickets"
],
"type": "alias"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_tickets",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
},
{
"datatype": "int",
"name": "",
"params": [
"status",
"=",
"2"
],
"type": "expression"
}
]
}
],
"transparent": true,
"type": "timeseries"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "Nº DE TICKETS EM ABERTO POR DIA ( ULT 30 DIAS)",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 24,
"x": 0,
"y": 29
},
"id": 74,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "Open Tickets per Day | (Approx.)\nBilhetes Abertos por Dia | (Aproximadamente.)",
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "#2b6d58",
"mode": "thresholds"
},
"custom": {
"axisLabel": "",
"axisPlacement": "right",
"axisSoftMin": 0,
"fillOpacity": 100,
"gradientMode": "hue",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineWidth": 0,
"scaleDistribution": {
"type": "linear"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 6,
"w": 24,
"x": 0,
"y": 31
},
"id": 41,
"options": {
"barRadius": 0.5,
"barWidth": 0.36,
"groupWidth": 1,
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": false
},
"orientation": "auto",
"showValue": "auto",
"stacking": "normal",
"text": {
"valueSize": 10
},
"tooltip": {
"mode": "single",
"sort": "none"
},
"xTickLabelRotation": -45,
"xTickLabelSpacing": 100
},
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE(), count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() >= date(glpi_tickets.date_creation) AND\n CURDATE() < date(glpi_tickets.solvedate)OR\n glpi_tickets.solvedate IS NULL;",
"refId": "AE",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 1 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 1 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 1 DAY < date(glpi_tickets.solvedate)OR\n glpi_tickets.solvedate IS NULL;",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 2 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 2 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 2 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "B",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 3 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 3 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 3 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "C",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 4 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 4 DAY > date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 4 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "D",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 5 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 5 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 5 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "E",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 6 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 6 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 6 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "F",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 7 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 7 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 7 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "G",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 8 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 8 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 8 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "H",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 9 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 9 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 9 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "I",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 10 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 10 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 10 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "J",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 11 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 11 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 11 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "K",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 12 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 12 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 12 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "L",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 13 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 13 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 13 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "M",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 14 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 14 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 14 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "N",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 15 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 15 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 15 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "O",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 16 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 16 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 16 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "P",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 17 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 17 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 17 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "Q",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 18 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 18 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 18 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "R",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 19 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 19 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 19 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "S",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 20 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 20 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 20 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "T",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 21 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 21 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 21 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "U",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 22 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 22 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 22 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "V",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 23 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 23 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 23 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "W",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 24 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 24 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 24 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "X",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 25 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 25 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 25 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "Y",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 26 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 26 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 26 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "Z",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 27 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 27 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 27 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "AA",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 28 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 28 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 28 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "AB",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 29 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 29 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 29 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "AC",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"format": "table",
"group": [],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "select CURDATE() - Interval 30 DAY, count(glpi_tickets.id)\nfrom glpi_tickets\nwhere CURDATE() - Interval 30 DAY >= date(glpi_tickets.date_creation) AND\n CURDATE() - Interval 30 DAY < date(glpi_tickets.solvedate) OR\n glpi_tickets.solvedate IS NULL;",
"refId": "AD",
"select": [
[
{
"params": [
"id"
],
"type": "column"
}
]
],
"table": "glpi_domainrecords",
"timeColumn": "date_mod",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
}
]
}
],
"transparent": true,
"type": "barchart"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"decimals": 0,
"mappings": [],
"min": 0,
"noValue": "TOTAL TICKETS ATRIBUIDOS / POR TECNICO",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "#450552"
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 2,
"w": 12,
"x": 0,
"y": 37
},
"id": 81,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"text": {
"valueSize": 25
},
"textMode": "auto"
},
"pluginVersion": "9.0.0",
"transparent": true,
"type": "stat"
},
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"description": "Technician Assignments\nTotal de Chamados Atribuídos / Por Técnicos ",
"fieldConfig": {
"defaults": {
"color": {
"mode": "continuous-GrYlRd"
},
"mappings": [],
"max": 300,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green"
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 9,
"w": 12,
"x": 0,
"y": 39
},
"id": 95,
"maxDataPoints": 1000,
"options": {
"displayMode": "lcd",
"minVizHeight": 10,
"minVizWidth": 0,
"orientation": "horizontal",
"reduceOptions": {
"calcs": [],
"fields": "",
"values": true
},
"showUnfilled": true
},
"pluginVersion": "9.0.0",
"targets": [
{
"datasource": {
"type": "mysql",
"uid": "${DS_MYSQL}"
},
"editorMode": "code",
"format": "table",
"group": [
{
"params": [
"1d",
"previous"
],
"type": "time"
}
],
"hide": false,
"metricColumn": "none",
"rawQuery": true,
"rawSql": "SELECT \r\n COUNT(tickets_id) ticketCount,\r\n glpi_users.firstname\r\nFROM glpi_tickets_users\r\nINNER JOIN glpi_users\r\nON glpi_tickets_users.users_id = glpi_users.id\r\nwhere type = 2 AND glpi_users.firstname != \"\"\r\nGROUP BY glpi_users.firstname\r\nORDER BY ticketCount DESC",
"refId": "A",
"select": [
[
{
"params": [
"id"
],
"type": "column"
},
{
"params": [
"count"
],
"type": "aggregate"
},
{
"params": [
"Tickets"
],
"type": "alias"
}
]
],
"sql": {
"columns": [
{
"parameters": [],
"type": "function"
}
],
"groupBy": [
{
"property": {
"type": "string"
},
"type": "groupBy"
}
],
"limit": 50
},
"table": "glpi_tickets",
"timeColumn": "date",
"timeColumnType": "timestamp",
"where": [
{
"name": "$__timeFilter",
"params": [],
"type": "macro"
},
{
"datatype": "int",
"name": "",
"params": [
"status",
"=",
"1"
],
"type": "expression"
}
]
}
],
"transparent": true,
"type": "bargauge"
}
],
"refresh": "30s",
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-30d",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "WPI - GLPI - ASSISTENCIA",
"uid": "r3X6LnW4",
"version": 5,
"weekStart": "monday"
}