k8s.io/perf-tests/clusterloader2@v0.0.0-20240304094227-64bdb12da87e/pkg/prometheus/manifests/dashboards/gcp-api.json (about) 1 { 2 "annotations": { 3 "list": [ 4 { 5 "builtIn": 1, 6 "datasource": "-- Grafana --", 7 "enable": true, 8 "hide": true, 9 "iconColor": "rgba(0, 211, 255, 1)", 10 "name": "Annotations & Alerts", 11 "type": "dashboard" 12 } 13 ] 14 }, 15 "description": "", 16 "editable": true, 17 "gnetId": null, 18 "graphTooltip": 0, 19 "id": 5, 20 "iteration": 1588172316698, 21 "links": [], 22 "panels": [ 23 { 24 "aliasColors": {}, 25 "bars": false, 26 "dashLength": 10, 27 "dashes": false, 28 "datasource": "${datasource}", 29 "fill": 1, 30 "gridPos": { 31 "h": 10, 32 "w": 24, 33 "x": 0, 34 "y": 0 35 }, 36 "id": 2, 37 "legend": { 38 "alignAsTable": false, 39 "avg": false, 40 "current": false, 41 "max": false, 42 "min": false, 43 "rightSide": false, 44 "show": true, 45 "total": false, 46 "values": false 47 }, 48 "lines": true, 49 "linewidth": 1, 50 "links": [], 51 "nullPointMode": "null", 52 "options": {}, 53 "percentage": false, 54 "pointradius": 2, 55 "points": false, 56 "renderer": "flot", 57 "seriesOverrides": [], 58 "spaceLength": 10, 59 "stack": false, 60 "steppedLine": false, 61 "targets": [ 62 { 63 "aliasBy": "", 64 "alignOptions": [ 65 { 66 "expanded": true, 67 "label": "Alignment options", 68 "options": [ 69 { 70 "label": "delta", 71 "metricKinds": [ 72 "CUMULATIVE", 73 "DELTA" 74 ], 75 "text": "delta", 76 "value": "ALIGN_DELTA", 77 "valueTypes": [ 78 "INT64", 79 "DOUBLE", 80 "MONEY", 81 "DISTRIBUTION" 82 ] 83 }, 84 { 85 "label": "rate", 86 "metricKinds": [ 87 "CUMULATIVE", 88 "DELTA" 89 ], 90 "text": "rate", 91 "value": "ALIGN_RATE", 92 "valueTypes": [ 93 "INT64", 94 "DOUBLE", 95 "MONEY" 96 ] 97 }, 98 { 99 "label": "min", 100 "metricKinds": [ 101 "GAUGE", 102 "DELTA" 103 ], 104 "text": "min", 105 "value": "ALIGN_MIN", 106 "valueTypes": [ 107 "INT64", 108 "DOUBLE", 109 "MONEY" 110 ] 111 }, 112 { 113 "label": "max", 114 "metricKinds": [ 115 "GAUGE", 116 "DELTA" 117 ], 118 "text": "max", 119 "value": "ALIGN_MAX", 120 "valueTypes": [ 121 "INT64", 122 "DOUBLE", 123 "MONEY" 124 ] 125 }, 126 { 127 "label": "mean", 128 "metricKinds": [ 129 "GAUGE", 130 "DELTA" 131 ], 132 "text": "mean", 133 "value": "ALIGN_MEAN", 134 "valueTypes": [ 135 "INT64", 136 "DOUBLE", 137 "MONEY" 138 ] 139 }, 140 { 141 "label": "count", 142 "metricKinds": [ 143 "GAUGE", 144 "DELTA" 145 ], 146 "text": "count", 147 "value": "ALIGN_COUNT", 148 "valueTypes": [ 149 "INT64", 150 "DOUBLE", 151 "MONEY", 152 "BOOL" 153 ] 154 }, 155 { 156 "label": "sum", 157 "metricKinds": [ 158 "GAUGE", 159 "DELTA" 160 ], 161 "text": "sum", 162 "value": "ALIGN_SUM", 163 "valueTypes": [ 164 "INT64", 165 "DOUBLE", 166 "MONEY", 167 "DISTRIBUTION" 168 ] 169 }, 170 { 171 "label": "stddev", 172 "metricKinds": [ 173 "GAUGE", 174 "DELTA" 175 ], 176 "text": "stddev", 177 "value": "ALIGN_STDDEV", 178 "valueTypes": [ 179 "INT64", 180 "DOUBLE", 181 "MONEY" 182 ] 183 }, 184 { 185 "label": "percent change", 186 "metricKinds": [ 187 "GAUGE", 188 "DELTA" 189 ], 190 "text": "percent change", 191 "value": "ALIGN_PERCENT_CHANGE", 192 "valueTypes": [ 193 "INT64", 194 "DOUBLE", 195 "MONEY" 196 ] 197 } 198 ] 199 } 200 ], 201 "alignmentPeriod": "stackdriver-auto", 202 "crossSeriesReducer": "REDUCE_SUM", 203 "defaultProject": "loading project...", 204 "filters": [ 205 "resource.label.method", 206 "=~", 207 "${method:pipe}", 208 "AND", 209 "resource.label.service", 210 "=~", 211 "${service:pipe}", 212 "AND", 213 "resource.label.project_id", 214 "=", 215 "${project}", 216 "AND", 217 "resource.label.version", 218 "=~", 219 "${version:pipe}" 220 ], 221 "groupBys": [ 222 "${groupby:csv}" 223 ], 224 "hide": false, 225 "metricKind": "DELTA", 226 "metricType": "serviceruntime.googleapis.com/api/request_count", 227 "perSeriesAligner": "ALIGN_DELTA", 228 "refId": "A", 229 "service": "", 230 "unit": "1", 231 "usedAlignmentPeriod": 3600, 232 "valueType": "INT64" 233 } 234 ], 235 "thresholds": [], 236 "timeFrom": null, 237 "timeRegions": [], 238 "timeShift": null, 239 "title": "GCP API usage", 240 "tooltip": { 241 "shared": true, 242 "sort": 2, 243 "value_type": "individual" 244 }, 245 "type": "graph", 246 "xaxis": { 247 "buckets": null, 248 "mode": "time", 249 "name": null, 250 "show": true, 251 "values": [] 252 }, 253 "yaxes": [ 254 { 255 "format": "short", 256 "label": null, 257 "logBase": 2, 258 "max": null, 259 "min": null, 260 "show": true 261 }, 262 { 263 "format": "short", 264 "label": "", 265 "logBase": 1, 266 "max": null, 267 "min": null, 268 "show": true 269 } 270 ], 271 "yaxis": { 272 "align": false, 273 "alignLevel": null 274 } 275 } 276 ], 277 "refresh": false, 278 "schemaVersion": 18, 279 "style": "dark", 280 "tags": [], 281 "templating": { 282 "list": [ 283 { 284 "current": { 285 "text": "Stackdriver", 286 "value": "Stackdriver" 287 }, 288 "hide": 0, 289 "includeAll": false, 290 "label": null, 291 "multi": false, 292 "name": "datasource", 293 "options": [], 294 "query": "stackdriver", 295 "refresh": 1, 296 "regex": "", 297 "skipUrlSync": false, 298 "type": "datasource" 299 }, 300 { 301 "allValue": null, 302 "datasource": "Stackdriver", 303 "definition": "Stackdriver - Label Values", 304 "hide": 0, 305 "includeAll": false, 306 "label": null, 307 "multi": false, 308 "name": "project", 309 "options": [], 310 "query": { 311 "labelKey": "resource.label.project_id", 312 "selectedMetricType": "serviceruntime.googleapis.com/api/request_count", 313 "selectedQueryType": "labelValues", 314 "selectedService": "serviceruntime.googleapis.com" 315 }, 316 "refresh": 2, 317 "regex": "", 318 "skipUrlSync": false, 319 "sort": 1, 320 "tagValuesQuery": "", 321 "tags": [], 322 "tagsQuery": "", 323 "type": "query", 324 "useTags": false 325 }, 326 { 327 "allValue": "", 328 "current": { 329 "selected": true, 330 "text": "All", 331 "value": "$__all" 332 }, 333 "datasource": "Stackdriver", 334 "definition": "Stackdriver - Label Values", 335 "hide": 0, 336 "includeAll": true, 337 "label": null, 338 "multi": true, 339 "name": "service", 340 "query": { 341 "labelKey": "resource.label.service", 342 "selectedMetricType": "serviceruntime.googleapis.com/api/request_count", 343 "selectedQueryType": "labelValues", 344 "selectedService": "serviceruntime.googleapis.com" 345 }, 346 "refresh": 2, 347 "regex": "", 348 "skipUrlSync": false, 349 "sort": 0, 350 "tagValuesQuery": "", 351 "tags": [], 352 "tagsQuery": "", 353 "type": "query", 354 "useTags": false 355 }, 356 { 357 "allValue": null, 358 "current": { 359 "selected": true, 360 "text": "All", 361 "value": "$__all" 362 }, 363 "datasource": "Stackdriver", 364 "definition": "Stackdriver - Label Values", 365 "hide": 0, 366 "includeAll": true, 367 "label": null, 368 "multi": true, 369 "name": "method", 370 "query": { 371 "labelKey": "resource.label.method", 372 "selectedMetricType": "serviceruntime.googleapis.com/api/request_count", 373 "selectedQueryType": "labelValues", 374 "selectedService": "serviceruntime.googleapis.com" 375 }, 376 "refresh": 2, 377 "regex": "", 378 "skipUrlSync": false, 379 "sort": 0, 380 "tagValuesQuery": "", 381 "tags": [], 382 "tagsQuery": "", 383 "type": "query", 384 "useTags": false 385 }, 386 { 387 "allValue": ".*", 388 "datasource": "Stackdriver", 389 "definition": "Stackdriver - Label Values", 390 "hide": 0, 391 "includeAll": true, 392 "label": null, 393 "multi": true, 394 "name": "version", 395 "options": [], 396 "query": { 397 "labelKey": "resource.label.version", 398 "selectedMetricType": "serviceruntime.googleapis.com/api/request_count", 399 "selectedQueryType": "labelValues", 400 "selectedService": "serviceruntime.googleapis.com" 401 }, 402 "refresh": 2, 403 "regex": "", 404 "skipUrlSync": false, 405 "sort": 0, 406 "tagValuesQuery": "", 407 "tags": [], 408 "tagsQuery": "", 409 "type": "query", 410 "useTags": false 411 }, 412 { 413 "allValue": null, 414 "current": { 415 "tags": [], 416 "text": "resource.label.service", 417 "value": [ 418 "resource.label.service" 419 ] 420 }, 421 "datasource": "Stackdriver", 422 "definition": "Stackdriver - Label Keys", 423 "hide": 0, 424 "includeAll": false, 425 "label": null, 426 "multi": true, 427 "name": "groupby", 428 "options": [], 429 "query": { 430 "labelKey": "", 431 "selectedMetricType": "serviceruntime.googleapis.com/api/request_count", 432 "selectedQueryType": "labelKeys", 433 "selectedService": "serviceruntime.googleapis.com" 434 }, 435 "refresh": 2, 436 "regex": "", 437 "skipUrlSync": false, 438 "sort": 0, 439 "tagValuesQuery": "", 440 "tags": [], 441 "tagsQuery": "resource", 442 "type": "query", 443 "useTags": false 444 } 445 ] 446 }, 447 "time": { 448 "from": "now-7d", 449 "to": "now" 450 }, 451 "timepicker": { 452 "refresh_intervals": [ 453 "5s", 454 "10s", 455 "30s", 456 "1m", 457 "5m", 458 "15m", 459 "30m", 460 "1h", 461 "2h", 462 "1d" 463 ], 464 "time_options": [ 465 "5m", 466 "15m", 467 "1h", 468 "6h", 469 "12h", 470 "24h", 471 "2d", 472 "7d", 473 "30d" 474 ] 475 }, 476 "timezone": "", 477 "title": "GCP API usage", 478 "version": 2 479 }