github.com/kiali/kiali@v1.84.0/graph/api/testdata/test_rates_node_graph_total.expected (about)

     1  {
     2    "timestamp": 1523364075,
     3    "duration": 600,
     4    "graphType": "workload",
     5    "elements": {
     6      "nodes": [
     7        {
     8          "data": {
     9            "id": "e33863bda999d21bfea986c66eb0ae39",
    10            "nodeType": "workload",
    11            "cluster": "east",
    12            "namespace": "bookinfo",
    13            "workload": "details-v1",
    14            "app": "details",
    15            "version": "v1",
    16            "destServices": [
    17              {
    18                "cluster": "east",
    19                "namespace": "bookinfo",
    20                "name": "details"
    21              }
    22            ],
    23            "traffic": [
    24              {
    25                "protocol": "http",
    26                "rates": {
    27                  "httpIn": "80.00",
    28                  "httpIn3xx": "20.00",
    29                  "httpIn4xx": "20.00",
    30                  "httpIn5xx": "20.00"
    31                }
    32              }
    33            ],
    34            "healthData": null
    35          }
    36        },
    37        {
    38          "data": {
    39            "id": "6fb400654f51831b495b454c7d54839b",
    40            "nodeType": "workload",
    41            "cluster": "east",
    42            "namespace": "bookinfo",
    43            "workload": "productpage-v1",
    44            "app": "productpage",
    45            "version": "v1",
    46            "destServices": [
    47              {
    48                "cluster": "east",
    49                "namespace": "bookinfo",
    50                "name": "productpage"
    51              }
    52            ],
    53            "traffic": [
    54              {
    55                "protocol": "grpc",
    56                "rates": {
    57                  "grpcOut": "93.00"
    58                }
    59              },
    60              {
    61                "protocol": "http",
    62                "rates": {
    63                  "httpIn": "170.00",
    64                  "httpOut": "164.00"
    65                }
    66              },
    67              {
    68                "protocol": "tcp",
    69                "rates": {
    70                  "tcpOut": "93.00"
    71                }
    72              }
    73            ],
    74            "healthData": null
    75          }
    76        },
    77        {
    78          "data": {
    79            "id": "0035515c06eccff13560ea31cc928733",
    80            "nodeType": "workload",
    81            "cluster": "east",
    82            "namespace": "bookinfo",
    83            "workload": "reviews-v1",
    84            "app": "reviews",
    85            "version": "v1",
    86            "destServices": [
    87              {
    88                "cluster": "east",
    89                "namespace": "bookinfo",
    90                "name": "reviews"
    91              }
    92            ],
    93            "traffic": [
    94              {
    95                "protocol": "http",
    96                "rates": {
    97                  "httpIn": "20.00"
    98                }
    99              }
   100            ],
   101            "healthData": null
   102          }
   103        },
   104        {
   105          "data": {
   106            "id": "a6432aeee664b7c8edf3872fcc89d2de",
   107            "nodeType": "workload",
   108            "cluster": "east",
   109            "namespace": "bookinfo",
   110            "workload": "reviews-v2",
   111            "app": "reviews",
   112            "version": "v2",
   113            "destServices": [
   114              {
   115                "cluster": "east",
   116                "namespace": "bookinfo",
   117                "name": "reviews"
   118              }
   119            ],
   120            "traffic": [
   121              {
   122                "protocol": "http",
   123                "rates": {
   124                  "httpIn": "20.00"
   125                }
   126              }
   127            ],
   128            "healthData": null
   129          }
   130        },
   131        {
   132          "data": {
   133            "id": "57450de070195502d438ad71abdf35a1",
   134            "nodeType": "workload",
   135            "cluster": "east",
   136            "namespace": "bookinfo",
   137            "workload": "reviews-v3",
   138            "app": "reviews",
   139            "version": "v3",
   140            "destServices": [
   141              {
   142                "cluster": "east",
   143                "namespace": "bookinfo",
   144                "name": "reviews"
   145              }
   146            ],
   147            "traffic": [
   148              {
   149                "protocol": "http",
   150                "rates": {
   151                  "httpIn": "20.00"
   152                }
   153              }
   154            ],
   155            "healthData": null
   156          }
   157        },
   158        {
   159          "data": {
   160            "id": "25c659622371eeab9ed18ffa7cfd8559",
   161            "nodeType": "workload",
   162            "cluster": "east",
   163            "namespace": "bookinfo",
   164            "workload": "tcp-v1",
   165            "app": "tcp",
   166            "version": "v1",
   167            "destServices": [
   168              {
   169                "cluster": "east",
   170                "namespace": "bookinfo",
   171                "name": "tcp"
   172              }
   173            ],
   174            "traffic": [
   175              {
   176                "protocol": "grpc",
   177                "rates": {
   178                  "grpcIn": "93.00"
   179                }
   180              },
   181              {
   182                "protocol": "tcp",
   183                "rates": {
   184                  "tcpIn": "93.00"
   185                }
   186              }
   187            ],
   188            "healthData": null
   189          }
   190        },
   191        {
   192          "data": {
   193            "id": "d572c98471e1586ae94397b094892b6b",
   194            "nodeType": "workload",
   195            "cluster": "east",
   196            "namespace": "istio-system",
   197            "workload": "ingressgateway-unknown",
   198            "app": "ingressgateway",
   199            "version": "latest",
   200            "traffic": [
   201              {
   202                "protocol": "http",
   203                "rates": {
   204                  "httpOut": "100.00"
   205                }
   206              }
   207            ],
   208            "healthData": null,
   209            "isInaccessible": true,
   210            "isOutside": true,
   211            "isRoot": true
   212          }
   213        },
   214        {
   215          "data": {
   216            "id": "c806ddbb86ea4bb8a9c7c8b6be3ce196",
   217            "nodeType": "service",
   218            "cluster": "unknown",
   219            "namespace": "unknown",
   220            "service": "unknown",
   221            "traffic": [
   222              {
   223                "protocol": "http",
   224                "rates": {
   225                  "httpIn": "4.00",
   226                  "httpIn4xx": "4.00"
   227                }
   228              }
   229            ],
   230            "healthData": null,
   231            "isInaccessible": true
   232          }
   233        },
   234        {
   235          "data": {
   236            "id": "375ab940b56ae7bcf0f89cb1a7af5d44",
   237            "nodeType": "unknown",
   238            "cluster": "unknown",
   239            "namespace": "unknown",
   240            "workload": "unknown",
   241            "app": "unknown",
   242            "version": "unknown",
   243            "traffic": [
   244              {
   245                "protocol": "http",
   246                "rates": {
   247                  "httpOut": "50.00"
   248                }
   249              }
   250            ],
   251            "healthData": null,
   252            "isInaccessible": true,
   253            "isRoot": true
   254          }
   255        }
   256      ],
   257      "edges": [
   258        {
   259          "data": {
   260            "id": "61028a967055b02bacee418073ce3e43",
   261            "source": "375ab940b56ae7bcf0f89cb1a7af5d44",
   262            "target": "6fb400654f51831b495b454c7d54839b",
   263            "traffic": {
   264              "protocol": "http",
   265              "rates": {
   266                "http": "50.00",
   267                "httpPercentReq": "100.0"
   268              },
   269              "responses": {
   270                "200": {
   271                  "flags": {
   272                    "-": "100.0"
   273                  },
   274                  "hosts": {
   275                    "productpage:9080": "100.0"
   276                  }
   277                }
   278              }
   279            }
   280          }
   281        },
   282        {
   283          "data": {
   284            "id": "d36794db8fe678f42751820b857db9fd",
   285            "source": "6fb400654f51831b495b454c7d54839b",
   286            "target": "0035515c06eccff13560ea31cc928733",
   287            "traffic": {
   288              "protocol": "http",
   289              "rates": {
   290                "http": "20.00",
   291                "httpPercentReq": "12.2"
   292              },
   293              "responses": {
   294                "200": {
   295                  "flags": {
   296                    "-": "100.0"
   297                  },
   298                  "hosts": {
   299                    "reviews:9080": "100.0"
   300                  }
   301                }
   302              }
   303            }
   304          }
   305        },
   306        {
   307          "data": {
   308            "id": "7d15e30308ec5b381eeca5dfcf0002d0",
   309            "source": "6fb400654f51831b495b454c7d54839b",
   310            "target": "25c659622371eeab9ed18ffa7cfd8559",
   311            "traffic": {
   312              "protocol": "grpc",
   313              "rates": {
   314                "grpc": "93.00",
   315                "grpcPercentReq": "100.0"
   316              },
   317              "responses": {
   318                "-": {
   319                  "hosts": {
   320                    "tcp:9080": "100.0"
   321                  }
   322                }
   323              }
   324            }
   325          }
   326        },
   327        {
   328          "data": {
   329            "id": "5755b8a53c856a29e8dc11f4c4287f80",
   330            "source": "6fb400654f51831b495b454c7d54839b",
   331            "target": "25c659622371eeab9ed18ffa7cfd8559",
   332            "traffic": {
   333              "protocol": "tcp",
   334              "rates": {
   335                "tcp": "93.00"
   336              },
   337              "responses": {
   338                "-": {
   339                  "flags": {
   340                    "-": "100.0"
   341                  },
   342                  "hosts": {
   343                    "tcp:9080": "100.0"
   344                  }
   345                }
   346              }
   347            }
   348          }
   349        },
   350        {
   351          "data": {
   352            "id": "d59c1e68e3912e78563a72150db7dd59",
   353            "source": "6fb400654f51831b495b454c7d54839b",
   354            "target": "57450de070195502d438ad71abdf35a1",
   355            "traffic": {
   356              "protocol": "http",
   357              "rates": {
   358                "http": "20.00",
   359                "httpPercentReq": "12.2"
   360              },
   361              "responses": {
   362                "200": {
   363                  "flags": {
   364                    "-": "100.0"
   365                  },
   366                  "hosts": {
   367                    "reviews:9080": "100.0"
   368                  }
   369                }
   370              }
   371            }
   372          }
   373        },
   374        {
   375          "data": {
   376            "id": "5c668ff2ed646da1536d83cf2fadbc57",
   377            "source": "6fb400654f51831b495b454c7d54839b",
   378            "target": "6fb400654f51831b495b454c7d54839b",
   379            "traffic": {
   380              "protocol": "http",
   381              "rates": {
   382                "http": "20.00",
   383                "httpPercentReq": "12.2"
   384              },
   385              "responses": {
   386                "200": {
   387                  "flags": {
   388                    "-": "100.0"
   389                  },
   390                  "hosts": {
   391                    "productpage:9080": "100.0"
   392                  }
   393                }
   394              }
   395            }
   396          }
   397        },
   398        {
   399          "data": {
   400            "id": "d0d2f3c83f96bb135a622e71fe86d68d",
   401            "source": "6fb400654f51831b495b454c7d54839b",
   402            "target": "a6432aeee664b7c8edf3872fcc89d2de",
   403            "traffic": {
   404              "protocol": "http",
   405              "rates": {
   406                "http": "20.00",
   407                "httpPercentReq": "12.2"
   408              },
   409              "responses": {
   410                "200": {
   411                  "flags": {
   412                    "-": "100.0"
   413                  },
   414                  "hosts": {
   415                    "reviews:9080": "100.0"
   416                  }
   417                }
   418              }
   419            }
   420          }
   421        },
   422        {
   423          "data": {
   424            "id": "b41bde098985920aaa13c547a7ee5065",
   425            "source": "6fb400654f51831b495b454c7d54839b",
   426            "target": "c806ddbb86ea4bb8a9c7c8b6be3ce196",
   427            "traffic": {
   428              "protocol": "http",
   429              "rates": {
   430                "http": "4.00",
   431                "http4xx": "4.00",
   432                "httpPercentErr": "100.0",
   433                "httpPercentReq": "2.4"
   434              },
   435              "responses": {
   436                "404": {
   437                  "flags": {
   438                    "NR": "100.0"
   439                  },
   440                  "hosts": {
   441                    "unknown": "100.0"
   442                  }
   443                }
   444              }
   445            }
   446          }
   447        },
   448        {
   449          "data": {
   450            "id": "fc4d065839655ec68aaffbd2881c7380",
   451            "source": "6fb400654f51831b495b454c7d54839b",
   452            "target": "e33863bda999d21bfea986c66eb0ae39",
   453            "traffic": {
   454              "protocol": "http",
   455              "rates": {
   456                "http": "80.00",
   457                "http3xx": "20.00",
   458                "http4xx": "20.00",
   459                "http5xx": "20.00",
   460                "httpPercentErr": "50.0",
   461                "httpPercentReq": "48.8"
   462              },
   463              "responses": {
   464                "200": {
   465                  "flags": {
   466                    "-": "25.0"
   467                  },
   468                  "hosts": {
   469                    "details:9080": "25.0"
   470                  }
   471                },
   472                "300": {
   473                  "flags": {
   474                    "-": "25.0"
   475                  },
   476                  "hosts": {
   477                    "details:9080": "25.0"
   478                  }
   479                },
   480                "400": {
   481                  "flags": {
   482                    "-": "25.0"
   483                  },
   484                  "hosts": {
   485                    "details:9080": "25.0"
   486                  }
   487                },
   488                "500": {
   489                  "flags": {
   490                    "-": "25.0"
   491                  },
   492                  "hosts": {
   493                    "details:9080": "25.0"
   494                  }
   495                }
   496              }
   497            }
   498          }
   499        },
   500        {
   501          "data": {
   502            "id": "67b56dc45daf5831ba2dec84d8e00717",
   503            "source": "d572c98471e1586ae94397b094892b6b",
   504            "target": "6fb400654f51831b495b454c7d54839b",
   505            "traffic": {
   506              "protocol": "http",
   507              "rates": {
   508                "http": "100.00",
   509                "httpPercentReq": "100.0"
   510              },
   511              "responses": {
   512                "200": {
   513                  "flags": {
   514                    "-": "100.0"
   515                  },
   516                  "hosts": {
   517                    "productpage:9080": "100.0"
   518                  }
   519                }
   520              }
   521            }
   522          }
   523        }
   524      ]
   525    }
   526  }