github.com/kiali/kiali@v1.84.0/graph/api/testdata/test_service_graph.expected (about) 1 { 2 "timestamp": 1523364075, 3 "duration": 600, 4 "graphType": "service", 5 "elements": { 6 "nodes": [ 7 { 8 "data": { 9 "id": "f123da9ad045afb79cfddf78bde4607d", 10 "nodeType": "service", 11 "cluster": "east", 12 "namespace": "bankapp", 13 "service": "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": "d66ca6e14eccb458a29f528d2da15357", 37 "nodeType": "service", 38 "cluster": "east", 39 "namespace": "bankapp", 40 "service": "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": "caa3a4b6c8a7accd5059efc9e45591b8", 64 "nodeType": "service", 65 "cluster": "east", 66 "namespace": "bookinfo", 67 "service": "details", 68 "destServices": [ 69 { 70 "cluster": "east", 71 "namespace": "bookinfo", 72 "name": "details" 73 } 74 ], 75 "traffic": [ 76 { 77 "protocol": "http", 78 "rates": { 79 "httpIn": "80.00", 80 "httpIn3xx": "20.00", 81 "httpIn4xx": "20.00", 82 "httpIn5xx": "20.00" 83 } 84 } 85 ], 86 "healthData": null 87 } 88 }, 89 { 90 "data": { 91 "id": "e2c0c020b066b00657ed8b75a8dcd87d", 92 "nodeType": "service", 93 "cluster": "east", 94 "namespace": "bookinfo", 95 "service": "productpage", 96 "destServices": [ 97 { 98 "cluster": "east", 99 "namespace": "bookinfo", 100 "name": "productpage" 101 } 102 ], 103 "traffic": [ 104 { 105 "protocol": "http", 106 "rates": { 107 "httpIn": "170.00", 108 "httpOut": "160.00" 109 } 110 }, 111 { 112 "protocol": "tcp", 113 "rates": { 114 "tcpOut": "62.00" 115 } 116 } 117 ], 118 "healthData": null 119 } 120 }, 121 { 122 "data": { 123 "id": "a70e0055b1579d24d56a80a46a6e629f", 124 "nodeType": "service", 125 "cluster": "east", 126 "namespace": "bookinfo", 127 "service": "ratings", 128 "destServices": [ 129 { 130 "cluster": "east", 131 "namespace": "bookinfo", 132 "name": "ratings" 133 } 134 ], 135 "traffic": [ 136 { 137 "protocol": "http", 138 "rates": { 139 "httpIn": "60.00", 140 "httpIn5xx": "20.00" 141 } 142 } 143 ], 144 "healthData": null 145 } 146 }, 147 { 148 "data": { 149 "id": "14a8076f0380581fe9e2fd757895a231", 150 "nodeType": "service", 151 "cluster": "east", 152 "namespace": "bookinfo", 153 "service": "reviews", 154 "destServices": [ 155 { 156 "cluster": "east", 157 "namespace": "bookinfo", 158 "name": "reviews" 159 } 160 ], 161 "traffic": [ 162 { 163 "protocol": "grpc", 164 "rates": { 165 "grpcOut": "50.00" 166 } 167 }, 168 { 169 "protocol": "http", 170 "rates": { 171 "httpIn": "100.00", 172 "httpOut": "124.00" 173 } 174 } 175 ], 176 "healthData": null 177 } 178 }, 179 { 180 "data": { 181 "id": "6dc39814fc6521d97505ad1424978764", 182 "nodeType": "service", 183 "cluster": "east", 184 "namespace": "bookinfo", 185 "service": "tcp", 186 "destServices": [ 187 { 188 "cluster": "east", 189 "namespace": "bookinfo", 190 "name": "tcp" 191 } 192 ], 193 "traffic": [ 194 { 195 "protocol": "tcp", 196 "rates": { 197 "tcpIn": "1162.00" 198 } 199 } 200 ], 201 "healthData": null 202 } 203 }, 204 { 205 "data": { 206 "id": "d572c98471e1586ae94397b094892b6b", 207 "nodeType": "workload", 208 "cluster": "east", 209 "namespace": "istio-system", 210 "workload": "ingressgateway-unknown", 211 "app": "ingressgateway", 212 "version": "latest", 213 "traffic": [ 214 { 215 "protocol": "http", 216 "rates": { 217 "httpOut": "100.00" 218 } 219 }, 220 { 221 "protocol": "tcp", 222 "rates": { 223 "tcpOut": "300.00" 224 } 225 } 226 ], 227 "healthData": null, 228 "isInaccessible": true, 229 "isOutside": true, 230 "isRoot": true 231 } 232 }, 233 { 234 "data": { 235 "id": "c806ddbb86ea4bb8a9c7c8b6be3ce196", 236 "nodeType": "service", 237 "cluster": "unknown", 238 "namespace": "unknown", 239 "service": "unknown", 240 "traffic": [ 241 { 242 "protocol": "http", 243 "rates": { 244 "httpIn": "4.00", 245 "httpIn4xx": "4.00" 246 } 247 } 248 ], 249 "healthData": null, 250 "isInaccessible": true 251 } 252 }, 253 { 254 "data": { 255 "id": "375ab940b56ae7bcf0f89cb1a7af5d44", 256 "nodeType": "unknown", 257 "cluster": "unknown", 258 "namespace": "unknown", 259 "workload": "unknown", 260 "app": "unknown", 261 "version": "unknown", 262 "traffic": [ 263 { 264 "protocol": "http", 265 "rates": { 266 "httpOut": "50.00" 267 } 268 }, 269 { 270 "protocol": "tcp", 271 "rates": { 272 "tcpOut": "800.00" 273 } 274 } 275 ], 276 "healthData": null, 277 "isInaccessible": true, 278 "isRoot": true 279 } 280 } 281 ], 282 "edges": [ 283 { 284 "data": { 285 "id": "4eedba8bbabce82ccfee19a2e3f588ca", 286 "source": "14a8076f0380581fe9e2fd757895a231", 287 "target": "14a8076f0380581fe9e2fd757895a231", 288 "traffic": { 289 "protocol": "http", 290 "rates": { 291 "http": "40.00", 292 "httpPercentReq": "32.3" 293 }, 294 "responses": { 295 "200": { 296 "flags": { 297 "-": "100.0" 298 }, 299 "hosts": { 300 "reviews:9080": "100.0" 301 } 302 } 303 } 304 } 305 } 306 }, 307 { 308 "data": { 309 "id": "71f5671bd0379d229ce3616791fa9f31", 310 "source": "14a8076f0380581fe9e2fd757895a231", 311 "target": "a70e0055b1579d24d56a80a46a6e629f", 312 "traffic": { 313 "protocol": "http", 314 "rates": { 315 "http": "60.00", 316 "http5xx": "20.00", 317 "httpPercentErr": "33.3", 318 "httpPercentReq": "48.4" 319 }, 320 "responses": { 321 "200": { 322 "flags": { 323 "-": "66.7" 324 }, 325 "hosts": { 326 "ratings:9080": "66.7" 327 } 328 }, 329 "500": { 330 "flags": { 331 "-": "33.3" 332 }, 333 "hosts": { 334 "ratings:9080": "33.3" 335 } 336 } 337 } 338 } 339 } 340 }, 341 { 342 "data": { 343 "id": "079bfc62684e66f64e5e2e1779a3de20", 344 "source": "14a8076f0380581fe9e2fd757895a231", 345 "target": "c806ddbb86ea4bb8a9c7c8b6be3ce196", 346 "traffic": { 347 "protocol": "http", 348 "rates": { 349 "http": "4.00", 350 "http4xx": "4.00", 351 "httpPercentErr": "100.0", 352 "httpPercentReq": "3.2" 353 }, 354 "responses": { 355 "404": { 356 "flags": { 357 "NR": "100.0" 358 }, 359 "hosts": { 360 "unknown": "100.0" 361 } 362 } 363 } 364 } 365 } 366 }, 367 { 368 "data": { 369 "id": "e06cddcee6124faadcd4508f20b68b46", 370 "source": "14a8076f0380581fe9e2fd757895a231", 371 "target": "d66ca6e14eccb458a29f528d2da15357", 372 "traffic": { 373 "protocol": "http", 374 "rates": { 375 "http": "20.00", 376 "httpPercentReq": "16.1" 377 }, 378 "responses": { 379 "200": { 380 "flags": { 381 "-": "100.0" 382 }, 383 "hosts": { 384 "pricing:9080": "100.0" 385 } 386 } 387 } 388 } 389 } 390 }, 391 { 392 "data": { 393 "id": "43c374271bf92e0bee623a6b389ce528", 394 "source": "14a8076f0380581fe9e2fd757895a231", 395 "target": "f123da9ad045afb79cfddf78bde4607d", 396 "traffic": { 397 "protocol": "grpc", 398 "rates": { 399 "grpc": "50.00", 400 "grpcPercentReq": "100.0" 401 }, 402 "responses": { 403 "0": { 404 "flags": { 405 "-": "100.0" 406 }, 407 "hosts": { 408 "deposit:9080": "100.0" 409 } 410 } 411 } 412 } 413 } 414 }, 415 { 416 "data": { 417 "id": "7ba30f85f187a918e0821e9b6b25a6e0", 418 "source": "375ab940b56ae7bcf0f89cb1a7af5d44", 419 "target": "6dc39814fc6521d97505ad1424978764", 420 "traffic": { 421 "protocol": "tcp", 422 "rates": { 423 "tcp": "800.00" 424 }, 425 "responses": { 426 "-": { 427 "flags": { 428 "-": "100.0" 429 }, 430 "hosts": { 431 "tcp:9080": "100.0" 432 } 433 } 434 } 435 } 436 } 437 }, 438 { 439 "data": { 440 "id": "65f92a86b1d476aae79029a4dd5e7650", 441 "source": "375ab940b56ae7bcf0f89cb1a7af5d44", 442 "target": "e2c0c020b066b00657ed8b75a8dcd87d", 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": "4a6cdef9ba60f82bd7aac8446b2cd18b", 465 "source": "d572c98471e1586ae94397b094892b6b", 466 "target": "6dc39814fc6521d97505ad1424978764", 467 "traffic": { 468 "protocol": "tcp", 469 "rates": { 470 "tcp": "300.00" 471 }, 472 "responses": { 473 "-": { 474 "flags": { 475 "-": "100.0" 476 }, 477 "hosts": { 478 "tcp:9080": "100.0" 479 } 480 } 481 } 482 } 483 } 484 }, 485 { 486 "data": { 487 "id": "7d6db6bd79b6abd0fa1a4a652f9bf378", 488 "source": "d572c98471e1586ae94397b094892b6b", 489 "target": "e2c0c020b066b00657ed8b75a8dcd87d", 490 "traffic": { 491 "protocol": "http", 492 "rates": { 493 "http": "100.00", 494 "httpPercentReq": "100.0" 495 }, 496 "responses": { 497 "200": { 498 "flags": { 499 "-": "100.0" 500 }, 501 "hosts": { 502 "productpage:9080": "100.0" 503 } 504 } 505 } 506 } 507 } 508 }, 509 { 510 "data": { 511 "id": "71d3d0c89da1db6070d5a89f7e52ce3b", 512 "source": "e2c0c020b066b00657ed8b75a8dcd87d", 513 "target": "14a8076f0380581fe9e2fd757895a231", 514 "traffic": { 515 "protocol": "http", 516 "rates": { 517 "http": "60.00", 518 "httpPercentReq": "37.5" 519 }, 520 "responses": { 521 "200": { 522 "flags": { 523 "-": "100.0" 524 }, 525 "hosts": { 526 "reviews:9080": "100.0" 527 } 528 } 529 } 530 } 531 } 532 }, 533 { 534 "data": { 535 "id": "0f3ba75583b468a6f6d9531c89d790c8", 536 "source": "e2c0c020b066b00657ed8b75a8dcd87d", 537 "target": "6dc39814fc6521d97505ad1424978764", 538 "traffic": { 539 "protocol": "tcp", 540 "rates": { 541 "tcp": "62.00" 542 }, 543 "responses": { 544 "-": { 545 "flags": { 546 "-": "100.0" 547 }, 548 "hosts": { 549 "tcp:9080": "100.0" 550 } 551 } 552 } 553 } 554 } 555 }, 556 { 557 "data": { 558 "id": "da6f0b80b2c2c40976149d1282b1682f", 559 "source": "e2c0c020b066b00657ed8b75a8dcd87d", 560 "target": "caa3a4b6c8a7accd5059efc9e45591b8", 561 "traffic": { 562 "protocol": "http", 563 "rates": { 564 "http": "80.00", 565 "http3xx": "20.00", 566 "http4xx": "20.00", 567 "http5xx": "20.00", 568 "httpPercentErr": "50.0", 569 "httpPercentReq": "50.0" 570 }, 571 "responses": { 572 "200": { 573 "flags": { 574 "-": "25.0" 575 }, 576 "hosts": { 577 "details:9080": "25.0" 578 } 579 }, 580 "300": { 581 "flags": { 582 "-": "25.0" 583 }, 584 "hosts": { 585 "details:9080": "25.0" 586 } 587 }, 588 "400": { 589 "flags": { 590 "-": "25.0" 591 }, 592 "hosts": { 593 "details:9080": "25.0" 594 } 595 }, 596 "500": { 597 "flags": { 598 "-": "25.0" 599 }, 600 "hosts": { 601 "details:9080": "25.0" 602 } 603 } 604 } 605 } 606 } 607 }, 608 { 609 "data": { 610 "id": "32901098678535a2d5d5f942f5473cc1", 611 "source": "e2c0c020b066b00657ed8b75a8dcd87d", 612 "target": "e2c0c020b066b00657ed8b75a8dcd87d", 613 "traffic": { 614 "protocol": "http", 615 "rates": { 616 "http": "20.00", 617 "httpPercentReq": "12.5" 618 }, 619 "responses": { 620 "200": { 621 "flags": { 622 "-": "100.0" 623 }, 624 "hosts": { 625 "productpage:9080": "100.0" 626 } 627 } 628 } 629 } 630 } 631 } 632 ] 633 } 634 }