github.com/replicatedcom/ship@v0.50.0/integration/init/istio-1.0.3/expected/.ship/upstream/charts/grafana/dashboards/istio-performance-dashboard.json (about)

     1  {
     2    "__inputs": [
     3      {
     4        "name": "DS_PROMETHEUS",
     5        "label": "Prometheus",
     6        "description": "",
     7        "type": "datasource",
     8        "pluginId": "prometheus",
     9        "pluginName": "Prometheus"
    10      }
    11    ],
    12    "__requires": [
    13      {
    14        "type": "grafana",
    15        "id": "grafana",
    16        "name": "Grafana",
    17        "version": "5.2.3"
    18      },
    19      {
    20        "type": "panel",
    21        "id": "graph",
    22        "name": "Graph",
    23        "version": "5.0.0"
    24      },
    25      {
    26        "type": "datasource",
    27        "id": "prometheus",
    28        "name": "Prometheus",
    29        "version": "5.0.0"
    30      }
    31    ],
    32    "annotations": {
    33      "list": [
    34        {
    35          "builtIn": 1,
    36          "datasource": "-- Grafana --",
    37          "enable": true,
    38          "hide": true,
    39          "iconColor": "rgba(0, 211, 255, 1)",
    40          "name": "Annotations & Alerts",
    41          "type": "dashboard"
    42        }
    43      ]
    44    },
    45    "editable": true,
    46    "gnetId": null,
    47    "graphTooltip": 0,
    48    "id": null,
    49    "links": [],
    50    "panels": [
    51      {
    52        "aliasColors": {},
    53        "bars": false,
    54        "dashLength": 10,
    55        "dashes": false,
    56        "datasource": "Prometheus",
    57        "fill": 1,
    58        "gridPos": {
    59          "h": 9,
    60          "w": 12,
    61          "x": 0,
    62          "y": 0
    63        },
    64        "id": 2,
    65        "legend": {
    66          "avg": false,
    67          "current": false,
    68          "max": false,
    69          "min": false,
    70          "show": true,
    71          "total": false,
    72          "values": false
    73        },
    74        "lines": true,
    75        "linewidth": 1,
    76        "links": [],
    77        "nullPointMode": "null",
    78        "percentage": false,
    79        "pointradius": 5,
    80        "points": false,
    81        "renderer": "flot",
    82        "seriesOverrides": [],
    83        "spaceLength": 10,
    84        "stack": false,
    85        "steppedLine": false,
    86        "targets": [
    87          {
    88            "expr": "sum(rate(container_cpu_usage_seconds_total{pod_name=~\"istio-telemetry-.*\"}[1m]))/ (round(sum(irate(istio_requests_total[1m])), 0.001)/1000)",
    89            "format": "time_series",
    90            "intervalFactor": 1,
    91            "legendFormat": "istio-telemetry",
    92            "refId": "A"
    93          },
    94          {
    95            "expr": "sum(rate(container_cpu_usage_seconds_total{pod_name=~\"istio-ingressgateway-.*\"}[1m])) / (round(sum(irate(istio_requests_total{source_workload=\"istio-ingressgateway\", reporter=\"source\"}[1m])), 0.001)/1000)",
    96            "format": "time_series",
    97            "intervalFactor": 1,
    98            "legendFormat": "istio-ingressgateway",
    99            "refId": "B"
   100          },
   101          {
   102            "expr": "sum(rate(container_cpu_usage_seconds_total{container_name=\"istio-proxy\"}[1m]))/ (round(sum(irate(istio_requests_total[1m])), 0.001)/1000)",
   103            "format": "time_series",
   104            "intervalFactor": 1,
   105            "legendFormat": "istio-proxy",
   106            "refId": "C"
   107          },
   108          {
   109            "expr": "sum(rate(container_cpu_usage_seconds_total{pod_name=~\"istio-policy-.*\"}[1m]))/ (round(sum(irate(istio_requests_total[1m])), 0.001)/1000)",
   110            "format": "time_series",
   111            "intervalFactor": 1,
   112            "legendFormat": "istio-policy",
   113            "refId": "D"
   114          }
   115        ],
   116        "thresholds": [],
   117        "timeFrom": null,
   118        "timeShift": null,
   119        "title": "vCPU / 1k rps",
   120        "tooltip": {
   121          "shared": true,
   122          "sort": 0,
   123          "value_type": "individual"
   124        },
   125        "type": "graph",
   126        "xaxis": {
   127          "buckets": null,
   128          "mode": "time",
   129          "name": null,
   130          "show": true,
   131          "values": []
   132        },
   133        "yaxes": [
   134          {
   135            "format": "short",
   136            "label": null,
   137            "logBase": 1,
   138            "max": null,
   139            "min": null,
   140            "show": true
   141          },
   142          {
   143            "format": "short",
   144            "label": null,
   145            "logBase": 1,
   146            "max": null,
   147            "min": null,
   148            "show": true
   149          }
   150        ],
   151        "yaxis": {
   152          "align": false,
   153          "alignLevel": null
   154        }
   155      },
   156      {
   157        "aliasColors": {},
   158        "bars": false,
   159        "dashLength": 10,
   160        "dashes": false,
   161        "datasource": "Prometheus",
   162        "fill": 1,
   163        "gridPos": {
   164          "h": 9,
   165          "w": 12,
   166          "x": 12,
   167          "y": 0
   168        },
   169        "id": 6,
   170        "legend": {
   171          "avg": false,
   172          "current": false,
   173          "max": false,
   174          "min": false,
   175          "show": true,
   176          "total": false,
   177          "values": false
   178        },
   179        "lines": true,
   180        "linewidth": 1,
   181        "links": [],
   182        "nullPointMode": "null",
   183        "percentage": false,
   184        "pointradius": 5,
   185        "points": false,
   186        "renderer": "flot",
   187        "seriesOverrides": [],
   188        "spaceLength": 10,
   189        "stack": false,
   190        "steppedLine": false,
   191        "targets": [
   192          {
   193            "expr": "sum(rate(container_cpu_usage_seconds_total{pod_name=~\"istio-telemetry-.*\"}[1m]))",
   194            "format": "time_series",
   195            "intervalFactor": 1,
   196            "legendFormat": "istio-telemetry",
   197            "refId": "A"
   198          },
   199          {
   200            "expr": "sum(rate(container_cpu_usage_seconds_total{pod_name=~\"istio-ingressgateway-.*\"}[1m]))",
   201            "format": "time_series",
   202            "intervalFactor": 1,
   203            "legendFormat": "istio-ingressgateway",
   204            "refId": "B"
   205          },
   206          {
   207            "expr": "sum(rate(container_cpu_usage_seconds_total{container_name=\"istio-proxy\"}[1m]))",
   208            "format": "time_series",
   209            "intervalFactor": 1,
   210            "legendFormat": "istio-proxy",
   211            "refId": "C"
   212          },
   213          {
   214            "expr": "sum(rate(container_cpu_usage_seconds_total{pod_name=~\"istio-policy-.*\"}[1m]))",
   215            "format": "time_series",
   216            "intervalFactor": 1,
   217            "legendFormat": "istio-policy",
   218            "refId": "D"
   219          }
   220        ],
   221        "thresholds": [],
   222        "timeFrom": null,
   223        "timeShift": null,
   224        "title": "vCPU",
   225        "tooltip": {
   226          "shared": true,
   227          "sort": 0,
   228          "value_type": "individual"
   229        },
   230        "type": "graph",
   231        "xaxis": {
   232          "buckets": null,
   233          "mode": "time",
   234          "name": null,
   235          "show": true,
   236          "values": []
   237        },
   238        "yaxes": [
   239          {
   240            "format": "short",
   241            "label": null,
   242            "logBase": 1,
   243            "max": null,
   244            "min": null,
   245            "show": true
   246          },
   247          {
   248            "format": "short",
   249            "label": null,
   250            "logBase": 1,
   251            "max": null,
   252            "min": null,
   253            "show": true
   254          }
   255        ],
   256        "yaxis": {
   257          "align": false,
   258          "alignLevel": null
   259        }
   260      },
   261      {
   262        "aliasColors": {},
   263        "bars": false,
   264        "dashLength": 10,
   265        "dashes": false,
   266        "datasource": "Prometheus",
   267        "fill": 1,
   268        "gridPos": {
   269          "h": 9,
   270          "w": 12,
   271          "x": 0,
   272          "y": 9
   273        },
   274        "id": 4,
   275        "legend": {
   276          "avg": false,
   277          "current": false,
   278          "max": false,
   279          "min": false,
   280          "show": true,
   281          "total": false,
   282          "values": false
   283        },
   284        "lines": true,
   285        "linewidth": 1,
   286        "links": [],
   287        "nullPointMode": "null",
   288        "percentage": false,
   289        "pointradius": 5,
   290        "points": false,
   291        "renderer": "flot",
   292        "seriesOverrides": [],
   293        "spaceLength": 10,
   294        "stack": false,
   295        "steppedLine": false,
   296        "targets": [
   297          {
   298            "expr": "sum(container_memory_usage_bytes{pod_name=~\"istio-telemetry-.*\"}) / (sum(irate(istio_requests_total[1m])) / 1000)",
   299            "format": "time_series",
   300            "intervalFactor": 1,
   301            "legendFormat": "istio-telemetry / 1k rps",
   302            "refId": "A"
   303          },
   304          {
   305            "expr": "sum(container_memory_usage_bytes{pod_name=~\"istio-ingressgateway-.*\"}) / count(container_memory_usage_bytes{pod_name=~\"istio-ingressgateway-.*\"})",
   306            "format": "time_series",
   307            "intervalFactor": 1,
   308            "legendFormat": "per istio-ingressgateway",
   309            "refId": "C"
   310          },
   311          {
   312            "expr": "sum(container_memory_usage_bytes{container_name=\"istio-proxy\"}) / count(container_memory_usage_bytes{container_name=\"istio-proxy\"})",
   313            "format": "time_series",
   314            "intervalFactor": 1,
   315            "legendFormat": "per istio-proxy",
   316            "refId": "B"
   317          },
   318          {
   319            "expr": "sum(container_memory_usage_bytes{pod_name=~\"istio-policy-.*\"}) / (sum(irate(istio_requests_total[1m])) / 1000)",
   320            "format": "time_series",
   321            "intervalFactor": 1,
   322            "legendFormat": "istio-policy / 1k rps",
   323            "refId": "D"
   324          }
   325        ],
   326        "thresholds": [],
   327        "timeFrom": null,
   328        "timeShift": null,
   329        "title": "Memory",
   330        "tooltip": {
   331          "shared": true,
   332          "sort": 0,
   333          "value_type": "individual"
   334        },
   335        "type": "graph",
   336        "xaxis": {
   337          "buckets": null,
   338          "mode": "time",
   339          "name": null,
   340          "show": true,
   341          "values": []
   342        },
   343        "yaxes": [
   344          {
   345            "format": "decbytes",
   346            "label": null,
   347            "logBase": 1,
   348            "max": null,
   349            "min": null,
   350            "show": true
   351          },
   352          {
   353            "format": "short",
   354            "label": null,
   355            "logBase": 1,
   356            "max": null,
   357            "min": null,
   358            "show": true
   359          }
   360        ],
   361        "yaxis": {
   362          "align": false,
   363          "alignLevel": null
   364        }
   365      },
   366      {
   367        "aliasColors": {},
   368        "bars": false,
   369        "dashLength": 10,
   370        "dashes": false,
   371        "datasource": "Prometheus",
   372        "fill": 1,
   373        "gridPos": {
   374          "h": 9,
   375          "w": 12,
   376          "x": 12,
   377          "y": 9
   378        },
   379        "id": 5,
   380        "legend": {
   381          "avg": false,
   382          "current": false,
   383          "max": false,
   384          "min": false,
   385          "show": true,
   386          "total": false,
   387          "values": false
   388        },
   389        "lines": true,
   390        "linewidth": 1,
   391        "links": [],
   392        "nullPointMode": "null",
   393        "percentage": false,
   394        "pointradius": 5,
   395        "points": false,
   396        "renderer": "flot",
   397        "seriesOverrides": [],
   398        "spaceLength": 10,
   399        "stack": false,
   400        "steppedLine": false,
   401        "targets": [
   402          {
   403            "expr": "sum(irate(istio_response_bytes_sum{destination_workload=\"istio-telemetry\"}[1m])) + sum(irate(istio_request_bytes_sum{destination_workload=\"istio-telemetry\"}[1m]))",
   404            "format": "time_series",
   405            "intervalFactor": 1,
   406            "legendFormat": "istio-telemetry",
   407            "refId": "A"
   408          },
   409          {
   410            "expr": "sum(irate(istio_response_bytes_sum{source_workload=\"istio-ingressgateway\", reporter=\"source\"}[1m]))",
   411            "format": "time_series",
   412            "intervalFactor": 1,
   413            "legendFormat": "istio-ingressgateway",
   414            "refId": "C"
   415          },
   416          {
   417            "expr": "sum(irate(istio_response_bytes_sum{source_workload_namespace!=\"istio-system\", reporter=\"source\"}[1m])) + sum(irate(istio_response_bytes_sum{destination_workload_namespace!=\"istio-system\", reporter=\"destination\"}[1m])) + sum(irate(istio_request_bytes_sum{source_workload_namespace!=\"istio-system\", reporter=\"source\"}[1m])) + sum(irate(istio_request_bytes_sum{destination_workload_namespace!=\"istio-system\", reporter=\"destination\"}[1m]))",
   418            "format": "time_series",
   419            "intervalFactor": 1,
   420            "legendFormat": "istio-proxy",
   421            "refId": "D"
   422          },
   423          {
   424            "expr": "sum(irate(istio_response_bytes_sum{destination_workload=\"istio-policy\"}[1m])) + sum(irate(istio_request_bytes_sum{destination_workload=\"istio-policy\"}[1m]))",
   425            "format": "time_series",
   426            "intervalFactor": 1,
   427            "legendFormat": "istio-policy",
   428            "refId": "E"
   429          }
   430        ],
   431        "thresholds": [],
   432        "timeFrom": null,
   433        "timeShift": null,
   434        "title": "Bytes transferred / sec",
   435        "tooltip": {
   436          "shared": true,
   437          "sort": 0,
   438          "value_type": "individual"
   439        },
   440        "type": "graph",
   441        "xaxis": {
   442          "buckets": null,
   443          "mode": "time",
   444          "name": null,
   445          "show": true,
   446          "values": []
   447        },
   448        "yaxes": [
   449          {
   450            "format": "bytes",
   451            "label": null,
   452            "logBase": 1,
   453            "max": null,
   454            "min": null,
   455            "show": true
   456          },
   457          {
   458            "format": "short",
   459            "label": null,
   460            "logBase": 1,
   461            "max": null,
   462            "min": null,
   463            "show": true
   464          }
   465        ],
   466        "yaxis": {
   467          "align": false,
   468          "alignLevel": null
   469        }
   470      }
   471    ],
   472    "schemaVersion": 16,
   473    "style": "dark",
   474    "tags": [],
   475    "templating": {
   476      "list": []
   477    },
   478    "time": {
   479      "from": "now-5m",
   480      "to": "now"
   481    },
   482    "timepicker": {
   483      "refresh_intervals": [
   484        "5s",
   485        "10s",
   486        "30s",
   487        "1m",
   488        "5m",
   489        "15m",
   490        "30m",
   491        "1h",
   492        "2h",
   493        "1d"
   494      ],
   495      "time_options": [
   496        "5m",
   497        "15m",
   498        "1h",
   499        "6h",
   500        "12h",
   501        "24h",
   502        "2d",
   503        "7d",
   504        "30d"
   505      ]
   506    },
   507    "timezone": "",
   508    "title": "Istio Performance Dashboard",
   509    "uid": "t8BUIg1mz",
   510    "version": 5
   511  }