2024-09-10 14:24:46 -07:00
{
"annotations" : {
"list" : [
{
"builtIn" : 1 ,
"datasource" : {
"type" : "grafana" ,
"uid" : "-- Grafana --"
} ,
"enable" : true ,
"hide" : true ,
"iconColor" : "rgba(0, 211, 255, 1)" ,
"name" : "Annotations & Alerts" ,
"type" : "dashboard"
}
]
} ,
"editable" : true ,
"fiscalYearStartMonth" : 0 ,
"graphTooltip" : 1 ,
"links" : [ ] ,
"panels" : [
{
"datasource" : {
2024-10-10 14:57:20 -07:00
"default" : true ,
2024-09-10 14:24:46 -07:00
"type" : "prometheus" ,
"uid" : "PBFA97CFB590B2093"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2024-10-10 14:57:20 -07:00
"barWidthFactor" : 0.6 ,
2024-09-10 14:24:46 -07:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
2024-10-10 14:57:20 -07:00
"overrides" : [
{
"__systemRef" : "hideSeriesFrom" ,
"matcher" : {
"id" : "byNames" ,
"options" : {
"mode" : "exclude" ,
"names" : [
"api_server"
] ,
"prefix" : "All except:" ,
"readOnly" : true
}
} ,
"properties" : [
{
"id" : "custom.hideFrom" ,
"value" : {
"legend" : false ,
"tooltip" : false ,
"viz" : true
}
}
]
}
]
2024-09-10 14:24:46 -07:00
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 0
} ,
2024-10-10 14:57:20 -07:00
"id" : 3 ,
2024-09-10 14:24:46 -07:00
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "PBFA97CFB590B2093"
} ,
"disableTextWrap" : false ,
"editorMode" : "code" ,
2024-10-10 14:57:20 -07:00
"expr" : "avg(rate(envoy_cluster_internal_upstream_rq_completed{envoy_cluster_name=~\"api_server|openai\"}[1m])) by (envoy_cluster_name)" ,
2024-09-10 14:24:46 -07:00
"fullMetaSearch" : false ,
"includeNullMetadata" : true ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A" ,
"useBackend" : false
2024-10-10 14:57:20 -07:00
} ,
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "PBFA97CFB590B2093"
} ,
"disableTextWrap" : false ,
"editorMode" : "code" ,
"expr" : "avg(rate(envoy_cluster_external_upstream_rq_completed{envoy_cluster_name=~\"api_server|openai\"}[1m])) by (envoy_cluster_name)" ,
"fullMetaSearch" : false ,
"hide" : false ,
"includeNullMetadata" : true ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "B" ,
"useBackend" : false
2024-09-10 14:24:46 -07:00
}
] ,
2024-10-10 14:57:20 -07:00
"title" : "Upstream request rate" ,
2024-09-10 14:24:46 -07:00
"type" : "timeseries"
} ,
{
"datasource" : {
2024-10-10 14:57:20 -07:00
"default" : true ,
2024-09-10 14:24:46 -07:00
"type" : "prometheus" ,
"uid" : "PBFA97CFB590B2093"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "palette-classic"
} ,
"custom" : {
"axisBorderShow" : false ,
"axisCenteredZero" : false ,
"axisColorMode" : "text" ,
"axisLabel" : "" ,
"axisPlacement" : "auto" ,
"barAlignment" : 0 ,
2024-10-10 14:57:20 -07:00
"barWidthFactor" : 0.6 ,
2024-09-10 14:24:46 -07:00
"drawStyle" : "line" ,
"fillOpacity" : 0 ,
"gradientMode" : "none" ,
"hideFrom" : {
"legend" : false ,
"tooltip" : false ,
"viz" : false
} ,
"insertNulls" : false ,
"lineInterpolation" : "linear" ,
"lineWidth" : 1 ,
"pointSize" : 5 ,
"scaleDistribution" : {
"type" : "linear"
} ,
"showPoints" : "auto" ,
"spanNulls" : false ,
"stacking" : {
"group" : "A" ,
"mode" : "none"
} ,
"thresholdsStyle" : {
"mode" : "off"
}
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 0
} ,
"id" : 1 ,
"options" : {
"legend" : {
"calcs" : [ ] ,
"displayMode" : "list" ,
"placement" : "bottom" ,
"showLegend" : true
} ,
"tooltip" : {
"mode" : "single" ,
"sort" : "none"
}
} ,
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "PBFA97CFB590B2093"
} ,
"disableTextWrap" : false ,
"editorMode" : "code" ,
2024-10-10 14:57:20 -07:00
"expr" : "avg(rate (envoy_cluster_external_upstream_rq_time_sum{envoy_cluster_name=~\"api_server|openai\"}[1m])/ rate(envoy_cluster_external_upstream_rq_time_count{envoy_cluster_name=~\"api_server|openai\"}[1m])) by (envoy_cluster_name)" ,
2024-09-10 14:24:46 -07:00
"fullMetaSearch" : false ,
"hide" : false ,
"includeNullMetadata" : true ,
"instant" : false ,
"legendFormat" : "__auto" ,
"range" : true ,
"refId" : "A" ,
"useBackend" : false
}
] ,
"title" : "request latency - external (ms)" ,
"type" : "timeseries"
} ,
{
"datasource" : {
2024-10-10 14:57:20 -07:00
"default" : true ,
2024-09-10 14:24:46 -07:00
"type" : "prometheus" ,
"uid" : "PBFA97CFB590B2093"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
2024-10-10 14:57:20 -07:00
"mode" : "thresholds"
2024-09-10 14:24:46 -07:00
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
} ,
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 0 ,
"y" : 8
} ,
2024-10-10 14:57:20 -07:00
"id" : 4 ,
2024-09-10 14:24:46 -07:00
"options" : {
2024-10-10 14:57:20 -07:00
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"percentChangeColorMode" : "standard" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
2024-09-10 14:24:46 -07:00
} ,
2024-10-10 14:57:20 -07:00
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
2024-09-10 14:24:46 -07:00
} ,
2024-10-10 14:57:20 -07:00
"pluginVersion" : "11.2.0" ,
2024-09-10 14:24:46 -07:00
"targets" : [
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "PBFA97CFB590B2093"
} ,
"disableTextWrap" : false ,
2024-10-10 14:57:20 -07:00
"editorMode" : "builder" ,
"exemplar" : false ,
"expr" : "envoy_cluster_upstream_rq_completed{envoy_cluster_name=~\"openai|api_server\"}" ,
2024-09-10 14:24:46 -07:00
"fullMetaSearch" : false ,
"includeNullMetadata" : true ,
2024-10-10 14:57:20 -07:00
"instant" : true ,
"legendFormat" : "{{envoy_cluster_name}}" ,
"range" : false ,
2024-09-10 14:24:46 -07:00
"refId" : "A" ,
"useBackend" : false
2024-10-10 14:57:20 -07:00
}
] ,
"title" : "# of Completd Requests" ,
"type" : "stat"
} ,
{
"datasource" : {
"default" : true ,
"type" : "prometheus" ,
"uid" : "PBFA97CFB590B2093"
} ,
"fieldConfig" : {
"defaults" : {
"color" : {
"mode" : "thresholds"
} ,
"mappings" : [ ] ,
"thresholds" : {
"mode" : "absolute" ,
"steps" : [
{
"color" : "green" ,
"value" : null
} ,
{
"color" : "red" ,
"value" : 80
}
]
}
2024-09-10 14:24:46 -07:00
} ,
2024-10-10 14:57:20 -07:00
"overrides" : [ ]
} ,
"gridPos" : {
"h" : 8 ,
"w" : 12 ,
"x" : 12 ,
"y" : 8
} ,
"id" : 5 ,
"options" : {
"colorMode" : "value" ,
"graphMode" : "area" ,
"justifyMode" : "auto" ,
"orientation" : "auto" ,
"percentChangeColorMode" : "standard" ,
"reduceOptions" : {
"calcs" : [
"lastNotNull"
] ,
"fields" : "" ,
"values" : false
} ,
"showPercentChange" : false ,
"textMode" : "auto" ,
"wideLayout" : true
} ,
"pluginVersion" : "11.2.0" ,
"targets" : [
2024-09-10 14:24:46 -07:00
{
"datasource" : {
"type" : "prometheus" ,
"uid" : "PBFA97CFB590B2093"
} ,
"disableTextWrap" : false ,
2024-10-10 14:57:20 -07:00
"editorMode" : "builder" ,
"exemplar" : false ,
"expr" : "envoy_cluster_upstream_rq_cancelled{envoy_cluster_name=~\"api_server|openai\"} + envoy_cluster_upstream_rq_pending_failure_eject{envoy_cluster_name=~\"api_server|openai\"} + envoy_cluster_upstream_rq_pending_overflow{envoy_cluster_name=~\"api_server|openai\"}" ,
2024-09-10 14:24:46 -07:00
"fullMetaSearch" : false ,
"includeNullMetadata" : true ,
2024-10-10 14:57:20 -07:00
"instant" : true ,
"legendFormat" : "{{envoy_cluster_name}}" ,
"range" : false ,
"refId" : "A" ,
2024-09-10 14:24:46 -07:00
"useBackend" : false
}
] ,
2024-10-10 14:57:20 -07:00
"title" : "# of Failed or Cancelled Requests" ,
"type" : "stat"
2024-09-10 14:24:46 -07:00
}
] ,
2024-10-10 14:57:20 -07:00
"refresh" : "" ,
2024-09-10 14:24:46 -07:00
"schemaVersion" : 39 ,
"tags" : [ ] ,
"templating" : {
"list" : [ ]
} ,
"time" : {
"from" : "now-15m" ,
"to" : "now"
} ,
"timepicker" : { } ,
"timezone" : "browser" ,
2024-10-10 14:57:20 -07:00
"title" : "Arch Gateway Dashboard" ,
2024-09-10 14:24:46 -07:00
"uid" : "adt6uhx5lk8aob" ,
2024-10-10 14:57:20 -07:00
"version" : 1 ,
2024-09-10 14:24:46 -07:00
"weekStart" : ""
}