first commit

This commit is contained in:
2026-02-09 17:14:40 -03:00
commit 52791b718c
22 changed files with 2651 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
apiVersion: 1
providers:
- name: 'Monitoring Dashboards'
orgId: 1
folder: ''
type: file
disableDeletion: false
updateIntervalSeconds: 10
allowUiUpdates: true
options:
path: /etc/grafana/provisioning/dashboards

View File

@@ -0,0 +1,167 @@
{
"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
}