gi-topo-analyst.html 97 KB

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