This commit is contained in:
@@ -455,7 +455,7 @@
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 12,
|
||||
"w": 24,
|
||||
"w": 12,
|
||||
"x": 0,
|
||||
"y": 11
|
||||
},
|
||||
@@ -477,7 +477,145 @@
|
||||
"type": "prometheus",
|
||||
"uid": "PBFA97CFB590B2093"
|
||||
},
|
||||
"expr": "ticket_duration_milliseconds",
|
||||
"expr": "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,
|
||||
"inspect": false
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green",
|
||||
"value": null
|
||||
},
|
||||
{
|
||||
"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": "ticket_duration_milliseconds{status!=\"group\"}",
|
||||
"format": "table",
|
||||
"instant": true,
|
||||
"refId": "A"
|
||||
@@ -492,8 +630,10 @@
|
||||
"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
|
||||
@@ -501,12 +641,12 @@
|
||||
"indexByName": {
|
||||
"Value": 2,
|
||||
"contact_name": 0,
|
||||
"queue": 1
|
||||
"tag": 1
|
||||
},
|
||||
"renameByName": {
|
||||
"Value": "TEMPO",
|
||||
"contact_name": "PESSOA",
|
||||
"queue": "TAG"
|
||||
"tag": "TAG"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user