168 lines
3.5 KiB
JSON
168 lines
3.5 KiB
JSON
{
|
|
"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": null,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"datasource": "Prometheus",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"align": "center",
|
|
"displayMode": "auto",
|
|
"inspect": false
|
|
},
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "contact_name"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.displayMode",
|
|
"value": "color-background"
|
|
},
|
|
{
|
|
"id": "unit",
|
|
"value": "short"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "TEMPO"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "unit",
|
|
"value": "durationms"
|
|
},
|
|
{
|
|
"id": "decimals",
|
|
"value": 0
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": {
|
|
"h": 12,
|
|
"w": 24,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"id": 4,
|
|
"options": {
|
|
"footer": {
|
|
"countRows": false,
|
|
"fields": "",
|
|
"reducer": [
|
|
"sum"
|
|
],
|
|
"show": false
|
|
},
|
|
"showHeader": true,
|
|
"sortBy": [
|
|
{
|
|
"displayName": "TEMPO",
|
|
"desc": true
|
|
}
|
|
]
|
|
},
|
|
"pluginVersion": "8.0.0",
|
|
"targets": [
|
|
{
|
|
"expr": "ticket_duration_milliseconds",
|
|
"format": "table",
|
|
"instant": true,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Atendimentos - Nome e Tempo",
|
|
"transformations": [
|
|
{
|
|
"id": "organize",
|
|
"options": {
|
|
"excludeByName": {
|
|
"Time": true,
|
|
"instance": true,
|
|
"job": true,
|
|
"status": true,
|
|
"ticket_id": true,
|
|
"__name__": true,
|
|
"Value": true,
|
|
"ticket_duration_milliseconds": true
|
|
},
|
|
"indexByName": {
|
|
"contact_name": 0,
|
|
"queue": 1,
|
|
"duration_formatted": 2
|
|
},
|
|
"renameByName": {
|
|
"contact_name": "PESSOA",
|
|
"queue": "TAG",
|
|
"duration_formatted": "TEMPO"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": "convertFieldType",
|
|
"options": {
|
|
"conversions": [],
|
|
"fields": {}
|
|
}
|
|
}
|
|
],
|
|
"type": "table"
|
|
}
|
|
],
|
|
"refresh": "5s",
|
|
"schemaVersion": 27,
|
|
"style": "dark",
|
|
"tags": [
|
|
"monitoring",
|
|
"tickets",
|
|
"atendimento"
|
|
],
|
|
"templating": {
|
|
"list": []
|
|
},
|
|
"time": {
|
|
"from": "now-6h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {},
|
|
"timezone": "",
|
|
"title": "Monitoramento de Atendimento",
|
|
"uid": "monitoring-tickets",
|
|
"version": 1
|
|
}
|