76 lines
2.5 KiB
JSON
76 lines
2.5 KiB
JSON
|
|
{
|
||
|
|
"annotations": { "list": [] },
|
||
|
|
"editable": true,
|
||
|
|
"graphTooltip": 1,
|
||
|
|
"id": null,
|
||
|
|
"links": [],
|
||
|
|
"panels": [
|
||
|
|
{
|
||
|
|
"datasource": { "type": "prometheus", "uid": "Prometheus" },
|
||
|
|
"fieldConfig": { "defaults": { "unit": "ms" }, "overrides": [] },
|
||
|
|
"gridPos": { "h": 8, "w": 24, "x": 0, "y": 0 },
|
||
|
|
"id": 1,
|
||
|
|
"targets": [
|
||
|
|
{
|
||
|
|
"expr": "histogram_quantile(0.95, sum(rate(business_operation_duration_milliseconds_bucket[5m])) by (le, operation))",
|
||
|
|
"legendFormat": "{{operation}} p95",
|
||
|
|
"refId": "A"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"title": "Business operation duration p95",
|
||
|
|
"type": "timeseries"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"datasource": { "type": "prometheus", "uid": "Prometheus" },
|
||
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 8 },
|
||
|
|
"id": 2,
|
||
|
|
"targets": [
|
||
|
|
{
|
||
|
|
"expr": "sum(rate(business_operation_duration_milliseconds_count[5m])) by (operation, outcome)",
|
||
|
|
"legendFormat": "{{operation}} / {{outcome}}",
|
||
|
|
"refId": "A"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"title": "Business operations rate",
|
||
|
|
"type": "timeseries"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"datasource": { "type": "prometheus", "uid": "Prometheus" },
|
||
|
|
"fieldConfig": { "defaults": { "unit": "ms" }, "overrides": [] },
|
||
|
|
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 8 },
|
||
|
|
"id": 3,
|
||
|
|
"targets": [
|
||
|
|
{
|
||
|
|
"expr": "histogram_quantile(0.95, sum(rate(business_operation_duration_milliseconds_bucket[5m])) by (le, operation)) and on(operation) (operation=~\"conversation\\\\.ws\\\\..*|asr\\\\.transcribe|tts\\\\.synthesize\")",
|
||
|
|
"legendFormat": "{{operation}}",
|
||
|
|
"refId": "A"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"title": "WS / ASR / TTS p95",
|
||
|
|
"type": "timeseries"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"datasource": { "type": "prometheus", "uid": "Prometheus" },
|
||
|
|
"fieldConfig": { "defaults": { "unit": "ms" }, "overrides": [] },
|
||
|
|
"gridPos": { "h": 8, "w": 24, "x": 0, "y": 16 },
|
||
|
|
"id": 4,
|
||
|
|
"targets": [
|
||
|
|
{
|
||
|
|
"expr": "histogram_quantile(0.95, sum(rate(business_operation_duration_milliseconds_bucket[5m])) by (le, operation)) and on(operation) (operation=~\"memoir\\\\..*\")",
|
||
|
|
"legendFormat": "{{operation}}",
|
||
|
|
"refId": "A"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"title": "Memoir pipeline phases p95",
|
||
|
|
"type": "timeseries"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"schemaVersion": 39,
|
||
|
|
"tags": ["life-echo", "business"],
|
||
|
|
"templating": { "list": [] },
|
||
|
|
"time": { "from": "now-6h", "to": "now" },
|
||
|
|
"title": "Life Echo Business",
|
||
|
|
"uid": "life-echo-business",
|
||
|
|
"version": 1
|
||
|
|
}
|