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