{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 1, "links": [], "panels": [ { "fieldConfig": { "defaults": {}, "overrides": [] }, "gridPos": { "h": 4, "w": 24, "x": 0, "y": 0 }, "id": 9, "options": { "code": { "language": "plaintext", "showLineNumbers": false, "showMiniMap": false }, "content": "
\r\n \r\n
\r\n", "mode": "html" }, "pluginVersion": "12.3.2", "title": "", "transparent": true, "type": "text" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 4, "x": 0, "y": 4 }, "id": 12, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "center", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": { "valueSize": 150 }, "textMode": "value", "wideLayout": true }, "pluginVersion": "12.3.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "chamados_total", "format": "time_series", "instant": true, "refId": "A" } ], "title": "Chamados Total", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 4, "x": 4, "y": 4 }, "id": 5, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "center", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": { "valueSize": 150 }, "textMode": "value", "wideLayout": true }, "pluginVersion": "12.3.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "chamados_abertos_hoje", "format": "time_series", "instant": true, "refId": "A" } ], "title": "Chamados Abertos Hoje", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 4, "x": 8, "y": 4 }, "id": 6, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "center", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": { "valueSize": 150 }, "textMode": "value", "wideLayout": true }, "pluginVersion": "12.3.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "chamados_do_mes", "format": "time_series", "instant": true, "refId": "A" } ], "title": "Chamados do Mês", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 } ] } }, "overrides": [] }, "gridPos": { "h": 7, "w": 4, "x": 12, "y": 4 }, "id": 7, "options": { "colorMode": "background", "graphMode": "none", "justifyMode": "center", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "lastNotNull" ], "fields": "", "values": false }, "showPercentChange": false, "text": { "valueSize": 150 }, "textMode": "value", "wideLayout": true }, "pluginVersion": "12.3.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "chamados_concluidos", "format": "time_series", "instant": true, "refId": "A" } ], "title": "Chamados Concluídos Hoje", "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "custom": { "align": "center", "cellOptions": { "type": "auto" }, "footer": { "reducers": [] }, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 0 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Value" }, "properties": [ { "id": "custom.cellOptions", "value": { "mode": "gradient", "type": "color-background" } }, { "id": "unit", "value": "s" }, { "id": "custom.width", "value": 150 } ] }, { "matcher": { "id": "byName", "options": "duration_formatted" }, "properties": [ { "id": "custom.width", "value": 150 } ] } ] }, "gridPos": { "h": 7, "w": 8, "x": 16, "y": 4 }, "id": 8, "options": { "cellHeight": "sm", "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Value" } ] }, "pluginVersion": "12.3.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "longest_ticket_duration_seconds", "format": "table", "instant": true, "refId": "A" } ], "title": "Lista de mais tempo em atendimento agora", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "__name__": true, "instance": true, "job": true, "queue": true, "ticket_id": true, "user_name": true }, "includeByName": {}, "indexByName": { "Value": 4, "contact_name": 0, "duration_formatted": 3, "queue": 2, "user_name": 1 }, "renameByName": { "Value": "Segundos", "contact_name": "Usuário", "duration_formatted": "Tempo", "queue": "TAG", "user_name": "Atendente" } } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "custom": { "align": "center", "cellOptions": { "type": "auto" }, "footer": { "reducers": [] }, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 600000 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "TEMPO" }, "properties": [ { "id": "unit", "value": "ms" }, { "id": "custom.cellOptions", "value": { "type": "color-background" } }, { "id": "color", "value": { "mode": "thresholds" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 60000 } ] } } ] } ] }, "gridPos": { "h": 12, "w": 12, "x": 0, "y": 11 }, "id": 4, "options": { "cellHeight": "sm", "showHeader": true, "sortBy": [ { "desc": true, "displayName": "TEMPO" } ] }, "pluginVersion": "12.3.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "max by (contact_name, group_tag) (ticket_duration_milliseconds{status=\"group\"})", "format": "table", "instant": true, "refId": "A" } ], "title": "Grupos - Nome e Tempo", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "__name__": true, "duration_formatted": true, "instance": true, "job": true, "queue": true, "status": true, "tag": true, "ticket_duration_milliseconds": true, "ticket_id": true }, "indexByName": { "Value": 2, "contact_name": 0, "group_tag": 1 }, "renameByName": { "Value": "TEMPO", "contact_name": "PESSOA", "group_tag": "TAG" } } }, { "id": "convertFieldType", "options": { "conversions": [], "fields": {} } } ], "type": "table" }, { "fieldConfig": { "defaults": { "custom": { "align": "left", "cellOptions": { "type": "auto" }, "filterable": false, "footer": { "reducers": [] }, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 80 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "TEMPO" }, "properties": [ { "id": "unit", "value": "ms" }, { "id": "custom.cellOptions", "value": { "type": "color-background" } }, { "id": "color", "value": { "mode": "thresholds" } }, { "id": "thresholds", "value": { "mode": "absolute", "steps": [ { "color": "green", "value": 0 }, { "color": "red", "value": 60000 } ] } } ] } ] }, "gridPos": { "h": 12, "w": 12, "x": 12, "y": 11 }, "id": 10, "options": { "cellHeight": "sm", "showHeader": true, "sortBy": [ { "desc": true, "displayName": "TEMPO" } ] }, "pluginVersion": "12.3.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "max by (contact_name, tag) (ticket_duration_milliseconds{status!=\"group\"})", "format": "table", "instant": true, "refId": "A" } ], "title": "Atendimentos - Nome e Tempo", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "__name__": true, "duration_formatted": true, "group_tag": true, "instance": true, "job": true, "queue": true, "status": true, "ticket_duration_milliseconds": true, "ticket_id": true }, "indexByName": { "Value": 2, "contact_name": 0, "tag": 1 }, "renameByName": { "Value": "TEMPO", "contact_name": "PESSOA", "tag": "TAG" } } }, { "id": "convertFieldType", "options": { "conversions": [], "fields": {} } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "fieldConfig": { "defaults": { "custom": { "align": "center", "cellOptions": { "type": "auto" }, "footer": { "reducers": [] }, "inspect": false }, "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "red", "value": 0 }, { "color": "green", "value": 1 } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Value" }, "properties": [ { "id": "mappings", "value": [ { "options": { "0": { "color": "red", "text": "Indisponível" }, "1": { "color": "green", "text": "Disponível" } }, "type": "value" } ] }, { "id": "custom.cellOptions", "value": { "type": "color-background" } }, { "id": "custom.width", "value": 860 } ] }, { "matcher": { "id": "byName", "options": "Nome" }, "properties": [ { "id": "custom.width", "value": 860 } ] } ] }, "gridPos": { "h": 5, "w": 24, "x": 0, "y": 23 }, "id": 11, "options": { "cellHeight": "sm", "showHeader": true, "sortBy": [ { "desc": false, "displayName": "Nome" } ] }, "pluginVersion": "12.3.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "PBFA97CFB590B2093" }, "expr": "probe_success{job=\"blackbox-http\"}", "format": "table", "instant": true, "refId": "A" } ], "title": "Aplicações Externas - Disponibilidade", "transformations": [ { "id": "organize", "options": { "excludeByName": { "Time": true, "__name__": true, "app_name": true, "instance": true, "job": true, "module": true, "target": true }, "indexByName": { "Value": 1, "app": 0 }, "renameByName": { "Value": "Disponível", "app": "Nome" } } } ], "type": "table" } ], "preload": false, "refresh": "5s", "schemaVersion": 42, "tags": [ "monitoring", "tickets", "atendimento" ], "templating": { "list": [] }, "time": { "from": "now-6h", "to": "now" }, "timepicker": {}, "timezone": "", "title": "Monitoramento de Atendimento", "uid": "monitoring-tickets", "version": 6 }