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

     1  {
     2    "timestamp": 1523364075,
     3    "duration": 600,
     4    "graphType": "workload",
     5    "elements": {
     6      "nodes": [
     7        {
     8          "data": {
     9            "id": "6fb400654f51831b495b454c7d54839b",
    10            "nodeType": "workload",
    11            "cluster": "east",
    12            "namespace": "bookinfo",
    13            "workload": "productpage-v1",
    14            "app": "productpage",
    15            "version": "v1",
    16            "destServices": [
    17              {
    18                "cluster": "east",
    19                "namespace": "bookinfo",
    20                "name": "productpage"
    21              }
    22            ],
    23            "traffic": [
    24              {
    25                "protocol": "http",
    26                "rates": {
    27                  "httpIn": "100.00"
    28                }
    29              },
    30              {
    31                "protocol": "tcp",
    32                "rates": {
    33                  "tcpIn": "31.00"
    34                }
    35              }
    36            ],
    37            "healthData": null
    38          }
    39        },
    40        {
    41          "data": {
    42            "id": "d572c98471e1586ae94397b094892b6b",
    43            "nodeType": "workload",
    44            "cluster": "east",
    45            "namespace": "istio-system",
    46            "workload": "ingressgateway-unknown",
    47            "app": "ingressgateway",
    48            "version": "latest",
    49            "traffic": [
    50              {
    51                "protocol": "http",
    52                "rates": {
    53                  "httpOut": "100.00"
    54                }
    55              },
    56              {
    57                "protocol": "tcp",
    58                "rates": {
    59                  "tcpOut": "31.00"
    60                }
    61              }
    62            ],
    63            "healthData": null,
    64            "isInaccessible": true,
    65            "isOutside": true,
    66            "isRoot": true
    67          }
    68        }
    69      ],
    70      "edges": [
    71        {
    72          "data": {
    73            "id": "67b56dc45daf5831ba2dec84d8e00717",
    74            "source": "d572c98471e1586ae94397b094892b6b",
    75            "target": "6fb400654f51831b495b454c7d54839b",
    76            "traffic": {
    77              "protocol": "http",
    78              "rates": {
    79                "http": "100.00",
    80                "httpPercentReq": "100.0"
    81              },
    82              "responses": {
    83                "200": {
    84                  "flags": {
    85                    "-": "100.0"
    86                  },
    87                  "hosts": {
    88                    "productpage:9080": "100.0"
    89                  }
    90                }
    91              }
    92            }
    93          }
    94        },
    95        {
    96          "data": {
    97            "id": "135198f4764d6763a58885cefbb792ec",
    98            "source": "d572c98471e1586ae94397b094892b6b",
    99            "target": "6fb400654f51831b495b454c7d54839b",
   100            "traffic": {
   101              "protocol": "tcp",
   102              "rates": {
   103                "tcp": "31.00"
   104              },
   105              "responses": {
   106                "-": {
   107                  "flags": {
   108                    "-": "100.0"
   109                  },
   110                  "hosts": {
   111                    "productpage:9080": "100.0"
   112                  }
   113                }
   114              }
   115            }
   116          }
   117        }
   118      ]
   119    }
   120  }