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

     1  {
     2    "timestamp": 1523364075,
     3    "duration": 600,
     4    "graphType": "versionedApp",
     5    "elements": {
     6      "nodes": [
     7        {
     8          "data": {
     9            "id": "0754fcc1dfb21e73be1b62bc35ee298c",
    10            "nodeType": "box",
    11            "cluster": "east",
    12            "namespace": "bookinfo",
    13            "app": "reviews",
    14            "healthData": null,
    15            "isBox": "app"
    16          }
    17        },
    18        {
    19          "data": {
    20            "id": "945f248ddaed4663ce0ca8dbf4ac0692",
    21            "nodeType": "app",
    22            "cluster": "east",
    23            "namespace": "bankapp",
    24            "workload": "deposit-v1",
    25            "app": "deposit",
    26            "version": "v1",
    27            "destServices": [
    28              {
    29                "cluster": "east",
    30                "namespace": "bankapp",
    31                "name": "deposit"
    32              }
    33            ],
    34            "traffic": [
    35              {
    36                "protocol": "grpc",
    37                "rates": {
    38                  "grpcIn": "50.00"
    39                }
    40              }
    41            ],
    42            "healthData": null,
    43            "isInaccessible": true,
    44            "isOutside": true
    45          }
    46        },
    47        {
    48          "data": {
    49            "id": "3cb1b1c64f77cdf407d773b9d4b67d92",
    50            "nodeType": "app",
    51            "cluster": "east",
    52            "namespace": "bankapp",
    53            "workload": "pricing-v1",
    54            "app": "pricing",
    55            "version": "v1",
    56            "destServices": [
    57              {
    58                "cluster": "east",
    59                "namespace": "bankapp",
    60                "name": "pricing"
    61              }
    62            ],
    63            "traffic": [
    64              {
    65                "protocol": "http",
    66                "rates": {
    67                  "httpIn": "20.00"
    68                }
    69              }
    70            ],
    71            "healthData": null,
    72            "isInaccessible": true,
    73            "isOutside": true
    74          }
    75        },
    76        {
    77          "data": {
    78            "id": "266a0fdb50669cdc0414cf40bb2c645a",
    79            "nodeType": "workload",
    80            "cluster": "east",
    81            "namespace": "bookinfo",
    82            "workload": "kiali-2412",
    83            "traffic": [
    84              {
    85                "protocol": "http",
    86                "rates": {
    87                  "httpIn": "50.00"
    88                }
    89              }
    90            ],
    91            "healthData": null
    92          }
    93        },
    94        {
    95          "data": {
    96            "id": "7b991e4b49f02fe0e2e05e9395b08e91",
    97            "nodeType": "app",
    98            "cluster": "east",
    99            "namespace": "bookinfo",
   100            "workload": "details-v1",
   101            "app": "details",
   102            "version": "v1",
   103            "destServices": [
   104              {
   105                "cluster": "east",
   106                "namespace": "bookinfo",
   107                "name": "details"
   108              }
   109            ],
   110            "traffic": [
   111              {
   112                "protocol": "http",
   113                "rates": {
   114                  "httpIn": "80.00",
   115                  "httpIn3xx": "20.00",
   116                  "httpIn4xx": "20.00",
   117                  "httpIn5xx": "20.00"
   118                }
   119              }
   120            ],
   121            "healthData": null
   122          }
   123        },
   124        {
   125          "data": {
   126            "id": "618cde0596062954dd7ceab6b6daf357",
   127            "nodeType": "app",
   128            "cluster": "east",
   129            "namespace": "bookinfo",
   130            "workload": "productpage-v1",
   131            "app": "productpage",
   132            "version": "v1",
   133            "destServices": [
   134              {
   135                "cluster": "east",
   136                "namespace": "bookinfo",
   137                "name": "productpage"
   138              }
   139            ],
   140            "traffic": [
   141              {
   142                "protocol": "http",
   143                "rates": {
   144                  "httpIn": "170.00",
   145                  "httpOut": "160.00"
   146                }
   147              },
   148              {
   149                "protocol": "tcp",
   150                "rates": {
   151                  "tcpOut": "62.00"
   152                }
   153              }
   154            ],
   155            "healthData": null
   156          }
   157        },
   158        {
   159          "data": {
   160            "id": "fac7892f4de2e1d60966e126240c2364",
   161            "nodeType": "app",
   162            "cluster": "east",
   163            "namespace": "bookinfo",
   164            "workload": "ratings-v1",
   165            "app": "ratings",
   166            "version": "v1",
   167            "destServices": [
   168              {
   169                "cluster": "east",
   170                "namespace": "bookinfo",
   171                "name": "ratings"
   172              }
   173            ],
   174            "traffic": [
   175              {
   176                "protocol": "http",
   177                "rates": {
   178                  "httpIn": "60.00",
   179                  "httpIn5xx": "20.00"
   180                }
   181              }
   182            ],
   183            "healthData": null
   184          }
   185        },
   186        {
   187          "data": {
   188            "id": "d7d2de426988db482baf04ac252f49d6",
   189            "parent": "0754fcc1dfb21e73be1b62bc35ee298c",
   190            "nodeType": "app",
   191            "cluster": "east",
   192            "namespace": "bookinfo",
   193            "workload": "reviews-v1",
   194            "app": "reviews",
   195            "version": "v1",
   196            "destServices": [
   197              {
   198                "cluster": "east",
   199                "namespace": "bookinfo",
   200                "name": "reviews"
   201              }
   202            ],
   203            "traffic": [
   204              {
   205                "protocol": "http",
   206                "rates": {
   207                  "httpIn": "20.00"
   208                }
   209              }
   210            ],
   211            "healthData": null
   212          }
   213        },
   214        {
   215          "data": {
   216            "id": "d442c511909e5b1ea95b93be024e3c23",
   217            "parent": "0754fcc1dfb21e73be1b62bc35ee298c",
   218            "nodeType": "app",
   219            "cluster": "east",
   220            "namespace": "bookinfo",
   221            "workload": "reviews-v2",
   222            "app": "reviews",
   223            "version": "v2",
   224            "destServices": [
   225              {
   226                "cluster": "east",
   227                "namespace": "bookinfo",
   228                "name": "reviews"
   229              }
   230            ],
   231            "traffic": [
   232              {
   233                "protocol": "http",
   234                "rates": {
   235                  "httpIn": "40.00",
   236                  "httpOut": "50.00"
   237                }
   238              }
   239            ],
   240            "healthData": null
   241          }
   242        },
   243        {
   244          "data": {
   245            "id": "58acf15518f0491535b16d0c2efc4455",
   246            "parent": "0754fcc1dfb21e73be1b62bc35ee298c",
   247            "nodeType": "app",
   248            "cluster": "east",
   249            "namespace": "bookinfo",
   250            "workload": "reviews-v3",
   251            "app": "reviews",
   252            "version": "v3",
   253            "destServices": [
   254              {
   255                "cluster": "east",
   256                "namespace": "bookinfo",
   257                "name": "reviews"
   258              }
   259            ],
   260            "traffic": [
   261              {
   262                "protocol": "grpc",
   263                "rates": {
   264                  "grpcOut": "50.00"
   265                }
   266              },
   267              {
   268                "protocol": "http",
   269                "rates": {
   270                  "httpIn": "40.00",
   271                  "httpOut": "74.00"
   272                }
   273              }
   274            ],
   275            "healthData": null
   276          }
   277        },
   278        {
   279          "data": {
   280            "id": "0db12cbb2c4c702977b3268ac6be3164",
   281            "nodeType": "app",
   282            "cluster": "east",
   283            "namespace": "bookinfo",
   284            "workload": "tcp-v1",
   285            "app": "tcp",
   286            "version": "v1",
   287            "destServices": [
   288              {
   289                "cluster": "east",
   290                "namespace": "bookinfo",
   291                "name": "tcp"
   292              }
   293            ],
   294            "traffic": [
   295              {
   296                "protocol": "tcp",
   297                "rates": {
   298                  "tcpIn": "1162.00"
   299                }
   300              }
   301            ],
   302            "healthData": null
   303          }
   304        },
   305        {
   306          "data": {
   307            "id": "2a978b6753693205ba178ec1d88bc447",
   308            "nodeType": "app",
   309            "cluster": "east",
   310            "namespace": "istio-system",
   311            "workload": "ingressgateway-unknown",
   312            "app": "ingressgateway",
   313            "version": "latest",
   314            "traffic": [
   315              {
   316                "protocol": "http",
   317                "rates": {
   318                  "httpOut": "100.00"
   319                }
   320              },
   321              {
   322                "protocol": "tcp",
   323                "rates": {
   324                  "tcpOut": "300.00"
   325                }
   326              }
   327            ],
   328            "healthData": null,
   329            "isInaccessible": true,
   330            "isOutside": true,
   331            "isRoot": true
   332          }
   333        },
   334        {
   335          "data": {
   336            "id": "c806ddbb86ea4bb8a9c7c8b6be3ce196",
   337            "nodeType": "service",
   338            "cluster": "unknown",
   339            "namespace": "unknown",
   340            "service": "unknown",
   341            "traffic": [
   342              {
   343                "protocol": "http",
   344                "rates": {
   345                  "httpIn": "4.00",
   346                  "httpIn4xx": "4.00"
   347                }
   348              }
   349            ],
   350            "healthData": null,
   351            "isInaccessible": true
   352          }
   353        },
   354        {
   355          "data": {
   356            "id": "375ab940b56ae7bcf0f89cb1a7af5d44",
   357            "nodeType": "unknown",
   358            "cluster": "unknown",
   359            "namespace": "unknown",
   360            "workload": "unknown",
   361            "app": "unknown",
   362            "version": "unknown",
   363            "traffic": [
   364              {
   365                "protocol": "http",
   366                "rates": {
   367                  "httpOut": "100.00"
   368                }
   369              },
   370              {
   371                "protocol": "tcp",
   372                "rates": {
   373                  "tcpOut": "800.00"
   374                }
   375              }
   376            ],
   377            "healthData": null,
   378            "isInaccessible": true,
   379            "isRoot": true
   380          }
   381        }
   382      ],
   383      "edges": [
   384        {
   385          "data": {
   386            "id": "f81e88fb63c95ad4b7c56a24806a6ae8",
   387            "source": "2a978b6753693205ba178ec1d88bc447",
   388            "target": "0db12cbb2c4c702977b3268ac6be3164",
   389            "traffic": {
   390              "protocol": "tcp",
   391              "rates": {
   392                "tcp": "300.00"
   393              },
   394              "responses": {
   395                "-": {
   396                  "flags": {
   397                    "-": "100.0"
   398                  },
   399                  "hosts": {
   400                    "tcp:9080": "100.0"
   401                  }
   402                }
   403              }
   404            }
   405          }
   406        },
   407        {
   408          "data": {
   409            "id": "14cb1b21df054e83c065cf703b3961da",
   410            "source": "2a978b6753693205ba178ec1d88bc447",
   411            "target": "618cde0596062954dd7ceab6b6daf357",
   412            "traffic": {
   413              "protocol": "http",
   414              "rates": {
   415                "http": "100.00",
   416                "httpPercentReq": "100.0"
   417              },
   418              "responses": {
   419                "200": {
   420                  "flags": {
   421                    "-": "100.0"
   422                  },
   423                  "hosts": {
   424                    "productpage:9080": "100.0"
   425                  }
   426                }
   427              }
   428            }
   429          }
   430        },
   431        {
   432          "data": {
   433            "id": "f5259c882d1715182d12a32adf4bea2b",
   434            "source": "375ab940b56ae7bcf0f89cb1a7af5d44",
   435            "target": "0db12cbb2c4c702977b3268ac6be3164",
   436            "traffic": {
   437              "protocol": "tcp",
   438              "rates": {
   439                "tcp": "800.00"
   440              },
   441              "responses": {
   442                "-": {
   443                  "flags": {
   444                    "-": "100.0"
   445                  },
   446                  "hosts": {
   447                    "tcp:9080": "100.0"
   448                  }
   449                }
   450              }
   451            }
   452          }
   453        },
   454        {
   455          "data": {
   456            "id": "2c4c1734e6ef786704ada3982752d051",
   457            "source": "375ab940b56ae7bcf0f89cb1a7af5d44",
   458            "target": "266a0fdb50669cdc0414cf40bb2c645a",
   459            "traffic": {
   460              "protocol": "http",
   461              "rates": {
   462                "http": "50.00",
   463                "httpPercentReq": "50.0"
   464              },
   465              "responses": {
   466                "200": {
   467                  "flags": {
   468                    "-": "100.0"
   469                  }
   470                }
   471              }
   472            }
   473          }
   474        },
   475        {
   476          "data": {
   477            "id": "e5ddccfa14b200c38d87d2fb47e6e0d7",
   478            "source": "375ab940b56ae7bcf0f89cb1a7af5d44",
   479            "target": "618cde0596062954dd7ceab6b6daf357",
   480            "traffic": {
   481              "protocol": "http",
   482              "rates": {
   483                "http": "50.00",
   484                "httpPercentReq": "50.0"
   485              },
   486              "responses": {
   487                "200": {
   488                  "flags": {
   489                    "-": "100.0"
   490                  },
   491                  "hosts": {
   492                    "productpage:9080": "100.0"
   493                  }
   494                }
   495              }
   496            }
   497          }
   498        },
   499        {
   500          "data": {
   501            "id": "ea516cdd66dac12174e46121631fd5a2",
   502            "source": "58acf15518f0491535b16d0c2efc4455",
   503            "target": "3cb1b1c64f77cdf407d773b9d4b67d92",
   504            "traffic": {
   505              "protocol": "http",
   506              "rates": {
   507                "http": "20.00",
   508                "httpPercentReq": "27.0"
   509              },
   510              "responses": {
   511                "200": {
   512                  "flags": {
   513                    "-": "100.0"
   514                  },
   515                  "hosts": {
   516                    "pricing:9080": "100.0"
   517                  }
   518                }
   519              }
   520            }
   521          }
   522        },
   523        {
   524          "data": {
   525            "id": "94736940968114846f9986dd0d3bca78",
   526            "source": "58acf15518f0491535b16d0c2efc4455",
   527            "target": "58acf15518f0491535b16d0c2efc4455",
   528            "traffic": {
   529              "protocol": "http",
   530              "rates": {
   531                "http": "20.00",
   532                "httpPercentReq": "27.0"
   533              },
   534              "responses": {
   535                "200": {
   536                  "flags": {
   537                    "-": "100.0"
   538                  },
   539                  "hosts": {
   540                    "reviews:9080": "100.0"
   541                  }
   542                }
   543              }
   544            }
   545          }
   546        },
   547        {
   548          "data": {
   549            "id": "3c119e13d5382e7e0473962e10ef2d54",
   550            "source": "58acf15518f0491535b16d0c2efc4455",
   551            "target": "945f248ddaed4663ce0ca8dbf4ac0692",
   552            "traffic": {
   553              "protocol": "grpc",
   554              "rates": {
   555                "grpc": "50.00",
   556                "grpcPercentReq": "100.0"
   557              },
   558              "responses": {
   559                "0": {
   560                  "flags": {
   561                    "-": "100.0"
   562                  },
   563                  "hosts": {
   564                    "deposit:9080": "100.0"
   565                  }
   566                }
   567              }
   568            }
   569          }
   570        },
   571        {
   572          "data": {
   573            "id": "5cf2a25ed58d9355d236c9ba66494e89",
   574            "source": "58acf15518f0491535b16d0c2efc4455",
   575            "target": "c806ddbb86ea4bb8a9c7c8b6be3ce196",
   576            "traffic": {
   577              "protocol": "http",
   578              "rates": {
   579                "http": "4.00",
   580                "http4xx": "4.00",
   581                "httpPercentErr": "100.0",
   582                "httpPercentReq": "5.4"
   583              },
   584              "responses": {
   585                "404": {
   586                  "flags": {
   587                    "NR": "100.0"
   588                  },
   589                  "hosts": {
   590                    "unknown": "100.0"
   591                  }
   592                }
   593              }
   594            }
   595          }
   596        },
   597        {
   598          "data": {
   599            "id": "f4ce6febaa010574144702618790cad2",
   600            "source": "58acf15518f0491535b16d0c2efc4455",
   601            "target": "fac7892f4de2e1d60966e126240c2364",
   602            "traffic": {
   603              "protocol": "http",
   604              "rates": {
   605                "http": "30.00",
   606                "http5xx": "10.00",
   607                "httpPercentErr": "33.3",
   608                "httpPercentReq": "40.5"
   609              },
   610              "responses": {
   611                "200": {
   612                  "flags": {
   613                    "-": "66.7"
   614                  },
   615                  "hosts": {
   616                    "ratings:9080": "66.7"
   617                  }
   618                },
   619                "500": {
   620                  "flags": {
   621                    "-": "33.3"
   622                  },
   623                  "hosts": {
   624                    "ratings:9080": "33.3"
   625                  }
   626                }
   627              }
   628            }
   629          }
   630        },
   631        {
   632          "data": {
   633            "id": "57b3ca50a2a034b7f5d209fdcb7b6977",
   634            "source": "618cde0596062954dd7ceab6b6daf357",
   635            "target": "0db12cbb2c4c702977b3268ac6be3164",
   636            "traffic": {
   637              "protocol": "tcp",
   638              "rates": {
   639                "tcp": "62.00"
   640              },
   641              "responses": {
   642                "-": {
   643                  "flags": {
   644                    "-": "100.0"
   645                  },
   646                  "hosts": {
   647                    "tcp:9080": "100.0"
   648                  }
   649                }
   650              }
   651            }
   652          }
   653        },
   654        {
   655          "data": {
   656            "id": "dd92df32062753387b8f64855066f7df",
   657            "source": "618cde0596062954dd7ceab6b6daf357",
   658            "target": "58acf15518f0491535b16d0c2efc4455",
   659            "traffic": {
   660              "protocol": "http",
   661              "rates": {
   662                "http": "20.00",
   663                "httpPercentReq": "12.5"
   664              },
   665              "responses": {
   666                "200": {
   667                  "flags": {
   668                    "-": "100.0"
   669                  },
   670                  "hosts": {
   671                    "reviews:9080": "100.0"
   672                  }
   673                }
   674              }
   675            }
   676          }
   677        },
   678        {
   679          "data": {
   680            "id": "1c74d24e2a2b88565cbffb4783741017",
   681            "source": "618cde0596062954dd7ceab6b6daf357",
   682            "target": "618cde0596062954dd7ceab6b6daf357",
   683            "traffic": {
   684              "protocol": "http",
   685              "rates": {
   686                "http": "20.00",
   687                "httpPercentReq": "12.5"
   688              },
   689              "responses": {
   690                "200": {
   691                  "flags": {
   692                    "-": "100.0"
   693                  },
   694                  "hosts": {
   695                    "productpage:9080": "100.0"
   696                  }
   697                }
   698              }
   699            }
   700          }
   701        },
   702        {
   703          "data": {
   704            "id": "d90250fafca228ecc021c6ef5d80b109",
   705            "source": "618cde0596062954dd7ceab6b6daf357",
   706            "target": "7b991e4b49f02fe0e2e05e9395b08e91",
   707            "traffic": {
   708              "protocol": "http",
   709              "rates": {
   710                "http": "80.00",
   711                "http3xx": "20.00",
   712                "http4xx": "20.00",
   713                "http5xx": "20.00",
   714                "httpPercentErr": "50.0",
   715                "httpPercentReq": "50.0"
   716              },
   717              "responses": {
   718                "200": {
   719                  "flags": {
   720                    "-": "25.0"
   721                  },
   722                  "hosts": {
   723                    "details:9080": "25.0"
   724                  }
   725                },
   726                "300": {
   727                  "flags": {
   728                    "-": "25.0"
   729                  },
   730                  "hosts": {
   731                    "details:9080": "25.0"
   732                  }
   733                },
   734                "400": {
   735                  "flags": {
   736                    "-": "25.0"
   737                  },
   738                  "hosts": {
   739                    "details:9080": "25.0"
   740                  }
   741                },
   742                "500": {
   743                  "flags": {
   744                    "-": "25.0"
   745                  },
   746                  "hosts": {
   747                    "details:9080": "25.0"
   748                  }
   749                }
   750              }
   751            }
   752          }
   753        },
   754        {
   755          "data": {
   756            "id": "9bee57ecf8757154cc248c2b71530ecd",
   757            "source": "618cde0596062954dd7ceab6b6daf357",
   758            "target": "d442c511909e5b1ea95b93be024e3c23",
   759            "traffic": {
   760              "protocol": "http",
   761              "rates": {
   762                "http": "20.00",
   763                "httpPercentReq": "12.5"
   764              },
   765              "responses": {
   766                "200": {
   767                  "flags": {
   768                    "-": "100.0"
   769                  },
   770                  "hosts": {
   771                    "reviews:9080": "100.0"
   772                  }
   773                }
   774              }
   775            }
   776          }
   777        },
   778        {
   779          "data": {
   780            "id": "e96fccadee93b0dc370448196f64b0f9",
   781            "source": "618cde0596062954dd7ceab6b6daf357",
   782            "target": "d7d2de426988db482baf04ac252f49d6",
   783            "traffic": {
   784              "protocol": "http",
   785              "rates": {
   786                "http": "20.00",
   787                "httpPercentReq": "12.5"
   788              },
   789              "responses": {
   790                "200": {
   791                  "flags": {
   792                    "-": "100.0"
   793                  },
   794                  "hosts": {
   795                    "reviews:9080": "100.0"
   796                  }
   797                }
   798              }
   799            }
   800          }
   801        },
   802        {
   803          "data": {
   804            "id": "e41248168ecea8ccdccc12d0a7ca02f3",
   805            "source": "d442c511909e5b1ea95b93be024e3c23",
   806            "target": "d442c511909e5b1ea95b93be024e3c23",
   807            "traffic": {
   808              "protocol": "http",
   809              "rates": {
   810                "http": "20.00",
   811                "httpPercentReq": "40.0"
   812              },
   813              "responses": {
   814                "200": {
   815                  "flags": {
   816                    "-": "100.0"
   817                  },
   818                  "hosts": {
   819                    "reviews:9080": "100.0"
   820                  }
   821                }
   822              }
   823            }
   824          }
   825        },
   826        {
   827          "data": {
   828            "id": "aae9a14a761abf1ec933e284f5faad97",
   829            "source": "d442c511909e5b1ea95b93be024e3c23",
   830            "target": "fac7892f4de2e1d60966e126240c2364",
   831            "traffic": {
   832              "protocol": "http",
   833              "rates": {
   834                "http": "30.00",
   835                "http5xx": "10.00",
   836                "httpPercentErr": "33.3",
   837                "httpPercentReq": "60.0"
   838              },
   839              "responses": {
   840                "200": {
   841                  "flags": {
   842                    "-": "66.7"
   843                  },
   844                  "hosts": {
   845                    "ratings:9080": "66.7"
   846                  }
   847                },
   848                "500": {
   849                  "flags": {
   850                    "-": "33.3"
   851                  },
   852                  "hosts": {
   853                    "ratings:9080": "33.3"
   854                  }
   855                }
   856              }
   857            }
   858          }
   859        }
   860      ]
   861    }
   862  }