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

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