You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
586 lines
13 KiB
586 lines
13 KiB
{ |
|
"annotations": { |
|
"list": [] |
|
}, |
|
"editable": true, |
|
"fiscalYearStartMonth": 0, |
|
"graphTooltip": 0, |
|
"id": null, |
|
"links": [], |
|
"liveNow": false, |
|
"panels": [ |
|
{ |
|
"datasource": "Elasticsearch", |
|
"fieldConfig": { |
|
"defaults": { |
|
"color": { |
|
"mode": "thresholds" |
|
}, |
|
"custom": { |
|
"align": "auto", |
|
"cellOptions": { |
|
"type": "auto" |
|
}, |
|
"inspect": false |
|
}, |
|
"mappings": [], |
|
"thresholds": { |
|
"mode": "absolute", |
|
"steps": [ |
|
{ |
|
"color": "green", |
|
"value": null |
|
} |
|
] |
|
} |
|
}, |
|
"overrides": [ |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Task" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "custom.cellOptions", |
|
"value": { |
|
"type": "color-text" |
|
} |
|
}, |
|
{ |
|
"id": "color", |
|
"value": { |
|
"fixedColor": "light-blue", |
|
"mode": "fixed" |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Min Duration" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "unit", |
|
"value": "s" |
|
} |
|
] |
|
}, |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Max Duration" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "unit", |
|
"value": "s" |
|
} |
|
] |
|
} |
|
] |
|
}, |
|
"gridPos": { |
|
"h": 10, |
|
"w": 12, |
|
"x": 0, |
|
"y": 0 |
|
}, |
|
"id": 1, |
|
"options": { |
|
"footer": { |
|
"fields": "", |
|
"reducer": ["sum"], |
|
"show": false |
|
}, |
|
"showHeader": true |
|
}, |
|
"pluginVersion": "10.0.0", |
|
"targets": [ |
|
{ |
|
"bucketAggs": [ |
|
{ |
|
"field": "task_type", |
|
"id": "2", |
|
"settings": { |
|
"min_doc_count": "1", |
|
"order": "desc", |
|
"orderBy": "_count", |
|
"size": "10" |
|
}, |
|
"type": "terms" |
|
} |
|
], |
|
"datasource": "Elasticsearch", |
|
"metrics": [ |
|
{ |
|
"id": "1", |
|
"type": "count" |
|
}, |
|
{ |
|
"id": "4", |
|
"type": "min", |
|
"field": "task_duration" |
|
}, |
|
{ |
|
"id": "5", |
|
"type": "max", |
|
"field": "task_duration" |
|
} |
|
], |
|
"query": "", |
|
"refId": "A", |
|
"timeField": "timestamp" |
|
} |
|
], |
|
"title": "Tasks", |
|
"transformations": [ |
|
{ |
|
"id": "organize", |
|
"options": { |
|
"excludeByName": {}, |
|
"indexByName": {}, |
|
"renameByName": { |
|
"task_type": "Task", |
|
"Count": "Total", |
|
"Min task_duration": "Min Duration", |
|
"Max task_duration": "Max Duration" |
|
} |
|
} |
|
} |
|
], |
|
"type": "table" |
|
}, |
|
{ |
|
"datasource": "Elasticsearch", |
|
"fieldConfig": { |
|
"defaults": { |
|
"color": { |
|
"mode": "palette-classic" |
|
}, |
|
"custom": { |
|
"axisBorderShow": false, |
|
"axisCenteredZero": false, |
|
"axisColorMode": "text", |
|
"axisLabel": "", |
|
"axisPlacement": "auto", |
|
"fillOpacity": 80, |
|
"gradientMode": "none", |
|
"hideFrom": { |
|
"legend": false, |
|
"tooltip": false, |
|
"viz": false |
|
}, |
|
"lineWidth": 1, |
|
"scaleDistribution": { |
|
"type": "linear" |
|
}, |
|
"thresholdsStyle": { |
|
"mode": "off" |
|
} |
|
}, |
|
"mappings": [], |
|
"thresholds": { |
|
"mode": "absolute", |
|
"steps": [ |
|
{ |
|
"color": "green", |
|
"value": null |
|
} |
|
] |
|
} |
|
}, |
|
"overrides": [ |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Create Activity" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "color", |
|
"value": { |
|
"fixedColor": "blue", |
|
"mode": "fixed" |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Close Activity" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "color", |
|
"value": { |
|
"fixedColor": "green", |
|
"mode": "fixed" |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Create WF" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "color", |
|
"value": { |
|
"fixedColor": "light-blue", |
|
"mode": "fixed" |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Close WF" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "color", |
|
"value": { |
|
"fixedColor": "dark-green", |
|
"mode": "fixed" |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Select DTO" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "color", |
|
"value": { |
|
"fixedColor": "yellow", |
|
"mode": "fixed" |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Report Generation" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "color", |
|
"value": { |
|
"fixedColor": "orange", |
|
"mode": "fixed" |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Report QC" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "color", |
|
"value": { |
|
"fixedColor": "purple", |
|
"mode": "fixed" |
|
} |
|
} |
|
] |
|
} |
|
] |
|
}, |
|
"gridPos": { |
|
"h": 10, |
|
"w": 12, |
|
"x": 12, |
|
"y": 0 |
|
}, |
|
"id": 2, |
|
"options": { |
|
"barRadius": 0, |
|
"barWidth": 0.8, |
|
"fullHighlight": false, |
|
"groupWidth": 0.7, |
|
"legend": { |
|
"calcs": [], |
|
"displayMode": "list", |
|
"placement": "right", |
|
"showLegend": true |
|
}, |
|
"orientation": "horizontal", |
|
"showValue": "never", |
|
"stacking": "normal", |
|
"tooltip": { |
|
"mode": "single", |
|
"sort": "none" |
|
}, |
|
"xTickLabelRotation": 0, |
|
"xTickLabelSpacing": 0 |
|
}, |
|
"targets": [ |
|
{ |
|
"bucketAggs": [ |
|
{ |
|
"field": "operator", |
|
"id": "2", |
|
"settings": { |
|
"min_doc_count": "1", |
|
"order": "asc", |
|
"orderBy": "_term", |
|
"size": "10" |
|
}, |
|
"type": "terms" |
|
}, |
|
{ |
|
"field": "task_type", |
|
"id": "3", |
|
"settings": { |
|
"min_doc_count": "1", |
|
"order": "desc", |
|
"orderBy": "_count", |
|
"size": "10" |
|
}, |
|
"type": "terms" |
|
} |
|
], |
|
"datasource": "Elasticsearch", |
|
"metrics": [ |
|
{ |
|
"id": "1", |
|
"type": "count" |
|
} |
|
], |
|
"query": "", |
|
"refId": "A", |
|
"timeField": "timestamp" |
|
} |
|
], |
|
"title": "Tasks by Operator", |
|
"transformations": [ |
|
{ |
|
"id": "groupingToMatrix", |
|
"options": { |
|
"columnField": "task_type", |
|
"rowField": "operator", |
|
"valueField": "Count", |
|
"emptyValue": "null" |
|
} |
|
} |
|
], |
|
"type": "barchart" |
|
}, |
|
{ |
|
"datasource": "Elasticsearch", |
|
"fieldConfig": { |
|
"defaults": { |
|
"color": { |
|
"mode": "thresholds" |
|
}, |
|
"custom": { |
|
"align": "auto", |
|
"cellOptions": { |
|
"type": "auto" |
|
}, |
|
"inspect": false |
|
}, |
|
"mappings": [], |
|
"thresholds": { |
|
"mode": "absolute", |
|
"steps": [ |
|
{ |
|
"color": "green", |
|
"value": null |
|
} |
|
] |
|
} |
|
}, |
|
"overrides": [ |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Task" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "custom.cellOptions", |
|
"value": { |
|
"type": "color-text" |
|
} |
|
}, |
|
{ |
|
"id": "color", |
|
"value": { |
|
"fixedColor": "light-blue", |
|
"mode": "fixed" |
|
} |
|
} |
|
] |
|
}, |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Min" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "unit", |
|
"value": "s" |
|
} |
|
] |
|
}, |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Max" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "unit", |
|
"value": "s" |
|
} |
|
] |
|
}, |
|
{ |
|
"matcher": { |
|
"id": "byName", |
|
"options": "Average" |
|
}, |
|
"properties": [ |
|
{ |
|
"id": "unit", |
|
"value": "s" |
|
}, |
|
{ |
|
"id": "decimals", |
|
"value": 1 |
|
} |
|
] |
|
} |
|
] |
|
}, |
|
"gridPos": { |
|
"h": 10, |
|
"w": 24, |
|
"x": 0, |
|
"y": 10 |
|
}, |
|
"id": 3, |
|
"options": { |
|
"footer": { |
|
"fields": "", |
|
"reducer": ["sum"], |
|
"show": false |
|
}, |
|
"showHeader": true |
|
}, |
|
"pluginVersion": "10.0.0", |
|
"targets": [ |
|
{ |
|
"bucketAggs": [ |
|
{ |
|
"field": "task_type", |
|
"id": "2", |
|
"settings": { |
|
"min_doc_count": "1", |
|
"order": "desc", |
|
"orderBy": "_count", |
|
"size": "10" |
|
}, |
|
"type": "terms" |
|
}, |
|
{ |
|
"field": "operator", |
|
"id": "3", |
|
"settings": { |
|
"min_doc_count": "1", |
|
"order": "asc", |
|
"orderBy": "_term", |
|
"size": "10" |
|
}, |
|
"type": "terms" |
|
} |
|
], |
|
"datasource": "Elasticsearch", |
|
"metrics": [ |
|
{ |
|
"id": "1", |
|
"type": "count" |
|
}, |
|
{ |
|
"id": "4", |
|
"type": "min", |
|
"field": "task_duration" |
|
}, |
|
{ |
|
"id": "5", |
|
"type": "max", |
|
"field": "task_duration" |
|
}, |
|
{ |
|
"id": "6", |
|
"type": "avg", |
|
"field": "task_duration" |
|
} |
|
], |
|
"query": "", |
|
"refId": "A", |
|
"timeField": "timestamp" |
|
} |
|
], |
|
"title": "Tasks", |
|
"transformations": [ |
|
{ |
|
"id": "organize", |
|
"options": { |
|
"excludeByName": {}, |
|
"indexByName": { |
|
"task_type": 0, |
|
"operator": 1, |
|
"Count": 2, |
|
"Min task_duration": 3, |
|
"Max task_duration": 4, |
|
"Average task_duration": 5 |
|
}, |
|
"renameByName": { |
|
"task_type": "Task", |
|
"operator": "Operator", |
|
"Count": "Total", |
|
"Min task_duration": "Min", |
|
"Max task_duration": "Max", |
|
"Average task_duration": "Average" |
|
} |
|
} |
|
} |
|
], |
|
"type": "table" |
|
} |
|
], |
|
"refresh": "", |
|
"schemaVersion": 38, |
|
"style": "dark", |
|
"tags": [], |
|
"templating": { |
|
"list": [] |
|
}, |
|
"time": { |
|
"from": "now-90d", |
|
"to": "now" |
|
}, |
|
"timepicker": {}, |
|
"timezone": "", |
|
"title": "Tasks", |
|
"uid": "tasks-dashboard-01", |
|
"version": 1, |
|
"weekStart": "" |
|
}
|
|
|