Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 24 additions & 10 deletions grafana/prod/dashboards/Ai Monitoring/ai-gateway.json
Original file line number Diff line number Diff line change
Expand Up @@ -1857,7 +1857,8 @@
"mode": "absolute",
"steps": [
{
"color": "transparent"
"color": "transparent",
"value": 0
}
]
},
Expand Down Expand Up @@ -1904,7 +1905,7 @@
}
]
},
"pluginVersion": "11.1.3",
"pluginVersion": "12.1.1",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -1967,6 +1968,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
Expand Down Expand Up @@ -1999,7 +2001,8 @@
"mode": "absolute",
"steps": [
{
"color": "transparent"
"color": "transparent",
"value": 0
}
]
},
Expand Down Expand Up @@ -2028,11 +2031,12 @@
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "multi",
"sort": "desc"
}
},
"pluginVersion": "11.1.0",
"pluginVersion": "12.1.1",
"targets": [
{
"datasource": {
Expand Down Expand Up @@ -2146,6 +2150,7 @@
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"barWidthFactor": 0.6,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
Expand Down Expand Up @@ -2176,7 +2181,8 @@
"mode": "absolute",
"steps": [
{
"color": "green"
"color": "green",
"value": 0
},
{
"color": "red",
Expand Down Expand Up @@ -2208,10 +2214,12 @@
"showLegend": true
},
"tooltip": {
"hideZeros": false,
"mode": "single",
"sort": "none"
}
},
"pluginVersion": "12.1.1",
"targets": [
{
"datasource": {
Expand All @@ -2220,7 +2228,7 @@
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "count by(orchestrator_version) (count by(orchestrator_uri, orchestrator_version, ) (increase(livepeer_ai_request_latency_score{livepeer_live_app=~\".*-livepeer-ai-gateway\", pipeline=~\"${pipeline:pipe}\", model_name=~\"${model:pipe}\"}[$__rate_interval])))",
"expr": "count by(orchestrator_version) (count by(orchestrator_uri, orchestrator_version, ) (increase(livepeer_ai_request_latency_score{livepeer_live_app=~\".*-livepeer-ai-gateway.*\", pipeline=~\"${pipeline:pipe}\", model_name=~\"${model:pipe}\"}[$__rate_interval])))",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -2267,6 +2275,7 @@
],
"options": {
"dedupStrategy": "none",
"enableInfiniteScrolling": false,
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
Expand All @@ -2275,14 +2284,16 @@
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "12.1.1",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
},
"direction": "backward",
"editorMode": "code",
"expr": "{app=~\".*-livepeer-ai-gateway\"} != `Polling blocks`",
"expr": "{container=\"ai-gateway\"} != `Polling blocks`",
"queryType": "range",
"refId": "A"
}
Expand Down Expand Up @@ -2315,6 +2326,7 @@
],
"options": {
"dedupStrategy": "none",
"enableInfiniteScrolling": false,
"enableLogDetails": true,
"prettifyLogMessage": false,
"showCommonLabels": false,
Expand All @@ -2323,14 +2335,16 @@
"sortOrder": "Descending",
"wrapLogMessage": false
},
"pluginVersion": "12.1.1",
"targets": [
{
"datasource": {
"type": "loki",
"uid": "P8E80F9AEF21F6940"
},
"direction": "backward",
"editorMode": "code",
"expr": "{app=~\".*livepeer-api\"} |= `/api/beta/generate/`",
"expr": "{app=\"prod-livepeer-api\"} |= `/api/beta/generate`",
"queryType": "range",
"refId": "A"
}
Expand Down Expand Up @@ -2359,7 +2373,7 @@
"value": "2675"
}
],
"query": "2675",
"query": "2068.37",
"type": "textbox"
},
{
Expand Down Expand Up @@ -2457,6 +2471,6 @@
"timezone": "",
"title": "AI Gateway",
"uid": "Livepeer-Gateway-AI",
"version": 6,
"version": 7,
"weekStart": "monday"
}
161 changes: 145 additions & 16 deletions grafana/prod/dashboards/Ai Monitoring/ai-orchestrator-summary.json
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,6 @@
"type": "yesoreyeram-infinity-datasource",
"uid": "bf003x3ouqiv4c"
},
"description": "Count of GPUs provided by each O",
"fieldConfig": {
"defaults": {
"color": {
Expand Down Expand Up @@ -423,15 +422,64 @@
]
}
},
"overrides": []
"overrides": [
{
"matcher": {
"id": "byName",
"options": "Total GPUs"
},
"properties": [
{
"id": "custom.width",
"value": 95
}
]
},
{
"matcher": {
"id": "byName",
"options": "capacity"
},
"properties": [
{
"id": "custom.width",
"value": 99
}
]
},
{
"matcher": {
"id": "byName",
"options": "Model"
},
"properties": [
{
"id": "custom.width",
"value": 217
}
]
},
{
"matcher": {
"id": "byName",
"options": "Count"
},
"properties": [
{
"id": "custom.width",
"value": 69
}
]
}
]
},
"gridPos": {
"h": 7,
"w": 7,
"w": 10,
"x": 12,
"y": 5
},
"id": 4,
"id": 10,
"options": {
"cellHeight": "sm",
"footer": {
Expand All @@ -443,12 +491,7 @@
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "GPU Count"
}
]
"sortBy": []
},
"pluginVersion": "12.1.1",
"targets": [
Expand All @@ -463,10 +506,8 @@
"global_query_id": "",
"parser": "jq-backend",
"refId": "A",
"root_selector": ".[] | select(.Reachable == true) | {Referrer, \"GPU Count\": .Hardware | length}",
"root_selector": " [\n .[]\n | (.Hardware // [])[]\n | (.gpu_info // {})\n | to_entries[]\n | .value.name\n ]\n | group_by(.)\n | map({\n gpu: .[0],\n count: length\n })\n | sort_by(-.count)\n | map({GPU: .gpu, Count: .count})",
"source": "url",
"summarizeBy": "",
"summarizeExpression": "",
"type": "json",
"url": "",
"url_options": {
Expand All @@ -475,7 +516,7 @@
}
}
],
"title": "GPU count by O",
"title": "GPU Count",
"type": "table"
},
{
Expand Down Expand Up @@ -559,6 +600,94 @@
"title": "Unreachable Os",
"type": "table"
},
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "bf003x3ouqiv4c"
},
"description": "Count of GPUs provided by each O",
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"cellOptions": {
"type": "auto"
},
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 7,
"w": 7,
"x": 12,
"y": 12
},
"id": 4,
"options": {
"cellHeight": "sm",
"footer": {
"countRows": false,
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": [
{
"desc": true,
"displayName": "GPU Count"
}
]
},
"pluginVersion": "12.1.1",
"targets": [
{
"columns": [],
"datasource": {
"type": "yesoreyeram-infinity-datasource",
"uid": "bf003x3ouqiv4c"
},
"filters": [],
"format": "table",
"global_query_id": "",
"parser": "jq-backend",
"refId": "A",
"root_selector": ".[] | select(.Reachable == true) | {Referrer, \"GPU Count\": .Hardware | length}",
"source": "url",
"summarizeBy": "",
"summarizeExpression": "",
"type": "json",
"url": "",
"url_options": {
"data": "",
"method": "GET"
}
}
],
"title": "GPU count by O",
"type": "table"
},
{
"datasource": {
"type": "yesoreyeram-infinity-datasource",
Expand Down Expand Up @@ -597,7 +726,7 @@
"gridPos": {
"h": 8,
"w": 4,
"x": 12,
"x": 19,
"y": 12
},
"id": 3,
Expand Down Expand Up @@ -755,5 +884,5 @@
"timezone": "utc",
"title": "AI Orchestrator summary",
"uid": "7f2d281c-ef2e-410e-9f96-eda535967ba9",
"version": 15
"version": 17
}
Loading