github.com/kiali/kiali@v1.84.0/graph/api/testdata/test_rates_sent_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                "-": {
   475                  "hosts": {
   476                    "deposit:9080": "100.0"
   477                  }
   478                }
   479              }
   480            }
   481          }
   482        },
   483        {
   484          "data": {
   485            "id": "279cb5834b84362bb63d28c655546e2c",
   486            "source": "57450de070195502d438ad71abdf35a1",
   487            "target": "c806ddbb86ea4bb8a9c7c8b6be3ce196",
   488            "traffic": {
   489              "protocol": "http",
   490              "rates": {
   491                "http": "4.00",
   492                "http4xx": "4.00",
   493                "httpPercentErr": "100.0",
   494                "httpPercentReq": "5.4"
   495              },
   496              "responses": {
   497                "404": {
   498                  "flags": {
   499                    "NR": "100.0"
   500                  },
   501                  "hosts": {
   502                    "unknown": "100.0"
   503                  }
   504                }
   505              }
   506            }
   507          }
   508        },
   509        {
   510          "data": {
   511            "id": "81237d21c3aad0d3f1db26b50f41587b",
   512            "source": "57450de070195502d438ad71abdf35a1",
   513            "target": "cf4a261136497dd827968b1771e99361",
   514            "traffic": {
   515              "protocol": "http",
   516              "rates": {
   517                "http": "30.00",
   518                "http5xx": "10.00",
   519                "httpPercentErr": "33.3",
   520                "httpPercentReq": "40.5"
   521              },
   522              "responses": {
   523                "200": {
   524                  "flags": {
   525                    "-": "66.7"
   526                  },
   527                  "hosts": {
   528                    "ratings:9080": "66.7"
   529                  }
   530                },
   531                "500": {
   532                  "flags": {
   533                    "-": "33.3"
   534                  },
   535                  "hosts": {
   536                    "ratings:9080": "33.3"
   537                  }
   538                }
   539              }
   540            }
   541          }
   542        },
   543        {
   544          "data": {
   545            "id": "167e14916dcffec05a27a5eb016f93fe",
   546            "source": "57450de070195502d438ad71abdf35a1",
   547            "target": "f505f29bd2120105f51f00071fbe836b",
   548            "traffic": {
   549              "protocol": "http",
   550              "rates": {
   551                "http": "20.00",
   552                "httpPercentReq": "27.0"
   553              },
   554              "responses": {
   555                "200": {
   556                  "flags": {
   557                    "-": "100.0"
   558                  },
   559                  "hosts": {
   560                    "pricing:9080": "100.0"
   561                  }
   562                }
   563              }
   564            }
   565          }
   566        },
   567        {
   568          "data": {
   569            "id": "d36794db8fe678f42751820b857db9fd",
   570            "source": "6fb400654f51831b495b454c7d54839b",
   571            "target": "0035515c06eccff13560ea31cc928733",
   572            "traffic": {
   573              "protocol": "http",
   574              "rates": {
   575                "http": "20.00",
   576                "httpPercentReq": "12.5"
   577              },
   578              "responses": {
   579                "200": {
   580                  "flags": {
   581                    "-": "100.0"
   582                  },
   583                  "hosts": {
   584                    "reviews:9080": "100.0"
   585                  }
   586                }
   587              }
   588            }
   589          }
   590        },
   591        {
   592          "data": {
   593            "id": "5755b8a53c856a29e8dc11f4c4287f80",
   594            "source": "6fb400654f51831b495b454c7d54839b",
   595            "target": "25c659622371eeab9ed18ffa7cfd8559",
   596            "traffic": {
   597              "protocol": "tcp",
   598              "rates": {
   599                "tcp": "62.00"
   600              },
   601              "responses": {
   602                "-": {
   603                  "flags": {
   604                    "-": "100.0"
   605                  },
   606                  "hosts": {
   607                    "tcp:9080": "100.0"
   608                  }
   609                }
   610              }
   611            }
   612          }
   613        },
   614        {
   615          "data": {
   616            "id": "d59c1e68e3912e78563a72150db7dd59",
   617            "source": "6fb400654f51831b495b454c7d54839b",
   618            "target": "57450de070195502d438ad71abdf35a1",
   619            "traffic": {
   620              "protocol": "http",
   621              "rates": {
   622                "http": "20.00",
   623                "httpPercentReq": "12.5"
   624              },
   625              "responses": {
   626                "200": {
   627                  "flags": {
   628                    "-": "100.0"
   629                  },
   630                  "hosts": {
   631                    "reviews:9080": "100.0"
   632                  }
   633                }
   634              }
   635            }
   636          }
   637        },
   638        {
   639          "data": {
   640            "id": "5c668ff2ed646da1536d83cf2fadbc57",
   641            "source": "6fb400654f51831b495b454c7d54839b",
   642            "target": "6fb400654f51831b495b454c7d54839b",
   643            "traffic": {
   644              "protocol": "http",
   645              "rates": {
   646                "http": "20.00",
   647                "httpPercentReq": "12.5"
   648              },
   649              "responses": {
   650                "200": {
   651                  "flags": {
   652                    "-": "100.0"
   653                  },
   654                  "hosts": {
   655                    "productpage:9080": "100.0"
   656                  }
   657                }
   658              }
   659            }
   660          }
   661        },
   662        {
   663          "data": {
   664            "id": "d0d2f3c83f96bb135a622e71fe86d68d",
   665            "source": "6fb400654f51831b495b454c7d54839b",
   666            "target": "a6432aeee664b7c8edf3872fcc89d2de",
   667            "traffic": {
   668              "protocol": "http",
   669              "rates": {
   670                "http": "20.00",
   671                "httpPercentReq": "12.5"
   672              },
   673              "responses": {
   674                "200": {
   675                  "flags": {
   676                    "-": "100.0"
   677                  },
   678                  "hosts": {
   679                    "reviews:9080": "100.0"
   680                  }
   681                }
   682              }
   683            }
   684          }
   685        },
   686        {
   687          "data": {
   688            "id": "fc4d065839655ec68aaffbd2881c7380",
   689            "source": "6fb400654f51831b495b454c7d54839b",
   690            "target": "e33863bda999d21bfea986c66eb0ae39",
   691            "traffic": {
   692              "protocol": "http",
   693              "rates": {
   694                "http": "80.00",
   695                "http3xx": "20.00",
   696                "http4xx": "20.00",
   697                "http5xx": "20.00",
   698                "httpPercentErr": "50.0",
   699                "httpPercentReq": "50.0"
   700              },
   701              "responses": {
   702                "200": {
   703                  "flags": {
   704                    "-": "25.0"
   705                  },
   706                  "hosts": {
   707                    "details:9080": "25.0"
   708                  }
   709                },
   710                "300": {
   711                  "flags": {
   712                    "-": "25.0"
   713                  },
   714                  "hosts": {
   715                    "details:9080": "25.0"
   716                  }
   717                },
   718                "400": {
   719                  "flags": {
   720                    "-": "25.0"
   721                  },
   722                  "hosts": {
   723                    "details:9080": "25.0"
   724                  }
   725                },
   726                "500": {
   727                  "flags": {
   728                    "-": "25.0"
   729                  },
   730                  "hosts": {
   731                    "details:9080": "25.0"
   732                  }
   733                }
   734              }
   735            }
   736          }
   737        },
   738        {
   739          "data": {
   740            "id": "3663f167c8aebb63dc3e87d2fd29b625",
   741            "source": "a6432aeee664b7c8edf3872fcc89d2de",
   742            "target": "a6432aeee664b7c8edf3872fcc89d2de",
   743            "traffic": {
   744              "protocol": "http",
   745              "rates": {
   746                "http": "20.00",
   747                "httpPercentReq": "40.0"
   748              },
   749              "responses": {
   750                "200": {
   751                  "flags": {
   752                    "-": "100.0"
   753                  },
   754                  "hosts": {
   755                    "reviews:9080": "100.0"
   756                  }
   757                }
   758              }
   759            }
   760          }
   761        },
   762        {
   763          "data": {
   764            "id": "dfc1f7a8fad61954e26c694418810baf",
   765            "source": "a6432aeee664b7c8edf3872fcc89d2de",
   766            "target": "cf4a261136497dd827968b1771e99361",
   767            "traffic": {
   768              "protocol": "http",
   769              "rates": {
   770                "http": "30.00",
   771                "http5xx": "10.00",
   772                "httpPercentErr": "33.3",
   773                "httpPercentReq": "60.0"
   774              },
   775              "responses": {
   776                "200": {
   777                  "flags": {
   778                    "-": "66.7"
   779                  },
   780                  "hosts": {
   781                    "ratings:9080": "66.7"
   782                  }
   783                },
   784                "500": {
   785                  "flags": {
   786                    "-": "33.3"
   787                  },
   788                  "hosts": {
   789                    "ratings:9080": "33.3"
   790                  }
   791                }
   792              }
   793            }
   794          }
   795        },
   796        {
   797          "data": {
   798            "id": "756de109668dd1ccd0ca9761ff02b6a9",
   799            "source": "d572c98471e1586ae94397b094892b6b",
   800            "target": "25c659622371eeab9ed18ffa7cfd8559",
   801            "traffic": {
   802              "protocol": "tcp",
   803              "rates": {
   804                "tcp": "300.00"
   805              },
   806              "responses": {
   807                "-": {
   808                  "flags": {
   809                    "-": "100.0"
   810                  },
   811                  "hosts": {
   812                    "tcp:9080": "100.0"
   813                  }
   814                }
   815              }
   816            }
   817          }
   818        },
   819        {
   820          "data": {
   821            "id": "67b56dc45daf5831ba2dec84d8e00717",
   822            "source": "d572c98471e1586ae94397b094892b6b",
   823            "target": "6fb400654f51831b495b454c7d54839b",
   824            "traffic": {
   825              "protocol": "http",
   826              "rates": {
   827                "http": "100.00",
   828                "httpPercentReq": "100.0"
   829              },
   830              "responses": {
   831                "200": {
   832                  "flags": {
   833                    "-": "100.0"
   834                  },
   835                  "hosts": {
   836                    "productpage:9080": "100.0"
   837                  }
   838                }
   839              }
   840            }
   841          }
   842        }
   843      ]
   844    }
   845  }