gi-topo-analyst2.html 98 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334
  1. <!DOCTYPE html>
  2. <html lang="en" style="--primary-color:#3056e3;--primary-color-opacity-1:rgba(48,86,227,0.1);--layout-background-color:hsla(216, 100%, 96%, 1);--layout-background:radial-gradient(at 13% 5%, hsla(214, 100%, 37%, 0.29) 0px, transparent 50%), radial-gradient(at 100% 100%, hsla(254, 66%, 56%, 0.11) 0px, transparent 50%), radial-gradient(at 0% 100%, hsla(355, 100%, 93%, 0) 0px, transparent 50%), radial-gradient(at 61% 52%, hsla(227, 64%, 46%, 0.05) 0px, transparent 50%), radial-gradient(at 88% 12%, hsla(227, 70%, 49%, 0.1) 0px, transparent 50%), radial-gradient(at 100% 37%, hsla(254, 68%, 56%, 0) 0px, transparent 50%);--background-color:rgba(255,255,255,1);--background-color-2:rgba(245,245,245,1);--background-color-3:rgba(235,235,235,1);--background-color-transparent:rgba(255, 255, 255, 0.6);--text-color:#000a1aad;--box-shadow-base:0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),0 9px 28px 8px rgba(0, 0, 0, 0.05);--box-shadow-light:0 0 4px #ddd;--border-color:#ddd;--primary-border:1px solid #ddd;--hr-color:#ddd;--primary-text-color:rgba(0, 0, 0, 0.85);--header-bg-color:rgb(255,255,255);--background-color-card:#fff;--text-color-2:rgba(0, 0, 0, 0.65);--text-warning-color:#ff7875;--box-shadow-pannel:-1px -1px 4px 0 hsla(0, 0%, 87.5%, 0.5), -2px 2px 4px 0 hsla(0, 0%, 95.7%, 0.5), 2px 3px 8px 2px hsla(0, 0%, 59.2%, 0.05);--box-shadow-right:1px 0px 8px 0px #ddd;--box-shadow-left:-1px 0px 8px 0px #ddd;--box-shadow-top:-1px 0px 8px 0px #ddd;--box-shadow-bottom:1px 0px 8px 0px #ddd;--disabled-color:rgba(0, 0, 0, 0.25)" >
  3. <head>
  4. <!-- <meta charset="UTF-8" /> -->
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  8. <!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: / 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *;script-src * 'unsafe-inline'"> -->
  9. <title>GISDK EXPORT FILE</title>
  10. <!--- CSS -->
  11. <link rel="stylesheet" href="./css/antv/graphin/2.7.25/dist/index.css" />
  12. <link rel="stylesheet" href="./css/antv/gi-sdk/2.4.10/dist/index.css" />
  13. <!--- 这里 Antd 的全局CSS样式,可以由也业务统一定制 -->
  14. <!---<link rel="stylesheet" href="https://gw.alipayobjects.com/os/lib/antd/4.24.8/dist/antd.css" /> -->
  15. <link rel="stylesheet" href="./css/antv/gi-theme-antd/0.1.0/dist/light.css" />
  16. <link rel="stylesheet" href="./css/antv/gi-assets-advance/2.5.12/dist/index.css" />
  17. <link rel="stylesheet" href="./css/antv/gi-assets-basic/2.4.14/dist/index.css" />
  18. <link rel="stylesheet" href="./css/antv/gi-assets-scene/2.2.11/dist/index.css" />
  19. <link rel="stylesheet" href="./css/antv/gi-assets-algorithm/2.3.8/dist/index.css" />
  20. <link rel="stylesheet" href="./js/antv/gi-assets-advance/2.5.12/dist/index.css" />
  21. <link rel="stylesheet" href="./js/antv/gi-assets-basic/2.4.14/dist/index.css" />
  22. <link rel="stylesheet" href="./js/antv/gi-assets-scene/2.2.11/dist/index.css" />
  23. <link rel="stylesheet" href="./js/antv/gi-assets-algorithm/2.3.8/dist/index.css" />
  24. <link rel="stylesheet" href="./css/iconfont/iconfont.css" />
  25. </head>
  26. <body>
  27. <div id="root"></div>
  28. <script src="./js/babel/standalone/7.19.2/babel.min.js"></script>
  29. <script src="./css/iconfont/font_3381398_29c1c449r6f.js"></script>
  30. <!--- REACT DEPENDENCIES-->
  31. <!-- <script crossorigin type="text/javascript" src="./js/react/react.production.min.js"></script>
  32. <script crossorigin type="text/javascript" src="./js/react-dom/react-dom.production.min.js"></script> -->
  33. <script crossorigin src="./js/react/17.0.2/umd/react.production.min.js"></script>
  34. <script crossorigin src="./js/react-dom/17.0.2/umd/react-dom.production.min.js"></script>
  35. <!-- <script src="./js/moment/moment.min.js" ></script> -->
  36. <script src="./js/localforage/1.10.0/dist/localforage.min.js"></script>
  37. <!--- Antd DEPENDENCIES-->
  38. <script src="./js/lodash/4.17.21/lodash.min.js"></script>
  39. <script src="./js/antd/4.24.8/dist/antd.min.js"></script>
  40. <!--- Graphin DEPENDENCIES-->
  41. <script src="./js/antv/g6/4.8.14/dist/g6.min.js"></script>
  42. <script src="./js/antv/graphin/2.7.25/dist/graphin.min.js"></script>
  43. <!--- G2/G2Plot DEPENDENCIES-->
  44. <script src="./js/antv/g2plot/2.4.16/dist/g2plot.min.js"></script>
  45. <!--- GI DEPENDENCIES-->
  46. <script src="./js/antv/gi-sdk/2.4.10/dist/index.min.js"></script>
  47. <script>
  48. /** 由GI平台自动生成的,请勿修改 start **/
  49. const GI_ASSETS_PACKAGE = [{
  50. "name": "@antv/gi-assets-advance",
  51. "version": "2.5.12",
  52. "url": "./js/os/lib/antv/gi-assets-advance/2.5.12/dist/index.min.js",
  53. "global": "GI_ASSETS_ADVANCE"
  54. }, {
  55. "name": "@antv/gi-assets-basic",
  56. "version": "2.4.14",
  57. "url": "./js/os/lib/antv/gi-assets-basic/2.4.14/dist/index.min.js",
  58. "global": "GI_ASSETS_BASIC"
  59. }, {
  60. "name": "@antv/gi-assets-scene",
  61. "version": "2.2.11",
  62. "url": "./js/os/lib/antv/gi-assets-scene/2.2.11/dist/index.min.js",
  63. "global": "GI_ASSETS_SCENE"
  64. }, {
  65. "name": "@antv/gi-assets-algorithm",
  66. "version": "2.3.8",
  67. "url": "./js/os/lib/antv/gi-assets-algorithm/2.3.8/dist/index.min.js",
  68. "global": "GI_ASSETS_ALGORITHM"
  69. }];
  70. // const GI_ASSETS_PACKAGE = [{
  71. // "name": "@antv/gi-assets-advance",
  72. // "version": "2.5.12",
  73. // "url": "https://gw.alipayobjects.com/os/lib/antv/gi-assets-advance/2.5.12/dist/index.min.js",
  74. // "global": "GI_ASSETS_ADVANCE"
  75. // }, {
  76. // "name": "@antv/gi-assets-basic",
  77. // "version": "2.4.14",
  78. // "url": "https://gw.alipayobjects.com/os/lib/antv/gi-assets-basic/2.4.14/dist/index.min.js",
  79. // "global": "GI_ASSETS_BASIC"
  80. // }, {
  81. // "name": "@antv/gi-assets-scene",
  82. // "version": "2.2.11",
  83. // "url": "https://gw.alipayobjects.com/os/lib/antv/gi-assets-scene/2.2.11/dist/index.min.js",
  84. // "global": "GI_ASSETS_SCENE"
  85. // }, {
  86. // "name": "@antv/gi-assets-algorithm",
  87. // "version": "2.3.8",
  88. // "url": "https://gw.alipayobjects.com/os/lib/antv/gi-assets-algorithm/2.3.8/dist/index.min.js",
  89. // "global": "GI_ASSETS_ALGORITHM"
  90. // }];
  91. const SERVER_ENGINE_CONTEXT= {
  92. "GI_SITE_PROJECT_ID": "ae8aadf3-31c7-4dfb-9bb0-2129c0459a9e",
  93. "engineId": "GI"
  94. };
  95. const GI_PROJECT_CONFIG = {
  96. "nodes": [{
  97. "id": "SimpleNode",
  98. "props": {
  99. "size": 26,
  100. "color": "#ddd",
  101. "label": [],
  102. "advanced": {
  103. "label": {
  104. "fill": "#000"
  105. }
  106. }
  107. },
  108. "name": "官方节点",
  109. "order": -1,
  110. "expressions": [],
  111. "logic": true,
  112. "groupName": "默认样式"
  113. }, {
  114. "id": "SimpleNode",
  115. "props": {
  116. "size": 26,
  117. "color": "#3056E3",
  118. "label": ["app^^id"],
  119. "advanced": {
  120. "label": {
  121. "fill": "#000"
  122. }
  123. }
  124. },
  125. "name": "官方节点",
  126. "expressions": [{
  127. "name": "node_type",
  128. "operator": "eql",
  129. "value": "app"
  130. }],
  131. "order": 0,
  132. "logic": true,
  133. "groupName": "APP TYPE"
  134. }, {
  135. "id": "SimpleNode",
  136. "props": {
  137. "size": 26,
  138. "color": "#faad14",
  139. "label": ["service^^id"],
  140. "advanced": {
  141. "label": {
  142. "fill": "#000"
  143. }
  144. }
  145. },
  146. "name": "官方节点",
  147. "expressions": [{
  148. "name": "node_type",
  149. "operator": "eql",
  150. "value": "service"
  151. }],
  152. "order": 1,
  153. "logic": true,
  154. "groupName": "SERVICE TYPE"
  155. }, {
  156. "id": "SimpleNode",
  157. "props": {
  158. "size": 26,
  159. "color": "#a0d911",
  160. "label": ["container^^id"],
  161. "advanced": {
  162. "label": {
  163. "fill": "#000"
  164. }
  165. }
  166. },
  167. "name": "官方节点",
  168. "expressions": [{
  169. "name": "node_type",
  170. "operator": "eql",
  171. "value": "container"
  172. }],
  173. "order": 2,
  174. "logic": true,
  175. "groupName": "CONTAINER TYPE"
  176. }, {
  177. "id": "SimpleNode",
  178. "props": {
  179. "size": 26,
  180. "color": "#f5222d",
  181. "label": ["api^^id"],
  182. "advanced": {
  183. "label": {
  184. "fill": "#000"
  185. }
  186. }
  187. },
  188. "name": "官方节点",
  189. "expressions": [{
  190. "name": "node_type",
  191. "operator": "eql",
  192. "value": "api"
  193. }],
  194. "order": 3,
  195. "logic": true,
  196. "groupName": "API TYPE"
  197. }, {
  198. "id": "SimpleNode",
  199. "props": {
  200. "size": 26,
  201. "color": "#722ed1",
  202. "label": ["cloud^^id"],
  203. "advanced": {
  204. "label": {
  205. "fill": "#000"
  206. }
  207. }
  208. },
  209. "name": "官方节点",
  210. "expressions": [{
  211. "name": "node_type",
  212. "operator": "eql",
  213. "value": "cloud"
  214. }],
  215. "order": 4,
  216. "logic": true,
  217. "groupName": "CLOUD TYPE"
  218. }, {
  219. "id": "SimpleNode",
  220. "props": {
  221. "size": 26,
  222. "color": "#eb2f96",
  223. "label": ["process^^id"],
  224. "advanced": {
  225. "label": {
  226. "fill": "#000"
  227. }
  228. }
  229. },
  230. "name": "官方节点",
  231. "expressions": [{
  232. "name": "node_type",
  233. "operator": "eql",
  234. "value": "process"
  235. }],
  236. "order": 5,
  237. "logic": true,
  238. "groupName": "PROCESS TYPE"
  239. }, {
  240. "id": "SimpleNode",
  241. "props": {
  242. "size": 26,
  243. "color": "#2f54eb",
  244. "label": ["os^^id"],
  245. "advanced": {
  246. "label": {
  247. "fill": "#000"
  248. }
  249. }
  250. },
  251. "name": "官方节点",
  252. "expressions": [{
  253. "name": "node_type",
  254. "operator": "eql",
  255. "value": "os"
  256. }],
  257. "order": 6,
  258. "logic": true,
  259. "groupName": "OS TYPE"
  260. }],
  261. "edges": [{
  262. "id": "SimpleEdge",
  263. "props": {
  264. "size": 1,
  265. "color": "#ddd",
  266. "label": []
  267. },
  268. "groupName": "默认样式",
  269. "expressions": [],
  270. "logic": true
  271. }, {
  272. "id": "SimpleEdge",
  273. "props": {
  274. "size": 1,
  275. "color": "#f5222d",
  276. "label": [],
  277. "advanced": {
  278. "keyshape": {
  279. "hasArrow": true,
  280. "customPoly": false,
  281. "lineDash": [],
  282. "opacity": 1
  283. },
  284. "label": {
  285. "visible": true,
  286. "fontSize": 12,
  287. "offset": [0, 0],
  288. "fill": "#ddd",
  289. "backgroundEnable": true,
  290. "backgroundFill": "#fff",
  291. "backgroundStroke": "#fff"
  292. },
  293. "animate": {
  294. "visible": true,
  295. "type": "circle-running",
  296. "dotColor": "red",
  297. "repeat": true,
  298. "duration": 3000
  299. }
  300. }
  301. },
  302. "groupName": "BELONG TYPE",
  303. "expressions": [{
  304. "name": "edge_type",
  305. "operator": "eql",
  306. "value": "BELONG"
  307. }],
  308. "logic": true
  309. }, {
  310. "id": "SimpleEdge",
  311. "props": {
  312. "size": 1,
  313. "color": "#3056E3",
  314. "label": [],
  315. "advanced": {
  316. "keyshape": {
  317. "hasArrow": true,
  318. "customPoly": false,
  319. "lineDash": [],
  320. "opacity": 1
  321. },
  322. "label": {
  323. "visible": true,
  324. "fontSize": 12,
  325. "offset": [0, 0],
  326. "fill": "#ddd",
  327. "backgroundEnable": true,
  328. "backgroundFill": "#fff",
  329. "backgroundStroke": "#fff"
  330. },
  331. "animate": {
  332. "visible": true
  333. }
  334. }
  335. },
  336. "groupName": "INCLUDE TYPE",
  337. "expressions": [{
  338. "name": "edge_type",
  339. "operator": "eql",
  340. "value": "INCLUDE"
  341. }],
  342. "logic": true
  343. }, {
  344. "id": "SimpleEdge",
  345. "props": {
  346. "size": 1,
  347. "color": "#2f54eb",
  348. "label": [],
  349. "advanced": {
  350. "keyshape": {
  351. "hasArrow": true,
  352. "customPoly": false,
  353. "lineDash": [],
  354. "opacity": 1
  355. },
  356. "label": {
  357. "visible": true,
  358. "fontSize": 12,
  359. "offset": [0, 0],
  360. "fill": "#ddd",
  361. "backgroundEnable": true,
  362. "backgroundFill": "#fff",
  363. "backgroundStroke": "#fff"
  364. },
  365. "animate": {
  366. "visible": true
  367. }
  368. }
  369. },
  370. "groupName": "IN TYPE",
  371. "expressions": [{
  372. "name": "edge_type",
  373. "operator": "eql",
  374. "value": "IN"
  375. }],
  376. "logic": true
  377. }],
  378. "components": [{
  379. "id": "ActivateRelations",
  380. "type": "AUTO",
  381. "name": "元素高亮",
  382. "props": {
  383. "enableNodeHover": true,
  384. "enableEdgeHover": true,
  385. "enable": true,
  386. "trigger": "click",
  387. "upstreamDegree": 1,
  388. "downstreamDegree": 1,
  389. "multiSelectEnabled": false,
  390. "modifierKey": "alt"
  391. }
  392. }, {
  393. "id": "CanvasSetting",
  394. "type": "AUTO",
  395. "name": "画布设置",
  396. "props": {
  397. "styleCanvas": {
  398. "backgroundColor": "#fff",
  399. "backgroundImage": "https://gw.alipayobjects.com/mdn/rms_0d75e8/afts/img/A*k9t4QamMuQ4AAAAAAAAAAAAAARQnAQ",
  400. "background": "#fff"
  401. },
  402. "dragCanvas": {
  403. "disabled": false,
  404. "direction": "both",
  405. "enableOptimize": true
  406. },
  407. "zoomCanvas": {
  408. "disabled": false,
  409. "enableOptimize": true
  410. },
  411. "clearStatus": true,
  412. "doubleClick": true
  413. }
  414. }, {
  415. "id": "ContextMenu",
  416. "type": "GICC_MENU",
  417. "name": "右键菜单",
  418. "props": {
  419. "GI_CONTAINER": ["NeighborsQuery", "ToggleClusterWithMenu", "PinNodeWithMenu"],
  420. "nodeMenuComponents": ["NeighborsQuery", "ToggleClusterWithMenu", "PinNodeWithMenu"]
  421. }
  422. }, {
  423. "id": "FilterPanel",
  424. "type": "GIAC_CONTENT",
  425. "name": "筛选面板",
  426. "props": {
  427. "filterKeys": [],
  428. "enableInfoDetect": true,
  429. "isFilterIsolatedNodes": true,
  430. "highlightMode": true,
  431. "filterLogic": "and",
  432. "histogramOptions": {
  433. "isCustom": false,
  434. "min": null,
  435. "max": null,
  436. "binWidth": null
  437. },
  438. "GI_CONTAINER_INDEX": 2,
  439. "GIAC_CONTENT": {
  440. "visible": false,
  441. "disabled": false,
  442. "isShowTitle": true,
  443. "title": "筛选面板",
  444. "isShowIcon": true,
  445. "icon": "icon-filter",
  446. "isShowTooltip": true,
  447. "tooltip": "通过属性筛选画布信息,可自定义",
  448. "tooltipColor": "#3056e3",
  449. "tooltipPlacement": "right",
  450. "hasDivider": false,
  451. "height": "60px",
  452. "isVertical": true,
  453. "containerType": "div",
  454. "containerAnimate": false,
  455. "containerDraggable": false,
  456. "dragHandle": "header",
  457. "containerPlacement": "RT",
  458. "offset": [0, 0],
  459. "containerWidth": "400px",
  460. "containerHeight": "calc(100% - 100px)",
  461. "contaienrMask": false
  462. }
  463. }
  464. }, {
  465. "id": "FitCenterView",
  466. "type": "GIAC",
  467. "name": "自适应居中",
  468. "props": {
  469. "GI_CONTAINER_INDEX": 2,
  470. "GIAC": {
  471. "visible": false,
  472. "disabled": false,
  473. "isShowTitle": false,
  474. "title": "视图自适应居中",
  475. "isShowIcon": true,
  476. "icon": "icon-fit-center",
  477. "isShowTooltip": true,
  478. "tooltip": "",
  479. "tooltipColor": "#3056e3",
  480. "tooltipPlacement": "right",
  481. "hasDivider": false,
  482. "height": "46px",
  483. "isVertical": true
  484. }
  485. }
  486. }, {
  487. "id": "ForceSimulation",
  488. "type": "GIAC",
  489. "name": "力导布局控制器",
  490. "props": {
  491. "autoPin": true,
  492. "dragNodeMass": 10000000,
  493. "GI_CONTAINER_INDEX": 2,
  494. "GIAC": {
  495. "visible": false,
  496. "disabled": false,
  497. "isShowTitle": false,
  498. "title": "力导布局控制器",
  499. "isShowIcon": true,
  500. "icon": "icon-layout-force",
  501. "isShowTooltip": true,
  502. "tooltip": "",
  503. "tooltipColor": "#3056e3",
  504. "tooltipPlacement": "right",
  505. "hasDivider": false,
  506. "height": "46px",
  507. "isVertical": true
  508. }
  509. }
  510. }, {
  511. "id": "GrailLayout",
  512. "type": "GICC_LAYOUT",
  513. "name": "圣杯布局",
  514. "props": {
  515. "containers": [{
  516. "id": "GI_CONTAINER_LEFT",
  517. "name": "左侧容器",
  518. "GI_CONTAINER": [],
  519. "visible": true,
  520. "width": "400px"
  521. }, {
  522. "id": "GI_CONTAINER_RIGHT",
  523. "name": "右侧容器",
  524. "GI_CONTAINER": [],
  525. "visible": true,
  526. "width": "400px"
  527. }, {
  528. "id": "GI_CONTAINER_BOTTOM",
  529. "name": "底部容器",
  530. "GI_CONTAINER": [],
  531. "visible": true,
  532. "height": "400px"
  533. }, {
  534. "id": "GI_CONTAINER_TOP",
  535. "name": "顶部容器",
  536. "GI_CONTAINER": [],
  537. "visible": false,
  538. "height": "200px"
  539. }]
  540. }
  541. }, {
  542. "id": "Initializer",
  543. "type": "INITIALIZER",
  544. "name": "初始化器",
  545. "props": {
  546. "serviceId": "GI/GI_SERVICE_INTIAL_GRAPH",
  547. "schemaServiceId": "GI/GI_SERVICE_SCHEMA",
  548. "GI_INITIALIZER": true,
  549. "aggregate": false,
  550. "transByFieldMapping": false
  551. }
  552. }, {
  553. "id": "LargeGraph",
  554. "type": "GIAC",
  555. "name": "3D大图",
  556. "props": {
  557. "visible": false,
  558. "minSize": "50%",
  559. "maxSize": "100%",
  560. "placement": "RB",
  561. "offset": [0, 0],
  562. "GI_CONTAINER_INDEX": 2,
  563. "GIAC": {
  564. "visible": false,
  565. "disabled": false,
  566. "isShowTitle": false,
  567. "title": "3D大图",
  568. "isShowIcon": true,
  569. "icon": "icon-3d",
  570. "isShowTooltip": true,
  571. "tooltip": "",
  572. "tooltipColor": "#3056e3",
  573. "tooltipPlacement": "right",
  574. "hasDivider": false,
  575. "height": "46px",
  576. "isVertical": true
  577. },
  578. "backgroundColor": "#fff",
  579. "highlightColor": "red"
  580. }
  581. }, {
  582. "id": "LayoutSwitch",
  583. "type": "GIAC",
  584. "name": "布局切换",
  585. "props": {
  586. "GI_CONTAINER_INDEX": 2,
  587. "GIAC": {
  588. "visible": false,
  589. "disabled": false,
  590. "isShowTitle": false,
  591. "title": "布局切换",
  592. "isShowIcon": true,
  593. "icon": "icon-layout",
  594. "isShowTooltip": false,
  595. "tooltip": "一键切换画布布局",
  596. "tooltipColor": "#3056e3",
  597. "tooltipPlacement": "right",
  598. "hasDivider": false,
  599. "height": "46px",
  600. "isVertical": true
  601. }
  602. }
  603. }, {
  604. "id": "Loading",
  605. "type": "AUTO",
  606. "name": "加载动画",
  607. "props": {}
  608. }, {
  609. "id": "NeighborsQuery",
  610. "type": "GIAC_MENU",
  611. "name": "邻居查询",
  612. "props": {
  613. "serviceId": "GI/NeighborsQuery",
  614. "degree": "1",
  615. "isFocus": true,
  616. "menuServiceId": "GI/NeighborsQueryMenu",
  617. "limit": 100
  618. }
  619. }, {
  620. "id": "NodeImportance",
  621. "type": "GIAC_CONTENT",
  622. "name": "节点重要性",
  623. "props": {
  624. "GI_CONTAINER_INDEX": 2,
  625. "GIAC_CONTENT": {
  626. "visible": false,
  627. "disabled": false,
  628. "isShowTitle": true,
  629. "title": "节点重要性",
  630. "isShowIcon": true,
  631. "icon": "icon-rules",
  632. "isShowTooltip": true,
  633. "tooltip": "",
  634. "tooltipColor": "#3056e3",
  635. "tooltipPlacement": "right",
  636. "hasDivider": false,
  637. "height": "60px",
  638. "isVertical": true,
  639. "containerType": "div",
  640. "containerAnimate": false,
  641. "containerDraggable": false,
  642. "dragHandle": "header",
  643. "containerPlacement": "RT",
  644. "offset": [0, 0],
  645. "containerWidth": "350px",
  646. "containerHeight": "calc(100% - 100px)",
  647. "contaienrMask": false
  648. }
  649. }
  650. }, {
  651. "id": "NodeLegend",
  652. "type": "AUTO",
  653. "name": "节点图例",
  654. "props": {
  655. "sortKey": "type",
  656. "textColor": "#ddd",
  657. "placement": "LB",
  658. "offset": [100, 20]
  659. }
  660. }, {
  661. "id": "PathAnalysis",
  662. "type": "GIAC_CONTENT",
  663. "name": "路径分析",
  664. "props": {
  665. "nodeSelectionMode": ["List", "Canvas"],
  666. "pathNodeLabel": "id",
  667. "hasDirection": false,
  668. "hasMaxDeep": false,
  669. "GI_CONTAINER_INDEX": 2,
  670. "GIAC_CONTENT": {
  671. "visible": false,
  672. "disabled": false,
  673. "isShowTitle": true,
  674. "title": "路径分析",
  675. "isShowIcon": true,
  676. "icon": "icon-path-analysis",
  677. "isShowTooltip": true,
  678. "tooltip": "",
  679. "tooltipColor": "#3056e3",
  680. "tooltipPlacement": "right",
  681. "hasDivider": false,
  682. "height": "60px",
  683. "isVertical": true,
  684. "containerType": "div",
  685. "containerAnimate": false,
  686. "containerDraggable": false,
  687. "dragHandle": "header",
  688. "containerPlacement": "RT",
  689. "offset": [0, 0],
  690. "containerWidth": "400px",
  691. "containerHeight": "calc(100% - 100px)",
  692. "contaienrMask": false
  693. }
  694. }
  695. }, {
  696. "id": "PinNodeWithMenu",
  697. "type": "GIAC_MENU",
  698. "name": "固定节点(MENU)",
  699. "props": {
  700. "color": "#fff",
  701. "fill": "#262626"
  702. }
  703. }, {
  704. "id": "Placeholder",
  705. "type": "AUTO",
  706. "name": "画布占位符",
  707. "props": {
  708. "img": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1BGfQ78mW4kAAAAAAAAAAAAADmJ7AQ/original",
  709. "text": "当前画布为空,请先试试「数据/图数据源/导入/示例数据」",
  710. "width": 340,
  711. "textColor": "#999",
  712. "spacing": 8
  713. }
  714. }, {
  715. "id": "PropertiesPanel",
  716. "type": "AUTO",
  717. "name": "属性面板",
  718. "props": {
  719. "serviceId": "GI/PropertiesPanel",
  720. "title": "属性面板",
  721. "placement": "RT",
  722. "width": "356px",
  723. "height": "calc(100% - 0px)",
  724. "offset": [10, 10],
  725. "animate": false,
  726. "enableInfoDetect": true,
  727. "defaultiStatistic": false
  728. }
  729. }, {
  730. "id": "PropertyGraphInitializer",
  731. "type": "AUTO",
  732. "name": "属性图计算",
  733. "props": {}
  734. }, {
  735. "id": "TableMode",
  736. "type": "GIAC_CONTENT",
  737. "name": "表格模式",
  738. "props": {
  739. "enableCopy": true,
  740. "exportable": true,
  741. "enableTabSplitScreen": true,
  742. "isSelectedActive": true,
  743. "targetWindowPath": "/#/tabs/table",
  744. "GI_CONTAINER_INDEX": 2,
  745. "GIAC_CONTENT": {
  746. "visible": false,
  747. "disabled": false,
  748. "isShowTitle": true,
  749. "title": "表格模式",
  750. "isShowIcon": true,
  751. "icon": "icon-table",
  752. "isShowTooltip": true,
  753. "tooltip": "将画布中的节点和边以表格形式展示",
  754. "tooltipColor": "#3056e3",
  755. "tooltipPlacement": "right",
  756. "hasDivider": false,
  757. "height": "60px",
  758. "isVertical": true,
  759. "containerType": "div",
  760. "containerAnimate": false,
  761. "containerDraggable": false,
  762. "dragHandle": "header",
  763. "containerPlacement": "RT",
  764. "offset": [0, 0],
  765. "containerWidth": "400px",
  766. "containerHeight": "calc(100% - 100px)",
  767. "contaienrMask": false
  768. }
  769. }
  770. }, {
  771. "id": "ToggleClusterWithMenu",
  772. "type": "GIAC_MENU",
  773. "name": "展开/收起",
  774. "props": {
  775. "isReLayout": false,
  776. "degree": 1
  777. }
  778. }, {
  779. "id": "Toolbar",
  780. "type": "GICC",
  781. "name": "工具栏",
  782. "props": {
  783. "GI_CONTAINER": ["FitCenterView", "LargeGraph", "ForceSimulation", "LayoutSwitch"],
  784. "direction": "vertical",
  785. "placement": "LT",
  786. "offset": [24, 64]
  787. }
  788. }, {
  789. "id": "Tooltip",
  790. "type": "AUTO",
  791. "name": "节点提示框",
  792. "props": {
  793. "mappingKeys": ["apdex", "app_alias", "id", "name", "node_type", "timestamp", "process_name", "service_name",
  794. "k8s.deployment.name", "k8s.namespace.name", "k8s.node.name", "pod.ip", "pod.name", "err_rate", "latency",
  795. "net.peer.name", "rpc.method", "span_kind", "container.id", "process.command", "process.executable.path",
  796. "process.runtime.version", "disk", "load", "memory"
  797. ],
  798. "placement": "top",
  799. "width": "200px",
  800. "hasArrow": true
  801. }
  802. }, {
  803. "id": "PatternMatch",
  804. "type": "GIAC_CONTENT",
  805. "name": "模式匹配",
  806. "props": {
  807. "GI_CONTAINER_INDEX": 2,
  808. "GIAC_CONTENT": {
  809. "visible": false,
  810. "disabled": false,
  811. "isShowTitle": true,
  812. "title": "模式匹配",
  813. "isShowIcon": true,
  814. "icon": "icon-query-path",
  815. "isShowTooltip": true,
  816. "tooltip": "",
  817. "tooltipColor": "#3056e3",
  818. "tooltipPlacement": "right",
  819. "hasDivider": false,
  820. "height": "60px",
  821. "isVertical": true,
  822. "containerType": "div",
  823. "containerAnimate": false,
  824. "containerDraggable": false,
  825. "dragHandle": "header",
  826. "containerPlacement": "RT",
  827. "offset": [0, 0],
  828. "containerWidth": "350px",
  829. "containerHeight": "calc(100% - 100px)",
  830. "contaienrMask": false
  831. }
  832. }
  833. }],
  834. "layout": {
  835. "id": "Force2",
  836. "props": {
  837. "type": "force2",
  838. "animate": true,
  839. "preset": {
  840. "type": "concentric",
  841. "width": 800,
  842. "height": 800,
  843. "minNodeSpacing": 10,
  844. "nodeSize": 10
  845. },
  846. "clusterNodeStrength": 35,
  847. "minMovement": 2,
  848. "damping": 0.8,
  849. "maxSpeed": 1000,
  850. "distanceThresholdMode": "max",
  851. "edgeStrength": 200,
  852. "nodeStrength": 1000,
  853. "defSpringLenCfg": {
  854. "minLimitDegree": 5,
  855. "maxLimitLength": 500,
  856. "defaultSpring": 100
  857. },
  858. "centripetalOptions": {
  859. "leaf": 2,
  860. "single": 2,
  861. "others": 1
  862. },
  863. "advanceWeight": false,
  864. "edgeWeightFieldScale": 1,
  865. "nodeWeightFromType": "node",
  866. "nodeWeightFieldScale": 1,
  867. "directed": false,
  868. "directedFromType": "node",
  869. "directedInWeightField": "apdex",
  870. "directedOutWeightField": "apdex",
  871. "directedIsLog": true,
  872. "directedMultiple": "0.1"
  873. }
  874. },
  875. "pageLayout": {
  876. "id": "GrailLayout",
  877. "name": "圣杯布局",
  878. "type": "GICC_LAYOUT",
  879. "props": {
  880. "containers": [{
  881. "id": "GI_CONTAINER_LEFT",
  882. "name": "左侧容器",
  883. "GI_CONTAINER": [{
  884. "value": "FilterPanel",
  885. "label": "筛选面板"
  886. }, {
  887. "value": "NodeImportance",
  888. "label": "节点重要性"
  889. }],
  890. "visible": false,
  891. "width": "400px",
  892. "display": true
  893. }, {
  894. "id": "GI_CONTAINER_RIGHT",
  895. "name": "右侧容器",
  896. "GI_CONTAINER": ["PathAnalysis", "PatternMatch"],
  897. "visible": true,
  898. "width": "400px",
  899. "display": true
  900. }, {
  901. "id": "GI_CONTAINER_BOTTOM",
  902. "name": "底部容器",
  903. "GI_CONTAINER": [{
  904. "value": "TableMode",
  905. "label": "表格模式"
  906. }],
  907. "visible": true,
  908. "height": "400px",
  909. "display": true
  910. }, {
  911. "id": "GI_CONTAINER_TOP",
  912. "name": "顶部容器",
  913. "GI_CONTAINER": [],
  914. "visible": false,
  915. "height": "200px",
  916. "display": false
  917. }, {
  918. "id": "GI_FreeContainer",
  919. "name": "自运行组件",
  920. "required": true,
  921. "info": {
  922. "id": "GI_FreeContainer",
  923. "name": "自运行组件",
  924. "icon": "icon-layout",
  925. "type": "GICC"
  926. },
  927. "meta": {
  928. "GI_CONTAINER": {
  929. "x-component-props": {
  930. "mode": "multiple"
  931. }
  932. },
  933. "id": "GI_FreeContainer",
  934. "name": "自运行组件",
  935. "required": true
  936. },
  937. "props": {
  938. "id": "GI_FreeContainer",
  939. "GI_CONTAINER": [{
  940. "value": "CanvasSetting",
  941. "label": "画布设置"
  942. }, {
  943. "value": "Initializer",
  944. "label": "初始化器"
  945. }, {
  946. "value": "ActivateRelations",
  947. "label": "元素高亮"
  948. }, {
  949. "value": "Loading",
  950. "label": "加载动画"
  951. }, {
  952. "value": "NodeLegend",
  953. "label": "节点图例"
  954. }, {
  955. "value": "Placeholder",
  956. "label": "画布占位符"
  957. }, {
  958. "value": "PropertiesPanel",
  959. "label": "属性面板"
  960. }, {
  961. "value": "PropertyGraphInitializer",
  962. "label": "属性图计算"
  963. }, {
  964. "value": "Tooltip",
  965. "label": "节点提示框"
  966. }]
  967. },
  968. "candidateAssets": [{
  969. "label": "元素高亮",
  970. "value": "ActivateRelations"
  971. }, {
  972. "label": "画布设置",
  973. "value": "CanvasSetting"
  974. }, {
  975. "label": "版权",
  976. "value": "Copyright"
  977. }, {
  978. "label": "初始化器",
  979. "value": "Initializer"
  980. }, {
  981. "label": "加载动画",
  982. "value": "Loading"
  983. }, {
  984. "label": "小地图",
  985. "value": "MiniMap"
  986. }, {
  987. "label": "节点图例",
  988. "value": "NodeLegend"
  989. }, {
  990. "label": "画布占位符",
  991. "value": "Placeholder"
  992. }, {
  993. "label": "属性面板",
  994. "value": "PropertiesPanel"
  995. }, {
  996. "label": "属性图计算",
  997. "value": "PropertyGraphInitializer"
  998. }, {
  999. "label": "节点提示框",
  1000. "value": "Tooltip"
  1001. }, {
  1002. "label": "水印",
  1003. "value": "Watermark"
  1004. }, {
  1005. "label": "缩放状态",
  1006. "value": "ZoomStatus"
  1007. }, {
  1008. "label": "分析历史沉淀",
  1009. "value": "AnalysisHistory"
  1010. }, {
  1011. "label": "AI 助理",
  1012. "value": "Assistant"
  1013. }, {
  1014. "label": "多画布页签",
  1015. "value": "Sheetbar"
  1016. }],
  1017. "GI_CONTAINER": ["CanvasSetting", "Initializer", "ActivateRelations", "Loading", "NodeLegend",
  1018. "Placeholder", "PropertiesPanel", "PropertyGraphInitializer", "Tooltip"
  1019. ],
  1020. "display": true
  1021. }]
  1022. }
  1023. }
  1024. };
  1025. window['LOCAL_DATA_FOR_GI_ENGINE'] = {
  1026. data: {
  1027. "nodes": [{
  1028. "id": "Convert",
  1029. "nodeType": "api",
  1030. "nodeTypeKeyFromProperties": "node_type",
  1031. "data": {
  1032. "apdex": 0.99,
  1033. "app_alias": "UNSET",
  1034. "err_rate": 0.98,
  1035. "id": "Convert",
  1036. "latency": 9.04,
  1037. "name": "Convert",
  1038. "node_type": "api",
  1039. "rpc.method": "Convert",
  1040. "service_name": "currencyservice",
  1041. "span_kind": "",
  1042. "timestamp": "2023-11-14T09:29:02.844663685Z"
  1043. }
  1044. }, {
  1045. "id": "GetFlag",
  1046. "nodeType": "api",
  1047. "nodeTypeKeyFromProperties": "node_type",
  1048. "data": {
  1049. "apdex": 0.84,
  1050. "app_alias": "UNSET",
  1051. "err_rate": 0.82,
  1052. "id": "GetFlag",
  1053. "latency": 10.77,
  1054. "name": "GetFlag",
  1055. "net.peer.name": "demo-featureflagservice",
  1056. "node_type": "api",
  1057. "rpc.method": "GetFlag",
  1058. "service_name": "productcatalogservice",
  1059. "span_kind": "",
  1060. "timestamp": "2023-11-14T09:16:22.917334973Z"
  1061. }
  1062. }, {
  1063. "id": "PlaceOrder",
  1064. "nodeType": "api",
  1065. "nodeTypeKeyFromProperties": "node_type",
  1066. "data": {
  1067. "apdex": 0.84,
  1068. "app_alias": "UNSET",
  1069. "err_rate": 0.85,
  1070. "id": "PlaceOrder",
  1071. "latency": 4.32,
  1072. "name": "PlaceOrder",
  1073. "node_type": "api",
  1074. "rpc.method": "PlaceOrder",
  1075. "service_name": "checkoutservice",
  1076. "span_kind": "",
  1077. "timestamp": "2023-11-14T09:29:02.805303369Z"
  1078. }
  1079. }, {
  1080. "id": "demo-productcatalogservice-54f8d76964-rc2m5",
  1081. "nodeType": "container",
  1082. "nodeTypeKeyFromProperties": "node_type",
  1083. "data": {
  1084. "container.id": "c4d414128c69c728993f0bd22634e8192dcae5e0be6f2ff002e69a87e7a26436",
  1085. "id": "demo-productcatalogservice-54f8d76964-rc2m5",
  1086. "k8s.deployment.name": "demo-productcatalogservice",
  1087. "k8s.namespace.name": "otel-demo",
  1088. "k8s.node.name": "k8sw4",
  1089. "name": "demo-productcatalogservice-54f8d76964-rc2m5",
  1090. "node_type": "container",
  1091. "pod.ip": "10.244.7.218",
  1092. "pod.name": "demo-productcatalogservice-54f8d76964-rc2m5",
  1093. "timestamp": "2023-11-14T09:29:02.831697394Z"
  1094. }
  1095. }, {
  1096. "id": "demo-currencyservice-7d86b5b96d-52rl8",
  1097. "nodeType": "container",
  1098. "nodeTypeKeyFromProperties": "node_type",
  1099. "data": {
  1100. "id": "demo-currencyservice-7d86b5b96d-52rl8",
  1101. "k8s.deployment.name": "demo-currencyservice",
  1102. "k8s.namespace.name": "otel-demo",
  1103. "k8s.node.name": "k8sw4",
  1104. "name": "demo-currencyservice-7d86b5b96d-52rl8",
  1105. "node_type": "container",
  1106. "pod.ip": "10.244.7.217",
  1107. "pod.name": "demo-currencyservice-7d86b5b96d-52rl8",
  1108. "timestamp": "2023-11-14T09:29:02.844663685Z"
  1109. }
  1110. }, {
  1111. "id": "cest-2",
  1112. "nodeType": "os",
  1113. "nodeTypeKeyFromProperties": "node_type",
  1114. "data": {
  1115. "disk": 0.79,
  1116. "id": "cest-2",
  1117. "k8s.node.name": "cest-2",
  1118. "load": 0.89,
  1119. "memory": 0.66,
  1120. "name": "cest-2",
  1121. "node_type": "os",
  1122. "timestamp": "2023-11-14T09:29:02.820915319Z"
  1123. }
  1124. }, {
  1125. "id": "http://demo-emailservice:8080/send_order_confirmation",
  1126. "nodeType": "api",
  1127. "nodeTypeKeyFromProperties": "node_type",
  1128. "data": {
  1129. "apdex": 0.81,
  1130. "app_alias": "UNSET",
  1131. "err_rate": 0.8,
  1132. "http.method": "POST",
  1133. "http.url": "http://demo-emailservice:8080/send_order_confirmation",
  1134. "id": "http://demo-emailservice:8080/send_order_confirmation",
  1135. "latency": 5.91,
  1136. "name": "http://demo-emailservice:8080/send_order_confirmation",
  1137. "net.peer.name": "demo-emailservice",
  1138. "node_type": "api",
  1139. "service_name": "checkoutservice",
  1140. "span_kind": "",
  1141. "timestamp": "2023-11-14T09:23:06.701451791Z"
  1142. }
  1143. }, {
  1144. "id": "featureflagservice",
  1145. "nodeType": "service",
  1146. "nodeTypeKeyFromProperties": "node_type",
  1147. "data": {
  1148. "apdex": 0.81,
  1149. "id": "featureflagservice",
  1150. "name": "featureflagservice",
  1151. "node_type": "service",
  1152. "process_name": "BEAM",
  1153. "service_name": "featureflagservice",
  1154. "timestamp": "2023-11-14T09:29:02.820915319Z"
  1155. }
  1156. }, {
  1157. "id": "demo-featureflagservice-5d9ddf5c6-4j848",
  1158. "nodeType": "container",
  1159. "nodeTypeKeyFromProperties": "node_type",
  1160. "data": {
  1161. "id": "demo-featureflagservice-5d9ddf5c6-4j848",
  1162. "k8s.deployment.name": "demo-featureflagservice",
  1163. "k8s.namespace.name": "otel-demo",
  1164. "k8s.node.name": "cest-2",
  1165. "name": "demo-featureflagservice-5d9ddf5c6-4j848",
  1166. "node_type": "container",
  1167. "pod.ip": "10.244.1.214",
  1168. "pod.name": "demo-featureflagservice-5d9ddf5c6-4j848",
  1169. "timestamp": "2023-11-14T09:29:02.820915319Z"
  1170. }
  1171. }, {
  1172. "id": "frauddetectionservice",
  1173. "nodeType": "service",
  1174. "nodeTypeKeyFromProperties": "node_type",
  1175. "data": {
  1176. "apdex": 0.61,
  1177. "id": "frauddetectionservice",
  1178. "name": "frauddetectionservice",
  1179. "node_type": "service",
  1180. "process_name": "OpenJDK Runtime Environment",
  1181. "service_name": "frauddetectionservice",
  1182. "timestamp": "2023-11-14T09:20:34.471100039Z"
  1183. }
  1184. }, {
  1185. "id": "frontend",
  1186. "nodeType": "service",
  1187. "nodeTypeKeyFromProperties": "node_type",
  1188. "data": {
  1189. "apdex": 1,
  1190. "id": "frontend",
  1191. "name": "frontend",
  1192. "node_type": "service",
  1193. "process_name": "nodejs",
  1194. "service_name": "frontend",
  1195. "timestamp": "2023-11-14T09:20:34.471000064Z"
  1196. }
  1197. }, {
  1198. "id": "k8sm1",
  1199. "nodeType": "os",
  1200. "nodeTypeKeyFromProperties": "node_type",
  1201. "data": {
  1202. "cloud.platform": "alibaba_cloud_ecs",
  1203. "disk": 0.58,
  1204. "host.arch": "amd64",
  1205. "id": "k8sm1",
  1206. "k8s.node.name": "k8sm1",
  1207. "load": 0.24,
  1208. "memory": 0.38,
  1209. "name": "k8sm1",
  1210. "node_type": "os",
  1211. "os.type": "linux",
  1212. "os.version": "5.4.225-1.el7.elrepo.x86_64",
  1213. "timestamp": "2023-11-14T09:23:06.676999936Z"
  1214. }
  1215. }, {
  1216. "id": "EmptyCart",
  1217. "nodeType": "api",
  1218. "nodeTypeKeyFromProperties": "node_type",
  1219. "data": {
  1220. "apdex": 0.76,
  1221. "app_alias": "UNSET",
  1222. "err_rate": 0.98,
  1223. "id": "EmptyCart",
  1224. "latency": 1.27,
  1225. "name": "EmptyCart",
  1226. "net.peer.name": "demo-cartservice",
  1227. "node_type": "api",
  1228. "rpc.method": "EmptyCart",
  1229. "service_name": "checkoutservice",
  1230. "span_kind": "",
  1231. "timestamp": "2023-11-14T09:29:02.853523426Z"
  1232. }
  1233. }, {
  1234. "id": "UNSET",
  1235. "nodeType": "app",
  1236. "nodeTypeKeyFromProperties": "node_type",
  1237. "data": {
  1238. "apdex": 0.97,
  1239. "app_alias": "UNSET",
  1240. "id": "UNSET",
  1241. "name": "UNSET",
  1242. "node_type": "app",
  1243. "timestamp": "2023-11-14T09:16:22.954723189Z"
  1244. }
  1245. }, {
  1246. "id": "[\"./accountingservice\"]",
  1247. "nodeType": "process",
  1248. "nodeTypeKeyFromProperties": "node_type",
  1249. "data": {
  1250. "container.id": "09528d104b068cd5c211ecc5ccc37b8ad02052021ae8aff3eb0d1c01972a3a2e",
  1251. "id": "[\"./accountingservice\"]",
  1252. "name": "[\"./accountingservice\"]",
  1253. "node_type": "process",
  1254. "pod.name": "demo-accountingservice-cd5f6d56c-4n5w2",
  1255. "process.command_args": "[\"./accountingservice\"]",
  1256. "process.executable.path": "/usr/src/app/accountingservice",
  1257. "process.runtime.description": "go version go1.19.2 linux/amd64",
  1258. "process.runtime.version": "go1.19.2",
  1259. "process_name": "go",
  1260. "timestamp": "2023-11-14T09:17:28.101098206Z"
  1261. }
  1262. }, {
  1263. "id": "null",
  1264. "nodeType": "process",
  1265. "nodeTypeKeyFromProperties": "node_type",
  1266. "data": {
  1267. "id": null,
  1268. "name": "unknow-process",
  1269. "node_type": "process",
  1270. "pod.name": "demo-featureflagservice-5d9ddf5c6-4j848",
  1271. "process.runtime.description": "Erlang/OTP 23 erts-11.2.2.13",
  1272. "process.runtime.version": "11.2.2.13",
  1273. "process_name": "BEAM",
  1274. "timestamp": "2023-11-14T09:29:02.820915319Z",
  1275. "trace_id": "bb3253d84b75ef81743d9f08f6dee793"
  1276. }
  1277. }, {
  1278. "id": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
  1279. "nodeType": "api",
  1280. "nodeTypeKeyFromProperties": "node_type",
  1281. "data": {
  1282. "apdex": 0.87,
  1283. "app_alias": "UNSET",
  1284. "err_rate": 0.96,
  1285. "http.method": "POST",
  1286. "http.target": "/oteldemo.CartService/EmptyCart",
  1287. "http.url": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
  1288. "id": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
  1289. "latency": 0.59,
  1290. "name": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
  1291. "net.host.name": "demo-cartservice",
  1292. "node_type": "api",
  1293. "rpc.method": "EmptyCart",
  1294. "service_name": "cartservice",
  1295. "span_kind": "",
  1296. "timestamp": "2023-11-14T09:29:02.8568155Z"
  1297. }
  1298. }, {
  1299. "id": "currencyservice",
  1300. "nodeType": "service",
  1301. "nodeTypeKeyFromProperties": "node_type",
  1302. "data": {
  1303. "apdex": 0.84,
  1304. "id": "currencyservice",
  1305. "name": "currencyservice",
  1306. "node_type": "service",
  1307. "service_name": "currencyservice",
  1308. "timestamp": "2023-11-14T09:29:02.844663685Z"
  1309. }
  1310. }, {
  1311. "id": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
  1312. "nodeType": "process",
  1313. "nodeTypeKeyFromProperties": "node_type",
  1314. "data": {
  1315. "container.id": "be2af64ab46c97586fdf9d1535932fd55b9230327b5a61824077ed65e2.scope",
  1316. "id": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
  1317. "name": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
  1318. "node_type": "process",
  1319. "pod.name": "demo-frontend-67fcb8c768-7knmz",
  1320. "process.command": "/app/server.js",
  1321. "process.command_args": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
  1322. "process.executable.path": "/usr/local/bin/node",
  1323. "process.runtime.description": "Node.js",
  1324. "process.runtime.version": "18.18.2",
  1325. "process_name": "nodejs",
  1326. "timestamp": "2023-11-14T09:20:34.471000064Z"
  1327. }
  1328. }, {
  1329. "id": "[\"./productcatalogservice\"]",
  1330. "nodeType": "process",
  1331. "nodeTypeKeyFromProperties": "node_type",
  1332. "data": {
  1333. "container.id": "c4d414128c69c728993f0bd22634e8192dcae5e0be6f2ff002e69a87e7a26436",
  1334. "id": "[\"./productcatalogservice\"]",
  1335. "name": "[\"./productcatalogservice\"]",
  1336. "node_type": "process",
  1337. "pod.name": "demo-productcatalogservice-54f8d76964-rc2m5",
  1338. "process.command_args": "[\"./productcatalogservice\"]",
  1339. "process.executable.path": "/usr/src/app/productcatalogservice",
  1340. "process.runtime.description": "go version go1.19.4 linux/amd64",
  1341. "process.runtime.version": "go1.19.4",
  1342. "process_name": "go",
  1343. "timestamp": "2023-11-14T09:29:02.831697394Z"
  1344. }
  1345. }, {
  1346. "id": "k8sm2",
  1347. "nodeType": "os",
  1348. "nodeTypeKeyFromProperties": "node_type",
  1349. "data": {
  1350. "disk": 0.72,
  1351. "id": "k8sm2",
  1352. "k8s.node.name": "k8sm2",
  1353. "load": 2.24,
  1354. "memory": 0.76,
  1355. "name": "k8sm2",
  1356. "node_type": "os",
  1357. "os.type": "linux",
  1358. "timestamp": "2023-11-14T09:16:22.954723189Z"
  1359. }
  1360. }, {
  1361. "id": "/send_order_confirmation",
  1362. "nodeType": "api",
  1363. "nodeTypeKeyFromProperties": "node_type",
  1364. "data": {
  1365. "apdex": 0.73,
  1366. "app_alias": "UNSET",
  1367. "err_rate": 0.99,
  1368. "http.method": "POST",
  1369. "http.route": "/send_order_confirmation",
  1370. "http.target": "/send_order_confirmation",
  1371. "id": "/send_order_confirmation",
  1372. "latency": 8.52,
  1373. "name": "/send_order_confirmation",
  1374. "node_type": "api",
  1375. "service_name": "emailservice",
  1376. "span_kind": "",
  1377. "timestamp": "2023-11-14T09:20:34.465579133Z"
  1378. }
  1379. }, {
  1380. "id": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
  1381. "nodeType": "process",
  1382. "nodeTypeKeyFromProperties": "node_type",
  1383. "data": {
  1384. "container.id": "1d360ea82046bbad7109ba36bee3ead0ba4bec5167d4f17e33fb1bbef511ab27",
  1385. "id": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
  1386. "name": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
  1387. "node_type": "process",
  1388. "pod.name": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
  1389. "process.command_args": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
  1390. "process.executable.path": "/usr/lib/jvm/java-17-openjdk-amd64/bin/java",
  1391. "process.runtime.description": "Debian OpenJDK 64-Bit Server VM 17.0.7+7-Debian-1deb11u1",
  1392. "process.runtime.version": "17.0.7+7-Debian-1deb11u1",
  1393. "process_name": "OpenJDK Runtime Environment",
  1394. "timestamp": "2023-11-14T09:20:34.471100039Z"
  1395. }
  1396. }, {
  1397. "id": "k8sm3",
  1398. "nodeType": "os",
  1399. "nodeTypeKeyFromProperties": "node_type",
  1400. "data": {
  1401. "disk": 0.64,
  1402. "host.arch": "amd64",
  1403. "id": "k8sm3",
  1404. "k8s.node.name": "k8sm3",
  1405. "load": 0.25,
  1406. "memory": 0.39,
  1407. "name": "k8sm3",
  1408. "node_type": "os",
  1409. "os.description": "Linux 3.10.0-1160.83.1.el7.x86_64",
  1410. "os.type": "linux",
  1411. "timestamp": "2023-11-14T09:20:34.471100039Z"
  1412. }
  1413. }, {
  1414. "id": "demo-frontend-67fcb8c768-7knmz",
  1415. "nodeType": "container",
  1416. "nodeTypeKeyFromProperties": "node_type",
  1417. "data": {
  1418. "container.id": "be2af64ab46c97586fdf9d1535932fd55b9230327b5a61824077ed65e2.scope",
  1419. "id": "demo-frontend-67fcb8c768-7knmz",
  1420. "k8s.deployment.name": "demo-frontend",
  1421. "k8s.namespace.name": "otel-demo",
  1422. "k8s.node.name": "k8sw4",
  1423. "name": "demo-frontend-67fcb8c768-7knmz",
  1424. "node_type": "container",
  1425. "pod.ip": "10.244.7.219",
  1426. "pod.name": "demo-frontend-67fcb8c768-7knmz",
  1427. "timestamp": "2023-11-14T09:20:34.471000064Z"
  1428. }
  1429. }, {
  1430. "id": "quoteservice",
  1431. "nodeType": "service",
  1432. "nodeTypeKeyFromProperties": "node_type",
  1433. "data": {
  1434. "apdex": 0.98,
  1435. "id": "quoteservice",
  1436. "name": "quoteservice",
  1437. "node_type": "service",
  1438. "process_name": "cli",
  1439. "service_name": "quoteservice",
  1440. "timestamp": "2023-11-14T09:29:02.840171198Z"
  1441. }
  1442. }, {
  1443. "id": "demo-quoteservice-667cfcd77c-tb66j",
  1444. "nodeType": "container",
  1445. "nodeTypeKeyFromProperties": "node_type",
  1446. "data": {
  1447. "container.id": "3f4353b68bef96b5c58e7877938e81900511938b7b7370531d5383d83a34d0db",
  1448. "id": "demo-quoteservice-667cfcd77c-tb66j",
  1449. "k8s.deployment.name": "demo-quoteservice",
  1450. "k8s.namespace.name": "otel-demo",
  1451. "k8s.node.name": "k8sm2",
  1452. "name": "demo-quoteservice-667cfcd77c-tb66j",
  1453. "node_type": "container",
  1454. "pod.ip": "10.244.3.63",
  1455. "pod.name": "demo-quoteservice-667cfcd77c-tb66j",
  1456. "timestamp": "2023-11-14T09:29:02.840171198Z"
  1457. }
  1458. }, {
  1459. "id": "demo-cartservice-6b4bb7b7c7-8b5pp",
  1460. "nodeType": "container",
  1461. "nodeTypeKeyFromProperties": "node_type",
  1462. "data": {
  1463. "container.id": "4a1eec6ba6d80ec57940e374fb89494ecf5d7a1610efc9ebe7098ea6b57df58b",
  1464. "id": "demo-cartservice-6b4bb7b7c7-8b5pp",
  1465. "k8s.deployment.name": "demo-cartservice",
  1466. "k8s.namespace.name": "otel-demo",
  1467. "k8s.node.name": "k8sw3",
  1468. "name": "demo-cartservice-6b4bb7b7c7-8b5pp",
  1469. "node_type": "container",
  1470. "pod.ip": "10.244.6.101",
  1471. "pod.name": "demo-cartservice-6b4bb7b7c7-8b5pp",
  1472. "timestamp": "2023-11-14T09:23:06.6827164Z"
  1473. }
  1474. }, {
  1475. "id": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
  1476. "nodeType": "api",
  1477. "nodeTypeKeyFromProperties": "node_type",
  1478. "data": {
  1479. "apdex": 0.72,
  1480. "app_alias": "UNSET",
  1481. "err_rate": 0.83,
  1482. "http.method": "POST",
  1483. "http.target": "/oteldemo.CartService/GetCart",
  1484. "http.url": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
  1485. "id": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
  1486. "latency": 10.54,
  1487. "name": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
  1488. "net.host.name": "demo-cartservice",
  1489. "node_type": "api",
  1490. "rpc.method": "GetCart",
  1491. "service_name": "cartservice",
  1492. "span_kind": "",
  1493. "timestamp": "2023-11-14T09:16:22.9138288Z"
  1494. }
  1495. }, {
  1496. "id": "alibaba_cloud_ecs",
  1497. "nodeType": "cloud",
  1498. "nodeTypeKeyFromProperties": "node_type",
  1499. "data": {
  1500. "cloud.platform": "alibaba_cloud_ecs",
  1501. "cloud.provider": "alibaba_cloud",
  1502. "cloud.region": "cn-beijing",
  1503. "id": "alibaba_cloud_ecs",
  1504. "name": "alibaba_cloud_ecs",
  1505. "node_type": "cloud",
  1506. "timestamp": "2023-11-14T09:23:06.676999936Z"
  1507. }
  1508. }, {
  1509. "id": "Charge",
  1510. "nodeType": "api",
  1511. "nodeTypeKeyFromProperties": "node_type",
  1512. "data": {
  1513. "apdex": 0.97,
  1514. "app_alias": "UNSET",
  1515. "err_rate": 0.96,
  1516. "id": "Charge",
  1517. "latency": 10.2,
  1518. "name": "Charge",
  1519. "node_type": "api",
  1520. "rpc.method": "Charge",
  1521. "service_name": "paymentservice",
  1522. "span_kind": "",
  1523. "timestamp": "2023-11-14T09:23:06.676999936Z"
  1524. }
  1525. }, {
  1526. "id": "unkonw",
  1527. "nodeType": "cloud",
  1528. "nodeTypeKeyFromProperties": "node_type",
  1529. "data": {
  1530. "id": "unkonw",
  1531. "name": "unkonw",
  1532. "node_type": "cloud",
  1533. "timestamp": "2023-11-14T09:16:22.954723189Z"
  1534. }
  1535. }, {
  1536. "id": "cartservice",
  1537. "nodeType": "service",
  1538. "nodeTypeKeyFromProperties": "node_type",
  1539. "data": {
  1540. "apdex": 0.68,
  1541. "id": "cartservice",
  1542. "name": "cartservice",
  1543. "node_type": "service",
  1544. "service_name": "cartservice",
  1545. "timestamp": "2023-11-14T09:23:06.6827164Z"
  1546. }
  1547. }, {
  1548. "id": "GetCart",
  1549. "nodeType": "api",
  1550. "nodeTypeKeyFromProperties": "node_type",
  1551. "data": {
  1552. "apdex": 0.75,
  1553. "app_alias": "UNSET",
  1554. "err_rate": 0.83,
  1555. "id": "GetCart",
  1556. "latency": 6.39,
  1557. "name": "GetCart",
  1558. "net.peer.name": "demo-cartservice",
  1559. "node_type": "api",
  1560. "rpc.method": "GetCart",
  1561. "service_name": "checkoutservice",
  1562. "span_kind": "",
  1563. "timestamp": "2023-11-14T09:17:28.064366541Z"
  1564. }
  1565. }, {
  1566. "id": "GetProduct",
  1567. "nodeType": "api",
  1568. "nodeTypeKeyFromProperties": "node_type",
  1569. "data": {
  1570. "apdex": 0.72,
  1571. "app_alias": "UNSET",
  1572. "err_rate": 0.96,
  1573. "id": "GetProduct",
  1574. "latency": 8.87,
  1575. "name": "GetProduct",
  1576. "node_type": "api",
  1577. "rpc.method": "GetProduct",
  1578. "service_name": "productcatalogservice",
  1579. "span_kind": "",
  1580. "timestamp": "2023-11-14T09:29:02.831697394Z"
  1581. }
  1582. }, {
  1583. "id": "demo-frontendproxy:8080/api/checkout",
  1584. "nodeType": "api",
  1585. "nodeTypeKeyFromProperties": "node_type",
  1586. "data": {
  1587. "apdex": 0.7,
  1588. "app_alias": "UNSET",
  1589. "err_rate": 0.99,
  1590. "http.method": "POST",
  1591. "http.target": "/api/checkout",
  1592. "http.url": "demo-frontendproxy:8080/api/checkout",
  1593. "id": "demo-frontendproxy:8080/api/checkout",
  1594. "latency": 2.75,
  1595. "name": "demo-frontendproxy:8080/api/checkout",
  1596. "node_type": "api",
  1597. "service_name": "frontend",
  1598. "span_kind": "",
  1599. "timestamp": "2023-11-14T09:17:28.063000064Z"
  1600. }
  1601. }, {
  1602. "id": "[\"./checkoutservice\"]",
  1603. "nodeType": "process",
  1604. "nodeTypeKeyFromProperties": "node_type",
  1605. "data": {
  1606. "container.id": "d8f393c4ce544f8cf7330405a31686dbf0f259620b316bae3b5551291b2eed3a",
  1607. "id": "[\"./checkoutservice\"]",
  1608. "name": "[\"./checkoutservice\"]",
  1609. "node_type": "process",
  1610. "pod.name": "demo-checkoutservice-55ddc8cbbb-h2qlk",
  1611. "process.command_args": "[\"./checkoutservice\"]",
  1612. "process.executable.path": "/usr/src/app/checkoutservice",
  1613. "process.runtime.description": "go version go1.19.2 linux/amd64",
  1614. "process.runtime.version": "go1.19.2",
  1615. "process_name": "go",
  1616. "timestamp": "2023-11-14T09:29:02.805371194Z"
  1617. }
  1618. }, {
  1619. "id": "GetQuote",
  1620. "nodeType": "api",
  1621. "nodeTypeKeyFromProperties": "node_type",
  1622. "data": {
  1623. "apdex": 0.95,
  1624. "app_alias": "UNSET",
  1625. "err_rate": 0.87,
  1626. "id": "GetQuote",
  1627. "latency": 7.3,
  1628. "name": "GetQuote",
  1629. "net.peer.name": "demo-shippingservice",
  1630. "node_type": "api",
  1631. "rpc.method": "GetQuote",
  1632. "service_name": "checkoutservice",
  1633. "span_kind": "",
  1634. "timestamp": "2023-11-14T09:16:22.939810189Z"
  1635. }
  1636. }, {
  1637. "id": "k8sw4",
  1638. "nodeType": "os",
  1639. "nodeTypeKeyFromProperties": "node_type",
  1640. "data": {
  1641. "disk": 0.61,
  1642. "id": "k8sw4",
  1643. "k8s.node.name": "k8sw4",
  1644. "load": 2.78,
  1645. "memory": 0.35,
  1646. "name": "k8sw4",
  1647. "node_type": "os",
  1648. "os.description": "Alpine Linux 3.18.4 (Linux demo-productcatalogservice-54f8d76964-rc2m5 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64)",
  1649. "os.type": "linux",
  1650. "timestamp": "2023-11-14T09:29:02.831697394Z"
  1651. }
  1652. }, {
  1653. "id": "__invoke",
  1654. "nodeType": "api",
  1655. "nodeTypeKeyFromProperties": "node_type",
  1656. "data": {
  1657. "apdex": 0.75,
  1658. "app_alias": "UNSET",
  1659. "code.function": "__invoke",
  1660. "err_rate": 0.84,
  1661. "id": "__invoke",
  1662. "latency": 11.09,
  1663. "name": "__invoke",
  1664. "node_type": "api",
  1665. "service_name": "quoteservice",
  1666. "span_kind": "",
  1667. "timestamp": "2023-11-14T09:29:02.840171198Z"
  1668. }
  1669. }, {
  1670. "id": "accountingservice",
  1671. "nodeType": "service",
  1672. "nodeTypeKeyFromProperties": "node_type",
  1673. "data": {
  1674. "apdex": 0.96,
  1675. "id": "accountingservice",
  1676. "name": "accountingservice",
  1677. "node_type": "service",
  1678. "process_name": "go",
  1679. "service_name": "accountingservice",
  1680. "timestamp": "2023-11-14T09:17:28.101098206Z"
  1681. }
  1682. }, {
  1683. "id": "k8sw3",
  1684. "nodeType": "os",
  1685. "nodeTypeKeyFromProperties": "node_type",
  1686. "data": {
  1687. "disk": 0.48,
  1688. "id": "k8sw3",
  1689. "k8s.node.name": "k8sw3",
  1690. "load": 1.5,
  1691. "memory": 0.64,
  1692. "name": "k8sw3",
  1693. "node_type": "os",
  1694. "timestamp": "2023-11-14T09:23:06.6827164Z"
  1695. }
  1696. }, {
  1697. "id": "emailservice",
  1698. "nodeType": "service",
  1699. "nodeTypeKeyFromProperties": "node_type",
  1700. "data": {
  1701. "apdex": 0.94,
  1702. "id": "emailservice",
  1703. "name": "emailservice",
  1704. "node_type": "service",
  1705. "process_name": "ruby",
  1706. "service_name": "emailservice",
  1707. "timestamp": "2023-11-14T09:29:02.860182658Z"
  1708. }
  1709. }, {
  1710. "id": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
  1711. "nodeType": "process",
  1712. "nodeTypeKeyFromProperties": "node_type",
  1713. "data": {
  1714. "container.id": "f3ea819b993cfd7cad1f75ee5b45c8ec91309d014f87afa17b75f56813.scope",
  1715. "id": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
  1716. "name": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
  1717. "node_type": "process",
  1718. "pod.name": "demo-paymentservice-58876f5f49-ftf2m",
  1719. "process.command": "/usr/src/app/index.js",
  1720. "process.command_args": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
  1721. "process.executable.path": "/usr/local/bin/node",
  1722. "process.runtime.description": "Node.js",
  1723. "process.runtime.version": "18.18.2",
  1724. "process_name": "nodejs",
  1725. "timestamp": "2023-11-14T09:23:06.676999936Z"
  1726. }
  1727. }, {
  1728. "id": "demo-paymentservice-58876f5f49-ftf2m",
  1729. "nodeType": "container",
  1730. "nodeTypeKeyFromProperties": "node_type",
  1731. "data": {
  1732. "container.id": "f3ea819b993cfd7cad1f75ee5b45c8ec91309d014f87afa17b75f56813.scope",
  1733. "id": "demo-paymentservice-58876f5f49-ftf2m",
  1734. "k8s.deployment.name": "demo-paymentservice",
  1735. "k8s.namespace.name": "otel-demo",
  1736. "k8s.node.name": "k8sm1",
  1737. "name": "demo-paymentservice-58876f5f49-ftf2m",
  1738. "node_type": "container",
  1739. "pod.ip": "10.244.0.93",
  1740. "pod.name": "demo-paymentservice-58876f5f49-ftf2m",
  1741. "timestamp": "2023-11-14T09:23:06.676999936Z"
  1742. }
  1743. }, {
  1744. "id": "[\"public/index.php\"]",
  1745. "nodeType": "process",
  1746. "nodeTypeKeyFromProperties": "node_type",
  1747. "data": {
  1748. "container.id": "3f4353b68bef96b5c58e7877938e81900511938b7b7370531d5383d83a34d0db",
  1749. "id": "[\"public/index.php\"]",
  1750. "name": "[\"public/index.php\"]",
  1751. "node_type": "process",
  1752. "pod.name": "demo-quoteservice-667cfcd77c-tb66j",
  1753. "process.command": "public/index.php",
  1754. "process.command_args": "[\"public/index.php\"]",
  1755. "process.executable.path": "/usr/local/bin/php",
  1756. "process.runtime.version": "8.2.12",
  1757. "process_name": "cli",
  1758. "timestamp": "2023-11-14T09:29:02.840171198Z"
  1759. }
  1760. }, {
  1761. "id": "[\"/app/shippingservice\"]",
  1762. "nodeType": "process",
  1763. "nodeTypeKeyFromProperties": "node_type",
  1764. "data": {
  1765. "id": "[\"/app/shippingservice\"]",
  1766. "name": "[\"/app/shippingservice\"]",
  1767. "node_type": "process",
  1768. "pod.name": "demo-shippingservice-578cc49876-5mg5p",
  1769. "process.command_args": "[\"/app/shippingservice\"]",
  1770. "timestamp": "2023-11-14T09:16:22.954723189Z"
  1771. }
  1772. }, {
  1773. "id": "demo-emailservice-7d769b96b8-p68hw",
  1774. "nodeType": "container",
  1775. "nodeTypeKeyFromProperties": "node_type",
  1776. "data": {
  1777. "id": "demo-emailservice-7d769b96b8-p68hw",
  1778. "k8s.deployment.name": "demo-emailservice",
  1779. "k8s.namespace.name": "otel-demo",
  1780. "k8s.node.name": "k8sw4",
  1781. "name": "demo-emailservice-7d769b96b8-p68hw",
  1782. "node_type": "container",
  1783. "pod.ip": "10.244.7.215",
  1784. "pod.name": "demo-emailservice-7d769b96b8-p68hw",
  1785. "timestamp": "2023-11-14T09:29:02.860182658Z"
  1786. }
  1787. }, {
  1788. "id": "http://demo-quoteservice:8080/getquote",
  1789. "nodeType": "api",
  1790. "nodeTypeKeyFromProperties": "node_type",
  1791. "data": {
  1792. "apdex": 1,
  1793. "app_alias": "UNSET",
  1794. "code.function": "handle",
  1795. "err_rate": 0.84,
  1796. "http.method": "POST",
  1797. "http.url": "http://demo-quoteservice:8080/getquote",
  1798. "id": "http://demo-quoteservice:8080/getquote",
  1799. "latency": 1.67,
  1800. "name": "http://demo-quoteservice:8080/getquote",
  1801. "node_type": "api",
  1802. "service_name": "quoteservice",
  1803. "span_kind": "",
  1804. "timestamp": "2023-11-14T09:29:02.840042319Z"
  1805. }
  1806. }, {
  1807. "id": "demo-accountingservice-cd5f6d56c-4n5w2",
  1808. "nodeType": "container",
  1809. "nodeTypeKeyFromProperties": "node_type",
  1810. "data": {
  1811. "container.id": "09528d104b068cd5c211ecc5ccc37b8ad02052021ae8aff3eb0d1c01972a3a2e",
  1812. "id": "demo-accountingservice-cd5f6d56c-4n5w2",
  1813. "k8s.deployment.name": "demo-accountingservice",
  1814. "k8s.namespace.name": "otel-demo",
  1815. "k8s.node.name": "k8sm2",
  1816. "name": "demo-accountingservice-cd5f6d56c-4n5w2",
  1817. "node_type": "container",
  1818. "pod.ip": "10.244.3.60",
  1819. "pod.name": "demo-accountingservice-cd5f6d56c-4n5w2",
  1820. "timestamp": "2023-11-14T09:17:28.101098206Z"
  1821. }
  1822. }, {
  1823. "id": "shippingservice",
  1824. "nodeType": "service",
  1825. "nodeTypeKeyFromProperties": "node_type",
  1826. "data": {
  1827. "apdex": 0.63,
  1828. "id": "shippingservice",
  1829. "name": "shippingservice",
  1830. "node_type": "service",
  1831. "service_name": "shippingservice",
  1832. "timestamp": "2023-11-14T09:16:22.954723189Z"
  1833. }
  1834. }, {
  1835. "id": "unknow-api",
  1836. "nodeType": "api",
  1837. "nodeTypeKeyFromProperties": "node_type",
  1838. "data": {
  1839. "apdex": 0.96,
  1840. "app_alias": "UNSET",
  1841. "err_rate": 0.9,
  1842. "id": "unknow-api",
  1843. "latency": 4.83,
  1844. "name": "unknow-api",
  1845. "node_type": "api",
  1846. "service_name": "shippingservice",
  1847. "span_kind": "",
  1848. "timestamp": "2023-11-14T09:16:22.954723189Z"
  1849. }
  1850. }, {
  1851. "id": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
  1852. "nodeType": "api",
  1853. "nodeTypeKeyFromProperties": "node_type",
  1854. "data": {
  1855. "apdex": 0.73,
  1856. "app_alias": "UNSET",
  1857. "err_rate": 0.83,
  1858. "http.method": "POST",
  1859. "http.url": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
  1860. "id": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
  1861. "latency": 2.65,
  1862. "name": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
  1863. "net.peer.name": "demo-featureflagservice",
  1864. "node_type": "api",
  1865. "service_name": "cartservice",
  1866. "span_kind": "",
  1867. "timestamp": "2023-11-14T09:20:34.4580869Z"
  1868. }
  1869. }, {
  1870. "id": "checkoutservice",
  1871. "nodeType": "service",
  1872. "nodeTypeKeyFromProperties": "node_type",
  1873. "data": {
  1874. "apdex": 0.81,
  1875. "id": "checkoutservice",
  1876. "name": "checkoutservice",
  1877. "node_type": "service",
  1878. "process_name": "go",
  1879. "service_name": "checkoutservice",
  1880. "timestamp": "2023-11-14T09:29:02.805371194Z"
  1881. }
  1882. }, {
  1883. "id": "ShipOrder",
  1884. "nodeType": "api",
  1885. "nodeTypeKeyFromProperties": "node_type",
  1886. "data": {
  1887. "apdex": 0.79,
  1888. "app_alias": "UNSET",
  1889. "err_rate": 0.99,
  1890. "id": "ShipOrder",
  1891. "latency": 2.6,
  1892. "name": "ShipOrder",
  1893. "net.peer.name": "demo-shippingservice",
  1894. "node_type": "api",
  1895. "rpc.method": "ShipOrder",
  1896. "service_name": "checkoutservice",
  1897. "span_kind": "",
  1898. "timestamp": "2023-11-14T09:29:02.850515126Z"
  1899. }
  1900. }, {
  1901. "id": "paymentservice",
  1902. "nodeType": "service",
  1903. "nodeTypeKeyFromProperties": "node_type",
  1904. "data": {
  1905. "apdex": 0.95,
  1906. "id": "paymentservice",
  1907. "name": "paymentservice",
  1908. "node_type": "service",
  1909. "process_name": "nodejs",
  1910. "service_name": "paymentservice",
  1911. "timestamp": "2023-11-14T09:23:06.676999936Z"
  1912. }
  1913. }, {
  1914. "id": "productcatalogservice",
  1915. "nodeType": "service",
  1916. "nodeTypeKeyFromProperties": "node_type",
  1917. "data": {
  1918. "apdex": 0.95,
  1919. "id": "productcatalogservice",
  1920. "name": "productcatalogservice",
  1921. "node_type": "service",
  1922. "process_name": "go",
  1923. "service_name": "productcatalogservice",
  1924. "timestamp": "2023-11-14T09:29:02.831697394Z"
  1925. }
  1926. }, {
  1927. "id": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
  1928. "nodeType": "container",
  1929. "nodeTypeKeyFromProperties": "node_type",
  1930. "data": {
  1931. "container.id": "1d360ea82046bbad7109ba36bee3ead0ba4bec5167d4f17e33fb1bbef511ab27",
  1932. "id": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
  1933. "k8s.deployment.name": "demo-frauddetectionservice",
  1934. "k8s.namespace.name": "otel-demo",
  1935. "k8s.node.name": "k8sm3",
  1936. "name": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
  1937. "node_type": "container",
  1938. "pod.ip": "10.244.8.151",
  1939. "pod.name": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
  1940. "timestamp": "2023-11-14T09:20:34.471100039Z"
  1941. }
  1942. }, {
  1943. "id": "demo-shippingservice-578cc49876-5mg5p",
  1944. "nodeType": "container",
  1945. "nodeTypeKeyFromProperties": "node_type",
  1946. "data": {
  1947. "id": "demo-shippingservice-578cc49876-5mg5p",
  1948. "k8s.deployment.name": "demo-shippingservice",
  1949. "k8s.namespace.name": "otel-demo",
  1950. "k8s.node.name": "k8sm2",
  1951. "name": "demo-shippingservice-578cc49876-5mg5p",
  1952. "node_type": "container",
  1953. "pod.ip": "10.244.3.61",
  1954. "pod.name": "demo-shippingservice-578cc49876-5mg5p",
  1955. "timestamp": "2023-11-14T09:16:22.954723189Z"
  1956. }
  1957. }, {
  1958. "id": "demo-checkoutservice-55ddc8cbbb-h2qlk",
  1959. "nodeType": "container",
  1960. "nodeTypeKeyFromProperties": "node_type",
  1961. "data": {
  1962. "container.id": "d8f393c4ce544f8cf7330405a31686dbf0f259620b316bae3b5551291b2eed3a",
  1963. "id": "demo-checkoutservice-55ddc8cbbb-h2qlk",
  1964. "k8s.deployment.name": "demo-checkoutservice",
  1965. "k8s.namespace.name": "otel-demo",
  1966. "k8s.node.name": "k8sm2",
  1967. "name": "demo-checkoutservice-55ddc8cbbb-h2qlk",
  1968. "node_type": "container",
  1969. "pod.ip": "10.244.3.62",
  1970. "pod.name": "demo-checkoutservice-55ddc8cbbb-h2qlk",
  1971. "timestamp": "2023-11-14T09:29:02.805371194Z"
  1972. }
  1973. }, {
  1974. "id": "email_server.rb",
  1975. "nodeType": "process",
  1976. "nodeTypeKeyFromProperties": "node_type",
  1977. "data": {
  1978. "id": "email_server.rb",
  1979. "name": "email_server.rb",
  1980. "node_type": "process",
  1981. "pod.name": "demo-emailservice-7d769b96b8-p68hw",
  1982. "process.command": "email_server.rb",
  1983. "process.runtime.description": "ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]",
  1984. "process.runtime.version": "3.1.4",
  1985. "process_name": "ruby",
  1986. "timestamp": "2023-11-14T09:29:02.860182658Z"
  1987. }
  1988. }],
  1989. "edges": [{
  1990. "source": "frauddetectionservice",
  1991. "target": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
  1992. "edgeType": "INCLUDE",
  1993. "edgeTypeKeyFromProperties": "edge_type",
  1994. "data": {
  1995. "edge_type": "INCLUDE",
  1996. "id": "frauddetectionservice+[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
  1997. "source": "frauddetectionservice",
  1998. "target": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
  1999. "total_times": 72
  2000. }
  2001. }, {
  2002. "source": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
  2003. "target": "demo-frontend-67fcb8c768-7knmz",
  2004. "edgeType": "IN",
  2005. "edgeTypeKeyFromProperties": "edge_type",
  2006. "data": {
  2007. "edge_type": "IN",
  2008. "id": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]+demo-frontend-67fcb8c768-7knmz",
  2009. "source": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
  2010. "target": "demo-frontend-67fcb8c768-7knmz",
  2011. "total_times": 462
  2012. }
  2013. }, {
  2014. "source": "/send_order_confirmation",
  2015. "target": "emailservice",
  2016. "edgeType": "BELONG",
  2017. "edgeTypeKeyFromProperties": "edge_type",
  2018. "data": {
  2019. "edge_type": "BELONG",
  2020. "id": "/send_order_confirmation+emailservice",
  2021. "source": "/send_order_confirmation",
  2022. "target": "emailservice",
  2023. "total_times": 872
  2024. }
  2025. }, {
  2026. "source": "ShipOrder",
  2027. "target": "checkoutservice",
  2028. "edgeType": "BELONG",
  2029. "edgeTypeKeyFromProperties": "edge_type",
  2030. "data": {
  2031. "edge_type": "BELONG",
  2032. "id": "ShipOrder+checkoutservice",
  2033. "source": "ShipOrder",
  2034. "target": "checkoutservice",
  2035. "total_times": 872
  2036. }
  2037. }, {
  2038. "source": "currencyservice",
  2039. "target": "unknow-process",
  2040. "edgeType": "INCLUDE",
  2041. "edgeTypeKeyFromProperties": "edge_type",
  2042. "data": {
  2043. "edge_type": "INCLUDE",
  2044. "id": "currencyservice+unknow-process",
  2045. "source": "currencyservice",
  2046. "target": "unknow-process",
  2047. "total_times": 72
  2048. }
  2049. }, {
  2050. "source": "unknow-api",
  2051. "target": "featureflagservice",
  2052. "edgeType": "BELONG",
  2053. "edgeTypeKeyFromProperties": "edge_type",
  2054. "data": {
  2055. "edge_type": "BELONG",
  2056. "id": "unknow-api+featureflagservice",
  2057. "source": "unknow-api",
  2058. "target": "featureflagservice",
  2059. "total_times": 872
  2060. }
  2061. }, {
  2062. "source": "PlaceOrder",
  2063. "target": "frontend",
  2064. "edgeType": "BELONG",
  2065. "edgeTypeKeyFromProperties": "edge_type",
  2066. "data": {
  2067. "edge_type": "BELONG",
  2068. "id": "PlaceOrder+frontend",
  2069. "source": "PlaceOrder",
  2070. "target": "frontend",
  2071. "total_times": 872
  2072. }
  2073. }, {
  2074. "source": "frontend",
  2075. "target": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
  2076. "edgeType": "INCLUDE",
  2077. "edgeTypeKeyFromProperties": "edge_type",
  2078. "data": {
  2079. "edge_type": "INCLUDE",
  2080. "id": "frontend+[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
  2081. "source": "frontend",
  2082. "target": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
  2083. "total_times": 72
  2084. }
  2085. }, {
  2086. "source": "Charge",
  2087. "target": "paymentservice",
  2088. "edgeType": "BELONG",
  2089. "edgeTypeKeyFromProperties": "edge_type",
  2090. "data": {
  2091. "edge_type": "BELONG",
  2092. "id": "Charge+paymentservice",
  2093. "source": "Charge",
  2094. "target": "paymentservice",
  2095. "total_times": 872
  2096. }
  2097. }, {
  2098. "source": "UNSET",
  2099. "target": "__invoke",
  2100. "edgeType": "INCLUDE",
  2101. "edgeTypeKeyFromProperties": "edge_type",
  2102. "data": {
  2103. "edge_type": "INCLUDE",
  2104. "id": "UNSET+__invoke",
  2105. "source": "UNSET",
  2106. "target": "__invoke",
  2107. "total_times": 3451
  2108. }
  2109. }, {
  2110. "source": "UNSET",
  2111. "target": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
  2112. "edgeType": "INCLUDE",
  2113. "edgeTypeKeyFromProperties": "edge_type",
  2114. "data": {
  2115. "edge_type": "INCLUDE",
  2116. "id": "UNSET+http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
  2117. "source": "UNSET",
  2118. "target": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
  2119. "total_times": 3451
  2120. }
  2121. }, {
  2122. "source": "[\"/app/shippingservice\"]",
  2123. "target": "demo-shippingservice-578cc49876-5mg5p",
  2124. "edgeType": "IN",
  2125. "edgeTypeKeyFromProperties": "edge_type",
  2126. "data": {
  2127. "edge_type": "IN",
  2128. "id": "[\"/app/shippingservice\"]+demo-shippingservice-578cc49876-5mg5p",
  2129. "source": "[\"/app/shippingservice\"]",
  2130. "target": "demo-shippingservice-578cc49876-5mg5p",
  2131. "total_times": 462
  2132. }
  2133. }, {
  2134. "source": "EmptyCart",
  2135. "target": "checkoutservice",
  2136. "edgeType": "BELONG",
  2137. "edgeTypeKeyFromProperties": "edge_type",
  2138. "data": {
  2139. "edge_type": "BELONG",
  2140. "id": "EmptyCart+checkoutservice",
  2141. "source": "EmptyCart",
  2142. "target": "checkoutservice",
  2143. "total_times": 872
  2144. }
  2145. }, {
  2146. "source": "k8sw3",
  2147. "target": "unkonw",
  2148. "edgeType": "IN",
  2149. "edgeTypeKeyFromProperties": "edge_type",
  2150. "data": {
  2151. "edge_type": "IN",
  2152. "id": "k8sw3+unkonw",
  2153. "source": "k8sw3",
  2154. "target": "unkonw",
  2155. "total_times": 95
  2156. }
  2157. }, {
  2158. "source": "emailservice",
  2159. "target": "email_server.rb",
  2160. "edgeType": "INCLUDE",
  2161. "edgeTypeKeyFromProperties": "edge_type",
  2162. "data": {
  2163. "edge_type": "INCLUDE",
  2164. "id": "emailservice+email_server.rb",
  2165. "source": "emailservice",
  2166. "target": "email_server.rb",
  2167. "total_times": 72
  2168. }
  2169. }, {
  2170. "source": "cest-2",
  2171. "target": "unkonw",
  2172. "edgeType": "IN",
  2173. "edgeTypeKeyFromProperties": "edge_type",
  2174. "data": {
  2175. "edge_type": "IN",
  2176. "id": "cest-2+unkonw",
  2177. "source": "cest-2",
  2178. "target": "unkonw",
  2179. "total_times": 95
  2180. }
  2181. }, {
  2182. "source": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
  2183. "target": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
  2184. "edgeType": "IN",
  2185. "edgeTypeKeyFromProperties": "edge_type",
  2186. "data": {
  2187. "edge_type": "IN",
  2188. "id": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]+demo-frauddetectionservice-5c5b4798dc-tp2g4",
  2189. "source": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
  2190. "target": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
  2191. "total_times": 462
  2192. }
  2193. }, {
  2194. "source": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
  2195. "target": "k8sm3",
  2196. "edgeType": "IN",
  2197. "edgeTypeKeyFromProperties": "edge_type",
  2198. "data": {
  2199. "edge_type": "IN",
  2200. "id": "demo-frauddetectionservice-5c5b4798dc-tp2g4+k8sm3",
  2201. "source": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
  2202. "target": "k8sm3",
  2203. "total_times": 187
  2204. }
  2205. }, {
  2206. "source": "UNSET",
  2207. "target": "GetProduct",
  2208. "edgeType": "INCLUDE",
  2209. "edgeTypeKeyFromProperties": "edge_type",
  2210. "data": {
  2211. "edge_type": "INCLUDE",
  2212. "id": "UNSET+GetProduct",
  2213. "source": "UNSET",
  2214. "target": "GetProduct",
  2215. "total_times": 3451
  2216. }
  2217. }, {
  2218. "source": "paymentservice",
  2219. "target": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
  2220. "edgeType": "INCLUDE",
  2221. "edgeTypeKeyFromProperties": "edge_type",
  2222. "data": {
  2223. "edge_type": "INCLUDE",
  2224. "id": "paymentservice+[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
  2225. "source": "paymentservice",
  2226. "target": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
  2227. "total_times": 72
  2228. }
  2229. }, {
  2230. "source": "k8sm2",
  2231. "target": "unkonw",
  2232. "edgeType": "IN",
  2233. "edgeTypeKeyFromProperties": "edge_type",
  2234. "data": {
  2235. "edge_type": "IN",
  2236. "id": "k8sm2+unkonw",
  2237. "source": "k8sm2",
  2238. "target": "unkonw",
  2239. "total_times": 95
  2240. }
  2241. }, {
  2242. "source": "k8sm3",
  2243. "target": "unkonw",
  2244. "edgeType": "IN",
  2245. "edgeTypeKeyFromProperties": "edge_type",
  2246. "data": {
  2247. "edge_type": "IN",
  2248. "id": "k8sm3+unkonw",
  2249. "source": "k8sm3",
  2250. "target": "unkonw",
  2251. "total_times": 95
  2252. }
  2253. }, {
  2254. "source": "productcatalogservice",
  2255. "target": "[\"./productcatalogservice\"]",
  2256. "edgeType": "INCLUDE",
  2257. "edgeTypeKeyFromProperties": "edge_type",
  2258. "data": {
  2259. "edge_type": "INCLUDE",
  2260. "id": "productcatalogservice+[\"./productcatalogservice\"]",
  2261. "source": "productcatalogservice",
  2262. "target": "[\"./productcatalogservice\"]",
  2263. "total_times": 72
  2264. }
  2265. }, {
  2266. "source": "unknow-api",
  2267. "target": "cartservice",
  2268. "edgeType": "BELONG",
  2269. "edgeTypeKeyFromProperties": "edge_type",
  2270. "data": {
  2271. "edge_type": "BELONG",
  2272. "id": "unknow-api+cartservice",
  2273. "source": "unknow-api",
  2274. "target": "cartservice",
  2275. "total_times": 872
  2276. }
  2277. }, {
  2278. "source": "PlaceOrder",
  2279. "target": "checkoutservice",
  2280. "edgeType": "BELONG",
  2281. "edgeTypeKeyFromProperties": "edge_type",
  2282. "data": {
  2283. "edge_type": "BELONG",
  2284. "id": "PlaceOrder+checkoutservice",
  2285. "source": "PlaceOrder",
  2286. "target": "checkoutservice",
  2287. "total_times": 872
  2288. }
  2289. }, {
  2290. "source": "UNSET",
  2291. "target": "ShipOrder",
  2292. "edgeType": "INCLUDE",
  2293. "edgeTypeKeyFromProperties": "edge_type",
  2294. "data": {
  2295. "edge_type": "INCLUDE",
  2296. "id": "UNSET+ShipOrder",
  2297. "source": "UNSET",
  2298. "target": "ShipOrder",
  2299. "total_times": 3451
  2300. }
  2301. }, {
  2302. "source": "UNSET",
  2303. "target": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
  2304. "edgeType": "INCLUDE",
  2305. "edgeTypeKeyFromProperties": "edge_type",
  2306. "data": {
  2307. "edge_type": "INCLUDE",
  2308. "id": "UNSET+http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
  2309. "source": "UNSET",
  2310. "target": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
  2311. "total_times": 3451
  2312. }
  2313. }, {
  2314. "source": "unknow-process",
  2315. "target": "demo-cartservice-6b4bb7b7c7-8b5pp",
  2316. "edgeType": "IN",
  2317. "edgeTypeKeyFromProperties": "edge_type",
  2318. "data": {
  2319. "edge_type": "IN",
  2320. "id": "unknow-process+demo-cartservice-6b4bb7b7c7-8b5pp",
  2321. "source": "unknow-process",
  2322. "target": "demo-cartservice-6b4bb7b7c7-8b5pp",
  2323. "total_times": 462
  2324. }
  2325. }, {
  2326. "source": "UNSET",
  2327. "target": "Convert",
  2328. "edgeType": "INCLUDE",
  2329. "edgeTypeKeyFromProperties": "edge_type",
  2330. "data": {
  2331. "edge_type": "INCLUDE",
  2332. "id": "UNSET+Convert",
  2333. "source": "UNSET",
  2334. "target": "Convert",
  2335. "total_times": 3451
  2336. }
  2337. }, {
  2338. "source": "demo-featureflagservice-5d9ddf5c6-4j848",
  2339. "target": "cest-2",
  2340. "edgeType": "IN",
  2341. "edgeTypeKeyFromProperties": "edge_type",
  2342. "data": {
  2343. "edge_type": "IN",
  2344. "id": "demo-featureflagservice-5d9ddf5c6-4j848+cest-2",
  2345. "source": "demo-featureflagservice-5d9ddf5c6-4j848",
  2346. "target": "cest-2",
  2347. "total_times": 187
  2348. }
  2349. }, {
  2350. "source": "demo-frontend-67fcb8c768-7knmz",
  2351. "target": "k8sw4",
  2352. "edgeType": "IN",
  2353. "edgeTypeKeyFromProperties": "edge_type",
  2354. "data": {
  2355. "edge_type": "IN",
  2356. "id": "demo-frontend-67fcb8c768-7knmz+k8sw4",
  2357. "source": "demo-frontend-67fcb8c768-7knmz",
  2358. "target": "k8sw4",
  2359. "total_times": 187
  2360. }
  2361. }, {
  2362. "source": "UNSET",
  2363. "target": "Charge",
  2364. "edgeType": "INCLUDE",
  2365. "edgeTypeKeyFromProperties": "edge_type",
  2366. "data": {
  2367. "edge_type": "INCLUDE",
  2368. "id": "UNSET+Charge",
  2369. "source": "UNSET",
  2370. "target": "Charge",
  2371. "total_times": 3451
  2372. }
  2373. }, {
  2374. "source": "UNSET",
  2375. "target": "http://demo-quoteservice:8080/getquote",
  2376. "edgeType": "INCLUDE",
  2377. "edgeTypeKeyFromProperties": "edge_type",
  2378. "data": {
  2379. "edge_type": "INCLUDE",
  2380. "id": "UNSET+http://demo-quoteservice:8080/getquote",
  2381. "source": "UNSET",
  2382. "target": "http://demo-quoteservice:8080/getquote",
  2383. "total_times": 3451
  2384. }
  2385. }, {
  2386. "source": "GetProduct",
  2387. "target": "checkoutservice",
  2388. "edgeType": "BELONG",
  2389. "edgeTypeKeyFromProperties": "edge_type",
  2390. "data": {
  2391. "edge_type": "BELONG",
  2392. "id": "GetProduct+checkoutservice",
  2393. "source": "GetProduct",
  2394. "target": "checkoutservice",
  2395. "total_times": 872
  2396. }
  2397. }, {
  2398. "source": "UNSET",
  2399. "target": "unknow-api",
  2400. "edgeType": "INCLUDE",
  2401. "edgeTypeKeyFromProperties": "edge_type",
  2402. "data": {
  2403. "edge_type": "INCLUDE",
  2404. "id": "UNSET+unknow-api",
  2405. "source": "UNSET",
  2406. "target": "unknow-api",
  2407. "total_times": 3451
  2408. }
  2409. }, {
  2410. "source": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
  2411. "target": "demo-paymentservice-58876f5f49-ftf2m",
  2412. "edgeType": "IN",
  2413. "edgeTypeKeyFromProperties": "edge_type",
  2414. "data": {
  2415. "edge_type": "IN",
  2416. "id": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]+demo-paymentservice-58876f5f49-ftf2m",
  2417. "source": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
  2418. "target": "demo-paymentservice-58876f5f49-ftf2m",
  2419. "total_times": 462
  2420. }
  2421. }, {
  2422. "source": "demo-frontendproxy:8080/api/checkout",
  2423. "target": "frontend",
  2424. "edgeType": "BELONG",
  2425. "edgeTypeKeyFromProperties": "edge_type",
  2426. "data": {
  2427. "edge_type": "BELONG",
  2428. "id": "demo-frontendproxy:8080/api/checkout+frontend",
  2429. "source": "demo-frontendproxy:8080/api/checkout",
  2430. "target": "frontend",
  2431. "total_times": 872
  2432. }
  2433. }, {
  2434. "source": "[\"./checkoutservice\"]",
  2435. "target": "demo-checkoutservice-55ddc8cbbb-h2qlk",
  2436. "edgeType": "IN",
  2437. "edgeTypeKeyFromProperties": "edge_type",
  2438. "data": {
  2439. "edge_type": "IN",
  2440. "id": "[\"./checkoutservice\"]+demo-checkoutservice-55ddc8cbbb-h2qlk",
  2441. "source": "[\"./checkoutservice\"]",
  2442. "target": "demo-checkoutservice-55ddc8cbbb-h2qlk",
  2443. "total_times": 462
  2444. }
  2445. }, {
  2446. "source": "http://demo-emailservice:8080/send_order_confirmation",
  2447. "target": "checkoutservice",
  2448. "edgeType": "BELONG",
  2449. "edgeTypeKeyFromProperties": "edge_type",
  2450. "data": {
  2451. "edge_type": "BELONG",
  2452. "id": "http://demo-emailservice:8080/send_order_confirmation+checkoutservice",
  2453. "source": "http://demo-emailservice:8080/send_order_confirmation",
  2454. "target": "checkoutservice",
  2455. "total_times": 872
  2456. }
  2457. }, {
  2458. "source": "unknow-api",
  2459. "target": "emailservice",
  2460. "edgeType": "BELONG",
  2461. "edgeTypeKeyFromProperties": "edge_type",
  2462. "data": {
  2463. "edge_type": "BELONG",
  2464. "id": "unknow-api+emailservice",
  2465. "source": "unknow-api",
  2466. "target": "emailservice",
  2467. "total_times": 872
  2468. }
  2469. }, {
  2470. "source": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
  2471. "target": "cartservice",
  2472. "edgeType": "BELONG",
  2473. "edgeTypeKeyFromProperties": "edge_type",
  2474. "data": {
  2475. "edge_type": "BELONG",
  2476. "id": "http://demo-cartservice:8080/oteldemo.CartService/GetCart+cartservice",
  2477. "source": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
  2478. "target": "cartservice",
  2479. "total_times": 872
  2480. }
  2481. }, {
  2482. "source": "unknow-api",
  2483. "target": "accountingservice",
  2484. "edgeType": "BELONG",
  2485. "edgeTypeKeyFromProperties": "edge_type",
  2486. "data": {
  2487. "edge_type": "BELONG",
  2488. "id": "unknow-api+accountingservice",
  2489. "source": "unknow-api",
  2490. "target": "accountingservice",
  2491. "total_times": 872
  2492. }
  2493. }, {
  2494. "source": "GetCart",
  2495. "target": "checkoutservice",
  2496. "edgeType": "BELONG",
  2497. "edgeTypeKeyFromProperties": "edge_type",
  2498. "data": {
  2499. "edge_type": "BELONG",
  2500. "id": "GetCart+checkoutservice",
  2501. "source": "GetCart",
  2502. "target": "checkoutservice",
  2503. "total_times": 872
  2504. }
  2505. }, {
  2506. "source": "unknow-api",
  2507. "target": "frauddetectionservice",
  2508. "edgeType": "BELONG",
  2509. "edgeTypeKeyFromProperties": "edge_type",
  2510. "data": {
  2511. "edge_type": "BELONG",
  2512. "id": "unknow-api+frauddetectionservice",
  2513. "source": "unknow-api",
  2514. "target": "frauddetectionservice",
  2515. "total_times": 872
  2516. }
  2517. }, {
  2518. "source": "unknow-api",
  2519. "target": "paymentservice",
  2520. "edgeType": "BELONG",
  2521. "edgeTypeKeyFromProperties": "edge_type",
  2522. "data": {
  2523. "edge_type": "BELONG",
  2524. "id": "unknow-api+paymentservice",
  2525. "source": "unknow-api",
  2526. "target": "paymentservice",
  2527. "total_times": 872
  2528. }
  2529. }, {
  2530. "source": "GetFlag",
  2531. "target": "productcatalogservice",
  2532. "edgeType": "BELONG",
  2533. "edgeTypeKeyFromProperties": "edge_type",
  2534. "data": {
  2535. "edge_type": "BELONG",
  2536. "id": "GetFlag+productcatalogservice",
  2537. "source": "GetFlag",
  2538. "target": "productcatalogservice",
  2539. "total_times": 872
  2540. }
  2541. }, {
  2542. "source": "[\"public/index.php\"]",
  2543. "target": "demo-quoteservice-667cfcd77c-tb66j",
  2544. "edgeType": "IN",
  2545. "edgeTypeKeyFromProperties": "edge_type",
  2546. "data": {
  2547. "edge_type": "IN",
  2548. "id": "[\"public/index.php\"]+demo-quoteservice-667cfcd77c-tb66j",
  2549. "source": "[\"public/index.php\"]",
  2550. "target": "demo-quoteservice-667cfcd77c-tb66j",
  2551. "total_times": 462
  2552. }
  2553. }, {
  2554. "source": "UNSET",
  2555. "target": "GetCart",
  2556. "edgeType": "INCLUDE",
  2557. "edgeTypeKeyFromProperties": "edge_type",
  2558. "data": {
  2559. "edge_type": "INCLUDE",
  2560. "id": "UNSET+GetCart",
  2561. "source": "UNSET",
  2562. "target": "GetCart",
  2563. "total_times": 3451
  2564. }
  2565. }, {
  2566. "source": "email_server.rb",
  2567. "target": "demo-emailservice-7d769b96b8-p68hw",
  2568. "edgeType": "IN",
  2569. "edgeTypeKeyFromProperties": "edge_type",
  2570. "data": {
  2571. "edge_type": "IN",
  2572. "id": "email_server.rb+demo-emailservice-7d769b96b8-p68hw",
  2573. "source": "email_server.rb",
  2574. "target": "demo-emailservice-7d769b96b8-p68hw",
  2575. "total_times": 462
  2576. }
  2577. }, {
  2578. "source": "demo-paymentservice-58876f5f49-ftf2m",
  2579. "target": "k8sm1",
  2580. "edgeType": "IN",
  2581. "edgeTypeKeyFromProperties": "edge_type",
  2582. "data": {
  2583. "edge_type": "IN",
  2584. "id": "demo-paymentservice-58876f5f49-ftf2m+k8sm1",
  2585. "source": "demo-paymentservice-58876f5f49-ftf2m",
  2586. "target": "k8sm1",
  2587. "total_times": 187
  2588. }
  2589. }, {
  2590. "source": "http://demo-quoteservice:8080/getquote",
  2591. "target": "shippingservice",
  2592. "edgeType": "BELONG",
  2593. "edgeTypeKeyFromProperties": "edge_type",
  2594. "data": {
  2595. "edge_type": "BELONG",
  2596. "id": "http://demo-quoteservice:8080/getquote+shippingservice",
  2597. "source": "http://demo-quoteservice:8080/getquote",
  2598. "target": "shippingservice",
  2599. "total_times": 872
  2600. }
  2601. }, {
  2602. "source": "Convert",
  2603. "target": "checkoutservice",
  2604. "edgeType": "BELONG",
  2605. "edgeTypeKeyFromProperties": "edge_type",
  2606. "data": {
  2607. "edge_type": "BELONG",
  2608. "id": "Convert+checkoutservice",
  2609. "source": "Convert",
  2610. "target": "checkoutservice",
  2611. "total_times": 872
  2612. }
  2613. }, {
  2614. "source": "unknow-api",
  2615. "target": "quoteservice",
  2616. "edgeType": "BELONG",
  2617. "edgeTypeKeyFromProperties": "edge_type",
  2618. "data": {
  2619. "edge_type": "BELONG",
  2620. "id": "unknow-api+quoteservice",
  2621. "source": "unknow-api",
  2622. "target": "quoteservice",
  2623. "total_times": 872
  2624. }
  2625. }, {
  2626. "source": "UNSET",
  2627. "target": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
  2628. "edgeType": "INCLUDE",
  2629. "edgeTypeKeyFromProperties": "edge_type",
  2630. "data": {
  2631. "edge_type": "INCLUDE",
  2632. "id": "UNSET+http://demo-cartservice:8080/oteldemo.CartService/GetCart",
  2633. "source": "UNSET",
  2634. "target": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
  2635. "total_times": 3451
  2636. }
  2637. }, {
  2638. "source": "demo-checkoutservice-55ddc8cbbb-h2qlk",
  2639. "target": "k8sm2",
  2640. "edgeType": "IN",
  2641. "edgeTypeKeyFromProperties": "edge_type",
  2642. "data": {
  2643. "edge_type": "IN",
  2644. "id": "demo-checkoutservice-55ddc8cbbb-h2qlk+k8sm2",
  2645. "source": "demo-checkoutservice-55ddc8cbbb-h2qlk",
  2646. "target": "k8sm2",
  2647. "total_times": 187
  2648. }
  2649. }, {
  2650. "source": "GetQuote",
  2651. "target": "checkoutservice",
  2652. "edgeType": "BELONG",
  2653. "edgeTypeKeyFromProperties": "edge_type",
  2654. "data": {
  2655. "edge_type": "BELONG",
  2656. "id": "GetQuote+checkoutservice",
  2657. "source": "GetQuote",
  2658. "target": "checkoutservice",
  2659. "total_times": 872
  2660. }
  2661. }, {
  2662. "source": "featureflagservice",
  2663. "target": "unknow-process",
  2664. "edgeType": "INCLUDE",
  2665. "edgeTypeKeyFromProperties": "edge_type",
  2666. "data": {
  2667. "edge_type": "INCLUDE",
  2668. "id": "featureflagservice+unknow-process",
  2669. "source": "featureflagservice",
  2670. "target": "unknow-process",
  2671. "total_times": 72
  2672. }
  2673. }, {
  2674. "source": "GetProduct",
  2675. "target": "productcatalogservice",
  2676. "edgeType": "BELONG",
  2677. "edgeTypeKeyFromProperties": "edge_type",
  2678. "data": {
  2679. "edge_type": "BELONG",
  2680. "id": "GetProduct+productcatalogservice",
  2681. "source": "GetProduct",
  2682. "target": "productcatalogservice",
  2683. "total_times": 872
  2684. }
  2685. }, {
  2686. "source": "demo-shippingservice-578cc49876-5mg5p",
  2687. "target": "k8sm2",
  2688. "edgeType": "IN",
  2689. "edgeTypeKeyFromProperties": "edge_type",
  2690. "data": {
  2691. "edge_type": "IN",
  2692. "id": "demo-shippingservice-578cc49876-5mg5p+k8sm2",
  2693. "source": "demo-shippingservice-578cc49876-5mg5p",
  2694. "target": "k8sm2",
  2695. "total_times": 187
  2696. }
  2697. }, {
  2698. "source": "UNSET",
  2699. "target": "GetFlag",
  2700. "edgeType": "INCLUDE",
  2701. "edgeTypeKeyFromProperties": "edge_type",
  2702. "data": {
  2703. "edge_type": "INCLUDE",
  2704. "id": "UNSET+GetFlag",
  2705. "source": "UNSET",
  2706. "target": "GetFlag",
  2707. "total_times": 3451
  2708. }
  2709. }, {
  2710. "source": "demo-cartservice-6b4bb7b7c7-8b5pp",
  2711. "target": "k8sw3",
  2712. "edgeType": "IN",
  2713. "edgeTypeKeyFromProperties": "edge_type",
  2714. "data": {
  2715. "edge_type": "IN",
  2716. "id": "demo-cartservice-6b4bb7b7c7-8b5pp+k8sw3",
  2717. "source": "demo-cartservice-6b4bb7b7c7-8b5pp",
  2718. "target": "k8sw3",
  2719. "total_times": 187
  2720. }
  2721. }, {
  2722. "source": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
  2723. "target": "cartservice",
  2724. "edgeType": "BELONG",
  2725. "edgeTypeKeyFromProperties": "edge_type",
  2726. "data": {
  2727. "edge_type": "BELONG",
  2728. "id": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart+cartservice",
  2729. "source": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
  2730. "target": "cartservice",
  2731. "total_times": 872
  2732. }
  2733. }, {
  2734. "source": "UNSET",
  2735. "target": "http://demo-emailservice:8080/send_order_confirmation",
  2736. "edgeType": "INCLUDE",
  2737. "edgeTypeKeyFromProperties": "edge_type",
  2738. "data": {
  2739. "edge_type": "INCLUDE",
  2740. "id": "UNSET+http://demo-emailservice:8080/send_order_confirmation",
  2741. "source": "UNSET",
  2742. "target": "http://demo-emailservice:8080/send_order_confirmation",
  2743. "total_times": 3451
  2744. }
  2745. }, {
  2746. "source": "checkoutservice",
  2747. "target": "[\"./checkoutservice\"]",
  2748. "edgeType": "INCLUDE",
  2749. "edgeTypeKeyFromProperties": "edge_type",
  2750. "data": {
  2751. "edge_type": "INCLUDE",
  2752. "id": "checkoutservice+[\"./checkoutservice\"]",
  2753. "source": "checkoutservice",
  2754. "target": "[\"./checkoutservice\"]",
  2755. "total_times": 72
  2756. }
  2757. }, {
  2758. "source": "UNSET",
  2759. "target": "PlaceOrder",
  2760. "edgeType": "INCLUDE",
  2761. "edgeTypeKeyFromProperties": "edge_type",
  2762. "data": {
  2763. "edge_type": "INCLUDE",
  2764. "id": "UNSET+PlaceOrder",
  2765. "source": "UNSET",
  2766. "target": "PlaceOrder",
  2767. "total_times": 3451
  2768. }
  2769. }, {
  2770. "source": "unknow-process",
  2771. "target": "demo-currencyservice-7d86b5b96d-52rl8",
  2772. "edgeType": "IN",
  2773. "edgeTypeKeyFromProperties": "edge_type",
  2774. "data": {
  2775. "edge_type": "IN",
  2776. "id": "unknow-process+demo-currencyservice-7d86b5b96d-52rl8",
  2777. "source": "unknow-process",
  2778. "target": "demo-currencyservice-7d86b5b96d-52rl8",
  2779. "total_times": 462
  2780. }
  2781. }, {
  2782. "source": "demo-emailservice-7d769b96b8-p68hw",
  2783. "target": "k8sw4",
  2784. "edgeType": "IN",
  2785. "edgeTypeKeyFromProperties": "edge_type",
  2786. "data": {
  2787. "edge_type": "IN",
  2788. "id": "demo-emailservice-7d769b96b8-p68hw+k8sw4",
  2789. "source": "demo-emailservice-7d769b96b8-p68hw",
  2790. "target": "k8sw4",
  2791. "total_times": 187
  2792. }
  2793. }, {
  2794. "source": "cartservice",
  2795. "target": "unknow-process",
  2796. "edgeType": "INCLUDE",
  2797. "edgeTypeKeyFromProperties": "edge_type",
  2798. "data": {
  2799. "edge_type": "INCLUDE",
  2800. "id": "cartservice+unknow-process",
  2801. "source": "cartservice",
  2802. "target": "unknow-process",
  2803. "total_times": 72
  2804. }
  2805. }, {
  2806. "source": "[\"./productcatalogservice\"]",
  2807. "target": "demo-productcatalogservice-54f8d76964-rc2m5",
  2808. "edgeType": "IN",
  2809. "edgeTypeKeyFromProperties": "edge_type",
  2810. "data": {
  2811. "edge_type": "IN",
  2812. "id": "[\"./productcatalogservice\"]+demo-productcatalogservice-54f8d76964-rc2m5",
  2813. "source": "[\"./productcatalogservice\"]",
  2814. "target": "demo-productcatalogservice-54f8d76964-rc2m5",
  2815. "total_times": 462
  2816. }
  2817. }, {
  2818. "source": "demo-productcatalogservice-54f8d76964-rc2m5",
  2819. "target": "k8sw4",
  2820. "edgeType": "IN",
  2821. "edgeTypeKeyFromProperties": "edge_type",
  2822. "data": {
  2823. "edge_type": "IN",
  2824. "id": "demo-productcatalogservice-54f8d76964-rc2m5+k8sw4",
  2825. "source": "demo-productcatalogservice-54f8d76964-rc2m5",
  2826. "target": "k8sw4",
  2827. "total_times": 187
  2828. }
  2829. }, {
  2830. "source": "http://demo-quoteservice:8080/getquote",
  2831. "target": "quoteservice",
  2832. "edgeType": "BELONG",
  2833. "edgeTypeKeyFromProperties": "edge_type",
  2834. "data": {
  2835. "edge_type": "BELONG",
  2836. "id": "http://demo-quoteservice:8080/getquote+quoteservice",
  2837. "source": "http://demo-quoteservice:8080/getquote",
  2838. "target": "quoteservice",
  2839. "total_times": 872
  2840. }
  2841. }, {
  2842. "source": "demo-quoteservice-667cfcd77c-tb66j",
  2843. "target": "k8sm2",
  2844. "edgeType": "IN",
  2845. "edgeTypeKeyFromProperties": "edge_type",
  2846. "data": {
  2847. "edge_type": "IN",
  2848. "id": "demo-quoteservice-667cfcd77c-tb66j+k8sm2",
  2849. "source": "demo-quoteservice-667cfcd77c-tb66j",
  2850. "target": "k8sm2",
  2851. "total_times": 187
  2852. }
  2853. }, {
  2854. "source": "Charge",
  2855. "target": "checkoutservice",
  2856. "edgeType": "BELONG",
  2857. "edgeTypeKeyFromProperties": "edge_type",
  2858. "data": {
  2859. "edge_type": "BELONG",
  2860. "id": "Charge+checkoutservice",
  2861. "source": "Charge",
  2862. "target": "checkoutservice",
  2863. "total_times": 872
  2864. }
  2865. }, {
  2866. "source": "k8sm1",
  2867. "target": "alibaba_cloud_ecs",
  2868. "edgeType": "IN",
  2869. "edgeTypeKeyFromProperties": "edge_type",
  2870. "data": {
  2871. "edge_type": "IN",
  2872. "id": "k8sm1+alibaba_cloud_ecs",
  2873. "source": "k8sm1",
  2874. "target": "alibaba_cloud_ecs",
  2875. "total_times": 95
  2876. }
  2877. }, {
  2878. "source": "UNSET",
  2879. "target": "GetQuote",
  2880. "edgeType": "INCLUDE",
  2881. "edgeTypeKeyFromProperties": "edge_type",
  2882. "data": {
  2883. "edge_type": "INCLUDE",
  2884. "id": "UNSET+GetQuote",
  2885. "source": "UNSET",
  2886. "target": "GetQuote",
  2887. "total_times": 3451
  2888. }
  2889. }, {
  2890. "source": "Convert",
  2891. "target": "currencyservice",
  2892. "edgeType": "BELONG",
  2893. "edgeTypeKeyFromProperties": "edge_type",
  2894. "data": {
  2895. "edge_type": "BELONG",
  2896. "id": "Convert+currencyservice",
  2897. "source": "Convert",
  2898. "target": "currencyservice",
  2899. "total_times": 872
  2900. }
  2901. }, {
  2902. "source": "UNSET",
  2903. "target": "/send_order_confirmation",
  2904. "edgeType": "INCLUDE",
  2905. "edgeTypeKeyFromProperties": "edge_type",
  2906. "data": {
  2907. "edge_type": "INCLUDE",
  2908. "id": "UNSET+/send_order_confirmation",
  2909. "source": "UNSET",
  2910. "target": "/send_order_confirmation",
  2911. "total_times": 3451
  2912. }
  2913. }, {
  2914. "source": "GetProduct",
  2915. "target": "frontend",
  2916. "edgeType": "BELONG",
  2917. "edgeTypeKeyFromProperties": "edge_type",
  2918. "data": {
  2919. "edge_type": "BELONG",
  2920. "id": "GetProduct+frontend",
  2921. "source": "GetProduct",
  2922. "target": "frontend",
  2923. "total_times": 872
  2924. }
  2925. }, {
  2926. "source": "shippingservice",
  2927. "target": "[\"/app/shippingservice\"]",
  2928. "edgeType": "INCLUDE",
  2929. "edgeTypeKeyFromProperties": "edge_type",
  2930. "data": {
  2931. "edge_type": "INCLUDE",
  2932. "id": "shippingservice+[\"/app/shippingservice\"]",
  2933. "source": "shippingservice",
  2934. "target": "[\"/app/shippingservice\"]",
  2935. "total_times": 72
  2936. }
  2937. }, {
  2938. "source": "unknow-api",
  2939. "target": "shippingservice",
  2940. "edgeType": "BELONG",
  2941. "edgeTypeKeyFromProperties": "edge_type",
  2942. "data": {
  2943. "edge_type": "BELONG",
  2944. "id": "unknow-api+shippingservice",
  2945. "source": "unknow-api",
  2946. "target": "shippingservice",
  2947. "total_times": 872
  2948. }
  2949. }, {
  2950. "source": "accountingservice",
  2951. "target": "[\"./accountingservice\"]",
  2952. "edgeType": "INCLUDE",
  2953. "edgeTypeKeyFromProperties": "edge_type",
  2954. "data": {
  2955. "edge_type": "INCLUDE",
  2956. "id": "accountingservice+[\"./accountingservice\"]",
  2957. "source": "accountingservice",
  2958. "target": "[\"./accountingservice\"]",
  2959. "total_times": 72
  2960. }
  2961. }, {
  2962. "source": "GetFlag",
  2963. "target": "cartservice",
  2964. "edgeType": "BELONG",
  2965. "edgeTypeKeyFromProperties": "edge_type",
  2966. "data": {
  2967. "edge_type": "BELONG",
  2968. "id": "GetFlag+cartservice",
  2969. "source": "GetFlag",
  2970. "target": "cartservice",
  2971. "total_times": 872
  2972. }
  2973. }, {
  2974. "source": "unknow-api",
  2975. "target": "checkoutservice",
  2976. "edgeType": "BELONG",
  2977. "edgeTypeKeyFromProperties": "edge_type",
  2978. "data": {
  2979. "edge_type": "BELONG",
  2980. "id": "unknow-api+checkoutservice",
  2981. "source": "unknow-api",
  2982. "target": "checkoutservice",
  2983. "total_times": 872
  2984. }
  2985. }, {
  2986. "source": "quoteservice",
  2987. "target": "[\"public/index.php\"]",
  2988. "edgeType": "INCLUDE",
  2989. "edgeTypeKeyFromProperties": "edge_type",
  2990. "data": {
  2991. "edge_type": "INCLUDE",
  2992. "id": "quoteservice+[\"public/index.php\"]",
  2993. "source": "quoteservice",
  2994. "target": "[\"public/index.php\"]",
  2995. "total_times": 72
  2996. }
  2997. }, {
  2998. "source": "UNSET",
  2999. "target": "EmptyCart",
  3000. "edgeType": "INCLUDE",
  3001. "edgeTypeKeyFromProperties": "edge_type",
  3002. "data": {
  3003. "edge_type": "INCLUDE",
  3004. "id": "UNSET+EmptyCart",
  3005. "source": "UNSET",
  3006. "target": "EmptyCart",
  3007. "total_times": 3451
  3008. }
  3009. }, {
  3010. "source": "UNSET",
  3011. "target": "demo-frontendproxy:8080/api/checkout",
  3012. "edgeType": "INCLUDE",
  3013. "edgeTypeKeyFromProperties": "edge_type",
  3014. "data": {
  3015. "edge_type": "INCLUDE",
  3016. "id": "UNSET+demo-frontendproxy:8080/api/checkout",
  3017. "source": "UNSET",
  3018. "target": "demo-frontendproxy:8080/api/checkout",
  3019. "total_times": 3451
  3020. }
  3021. }, {
  3022. "source": "[\"./accountingservice\"]",
  3023. "target": "demo-accountingservice-cd5f6d56c-4n5w2",
  3024. "edgeType": "IN",
  3025. "edgeTypeKeyFromProperties": "edge_type",
  3026. "data": {
  3027. "edge_type": "IN",
  3028. "id": "[\"./accountingservice\"]+demo-accountingservice-cd5f6d56c-4n5w2",
  3029. "source": "[\"./accountingservice\"]",
  3030. "target": "demo-accountingservice-cd5f6d56c-4n5w2",
  3031. "total_times": 462
  3032. }
  3033. }, {
  3034. "source": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
  3035. "target": "cartservice",
  3036. "edgeType": "BELONG",
  3037. "edgeTypeKeyFromProperties": "edge_type",
  3038. "data": {
  3039. "edge_type": "BELONG",
  3040. "id": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag+cartservice",
  3041. "source": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
  3042. "target": "cartservice",
  3043. "total_times": 872
  3044. }
  3045. }, {
  3046. "source": "demo-currencyservice-7d86b5b96d-52rl8",
  3047. "target": "k8sw4",
  3048. "edgeType": "IN",
  3049. "edgeTypeKeyFromProperties": "edge_type",
  3050. "data": {
  3051. "edge_type": "IN",
  3052. "id": "demo-currencyservice-7d86b5b96d-52rl8+k8sw4",
  3053. "source": "demo-currencyservice-7d86b5b96d-52rl8",
  3054. "target": "k8sw4",
  3055. "total_times": 187
  3056. }
  3057. }, {
  3058. "source": "k8sw4",
  3059. "target": "unkonw",
  3060. "edgeType": "IN",
  3061. "edgeTypeKeyFromProperties": "edge_type",
  3062. "data": {
  3063. "edge_type": "IN",
  3064. "id": "k8sw4+unkonw",
  3065. "source": "k8sw4",
  3066. "target": "unkonw",
  3067. "total_times": 95
  3068. }
  3069. }, {
  3070. "source": "unknow-process",
  3071. "target": "demo-featureflagservice-5d9ddf5c6-4j848",
  3072. "edgeType": "IN",
  3073. "edgeTypeKeyFromProperties": "edge_type",
  3074. "data": {
  3075. "edge_type": "IN",
  3076. "id": "unknow-process+demo-featureflagservice-5d9ddf5c6-4j848",
  3077. "source": "unknow-process",
  3078. "target": "demo-featureflagservice-5d9ddf5c6-4j848",
  3079. "total_times": 462
  3080. }
  3081. }, {
  3082. "source": "k8sw4",
  3083. "target": "alibaba_cloud_ecs",
  3084. "edgeType": "IN",
  3085. "edgeTypeKeyFromProperties": "edge_type",
  3086. "data": {
  3087. "edge_type": "IN",
  3088. "id": "k8sw4+alibaba_cloud_ecs",
  3089. "source": "k8sw4",
  3090. "target": "alibaba_cloud_ecs",
  3091. "total_times": 95
  3092. }
  3093. }, {
  3094. "source": "__invoke",
  3095. "target": "quoteservice",
  3096. "edgeType": "BELONG",
  3097. "edgeTypeKeyFromProperties": "edge_type",
  3098. "data": {
  3099. "edge_type": "BELONG",
  3100. "id": "__invoke+quoteservice",
  3101. "source": "__invoke",
  3102. "target": "quoteservice",
  3103. "total_times": 872
  3104. }
  3105. }, {
  3106. "source": "demo-accountingservice-cd5f6d56c-4n5w2",
  3107. "target": "k8sm2",
  3108. "edgeType": "IN",
  3109. "edgeTypeKeyFromProperties": "edge_type",
  3110. "data": {
  3111. "edge_type": "IN",
  3112. "id": "demo-accountingservice-cd5f6d56c-4n5w2+k8sm2",
  3113. "source": "demo-accountingservice-cd5f6d56c-4n5w2",
  3114. "target": "k8sm2",
  3115. "total_times": 187
  3116. }
  3117. }],
  3118. "combos": []
  3119. },
  3120. schemaData: {
  3121. "nodes": [{
  3122. "nodeType": "api",
  3123. "nodeTypeKeyFromProperties": "node_type",
  3124. "properties": {
  3125. "apdex": "number",
  3126. "app_alias": "string",
  3127. "err_rate": "number",
  3128. "id": "string",
  3129. "latency": "number",
  3130. "name": "string",
  3131. "node_type": "string",
  3132. "rpc.method": "string",
  3133. "service_name": "string",
  3134. "span_kind": "string",
  3135. "timestamp": "string"
  3136. }
  3137. }, {
  3138. "nodeType": "container",
  3139. "nodeTypeKeyFromProperties": "node_type",
  3140. "properties": {
  3141. "container.id": "string",
  3142. "id": "string",
  3143. "k8s.deployment.name": "string",
  3144. "k8s.namespace.name": "string",
  3145. "k8s.node.name": "string",
  3146. "name": "string",
  3147. "node_type": "string",
  3148. "pod.ip": "string",
  3149. "pod.name": "string",
  3150. "timestamp": "string"
  3151. }
  3152. }, {
  3153. "nodeType": "os",
  3154. "nodeTypeKeyFromProperties": "node_type",
  3155. "properties": {
  3156. "disk": "number",
  3157. "id": "string",
  3158. "k8s.node.name": "string",
  3159. "load": "number",
  3160. "memory": "number",
  3161. "name": "string",
  3162. "node_type": "string",
  3163. "timestamp": "string"
  3164. }
  3165. }, {
  3166. "nodeType": "service",
  3167. "nodeTypeKeyFromProperties": "node_type",
  3168. "properties": {
  3169. "apdex": "number",
  3170. "id": "string",
  3171. "name": "string",
  3172. "node_type": "string",
  3173. "process_name": "string",
  3174. "service_name": "string",
  3175. "timestamp": "string"
  3176. }
  3177. }, {
  3178. "nodeType": "app",
  3179. "nodeTypeKeyFromProperties": "node_type",
  3180. "properties": {
  3181. "apdex": "number",
  3182. "app_alias": "string",
  3183. "id": "string",
  3184. "name": "string",
  3185. "node_type": "string",
  3186. "timestamp": "string"
  3187. }
  3188. }, {
  3189. "nodeType": "process",
  3190. "nodeTypeKeyFromProperties": "node_type",
  3191. "properties": {
  3192. "container.id": "string",
  3193. "id": "string",
  3194. "name": "string",
  3195. "node_type": "string",
  3196. "pod.name": "string",
  3197. "process.command_args": "string",
  3198. "process.executable.path": "string",
  3199. "process.runtime.description": "string",
  3200. "process.runtime.version": "string",
  3201. "process_name": "string",
  3202. "timestamp": "string"
  3203. }
  3204. }, {
  3205. "nodeType": "cloud",
  3206. "nodeTypeKeyFromProperties": "node_type",
  3207. "properties": {
  3208. "cloud.platform": "string",
  3209. "cloud.provider": "string",
  3210. "cloud.region": "string",
  3211. "id": "string",
  3212. "name": "string",
  3213. "node_type": "string",
  3214. "timestamp": "string"
  3215. }
  3216. }],
  3217. "edges": [{
  3218. "edgeType": "INCLUDE",
  3219. "edgeTypeKeyFromProperties": "edge_type",
  3220. "sourceNodeType": "service",
  3221. "targetNodeType": "process",
  3222. "properties": {
  3223. "edge_type": "string",
  3224. "id": "string",
  3225. "source": "string",
  3226. "target": "string",
  3227. "total_times": "number"
  3228. }
  3229. }, {
  3230. "edgeType": "IN",
  3231. "edgeTypeKeyFromProperties": "edge_type",
  3232. "sourceNodeType": "process",
  3233. "targetNodeType": "container",
  3234. "properties": {
  3235. "edge_type": "string",
  3236. "id": "string",
  3237. "source": "string",
  3238. "target": "string",
  3239. "total_times": "number"
  3240. }
  3241. }, {
  3242. "edgeType": "BELONG",
  3243. "edgeTypeKeyFromProperties": "edge_type",
  3244. "sourceNodeType": "api",
  3245. "targetNodeType": "service",
  3246. "properties": {
  3247. "edge_type": "string",
  3248. "id": "string",
  3249. "source": "string",
  3250. "target": "string",
  3251. "total_times": "number"
  3252. }
  3253. }]
  3254. },
  3255. };
  3256. /** 由GI平台自动生成的,请勿修改 end **/
  3257. </script>
  3258. <script type="text/babel">
  3259. //@ts-ignore
  3260. const { getCombineServices,loaderCombinedAssets } = window.GISDK.utils;
  3261. const { GI_SITE_PROJECT_ID } = SERVER_ENGINE_CONTEXT;
  3262. // 设置引擎上下文
  3263. window.localStorage.setItem( 'SERVER_ENGINE_CONTEXT', JSON.stringify(SERVER_ENGINE_CONTEXT));
  3264. const MyGraphApp= (props) => {
  3265. const [state,setState]= React.useState({
  3266. isReady:false,
  3267. assets:null,
  3268. config:{},
  3269. services:[]
  3270. });
  3271. React.useEffect(()=>{
  3272. loaderCombinedAssets(GI_ASSETS_PACKAGE).then(res=>{
  3273. /** 生成服务 */
  3274. const services = getCombineServices(res.services)
  3275. setState(preState=>{
  3276. return {
  3277. ...preState,
  3278. isReady:true,
  3279. assets:res,
  3280. services,
  3281. config:GI_PROJECT_CONFIG,
  3282. }
  3283. })
  3284. })
  3285. },[]);
  3286. const {assets,isReady,config,services} =state;
  3287. if(!isReady){
  3288. return <div>loading...</div>
  3289. }
  3290. return (
  3291. <div>
  3292. <div style={{ height: "100vh" }}>
  3293. {/** @ts-ignore */}
  3294. <window.GISDK.default
  3295. config={config}
  3296. assets={assets}
  3297. services={services}
  3298. />
  3299. </div>
  3300. </div>
  3301. );
  3302. };
  3303. // 因为没有做 external,避免多个版本react冲突,统一从window对象中获取
  3304. //@ts-ignore
  3305. window.ReactDOM.render(<MyGraphApp />, document.getElementById("root"));
  3306. </script>
  3307. </body>
  3308. </html>