1552 lines
69 KiB
JSON
1552 lines
69 KiB
JSON
{
|
|
"annotations": [
|
|
{
|
|
"kind": "AnnotationQuery",
|
|
"spec": {
|
|
"builtIn": true,
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"query": {
|
|
"datasource": { "name": "-- Grafana --" },
|
|
"group": "grafana",
|
|
"kind": "DataQuery",
|
|
"spec": {},
|
|
"version": "v0"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"cursorSync": "Crosshair",
|
|
"editable": true,
|
|
"elements": {
|
|
"panel-1": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "sum(rate(http_server_request_duration_seconds_count{service_name=~\"$service\", deployment_environment=~\"$env\", http_request_method!=\"OPTIONS\"}[$__rate_interval]))",
|
|
"legendFormat": "req/s"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 1,
|
|
"links": [],
|
|
"title": "Request Rate",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{ "color": "green", "value": 0 },
|
|
{ "color": "yellow", "value": 100 },
|
|
{ "color": "red", "value": 500 }
|
|
]
|
|
},
|
|
"unit": "reqps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-2": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "sum(rate(http_server_request_duration_seconds_count{service_name=~\"$service\", deployment_environment=~\"$env\", http_request_method!=\"OPTIONS\", http_response_status_code=~\"5..\"}[$__rate_interval])) / sum(rate(http_server_request_duration_seconds_count{service_name=~\"$service\", deployment_environment=~\"$env\", http_request_method!=\"OPTIONS\"}[$__rate_interval]))",
|
|
"legendFormat": "error rate"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 2,
|
|
"links": [],
|
|
"title": "Error Rate (5xx)",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"max": 1,
|
|
"min": 0,
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{ "color": "green", "value": 0 },
|
|
{ "color": "yellow", "value": 0.01 },
|
|
{ "color": "red", "value": 0.05 }
|
|
]
|
|
},
|
|
"unit": "percentunit"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-3": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "histogram_quantile(0.95, sum(rate(http_server_request_duration_seconds_bucket{service_name=~\"$service\", deployment_environment=~\"$env\", http_request_method!=\"OPTIONS\", http_route!~\"/api/v1/openai/.*\"}[$__rate_interval])) by (le))",
|
|
"legendFormat": "p95"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 3,
|
|
"links": [],
|
|
"title": "P95 Latency (excl. LLM)",
|
|
"vizConfig": {
|
|
"group": "stat",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{ "color": "green", "value": 0 },
|
|
{ "color": "yellow", "value": 0.2 },
|
|
{ "color": "red", "value": 1 }
|
|
]
|
|
},
|
|
"unit": "s"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"colorMode": "value",
|
|
"graphMode": "area",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"percentChangeColorMode": "standard",
|
|
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false },
|
|
"showPercentChange": false,
|
|
"textMode": "auto",
|
|
"wideLayout": true
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-4": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "sum by (http_route, http_request_method) (rate(http_server_request_duration_seconds_count{service_name=~\"$service\", deployment_environment=~\"$env\", http_request_method!=\"OPTIONS\", http_response_status_code!=\"404\"}[$__rate_interval]))",
|
|
"legendFormat": "{{http_request_method}} {{http_route}}"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "sum(rate(http_server_request_duration_seconds_count{service_name=~\"$service\", deployment_environment=~\"$env\", http_request_method!=\"OPTIONS\", http_response_status_code=\"404\"}[$__rate_interval]))",
|
|
"legendFormat": "404 (all paths)"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "Excludes 404 responses to avoid high-cardinality route explosion",
|
|
"id": 4,
|
|
"links": [],
|
|
"title": "Request Rate by Route + Method",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
|
|
"insertNulls": false,
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": { "type": "linear" },
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": { "group": "A", "mode": "none" },
|
|
"thresholdsStyle": { "mode": "off" }
|
|
},
|
|
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] },
|
|
"unit": "reqps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": { "clustering": -1, "multiLane": false },
|
|
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
|
|
"tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-5": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "histogram_quantile(0.95, sum by (le, http_route) (rate(http_server_request_duration_seconds_bucket{service_name=~\"$service\", deployment_environment=~\"$env\", http_request_method!=\"OPTIONS\", http_response_status_code!=\"404\"}[$__rate_interval])))",
|
|
"legendFormat": "{{http_route}}"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "histogram_quantile(0.95, sum by (le) (rate(http_server_request_duration_seconds_bucket{service_name=~\"$service\", deployment_environment=~\"$env\", http_request_method!=\"OPTIONS\", http_response_status_code=\"404\"}[$__rate_interval])))",
|
|
"legendFormat": "404 (all paths)"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "Excludes 404 responses to avoid high-cardinality route explosion",
|
|
"id": 5,
|
|
"links": [],
|
|
"title": "Latency by Route (P95)",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
|
|
"insertNulls": false,
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": { "type": "linear" },
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": { "group": "A", "mode": "none" },
|
|
"thresholdsStyle": { "mode": "off" }
|
|
},
|
|
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] },
|
|
"unit": "s"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": { "clustering": -1, "multiLane": false },
|
|
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
|
|
"tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-6": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "sum by (http_response_status_code) (rate(http_server_request_duration_seconds_count{service_name=~\"$service\", deployment_environment=~\"$env\", http_request_method!=\"OPTIONS\"}[$__rate_interval]))",
|
|
"legendFormat": "{{http_response_status_code}}"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 6,
|
|
"links": [],
|
|
"title": "Response Status Codes",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "bars",
|
|
"fillOpacity": 80,
|
|
"gradientMode": "none",
|
|
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
|
|
"insertNulls": false,
|
|
"lineInterpolation": "linear",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": { "type": "linear" },
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": { "group": "A", "mode": "normal" },
|
|
"thresholdsStyle": { "mode": "off" }
|
|
},
|
|
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] },
|
|
"unit": "reqps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": { "clustering": -1, "multiLane": false },
|
|
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
|
|
"tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-30": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "sum(rate(http_server_request_duration_seconds_count{service_name=~\"$service\", deployment_environment=~\"$env\", http_request_method!=\"OPTIONS\", http_response_status_code=\"404\"}[$__rate_interval]))",
|
|
"legendFormat": "404 total"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "All 404 responses aggregated into a single series to avoid high-cardinality route explosion",
|
|
"id": 30,
|
|
"links": [],
|
|
"title": "404 Request Rate (aggregated)",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
|
|
"insertNulls": false,
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": { "type": "linear" },
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": { "group": "A", "mode": "none" },
|
|
"thresholdsStyle": { "mode": "off" }
|
|
},
|
|
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] },
|
|
"unit": "reqps"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": { "clustering": -1, "multiLane": false },
|
|
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
|
|
"tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-31": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "sum(rate(auth_attempts_total{service_name=~\"$service\", deployment_environment=~\"$env\"}[$__rate_interval]))",
|
|
"legendFormat": "attempts/s"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 31,
|
|
"links": [],
|
|
"title": "Auth Attempts",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
|
|
"insertNulls": false,
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": { "type": "linear" },
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": { "group": "A", "mode": "none" },
|
|
"thresholdsStyle": { "mode": "off" }
|
|
},
|
|
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] },
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": { "clustering": -1, "multiLane": false },
|
|
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
|
|
"tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-32": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "sum(rate(user_login_total{service_name=~\"$service\", deployment_environment=~\"$env\"}[$__rate_interval]))",
|
|
"legendFormat": "sign-ins/s"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "sum(rate(user_registered_total{service_name=~\"$service\", deployment_environment=~\"$env\"}[$__rate_interval]))",
|
|
"legendFormat": "registrations/s"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 32,
|
|
"links": [],
|
|
"title": "User Sign-ins & Registrations",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
|
|
"insertNulls": false,
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": { "type": "linear" },
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": { "group": "A", "mode": "none" },
|
|
"thresholdsStyle": { "mode": "off" }
|
|
},
|
|
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] },
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": { "clustering": -1, "multiLane": false },
|
|
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
|
|
"tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-33": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "user_active_sessions{service_name=~\"$service\", deployment_environment=~\"$env\"}",
|
|
"legendFormat": "active sessions"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 33,
|
|
"links": [],
|
|
"title": "Active Sessions",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
|
|
"insertNulls": false,
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": { "type": "linear" },
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": { "group": "A", "mode": "none" },
|
|
"thresholdsStyle": { "mode": "off" }
|
|
},
|
|
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] },
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": { "clustering": -1, "multiLane": false },
|
|
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
|
|
"tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-7": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "v8js_memory_heap_limit_bytes{service_name=~\"$service\", deployment_environment=~\"$env\"}",
|
|
"legendFormat": "heap limit"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "v8js_memory_heap_used_bytes{service_name=~\"$service\", deployment_environment=~\"$env\"}",
|
|
"legendFormat": "heap used"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 7,
|
|
"links": [],
|
|
"title": "Heap Memory Usage",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
|
|
"insertNulls": false,
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": { "type": "linear" },
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": { "group": "A", "mode": "none" },
|
|
"thresholdsStyle": { "mode": "off" }
|
|
},
|
|
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] },
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": { "clustering": -1, "multiLane": false },
|
|
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
|
|
"tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-8": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "v8js_memory_heap_space_physical_size_bytes{service_name=~\"$service\", deployment_environment=~\"$env\"}",
|
|
"legendFormat": "physical size"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "v8js_memory_heap_space_available_size_bytes{service_name=~\"$service\", deployment_environment=~\"$env\"}",
|
|
"legendFormat": "available size"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 8,
|
|
"links": [],
|
|
"title": "Heap Space Details",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
|
|
"insertNulls": false,
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": { "type": "linear" },
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": { "group": "A", "mode": "none" },
|
|
"thresholdsStyle": { "mode": "off" }
|
|
},
|
|
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] },
|
|
"unit": "bytes"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": { "clustering": -1, "multiLane": false },
|
|
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
|
|
"tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-9": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "nodejs_eventloop_delay_p99_seconds{service_name=~\"$service\", deployment_environment=~\"$env\"}",
|
|
"legendFormat": "p99"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "nodejs_eventloop_delay_p50_seconds{service_name=~\"$service\", deployment_environment=~\"$env\"}",
|
|
"legendFormat": "p50"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "nodejs_eventloop_delay_mean_seconds{service_name=~\"$service\", deployment_environment=~\"$env\"}",
|
|
"legendFormat": "mean"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "C"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 9,
|
|
"links": [],
|
|
"title": "Event Loop Delay",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
|
|
"insertNulls": false,
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": { "type": "linear" },
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": { "group": "A", "mode": "none" },
|
|
"thresholdsStyle": { "mode": "off" }
|
|
},
|
|
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] },
|
|
"unit": "s"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": { "clustering": -1, "multiLane": false },
|
|
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
|
|
"tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-10": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "nodejs_eventloop_utilization_ratio{service_name=~\"$service\", deployment_environment=~\"$env\"}",
|
|
"legendFormat": "utilization"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
},
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "http_server_active_requests{service_name=~\"$service\", deployment_environment=~\"$env\"}",
|
|
"legendFormat": "active HTTP requests"
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "B"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 10,
|
|
"links": [],
|
|
"title": "Event Loop Utilization & Active Requests",
|
|
"vizConfig": {
|
|
"group": "timeseries",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"color": { "mode": "palette-classic" },
|
|
"custom": {
|
|
"axisBorderShow": false,
|
|
"axisCenteredZero": false,
|
|
"axisColorMode": "text",
|
|
"axisLabel": "",
|
|
"axisPlacement": "auto",
|
|
"barAlignment": 0,
|
|
"barWidthFactor": 0.6,
|
|
"drawStyle": "line",
|
|
"fillOpacity": 20,
|
|
"gradientMode": "none",
|
|
"hideFrom": { "legend": false, "tooltip": false, "viz": false },
|
|
"insertNulls": false,
|
|
"lineInterpolation": "smooth",
|
|
"lineWidth": 1,
|
|
"pointSize": 5,
|
|
"scaleDistribution": { "type": "linear" },
|
|
"showPoints": "auto",
|
|
"showValues": false,
|
|
"spanNulls": false,
|
|
"stacking": { "group": "A", "mode": "none" },
|
|
"thresholdsStyle": { "mode": "off" }
|
|
},
|
|
"thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] },
|
|
"unit": "short"
|
|
},
|
|
"overrides": []
|
|
},
|
|
"options": {
|
|
"annotations": { "clustering": -1, "multiLane": false },
|
|
"legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true },
|
|
"tooltip": { "hideZeros": false, "mode": "single", "sort": "none" }
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-16": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": {
|
|
"kind": "QueryGroup",
|
|
"spec": {
|
|
"queries": [
|
|
{
|
|
"kind": "PanelQuery",
|
|
"spec": {
|
|
"hidden": false,
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-logs" },
|
|
"group": "loki",
|
|
"kind": "DataQuery",
|
|
"spec": {
|
|
"expr": "{service_name=~\"$service\", deployment_environment=~\"$env\"} |= ``",
|
|
"legendFormat": ""
|
|
},
|
|
"version": "v0"
|
|
},
|
|
"refId": "A"
|
|
}
|
|
}
|
|
],
|
|
"queryOptions": {},
|
|
"transformations": []
|
|
}
|
|
},
|
|
"description": "",
|
|
"id": 16,
|
|
"links": [],
|
|
"title": "Application Logs",
|
|
"vizConfig": {
|
|
"group": "logs",
|
|
"kind": "VizConfig",
|
|
"spec": {
|
|
"fieldConfig": { "defaults": {}, "overrides": [] },
|
|
"options": {
|
|
"dedupStrategy": "none",
|
|
"enableInfiniteScrolling": false,
|
|
"enableLogDetails": true,
|
|
"prettifyLogMessage": false,
|
|
"showCommonLabels": false,
|
|
"showControls": false,
|
|
"showFieldSelector": false,
|
|
"showLabels": true,
|
|
"showLevel": true,
|
|
"showLogAttributes": true,
|
|
"showTime": true,
|
|
"sortOrder": "Descending",
|
|
"timestampResolution": "ms",
|
|
"unwrappedColumns": false,
|
|
"wrapLogMessage": true
|
|
}
|
|
},
|
|
"version": "13.0.0-23630096546"
|
|
}
|
|
}
|
|
},
|
|
"panel-17": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": { "kind": "QueryGroup", "spec": { "queries": [{ "kind": "PanelQuery", "spec": { "hidden": false, "query": { "datasource": { "name": "grafanacloud-projairi-prom" }, "group": "prometheus", "kind": "DataQuery", "spec": { "expr": "sum(rate(gen_ai_client_operation_count_total{service_name=~\"$service\", deployment_environment=~\"$env\"}[$__rate_interval]))", "legendFormat": "req/s" }, "version": "v0" }, "refId": "A" } }], "queryOptions": {}, "transformations": [] } },
|
|
"description": "",
|
|
"id": 17,
|
|
"links": [],
|
|
"title": "LLM Request Rate",
|
|
"vizConfig": { "group": "stat", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "yellow", "value": 50 }, { "color": "red", "value": 200 }] }, "unit": "reqps" }, "overrides": [] }, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true } }, "version": "13.0.0-23630096546" }
|
|
}
|
|
},
|
|
"panel-18": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": { "kind": "QueryGroup", "spec": { "queries": [{ "kind": "PanelQuery", "spec": { "hidden": false, "query": { "datasource": { "name": "grafanacloud-projairi-prom" }, "group": "prometheus", "kind": "DataQuery", "spec": { "expr": "histogram_quantile(0.95, sum(rate(gen_ai_client_operation_duration_seconds_bucket{service_name=~\"$service\", deployment_environment=~\"$env\"}[$__rate_interval])) by (le))", "legendFormat": "p95" }, "version": "v0" }, "refId": "A" } }], "queryOptions": {}, "transformations": [] } },
|
|
"description": "",
|
|
"id": 18,
|
|
"links": [],
|
|
"title": "LLM P95 Latency",
|
|
"vizConfig": { "group": "stat", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "yellow", "value": 0.5 }, { "color": "red", "value": 2 }] }, "unit": "s" }, "overrides": [] }, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true } }, "version": "13.0.0-23630096546" }
|
|
}
|
|
},
|
|
"panel-19": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": { "kind": "QueryGroup", "spec": { "queries": [{ "kind": "PanelQuery", "spec": { "hidden": false, "query": { "datasource": { "name": "grafanacloud-projairi-prom" }, "group": "prometheus", "kind": "DataQuery", "spec": { "expr": "sum(rate(airi_billing_flux_consumed_total{service_name=~\"$service\", deployment_environment=~\"$env\"}[$__rate_interval]))", "legendFormat": "flux/s" }, "version": "v0" }, "refId": "A" } }], "queryOptions": {}, "transformations": [] } },
|
|
"description": "",
|
|
"id": 19,
|
|
"links": [],
|
|
"title": "Total Flux Consumed",
|
|
"vizConfig": { "group": "stat", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "yellow", "value": 100 }, { "color": "red", "value": 1000 }] }, "unit": "short" }, "overrides": [] }, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": ["lastNotNull"], "fields": "", "values": false }, "showPercentChange": false, "textMode": "auto", "wideLayout": true } }, "version": "13.0.0-23630096546" }
|
|
}
|
|
},
|
|
"panel-20": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": { "kind": "QueryGroup", "spec": { "queries": [{ "kind": "PanelQuery", "spec": { "hidden": false, "query": { "datasource": { "name": "grafanacloud-projairi-prom" }, "group": "prometheus", "kind": "DataQuery", "spec": { "expr": "sum by (gen_ai_request_model) (rate(gen_ai_client_operation_count_total{service_name=~\"$service\", deployment_environment=~\"$env\", gen_ai_request_model!=\"\"}[$__rate_interval]))", "legendFormat": "{{gen_ai_request_model}}" }, "version": "v0" }, "refId": "A" } }], "queryOptions": {}, "transformations": [] } },
|
|
"description": "",
|
|
"id": 20,
|
|
"links": [],
|
|
"title": "LLM Request Rate by Model",
|
|
"vizConfig": { "group": "timeseries", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] }, "unit": "reqps" }, "overrides": [] }, "options": { "annotations": { "clustering": -1, "multiLane": false }, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } } }, "version": "13.0.0-23630096546" }
|
|
}
|
|
},
|
|
"panel-21": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": { "kind": "QueryGroup", "spec": { "queries": [{ "kind": "PanelQuery", "spec": { "hidden": false, "query": { "datasource": { "name": "grafanacloud-projairi-prom" }, "group": "prometheus", "kind": "DataQuery", "spec": { "expr": "sum by (gen_ai_operation_name) (rate(gen_ai_client_operation_count_total{service_name=~\"$service\", deployment_environment=~\"$env\", gen_ai_operation_name!=\"\"}[$__rate_interval]))", "legendFormat": "{{gen_ai_operation_name}}" }, "version": "v0" }, "refId": "A" } }, { "kind": "PanelQuery", "spec": { "hidden": false, "query": { "datasource": { "name": "grafanacloud-projairi-prom" }, "group": "prometheus", "kind": "DataQuery", "spec": { "expr": "sum by (airi_gen_ai_operation_kind) (rate(gen_ai_client_operation_count_total{service_name=~\"$service\", deployment_environment=~\"$env\", airi_gen_ai_operation_kind!=\"\"}[$__rate_interval]))", "legendFormat": "{{airi_gen_ai_operation_kind}}" }, "version": "v0" }, "refId": "B" } }], "queryOptions": {}, "transformations": [] } },
|
|
"description": "",
|
|
"id": 21,
|
|
"links": [],
|
|
"title": "LLM Request Rate by Type",
|
|
"vizConfig": { "group": "timeseries", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] }, "unit": "reqps" }, "overrides": [] }, "options": { "annotations": { "clustering": -1, "multiLane": false }, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } } }, "version": "13.0.0-23630096546" }
|
|
}
|
|
},
|
|
"panel-22": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": { "kind": "QueryGroup", "spec": { "queries": [{ "kind": "PanelQuery", "spec": { "hidden": false, "query": { "datasource": { "name": "grafanacloud-projairi-prom" }, "group": "prometheus", "kind": "DataQuery", "spec": { "expr": "histogram_quantile(0.95, sum by (le, gen_ai_request_model) (rate(gen_ai_client_operation_duration_seconds_bucket{service_name=~\"$service\", deployment_environment=~\"$env\", gen_ai_request_model!=\"\"}[$__rate_interval])))", "legendFormat": "{{gen_ai_request_model}}" }, "version": "v0" }, "refId": "A" } }], "queryOptions": {}, "transformations": [] } },
|
|
"description": "",
|
|
"id": 22,
|
|
"links": [],
|
|
"title": "LLM Latency by Model (P95)",
|
|
"vizConfig": { "group": "timeseries", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] }, "unit": "s" }, "overrides": [] }, "options": { "annotations": { "clustering": -1, "multiLane": false }, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } } }, "version": "13.0.0-23630096546" }
|
|
}
|
|
},
|
|
"panel-23": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": { "kind": "QueryGroup", "spec": { "queries": [{ "kind": "PanelQuery", "spec": { "hidden": false, "query": { "datasource": { "name": "grafanacloud-projairi-prom" }, "group": "prometheus", "kind": "DataQuery", "spec": { "expr": "sum by (gen_ai_request_model) (rate(airi_billing_flux_consumed_total{service_name=~\"$service\", deployment_environment=~\"$env\", gen_ai_request_model!=\"\"}[$__rate_interval]))", "legendFormat": "{{gen_ai_request_model}}" }, "version": "v0" }, "refId": "A" } }], "queryOptions": {}, "transformations": [] } },
|
|
"description": "",
|
|
"id": 23,
|
|
"links": [],
|
|
"title": "Flux Consumed by Model",
|
|
"vizConfig": { "group": "timeseries", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] }, "unit": "short" }, "overrides": [] }, "options": { "annotations": { "clustering": -1, "multiLane": false }, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } } }, "version": "13.0.0-23630096546" }
|
|
}
|
|
},
|
|
"panel-24": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": { "kind": "QueryGroup", "spec": { "queries": [{ "kind": "PanelQuery", "spec": { "hidden": false, "query": { "datasource": { "name": "grafanacloud-projairi-prom" }, "group": "prometheus", "kind": "DataQuery", "spec": { "expr": "sum by (gen_ai_request_model) (rate(gen_ai_client_token_usage_input_total{service_name=~\"$service\", deployment_environment=~\"$env\", gen_ai_request_model!=\"\"}[$__rate_interval]))", "legendFormat": "{{gen_ai_request_model}}" }, "version": "v0" }, "refId": "A" } }], "queryOptions": {}, "transformations": [] } },
|
|
"description": "",
|
|
"id": 24,
|
|
"links": [],
|
|
"title": "Prompt Tokens by Model",
|
|
"vizConfig": { "group": "timeseries", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] }, "unit": "short" }, "overrides": [] }, "options": { "annotations": { "clustering": -1, "multiLane": false }, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } } }, "version": "13.0.0-23630096546" }
|
|
}
|
|
},
|
|
"panel-25": {
|
|
"kind": "Panel",
|
|
"spec": {
|
|
"data": { "kind": "QueryGroup", "spec": { "queries": [{ "kind": "PanelQuery", "spec": { "hidden": false, "query": { "datasource": { "name": "grafanacloud-projairi-prom" }, "group": "prometheus", "kind": "DataQuery", "spec": { "expr": "sum by (gen_ai_request_model) (rate(gen_ai_client_token_usage_output_total{service_name=~\"$service\", deployment_environment=~\"$env\", gen_ai_request_model!=\"\"}[$__rate_interval]))", "legendFormat": "{{gen_ai_request_model}}" }, "version": "v0" }, "refId": "A" } }], "queryOptions": {}, "transformations": [] } },
|
|
"description": "",
|
|
"id": 25,
|
|
"links": [],
|
|
"title": "Completion Tokens by Model",
|
|
"vizConfig": { "group": "timeseries", "kind": "VizConfig", "spec": { "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "barWidthFactor": 0.6, "drawStyle": "line", "fillOpacity": 20, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, "insertNulls": false, "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 5, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", "showValues": false, "spanNulls": false, "stacking": { "group": "A", "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "thresholds": { "mode": "absolute", "steps": [{ "color": "green", "value": 0 }, { "color": "red", "value": 80 }] }, "unit": "short" }, "overrides": [] }, "options": { "annotations": { "clustering": -1, "multiLane": false }, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, "tooltip": { "hideZeros": false, "mode": "single", "sort": "none" } } }, "version": "13.0.0-23630096546" }
|
|
}
|
|
}
|
|
},
|
|
"layout": {
|
|
"kind": "RowsLayout",
|
|
"spec": {
|
|
"rows": [
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-1" }, "height": 8, "width": 8, "x": 0, "y": 0 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-2" }, "height": 8, "width": 8, "x": 8, "y": 0 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-3" }, "height": 8, "width": 8, "x": 16, "y": 0 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-4" }, "height": 8, "width": 12, "x": 0, "y": 8 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-5" }, "height": 8, "width": 12, "x": 12, "y": 8 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-6" }, "height": 8, "width": 12, "x": 0, "y": 16 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-30" }, "height": 8, "width": 12, "x": 12, "y": 16 } }
|
|
]
|
|
}
|
|
},
|
|
"title": "HTTP Overview"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-31" }, "height": 8, "width": 8, "x": 0, "y": 0 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-32" }, "height": 8, "width": 8, "x": 8, "y": 0 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-33" }, "height": 8, "width": 8, "x": 16, "y": 0 } }
|
|
]
|
|
}
|
|
},
|
|
"title": "Auth & Users"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-7" }, "height": 8, "width": 12, "x": 0, "y": 0 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-8" }, "height": 8, "width": 12, "x": 12, "y": 0 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-9" }, "height": 8, "width": 12, "x": 0, "y": 8 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-10" }, "height": 8, "width": 12, "x": 12, "y": 8 } }
|
|
]
|
|
}
|
|
},
|
|
"title": "Node.js Runtime"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-17" }, "height": 8, "width": 8, "x": 0, "y": 0 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-18" }, "height": 8, "width": 8, "x": 8, "y": 0 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-19" }, "height": 8, "width": 8, "x": 16, "y": 0 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-20" }, "height": 8, "width": 12, "x": 0, "y": 8 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-21" }, "height": 8, "width": 12, "x": 12, "y": 8 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-22" }, "height": 8, "width": 12, "x": 0, "y": 16 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-23" }, "height": 8, "width": 12, "x": 12, "y": 16 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-24" }, "height": 8, "width": 12, "x": 0, "y": 24 } },
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-25" }, "height": 8, "width": 12, "x": 12, "y": 24 } }
|
|
]
|
|
}
|
|
},
|
|
"title": "LLM Gateway"
|
|
}
|
|
},
|
|
{
|
|
"kind": "RowsLayoutRow",
|
|
"spec": {
|
|
"collapse": false,
|
|
"layout": {
|
|
"kind": "GridLayout",
|
|
"spec": {
|
|
"items": [
|
|
{ "kind": "GridLayoutItem", "spec": { "element": { "kind": "ElementReference", "name": "panel-16" }, "height": 10, "width": 24, "x": 0, "y": 0 } }
|
|
]
|
|
}
|
|
},
|
|
"title": "Application Logs"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"links": [],
|
|
"liveNow": false,
|
|
"preload": false,
|
|
"tags": ["airi", "observability", "grafana-cloud"],
|
|
"timeSettings": {
|
|
"autoRefresh": "",
|
|
"autoRefreshIntervals": ["5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d"],
|
|
"fiscalYearStartMonth": 0,
|
|
"from": "now-1h",
|
|
"hideTimepicker": false,
|
|
"timezone": "browser",
|
|
"to": "now"
|
|
},
|
|
"title": "AIRI Server Overview (Cloud)",
|
|
"variables": [
|
|
{
|
|
"kind": "QueryVariable",
|
|
"spec": {
|
|
"allowCustomValue": true,
|
|
"current": { "text": "All", "value": "$__all" },
|
|
"definition": "label_values(http_server_request_duration_seconds_count, deployment_environment)",
|
|
"hide": "dontHide",
|
|
"includeAll": true,
|
|
"multi": false,
|
|
"name": "env",
|
|
"options": [],
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": { "__legacyStringValue": "label_values(http_server_request_duration_seconds_count, deployment_environment)" },
|
|
"version": "v0"
|
|
},
|
|
"refresh": "onTimeRangeChanged",
|
|
"regex": "",
|
|
"regexApplyTo": "value",
|
|
"skipUrlSync": false,
|
|
"sort": "disabled"
|
|
}
|
|
},
|
|
{
|
|
"kind": "QueryVariable",
|
|
"spec": {
|
|
"allowCustomValue": true,
|
|
"current": { "text": ["server"], "value": ["server"] },
|
|
"definition": "label_values(http_server_request_duration_seconds_count{deployment_environment=~\"$env\"}, service_name)",
|
|
"hide": "dontHide",
|
|
"includeAll": true,
|
|
"multi": true,
|
|
"name": "service",
|
|
"options": [],
|
|
"query": {
|
|
"datasource": { "name": "grafanacloud-projairi-prom" },
|
|
"group": "prometheus",
|
|
"kind": "DataQuery",
|
|
"spec": { "__legacyStringValue": "label_values(http_server_request_duration_seconds_count{deployment_environment=~\"$env\"}, service_name)" },
|
|
"version": "v0"
|
|
},
|
|
"refresh": "onTimeRangeChanged",
|
|
"regex": "",
|
|
"regexApplyTo": "value",
|
|
"skipUrlSync": false,
|
|
"sort": "disabled"
|
|
}
|
|
}
|
|
]
|
|
}
|