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

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