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

     1  {
     2    "timestamp": 1523364075,
     3    "duration": 600,
     4    "graphType": "app",
     5    "elements": {
     6      "nodes": [
     7        {
     8          "data": {
     9            "id": "c295ebf2d0930c6f549a795377b38277",
    10            "nodeType": "app",
    11            "cluster": "east",
    12            "namespace": "bankapp",
    13            "app": "deposit",
    14            "destServices": [
    15              {
    16                "cluster": "east",
    17                "namespace": "bankapp",
    18                "name": "deposit"
    19              }
    20            ],
    21            "traffic": [
    22              {
    23                "protocol": "grpc",
    24                "rates": {
    25                  "grpcIn": "50.00"
    26                }
    27              }
    28            ],
    29            "healthData": null,
    30            "isInaccessible": true,
    31            "isOutside": true
    32          }
    33        },
    34        {
    35          "data": {
    36            "id": "6b88461eaea21e34652115bb04d68be1",
    37            "nodeType": "app",
    38            "cluster": "east",
    39            "namespace": "bankapp",
    40            "app": "pricing",
    41            "destServices": [
    42              {
    43                "cluster": "east",
    44                "namespace": "bankapp",
    45                "name": "pricing"
    46              }
    47            ],
    48            "traffic": [
    49              {
    50                "protocol": "http",
    51                "rates": {
    52                  "httpIn": "20.00"
    53                }
    54              }
    55            ],
    56            "healthData": null,
    57            "isInaccessible": true,
    58            "isOutside": true
    59          }
    60        },
    61        {
    62          "data": {
    63            "id": "266a0fdb50669cdc0414cf40bb2c645a",
    64            "nodeType": "workload",
    65            "cluster": "east",
    66            "namespace": "bookinfo",
    67            "workload": "kiali-2412",
    68            "traffic": [
    69              {
    70                "protocol": "http",
    71                "rates": {
    72                  "httpIn": "50.00"
    73                }
    74              }
    75            ],
    76            "healthData": null
    77          }
    78        },
    79        {
    80          "data": {
    81            "id": "3a4614f870105cd611fd15f2ae9a5446",
    82            "nodeType": "app",
    83            "cluster": "east",
    84            "namespace": "bookinfo",
    85            "app": "details",
    86            "destServices": [
    87              {
    88                "cluster": "east",
    89                "namespace": "bookinfo",
    90                "name": "details"
    91              }
    92            ],
    93            "traffic": [
    94              {
    95                "protocol": "http",
    96                "rates": {
    97                  "httpIn": "80.00",
    98                  "httpIn3xx": "20.00",
    99                  "httpIn4xx": "20.00",
   100                  "httpIn5xx": "20.00"
   101                }
   102              }
   103            ],
   104            "healthData": null
   105          }
   106        },
   107        {
   108          "data": {
   109            "id": "458c29db37507df1690523b3653589f0",
   110            "nodeType": "app",
   111            "cluster": "east",
   112            "namespace": "bookinfo",
   113            "app": "productpage",
   114            "destServices": [
   115              {
   116                "cluster": "east",
   117                "namespace": "bookinfo",
   118                "name": "productpage"
   119              }
   120            ],
   121            "traffic": [
   122              {
   123                "protocol": "http",
   124                "rates": {
   125                  "httpIn": "170.00",
   126                  "httpOut": "160.00"
   127                }
   128              },
   129              {
   130                "protocol": "tcp",
   131                "rates": {
   132                  "tcpOut": "62.00"
   133                }
   134              }
   135            ],
   136            "healthData": null
   137          }
   138        },
   139        {
   140          "data": {
   141            "id": "f06142c0f458ed97beb8d710c692afe2",
   142            "nodeType": "app",
   143            "cluster": "east",
   144            "namespace": "bookinfo",
   145            "app": "ratings",
   146            "destServices": [
   147              {
   148                "cluster": "east",
   149                "namespace": "bookinfo",
   150                "name": "ratings"
   151              }
   152            ],
   153            "traffic": [
   154              {
   155                "protocol": "http",
   156                "rates": {
   157                  "httpIn": "60.00",
   158                  "httpIn5xx": "20.00"
   159                }
   160              }
   161            ],
   162            "healthData": null
   163          }
   164        },
   165        {
   166          "data": {
   167            "id": "bcec4cf8d88e968dbb62002883bacac6",
   168            "nodeType": "app",
   169            "cluster": "east",
   170            "namespace": "bookinfo",
   171            "app": "reviews",
   172            "destServices": [
   173              {
   174                "cluster": "east",
   175                "namespace": "bookinfo",
   176                "name": "reviews"
   177              }
   178            ],
   179            "traffic": [
   180              {
   181                "protocol": "grpc",
   182                "rates": {
   183                  "grpcOut": "50.00"
   184                }
   185              },
   186              {
   187                "protocol": "http",
   188                "rates": {
   189                  "httpIn": "100.00",
   190                  "httpOut": "124.00"
   191                }
   192              }
   193            ],
   194            "healthData": null
   195          }
   196        },
   197        {
   198          "data": {
   199            "id": "4f522c16fe6f3af4e57ea65e9240ae5e",
   200            "nodeType": "app",
   201            "cluster": "east",
   202            "namespace": "bookinfo",
   203            "app": "tcp",
   204            "destServices": [
   205              {
   206                "cluster": "east",
   207                "namespace": "bookinfo",
   208                "name": "tcp"
   209              }
   210            ],
   211            "traffic": [
   212              {
   213                "protocol": "tcp",
   214                "rates": {
   215                  "tcpIn": "1162.00"
   216                }
   217              }
   218            ],
   219            "healthData": null
   220          }
   221        },
   222        {
   223          "data": {
   224            "id": "182284ee7435b1da2d0e2b29c637edac",
   225            "nodeType": "app",
   226            "cluster": "east",
   227            "namespace": "istio-system",
   228            "app": "ingressgateway",
   229            "traffic": [
   230              {
   231                "protocol": "http",
   232                "rates": {
   233                  "httpOut": "100.00"
   234                }
   235              },
   236              {
   237                "protocol": "tcp",
   238                "rates": {
   239                  "tcpOut": "300.00"
   240                }
   241              }
   242            ],
   243            "healthData": null,
   244            "isInaccessible": true,
   245            "isOutside": true,
   246            "isRoot": true
   247          }
   248        },
   249        {
   250          "data": {
   251            "id": "c806ddbb86ea4bb8a9c7c8b6be3ce196",
   252            "nodeType": "service",
   253            "cluster": "unknown",
   254            "namespace": "unknown",
   255            "service": "unknown",
   256            "traffic": [
   257              {
   258                "protocol": "http",
   259                "rates": {
   260                  "httpIn": "4.00",
   261                  "httpIn4xx": "4.00"
   262                }
   263              }
   264            ],
   265            "healthData": null,
   266            "isInaccessible": true
   267          }
   268        },
   269        {
   270          "data": {
   271            "id": "375ab940b56ae7bcf0f89cb1a7af5d44",
   272            "nodeType": "unknown",
   273            "cluster": "unknown",
   274            "namespace": "unknown",
   275            "workload": "unknown",
   276            "app": "unknown",
   277            "version": "unknown",
   278            "traffic": [
   279              {
   280                "protocol": "http",
   281                "rates": {
   282                  "httpOut": "100.00"
   283                }
   284              },
   285              {
   286                "protocol": "tcp",
   287                "rates": {
   288                  "tcpOut": "800.00"
   289                }
   290              }
   291            ],
   292            "healthData": null,
   293            "isInaccessible": true,
   294            "isRoot": true
   295          }
   296        }
   297      ],
   298      "edges": [
   299        {
   300          "data": {
   301            "id": "d035a4ee288001bb6543de4b175a3239",
   302            "source": "182284ee7435b1da2d0e2b29c637edac",
   303            "target": "458c29db37507df1690523b3653589f0",
   304            "traffic": {
   305              "protocol": "http",
   306              "rates": {
   307                "http": "100.00",
   308                "httpPercentReq": "100.0"
   309              },
   310              "responses": {
   311                "200": {
   312                  "flags": {
   313                    "-": "100.0"
   314                  },
   315                  "hosts": {
   316                    "productpage:9080": "100.0"
   317                  }
   318                }
   319              }
   320            }
   321          }
   322        },
   323        {
   324          "data": {
   325            "id": "0b365dbba3cd30c6915385768a1c509d",
   326            "source": "182284ee7435b1da2d0e2b29c637edac",
   327            "target": "4f522c16fe6f3af4e57ea65e9240ae5e",
   328            "traffic": {
   329              "protocol": "tcp",
   330              "rates": {
   331                "tcp": "300.00"
   332              },
   333              "responses": {
   334                "-": {
   335                  "flags": {
   336                    "-": "100.0"
   337                  },
   338                  "hosts": {
   339                    "tcp:9080": "100.0"
   340                  }
   341                }
   342              }
   343            }
   344          }
   345        },
   346        {
   347          "data": {
   348            "id": "2c4c1734e6ef786704ada3982752d051",
   349            "source": "375ab940b56ae7bcf0f89cb1a7af5d44",
   350            "target": "266a0fdb50669cdc0414cf40bb2c645a",
   351            "traffic": {
   352              "protocol": "http",
   353              "rates": {
   354                "http": "50.00",
   355                "httpPercentReq": "50.0"
   356              },
   357              "responses": {
   358                "200": {
   359                  "flags": {
   360                    "-": "100.0"
   361                  }
   362                }
   363              }
   364            }
   365          }
   366        },
   367        {
   368          "data": {
   369            "id": "9eb759eab542a10c905ad002843bbd70",
   370            "source": "375ab940b56ae7bcf0f89cb1a7af5d44",
   371            "target": "458c29db37507df1690523b3653589f0",
   372            "traffic": {
   373              "protocol": "http",
   374              "rates": {
   375                "http": "50.00",
   376                "httpPercentReq": "50.0"
   377              },
   378              "responses": {
   379                "200": {
   380                  "flags": {
   381                    "-": "100.0"
   382                  },
   383                  "hosts": {
   384                    "productpage:9080": "100.0"
   385                  }
   386                }
   387              }
   388            }
   389          }
   390        },
   391        {
   392          "data": {
   393            "id": "b4a918ee51be9e975013f57d191d22c8",
   394            "source": "375ab940b56ae7bcf0f89cb1a7af5d44",
   395            "target": "4f522c16fe6f3af4e57ea65e9240ae5e",
   396            "traffic": {
   397              "protocol": "tcp",
   398              "rates": {
   399                "tcp": "800.00"
   400              },
   401              "responses": {
   402                "-": {
   403                  "flags": {
   404                    "-": "100.0"
   405                  },
   406                  "hosts": {
   407                    "tcp:9080": "100.0"
   408                  }
   409                }
   410              }
   411            }
   412          }
   413        },
   414        {
   415          "data": {
   416            "id": "b00f1a41313a93cd5996f6e83f297ee6",
   417            "source": "458c29db37507df1690523b3653589f0",
   418            "target": "3a4614f870105cd611fd15f2ae9a5446",
   419            "traffic": {
   420              "protocol": "http",
   421              "rates": {
   422                "http": "80.00",
   423                "http3xx": "20.00",
   424                "http4xx": "20.00",
   425                "http5xx": "20.00",
   426                "httpPercentErr": "50.0",
   427                "httpPercentReq": "50.0"
   428              },
   429              "responses": {
   430                "200": {
   431                  "flags": {
   432                    "-": "25.0"
   433                  },
   434                  "hosts": {
   435                    "details:9080": "25.0"
   436                  }
   437                },
   438                "300": {
   439                  "flags": {
   440                    "-": "25.0"
   441                  },
   442                  "hosts": {
   443                    "details:9080": "25.0"
   444                  }
   445                },
   446                "400": {
   447                  "flags": {
   448                    "-": "25.0"
   449                  },
   450                  "hosts": {
   451                    "details:9080": "25.0"
   452                  }
   453                },
   454                "500": {
   455                  "flags": {
   456                    "-": "25.0"
   457                  },
   458                  "hosts": {
   459                    "details:9080": "25.0"
   460                  }
   461                }
   462              }
   463            }
   464          }
   465        },
   466        {
   467          "data": {
   468            "id": "9c4b664a230d67e33981232f7ca419dc",
   469            "source": "458c29db37507df1690523b3653589f0",
   470            "target": "458c29db37507df1690523b3653589f0",
   471            "traffic": {
   472              "protocol": "http",
   473              "rates": {
   474                "http": "20.00",
   475                "httpPercentReq": "12.5"
   476              },
   477              "responses": {
   478                "200": {
   479                  "flags": {
   480                    "-": "100.0"
   481                  },
   482                  "hosts": {
   483                    "productpage:9080": "100.0"
   484                  }
   485                }
   486              }
   487            }
   488          }
   489        },
   490        {
   491          "data": {
   492            "id": "c62dc10ed251539b114698b246a2d2c3",
   493            "source": "458c29db37507df1690523b3653589f0",
   494            "target": "4f522c16fe6f3af4e57ea65e9240ae5e",
   495            "traffic": {
   496              "protocol": "tcp",
   497              "rates": {
   498                "tcp": "62.00"
   499              },
   500              "responses": {
   501                "-": {
   502                  "flags": {
   503                    "-": "100.0"
   504                  },
   505                  "hosts": {
   506                    "tcp:9080": "100.0"
   507                  }
   508                }
   509              }
   510            }
   511          }
   512        },
   513        {
   514          "data": {
   515            "id": "24bbe77bb4ba6882f62869b5e8b87b68",
   516            "source": "458c29db37507df1690523b3653589f0",
   517            "target": "bcec4cf8d88e968dbb62002883bacac6",
   518            "traffic": {
   519              "protocol": "http",
   520              "rates": {
   521                "http": "60.00",
   522                "httpPercentReq": "37.5"
   523              },
   524              "responses": {
   525                "200": {
   526                  "flags": {
   527                    "-": "100.0"
   528                  },
   529                  "hosts": {
   530                    "reviews:9080": "100.0"
   531                  }
   532                }
   533              }
   534            }
   535          }
   536        },
   537        {
   538          "data": {
   539            "id": "dcec357b300cf73fa696fbc66e08f4c3",
   540            "source": "bcec4cf8d88e968dbb62002883bacac6",
   541            "target": "6b88461eaea21e34652115bb04d68be1",
   542            "traffic": {
   543              "protocol": "http",
   544              "rates": {
   545                "http": "20.00",
   546                "httpPercentReq": "16.1"
   547              },
   548              "responses": {
   549                "200": {
   550                  "flags": {
   551                    "-": "100.0"
   552                  },
   553                  "hosts": {
   554                    "pricing:9080": "100.0"
   555                  }
   556                }
   557              }
   558            }
   559          }
   560        },
   561        {
   562          "data": {
   563            "id": "138b0aa38ab1c8b761706c74ef115a95",
   564            "source": "bcec4cf8d88e968dbb62002883bacac6",
   565            "target": "bcec4cf8d88e968dbb62002883bacac6",
   566            "traffic": {
   567              "protocol": "http",
   568              "rates": {
   569                "http": "40.00",
   570                "httpPercentReq": "32.3"
   571              },
   572              "responses": {
   573                "200": {
   574                  "flags": {
   575                    "-": "100.0"
   576                  },
   577                  "hosts": {
   578                    "reviews:9080": "100.0"
   579                  }
   580                }
   581              }
   582            }
   583          }
   584        },
   585        {
   586          "data": {
   587            "id": "0c6aac7d0bb7fabc2fc3494a4c49d090",
   588            "source": "bcec4cf8d88e968dbb62002883bacac6",
   589            "target": "c295ebf2d0930c6f549a795377b38277",
   590            "traffic": {
   591              "protocol": "grpc",
   592              "rates": {
   593                "grpc": "50.00",
   594                "grpcPercentReq": "100.0"
   595              },
   596              "responses": {
   597                "0": {
   598                  "flags": {
   599                    "-": "100.0"
   600                  },
   601                  "hosts": {
   602                    "deposit:9080": "100.0"
   603                  }
   604                }
   605              }
   606            }
   607          }
   608        },
   609        {
   610          "data": {
   611            "id": "eb5354dc4c187642f488cdc115a6dfaa",
   612            "source": "bcec4cf8d88e968dbb62002883bacac6",
   613            "target": "c806ddbb86ea4bb8a9c7c8b6be3ce196",
   614            "traffic": {
   615              "protocol": "http",
   616              "rates": {
   617                "http": "4.00",
   618                "http4xx": "4.00",
   619                "httpPercentErr": "100.0",
   620                "httpPercentReq": "3.2"
   621              },
   622              "responses": {
   623                "404": {
   624                  "flags": {
   625                    "NR": "100.0"
   626                  },
   627                  "hosts": {
   628                    "unknown": "100.0"
   629                  }
   630                }
   631              }
   632            }
   633          }
   634        },
   635        {
   636          "data": {
   637            "id": "a1215a978f60a8520997497eeda024ea",
   638            "source": "bcec4cf8d88e968dbb62002883bacac6",
   639            "target": "f06142c0f458ed97beb8d710c692afe2",
   640            "traffic": {
   641              "protocol": "http",
   642              "rates": {
   643                "http": "60.00",
   644                "http5xx": "20.00",
   645                "httpPercentErr": "33.3",
   646                "httpPercentReq": "48.4"
   647              },
   648              "responses": {
   649                "200": {
   650                  "flags": {
   651                    "-": "66.7"
   652                  },
   653                  "hosts": {
   654                    "ratings:9080": "66.7"
   655                  }
   656                },
   657                "500": {
   658                  "flags": {
   659                    "-": "33.3"
   660                  },
   661                  "hosts": {
   662                    "ratings:9080": "33.3"
   663                  }
   664                }
   665              }
   666            }
   667          }
   668        }
   669      ]
   670    }
   671  }