|
| 1 | +{ |
| 2 | + "__inputs": [], |
| 3 | + "__requires": [ |
| 4 | + { |
| 5 | + "type": "grafana", |
| 6 | + "id": "grafana", |
| 7 | + "name": "Grafana", |
| 8 | + "version": "8.0.6" |
| 9 | + }, |
| 10 | + { |
| 11 | + "type": "panel", |
| 12 | + "id": "timeseries", |
| 13 | + "name": "Time series", |
| 14 | + "version": "" |
| 15 | + } |
| 16 | + ], |
| 17 | + "annotations": { |
| 18 | + "list": [ |
| 19 | + { |
| 20 | + "builtIn": 1, |
| 21 | + "datasource": "-- Grafana --", |
| 22 | + "enable": true, |
| 23 | + "hide": true, |
| 24 | + "iconColor": "rgba(0, 211, 255, 1)", |
| 25 | + "name": "Annotations & Alerts", |
| 26 | + "type": "dashboard" |
| 27 | + } |
| 28 | + ] |
| 29 | + }, |
| 30 | + "editable": true, |
| 31 | + "gnetId": null, |
| 32 | + "graphTooltip": 0, |
| 33 | + "id": null, |
| 34 | + "links": [], |
| 35 | + "panels": [ |
| 36 | + { |
| 37 | + "datasource": null, |
| 38 | + "fieldConfig": { |
| 39 | + "defaults": { |
| 40 | + "color": { |
| 41 | + "mode": "palette-classic" |
| 42 | + }, |
| 43 | + "custom": { |
| 44 | + "axisLabel": "", |
| 45 | + "axisPlacement": "auto", |
| 46 | + "barAlignment": 0, |
| 47 | + "drawStyle": "line", |
| 48 | + "fillOpacity": 0, |
| 49 | + "gradientMode": "none", |
| 50 | + "hideFrom": { |
| 51 | + "legend": false, |
| 52 | + "tooltip": false, |
| 53 | + "viz": false |
| 54 | + }, |
| 55 | + "lineInterpolation": "linear", |
| 56 | + "lineWidth": 1, |
| 57 | + "pointSize": 5, |
| 58 | + "scaleDistribution": { |
| 59 | + "type": "linear" |
| 60 | + }, |
| 61 | + "showPoints": "auto", |
| 62 | + "spanNulls": false, |
| 63 | + "stacking": { |
| 64 | + "group": "A", |
| 65 | + "mode": "none" |
| 66 | + }, |
| 67 | + "thresholdsStyle": { |
| 68 | + "mode": "off" |
| 69 | + } |
| 70 | + }, |
| 71 | + "mappings": [], |
| 72 | + "thresholds": { |
| 73 | + "mode": "absolute", |
| 74 | + "steps": [ |
| 75 | + { |
| 76 | + "color": "green", |
| 77 | + "value": null |
| 78 | + }, |
| 79 | + { |
| 80 | + "color": "red", |
| 81 | + "value": 80 |
| 82 | + } |
| 83 | + ] |
| 84 | + }, |
| 85 | + "unit": "s" |
| 86 | + }, |
| 87 | + "overrides": [] |
| 88 | + }, |
| 89 | + "gridPos": { |
| 90 | + "h": 9, |
| 91 | + "w": 12, |
| 92 | + "x": 0, |
| 93 | + "y": 0 |
| 94 | + }, |
| 95 | + "id": 2, |
| 96 | + "options": { |
| 97 | + "legend": { |
| 98 | + "calcs": [], |
| 99 | + "displayMode": "list", |
| 100 | + "placement": "bottom" |
| 101 | + }, |
| 102 | + "tooltip": { |
| 103 | + "mode": "single" |
| 104 | + } |
| 105 | + }, |
| 106 | + "targets": [ |
| 107 | + { |
| 108 | + "exemplar": true, |
| 109 | + "expr": "full_knn_request_time_sum / full_knn_request_time_count", |
| 110 | + "interval": "", |
| 111 | + "legendFormat": "full", |
| 112 | + "refId": "A" |
| 113 | + }, |
| 114 | + { |
| 115 | + "exemplar": true, |
| 116 | + "expr": "metadata_get_time_sum / metadata_get_time_count", |
| 117 | + "hide": false, |
| 118 | + "interval": "", |
| 119 | + "legendFormat": "metadata", |
| 120 | + "refId": "B" |
| 121 | + }, |
| 122 | + { |
| 123 | + "exemplar": true, |
| 124 | + "expr": "image_clip_inference_time_sum / image_clip_inference_time_count", |
| 125 | + "hide": false, |
| 126 | + "interval": "", |
| 127 | + "legendFormat": "image clip inference", |
| 128 | + "refId": "C" |
| 129 | + }, |
| 130 | + { |
| 131 | + "exemplar": true, |
| 132 | + "expr": "text_clip_inference_time_sum / text_clip_inference_time_count", |
| 133 | + "hide": false, |
| 134 | + "interval": "", |
| 135 | + "legendFormat": "text clip inference", |
| 136 | + "refId": "D" |
| 137 | + }, |
| 138 | + { |
| 139 | + "exemplar": true, |
| 140 | + "expr": "download_time_sum / download_time_count", |
| 141 | + "hide": false, |
| 142 | + "interval": "", |
| 143 | + "legendFormat": "download time", |
| 144 | + "refId": "E" |
| 145 | + }, |
| 146 | + { |
| 147 | + "exemplar": true, |
| 148 | + "expr": "knn_index_time_sum / knn_index_time_count", |
| 149 | + "hide": false, |
| 150 | + "interval": "", |
| 151 | + "legendFormat": "knn index time", |
| 152 | + "refId": "F" |
| 153 | + }, |
| 154 | + { |
| 155 | + "exemplar": true, |
| 156 | + "expr": "image_prepro_time_sum / image_prepro_time_count", |
| 157 | + "hide": false, |
| 158 | + "interval": "", |
| 159 | + "legendFormat": "image prepro", |
| 160 | + "refId": "G" |
| 161 | + }, |
| 162 | + { |
| 163 | + "exemplar": true, |
| 164 | + "expr": "text_prepro_time_sum / text_prepro_time_count", |
| 165 | + "hide": false, |
| 166 | + "interval": "", |
| 167 | + "legendFormat": "text prepro", |
| 168 | + "refId": "H" |
| 169 | + } |
| 170 | + ], |
| 171 | + "title": "Average latencies", |
| 172 | + "type": "timeseries" |
| 173 | + }, |
| 174 | + { |
| 175 | + "datasource": null, |
| 176 | + "fieldConfig": { |
| 177 | + "defaults": { |
| 178 | + "color": { |
| 179 | + "mode": "palette-classic" |
| 180 | + }, |
| 181 | + "custom": { |
| 182 | + "axisLabel": "", |
| 183 | + "axisPlacement": "auto", |
| 184 | + "barAlignment": 0, |
| 185 | + "drawStyle": "line", |
| 186 | + "fillOpacity": 0, |
| 187 | + "gradientMode": "none", |
| 188 | + "hideFrom": { |
| 189 | + "legend": false, |
| 190 | + "tooltip": false, |
| 191 | + "viz": false |
| 192 | + }, |
| 193 | + "lineInterpolation": "linear", |
| 194 | + "lineWidth": 1, |
| 195 | + "pointSize": 5, |
| 196 | + "scaleDistribution": { |
| 197 | + "type": "linear" |
| 198 | + }, |
| 199 | + "showPoints": "auto", |
| 200 | + "spanNulls": false, |
| 201 | + "stacking": { |
| 202 | + "group": "A", |
| 203 | + "mode": "none" |
| 204 | + }, |
| 205 | + "thresholdsStyle": { |
| 206 | + "mode": "off" |
| 207 | + } |
| 208 | + }, |
| 209 | + "mappings": [], |
| 210 | + "thresholds": { |
| 211 | + "mode": "absolute", |
| 212 | + "steps": [ |
| 213 | + { |
| 214 | + "color": "green", |
| 215 | + "value": null |
| 216 | + }, |
| 217 | + { |
| 218 | + "color": "red", |
| 219 | + "value": 80 |
| 220 | + } |
| 221 | + ] |
| 222 | + }, |
| 223 | + "unit": "none" |
| 224 | + }, |
| 225 | + "overrides": [] |
| 226 | + }, |
| 227 | + "gridPos": { |
| 228 | + "h": 9, |
| 229 | + "w": 12, |
| 230 | + "x": 12, |
| 231 | + "y": 0 |
| 232 | + }, |
| 233 | + "id": 3, |
| 234 | + "options": { |
| 235 | + "legend": { |
| 236 | + "calcs": [], |
| 237 | + "displayMode": "list", |
| 238 | + "placement": "bottom" |
| 239 | + }, |
| 240 | + "tooltip": { |
| 241 | + "mode": "single" |
| 242 | + } |
| 243 | + }, |
| 244 | + "targets": [ |
| 245 | + { |
| 246 | + "exemplar": true, |
| 247 | + "expr": "increase(full_knn_request_time_count[$__range])\n", |
| 248 | + "interval": "", |
| 249 | + "legendFormat": "full", |
| 250 | + "refId": "A" |
| 251 | + }, |
| 252 | + { |
| 253 | + "exemplar": true, |
| 254 | + "expr": "increase(metadata_get_time_count[$__range])\n", |
| 255 | + "hide": false, |
| 256 | + "interval": "", |
| 257 | + "legendFormat": "metadata", |
| 258 | + "refId": "B" |
| 259 | + }, |
| 260 | + { |
| 261 | + "exemplar": true, |
| 262 | + "expr": "increase(image_clip_inference_time_count[$__range])", |
| 263 | + "hide": false, |
| 264 | + "interval": "", |
| 265 | + "legendFormat": "image clip inference", |
| 266 | + "refId": "C" |
| 267 | + }, |
| 268 | + { |
| 269 | + "exemplar": true, |
| 270 | + "expr": "increase(text_clip_inference_time_count[$__range])", |
| 271 | + "hide": false, |
| 272 | + "interval": "", |
| 273 | + "legendFormat": "text clip inference", |
| 274 | + "refId": "D" |
| 275 | + }, |
| 276 | + { |
| 277 | + "exemplar": true, |
| 278 | + "expr": "increase(download_time_count[$__range])", |
| 279 | + "hide": false, |
| 280 | + "interval": "", |
| 281 | + "legendFormat": "download time", |
| 282 | + "refId": "E" |
| 283 | + }, |
| 284 | + { |
| 285 | + "exemplar": true, |
| 286 | + "expr": "increase(knn_index_time_count[$__range])", |
| 287 | + "hide": false, |
| 288 | + "interval": "", |
| 289 | + "legendFormat": "knn index time", |
| 290 | + "refId": "F" |
| 291 | + }, |
| 292 | + { |
| 293 | + "exemplar": true, |
| 294 | + "expr": "increase(image_prepro_time_count[$__range])", |
| 295 | + "hide": false, |
| 296 | + "interval": "", |
| 297 | + "legendFormat": "image prepro", |
| 298 | + "refId": "G" |
| 299 | + }, |
| 300 | + { |
| 301 | + "exemplar": true, |
| 302 | + "expr": "increase(text_prepro_time_count[$__range])", |
| 303 | + "hide": false, |
| 304 | + "interval": "", |
| 305 | + "legendFormat": "text prepro", |
| 306 | + "refId": "H" |
| 307 | + } |
| 308 | + ], |
| 309 | + "title": "Request count", |
| 310 | + "type": "timeseries" |
| 311 | + } |
| 312 | + ], |
| 313 | + "schemaVersion": 30, |
| 314 | + "style": "dark", |
| 315 | + "tags": [], |
| 316 | + "templating": { |
| 317 | + "list": [] |
| 318 | + }, |
| 319 | + "time": { |
| 320 | + "from": "now-1h", |
| 321 | + "to": "now" |
| 322 | + }, |
| 323 | + "timepicker": {}, |
| 324 | + "timezone": "", |
| 325 | + "title": "Clip", |
| 326 | + "uid": "zF8DzpI7z", |
| 327 | + "version": 2 |
| 328 | +} |
0 commit comments