1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334 |
- <!DOCTYPE html>
- <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)" >
-
- <head>
- <!-- <meta charset="UTF-8" /> -->
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <!-- <meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: / 'unsafe-eval'; style-src 'self' 'unsafe-inline'; media-src *;script-src * 'unsafe-inline'"> -->
- <title>GISDK EXPORT FILE</title>
- <!--- CSS -->
- <link rel="stylesheet" href="./css/antv/graphin/2.7.25/dist/index.css" />
- <link rel="stylesheet" href="./css/antv/gi-sdk/2.4.10/dist/index.css" />
- <!--- 这里 Antd 的全局CSS样式,可以由也业务统一定制 -->
- <!---<link rel="stylesheet" href="https://gw.alipayobjects.com/os/lib/antd/4.24.8/dist/antd.css" /> -->
- <link rel="stylesheet" href="./css/antv/gi-theme-antd/0.1.0/dist/light.css" />
- <link rel="stylesheet" href="./css/antv/gi-assets-advance/2.5.12/dist/index.css" />
- <link rel="stylesheet" href="./css/antv/gi-assets-basic/2.4.14/dist/index.css" />
- <link rel="stylesheet" href="./css/antv/gi-assets-scene/2.2.11/dist/index.css" />
- <link rel="stylesheet" href="./css/antv/gi-assets-algorithm/2.3.8/dist/index.css" />
- <link rel="stylesheet" href="./js/antv/gi-assets-advance/2.5.12/dist/index.css" />
- <link rel="stylesheet" href="./js/antv/gi-assets-basic/2.4.14/dist/index.css" />
- <link rel="stylesheet" href="./js/antv/gi-assets-scene/2.2.11/dist/index.css" />
- <link rel="stylesheet" href="./js/antv/gi-assets-algorithm/2.3.8/dist/index.css" />
- <link rel="stylesheet" href="./css/iconfont/iconfont.css" />
- </head>
- <body>
- <div id="root"></div>
- <script src="./js/babel/standalone/7.19.2/babel.min.js"></script>
-
-
-
- <script src="./css/iconfont/font_3381398_29c1c449r6f.js"></script>
- <!--- REACT DEPENDENCIES-->
- <!-- <script crossorigin type="text/javascript" src="./js/react/react.production.min.js"></script>
- <script crossorigin type="text/javascript" src="./js/react-dom/react-dom.production.min.js"></script> -->
- <script crossorigin src="./js/react/17.0.2/umd/react.production.min.js"></script>
- <script crossorigin src="./js/react-dom/17.0.2/umd/react-dom.production.min.js"></script>
- <!-- <script src="./js/moment/moment.min.js" ></script> -->
- <script src="./js/localforage/1.10.0/dist/localforage.min.js"></script>
- <!--- Antd DEPENDENCIES-->
- <script src="./js/lodash/4.17.21/lodash.min.js"></script>
- <script src="./js/antd/4.24.8/dist/antd.min.js"></script>
- <!--- Graphin DEPENDENCIES-->
- <script src="./js/antv/g6/4.8.14/dist/g6.min.js"></script>
- <script src="./js/antv/graphin/2.7.25/dist/graphin.min.js"></script>
- <!--- G2/G2Plot DEPENDENCIES-->
- <script src="./js/antv/g2plot/2.4.16/dist/g2plot.min.js"></script>
- <!--- GI DEPENDENCIES-->
- <script src="./js/antv/gi-sdk/2.4.10/dist/index.min.js"></script>
- <script>
- /** 由GI平台自动生成的,请勿修改 start **/
- const GI_ASSETS_PACKAGE = [{
- "name": "@antv/gi-assets-advance",
- "version": "2.5.12",
- "url": "./js/os/lib/antv/gi-assets-advance/2.5.12/dist/index.min.js",
- "global": "GI_ASSETS_ADVANCE"
- }, {
- "name": "@antv/gi-assets-basic",
- "version": "2.4.14",
- "url": "./js/os/lib/antv/gi-assets-basic/2.4.14/dist/index.min.js",
- "global": "GI_ASSETS_BASIC"
- }, {
- "name": "@antv/gi-assets-scene",
- "version": "2.2.11",
- "url": "./js/os/lib/antv/gi-assets-scene/2.2.11/dist/index.min.js",
- "global": "GI_ASSETS_SCENE"
- }, {
- "name": "@antv/gi-assets-algorithm",
- "version": "2.3.8",
- "url": "./js/os/lib/antv/gi-assets-algorithm/2.3.8/dist/index.min.js",
- "global": "GI_ASSETS_ALGORITHM"
- }];
- // const GI_ASSETS_PACKAGE = [{
- // "name": "@antv/gi-assets-advance",
- // "version": "2.5.12",
- // "url": "https://gw.alipayobjects.com/os/lib/antv/gi-assets-advance/2.5.12/dist/index.min.js",
- // "global": "GI_ASSETS_ADVANCE"
- // }, {
- // "name": "@antv/gi-assets-basic",
- // "version": "2.4.14",
- // "url": "https://gw.alipayobjects.com/os/lib/antv/gi-assets-basic/2.4.14/dist/index.min.js",
- // "global": "GI_ASSETS_BASIC"
- // }, {
- // "name": "@antv/gi-assets-scene",
- // "version": "2.2.11",
- // "url": "https://gw.alipayobjects.com/os/lib/antv/gi-assets-scene/2.2.11/dist/index.min.js",
- // "global": "GI_ASSETS_SCENE"
- // }, {
- // "name": "@antv/gi-assets-algorithm",
- // "version": "2.3.8",
- // "url": "https://gw.alipayobjects.com/os/lib/antv/gi-assets-algorithm/2.3.8/dist/index.min.js",
- // "global": "GI_ASSETS_ALGORITHM"
- // }];
- const SERVER_ENGINE_CONTEXT= {
- "GI_SITE_PROJECT_ID": "ae8aadf3-31c7-4dfb-9bb0-2129c0459a9e",
- "engineId": "GI"
- };
- const GI_PROJECT_CONFIG = {
- "nodes": [{
- "id": "SimpleNode",
- "props": {
- "size": 26,
- "color": "#ddd",
- "label": [],
- "advanced": {
- "label": {
- "fill": "#000"
- }
- }
- },
- "name": "官方节点",
- "order": -1,
- "expressions": [],
- "logic": true,
- "groupName": "默认样式"
- }, {
- "id": "SimpleNode",
- "props": {
- "size": 26,
- "color": "#3056E3",
- "label": ["app^^id"],
- "advanced": {
- "label": {
- "fill": "#000"
- }
- }
- },
- "name": "官方节点",
- "expressions": [{
- "name": "node_type",
- "operator": "eql",
- "value": "app"
- }],
- "order": 0,
- "logic": true,
- "groupName": "APP TYPE"
- }, {
- "id": "SimpleNode",
- "props": {
- "size": 26,
- "color": "#faad14",
- "label": ["service^^id"],
- "advanced": {
- "label": {
- "fill": "#000"
- }
- }
- },
- "name": "官方节点",
- "expressions": [{
- "name": "node_type",
- "operator": "eql",
- "value": "service"
- }],
- "order": 1,
- "logic": true,
- "groupName": "SERVICE TYPE"
- }, {
- "id": "SimpleNode",
- "props": {
- "size": 26,
- "color": "#a0d911",
- "label": ["container^^id"],
- "advanced": {
- "label": {
- "fill": "#000"
- }
- }
- },
- "name": "官方节点",
- "expressions": [{
- "name": "node_type",
- "operator": "eql",
- "value": "container"
- }],
- "order": 2,
- "logic": true,
- "groupName": "CONTAINER TYPE"
- }, {
- "id": "SimpleNode",
- "props": {
- "size": 26,
- "color": "#f5222d",
- "label": ["api^^id"],
- "advanced": {
- "label": {
- "fill": "#000"
- }
- }
- },
- "name": "官方节点",
- "expressions": [{
- "name": "node_type",
- "operator": "eql",
- "value": "api"
- }],
- "order": 3,
- "logic": true,
- "groupName": "API TYPE"
- }, {
- "id": "SimpleNode",
- "props": {
- "size": 26,
- "color": "#722ed1",
- "label": ["cloud^^id"],
- "advanced": {
- "label": {
- "fill": "#000"
- }
- }
- },
- "name": "官方节点",
- "expressions": [{
- "name": "node_type",
- "operator": "eql",
- "value": "cloud"
- }],
- "order": 4,
- "logic": true,
- "groupName": "CLOUD TYPE"
- }, {
- "id": "SimpleNode",
- "props": {
- "size": 26,
- "color": "#eb2f96",
- "label": ["process^^id"],
- "advanced": {
- "label": {
- "fill": "#000"
- }
- }
- },
- "name": "官方节点",
- "expressions": [{
- "name": "node_type",
- "operator": "eql",
- "value": "process"
- }],
- "order": 5,
- "logic": true,
- "groupName": "PROCESS TYPE"
- }, {
- "id": "SimpleNode",
- "props": {
- "size": 26,
- "color": "#2f54eb",
- "label": ["os^^id"],
- "advanced": {
- "label": {
- "fill": "#000"
- }
- }
- },
- "name": "官方节点",
- "expressions": [{
- "name": "node_type",
- "operator": "eql",
- "value": "os"
- }],
- "order": 6,
- "logic": true,
- "groupName": "OS TYPE"
- }],
- "edges": [{
- "id": "SimpleEdge",
- "props": {
- "size": 1,
- "color": "#ddd",
- "label": []
- },
- "groupName": "默认样式",
- "expressions": [],
- "logic": true
- }, {
- "id": "SimpleEdge",
- "props": {
- "size": 1,
- "color": "#f5222d",
- "label": [],
- "advanced": {
- "keyshape": {
- "hasArrow": true,
- "customPoly": false,
- "lineDash": [],
- "opacity": 1
- },
- "label": {
- "visible": true,
- "fontSize": 12,
- "offset": [0, 0],
- "fill": "#ddd",
- "backgroundEnable": true,
- "backgroundFill": "#fff",
- "backgroundStroke": "#fff"
- },
- "animate": {
- "visible": true,
- "type": "circle-running",
- "dotColor": "red",
- "repeat": true,
- "duration": 3000
- }
- }
- },
- "groupName": "BELONG TYPE",
- "expressions": [{
- "name": "edge_type",
- "operator": "eql",
- "value": "BELONG"
- }],
- "logic": true
- }, {
- "id": "SimpleEdge",
- "props": {
- "size": 1,
- "color": "#3056E3",
- "label": [],
- "advanced": {
- "keyshape": {
- "hasArrow": true,
- "customPoly": false,
- "lineDash": [],
- "opacity": 1
- },
- "label": {
- "visible": true,
- "fontSize": 12,
- "offset": [0, 0],
- "fill": "#ddd",
- "backgroundEnable": true,
- "backgroundFill": "#fff",
- "backgroundStroke": "#fff"
- },
- "animate": {
- "visible": true
- }
- }
- },
- "groupName": "INCLUDE TYPE",
- "expressions": [{
- "name": "edge_type",
- "operator": "eql",
- "value": "INCLUDE"
- }],
- "logic": true
- }, {
- "id": "SimpleEdge",
- "props": {
- "size": 1,
- "color": "#2f54eb",
- "label": [],
- "advanced": {
- "keyshape": {
- "hasArrow": true,
- "customPoly": false,
- "lineDash": [],
- "opacity": 1
- },
- "label": {
- "visible": true,
- "fontSize": 12,
- "offset": [0, 0],
- "fill": "#ddd",
- "backgroundEnable": true,
- "backgroundFill": "#fff",
- "backgroundStroke": "#fff"
- },
- "animate": {
- "visible": true
- }
- }
- },
- "groupName": "IN TYPE",
- "expressions": [{
- "name": "edge_type",
- "operator": "eql",
- "value": "IN"
- }],
- "logic": true
- }],
- "components": [{
- "id": "ActivateRelations",
- "type": "AUTO",
- "name": "元素高亮",
- "props": {
- "enableNodeHover": true,
- "enableEdgeHover": true,
- "enable": true,
- "trigger": "click",
- "upstreamDegree": 1,
- "downstreamDegree": 1,
- "multiSelectEnabled": false,
- "modifierKey": "alt"
- }
- }, {
- "id": "CanvasSetting",
- "type": "AUTO",
- "name": "画布设置",
- "props": {
- "styleCanvas": {
- "backgroundColor": "#fff",
- "backgroundImage": "https://gw.alipayobjects.com/mdn/rms_0d75e8/afts/img/A*k9t4QamMuQ4AAAAAAAAAAAAAARQnAQ",
- "background": "#fff"
- },
- "dragCanvas": {
- "disabled": false,
- "direction": "both",
- "enableOptimize": true
- },
- "zoomCanvas": {
- "disabled": false,
- "enableOptimize": true
- },
- "clearStatus": true,
- "doubleClick": true
- }
- }, {
- "id": "ContextMenu",
- "type": "GICC_MENU",
- "name": "右键菜单",
- "props": {
- "GI_CONTAINER": ["NeighborsQuery", "ToggleClusterWithMenu", "PinNodeWithMenu"],
- "nodeMenuComponents": ["NeighborsQuery", "ToggleClusterWithMenu", "PinNodeWithMenu"]
- }
- }, {
- "id": "FilterPanel",
- "type": "GIAC_CONTENT",
- "name": "筛选面板",
- "props": {
- "filterKeys": [],
- "enableInfoDetect": true,
- "isFilterIsolatedNodes": true,
- "highlightMode": true,
- "filterLogic": "and",
- "histogramOptions": {
- "isCustom": false,
- "min": null,
- "max": null,
- "binWidth": null
- },
- "GI_CONTAINER_INDEX": 2,
- "GIAC_CONTENT": {
- "visible": false,
- "disabled": false,
- "isShowTitle": true,
- "title": "筛选面板",
- "isShowIcon": true,
- "icon": "icon-filter",
- "isShowTooltip": true,
- "tooltip": "通过属性筛选画布信息,可自定义",
- "tooltipColor": "#3056e3",
- "tooltipPlacement": "right",
- "hasDivider": false,
- "height": "60px",
- "isVertical": true,
- "containerType": "div",
- "containerAnimate": false,
- "containerDraggable": false,
- "dragHandle": "header",
- "containerPlacement": "RT",
- "offset": [0, 0],
- "containerWidth": "400px",
- "containerHeight": "calc(100% - 100px)",
- "contaienrMask": false
- }
- }
- }, {
- "id": "FitCenterView",
- "type": "GIAC",
- "name": "自适应居中",
- "props": {
- "GI_CONTAINER_INDEX": 2,
- "GIAC": {
- "visible": false,
- "disabled": false,
- "isShowTitle": false,
- "title": "视图自适应居中",
- "isShowIcon": true,
- "icon": "icon-fit-center",
- "isShowTooltip": true,
- "tooltip": "",
- "tooltipColor": "#3056e3",
- "tooltipPlacement": "right",
- "hasDivider": false,
- "height": "46px",
- "isVertical": true
- }
- }
- }, {
- "id": "ForceSimulation",
- "type": "GIAC",
- "name": "力导布局控制器",
- "props": {
- "autoPin": true,
- "dragNodeMass": 10000000,
- "GI_CONTAINER_INDEX": 2,
- "GIAC": {
- "visible": false,
- "disabled": false,
- "isShowTitle": false,
- "title": "力导布局控制器",
- "isShowIcon": true,
- "icon": "icon-layout-force",
- "isShowTooltip": true,
- "tooltip": "",
- "tooltipColor": "#3056e3",
- "tooltipPlacement": "right",
- "hasDivider": false,
- "height": "46px",
- "isVertical": true
- }
- }
- }, {
- "id": "GrailLayout",
- "type": "GICC_LAYOUT",
- "name": "圣杯布局",
- "props": {
- "containers": [{
- "id": "GI_CONTAINER_LEFT",
- "name": "左侧容器",
- "GI_CONTAINER": [],
- "visible": true,
- "width": "400px"
- }, {
- "id": "GI_CONTAINER_RIGHT",
- "name": "右侧容器",
- "GI_CONTAINER": [],
- "visible": true,
- "width": "400px"
- }, {
- "id": "GI_CONTAINER_BOTTOM",
- "name": "底部容器",
- "GI_CONTAINER": [],
- "visible": true,
- "height": "400px"
- }, {
- "id": "GI_CONTAINER_TOP",
- "name": "顶部容器",
- "GI_CONTAINER": [],
- "visible": false,
- "height": "200px"
- }]
- }
- }, {
- "id": "Initializer",
- "type": "INITIALIZER",
- "name": "初始化器",
- "props": {
- "serviceId": "GI/GI_SERVICE_INTIAL_GRAPH",
- "schemaServiceId": "GI/GI_SERVICE_SCHEMA",
- "GI_INITIALIZER": true,
- "aggregate": false,
- "transByFieldMapping": false
- }
- }, {
- "id": "LargeGraph",
- "type": "GIAC",
- "name": "3D大图",
- "props": {
- "visible": false,
- "minSize": "50%",
- "maxSize": "100%",
- "placement": "RB",
- "offset": [0, 0],
- "GI_CONTAINER_INDEX": 2,
- "GIAC": {
- "visible": false,
- "disabled": false,
- "isShowTitle": false,
- "title": "3D大图",
- "isShowIcon": true,
- "icon": "icon-3d",
- "isShowTooltip": true,
- "tooltip": "",
- "tooltipColor": "#3056e3",
- "tooltipPlacement": "right",
- "hasDivider": false,
- "height": "46px",
- "isVertical": true
- },
- "backgroundColor": "#fff",
- "highlightColor": "red"
- }
- }, {
- "id": "LayoutSwitch",
- "type": "GIAC",
- "name": "布局切换",
- "props": {
- "GI_CONTAINER_INDEX": 2,
- "GIAC": {
- "visible": false,
- "disabled": false,
- "isShowTitle": false,
- "title": "布局切换",
- "isShowIcon": true,
- "icon": "icon-layout",
- "isShowTooltip": false,
- "tooltip": "一键切换画布布局",
- "tooltipColor": "#3056e3",
- "tooltipPlacement": "right",
- "hasDivider": false,
- "height": "46px",
- "isVertical": true
- }
- }
- }, {
- "id": "Loading",
- "type": "AUTO",
- "name": "加载动画",
- "props": {}
- }, {
- "id": "NeighborsQuery",
- "type": "GIAC_MENU",
- "name": "邻居查询",
- "props": {
- "serviceId": "GI/NeighborsQuery",
- "degree": "1",
- "isFocus": true,
- "menuServiceId": "GI/NeighborsQueryMenu",
- "limit": 100
- }
- }, {
- "id": "NodeImportance",
- "type": "GIAC_CONTENT",
- "name": "节点重要性",
- "props": {
- "GI_CONTAINER_INDEX": 2,
- "GIAC_CONTENT": {
- "visible": false,
- "disabled": false,
- "isShowTitle": true,
- "title": "节点重要性",
- "isShowIcon": true,
- "icon": "icon-rules",
- "isShowTooltip": true,
- "tooltip": "",
- "tooltipColor": "#3056e3",
- "tooltipPlacement": "right",
- "hasDivider": false,
- "height": "60px",
- "isVertical": true,
- "containerType": "div",
- "containerAnimate": false,
- "containerDraggable": false,
- "dragHandle": "header",
- "containerPlacement": "RT",
- "offset": [0, 0],
- "containerWidth": "350px",
- "containerHeight": "calc(100% - 100px)",
- "contaienrMask": false
- }
- }
- }, {
- "id": "NodeLegend",
- "type": "AUTO",
- "name": "节点图例",
- "props": {
- "sortKey": "type",
- "textColor": "#ddd",
- "placement": "LB",
- "offset": [100, 20]
- }
- }, {
- "id": "PathAnalysis",
- "type": "GIAC_CONTENT",
- "name": "路径分析",
- "props": {
- "nodeSelectionMode": ["List", "Canvas"],
- "pathNodeLabel": "id",
- "hasDirection": false,
- "hasMaxDeep": false,
- "GI_CONTAINER_INDEX": 2,
- "GIAC_CONTENT": {
- "visible": false,
- "disabled": false,
- "isShowTitle": true,
- "title": "路径分析",
- "isShowIcon": true,
- "icon": "icon-path-analysis",
- "isShowTooltip": true,
- "tooltip": "",
- "tooltipColor": "#3056e3",
- "tooltipPlacement": "right",
- "hasDivider": false,
- "height": "60px",
- "isVertical": true,
- "containerType": "div",
- "containerAnimate": false,
- "containerDraggable": false,
- "dragHandle": "header",
- "containerPlacement": "RT",
- "offset": [0, 0],
- "containerWidth": "400px",
- "containerHeight": "calc(100% - 100px)",
- "contaienrMask": false
- }
- }
- }, {
- "id": "PinNodeWithMenu",
- "type": "GIAC_MENU",
- "name": "固定节点(MENU)",
- "props": {
- "color": "#fff",
- "fill": "#262626"
- }
- }, {
- "id": "Placeholder",
- "type": "AUTO",
- "name": "画布占位符",
- "props": {
- "img": "https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1BGfQ78mW4kAAAAAAAAAAAAADmJ7AQ/original",
- "text": "当前画布为空,请先试试「数据/图数据源/导入/示例数据」",
- "width": 340,
- "textColor": "#999",
- "spacing": 8
- }
- }, {
- "id": "PropertiesPanel",
- "type": "AUTO",
- "name": "属性面板",
- "props": {
- "serviceId": "GI/PropertiesPanel",
- "title": "属性面板",
- "placement": "RT",
- "width": "356px",
- "height": "calc(100% - 0px)",
- "offset": [10, 10],
- "animate": false,
- "enableInfoDetect": true,
- "defaultiStatistic": false
- }
- }, {
- "id": "PropertyGraphInitializer",
- "type": "AUTO",
- "name": "属性图计算",
- "props": {}
- }, {
- "id": "TableMode",
- "type": "GIAC_CONTENT",
- "name": "表格模式",
- "props": {
- "enableCopy": true,
- "exportable": true,
- "enableTabSplitScreen": true,
- "isSelectedActive": true,
- "targetWindowPath": "/#/tabs/table",
- "GI_CONTAINER_INDEX": 2,
- "GIAC_CONTENT": {
- "visible": false,
- "disabled": false,
- "isShowTitle": true,
- "title": "表格模式",
- "isShowIcon": true,
- "icon": "icon-table",
- "isShowTooltip": true,
- "tooltip": "将画布中的节点和边以表格形式展示",
- "tooltipColor": "#3056e3",
- "tooltipPlacement": "right",
- "hasDivider": false,
- "height": "60px",
- "isVertical": true,
- "containerType": "div",
- "containerAnimate": false,
- "containerDraggable": false,
- "dragHandle": "header",
- "containerPlacement": "RT",
- "offset": [0, 0],
- "containerWidth": "400px",
- "containerHeight": "calc(100% - 100px)",
- "contaienrMask": false
- }
- }
- }, {
- "id": "ToggleClusterWithMenu",
- "type": "GIAC_MENU",
- "name": "展开/收起",
- "props": {
- "isReLayout": false,
- "degree": 1
- }
- }, {
- "id": "Toolbar",
- "type": "GICC",
- "name": "工具栏",
- "props": {
- "GI_CONTAINER": ["FitCenterView", "LargeGraph", "ForceSimulation", "LayoutSwitch"],
- "direction": "vertical",
- "placement": "LT",
- "offset": [24, 64]
- }
- }, {
- "id": "Tooltip",
- "type": "AUTO",
- "name": "节点提示框",
- "props": {
- "mappingKeys": ["apdex", "app_alias", "id", "name", "node_type", "timestamp", "process_name", "service_name",
- "k8s.deployment.name", "k8s.namespace.name", "k8s.node.name", "pod.ip", "pod.name", "err_rate", "latency",
- "net.peer.name", "rpc.method", "span_kind", "container.id", "process.command", "process.executable.path",
- "process.runtime.version", "disk", "load", "memory"
- ],
- "placement": "top",
- "width": "200px",
- "hasArrow": true
- }
- }, {
- "id": "PatternMatch",
- "type": "GIAC_CONTENT",
- "name": "模式匹配",
- "props": {
- "GI_CONTAINER_INDEX": 2,
- "GIAC_CONTENT": {
- "visible": false,
- "disabled": false,
- "isShowTitle": true,
- "title": "模式匹配",
- "isShowIcon": true,
- "icon": "icon-query-path",
- "isShowTooltip": true,
- "tooltip": "",
- "tooltipColor": "#3056e3",
- "tooltipPlacement": "right",
- "hasDivider": false,
- "height": "60px",
- "isVertical": true,
- "containerType": "div",
- "containerAnimate": false,
- "containerDraggable": false,
- "dragHandle": "header",
- "containerPlacement": "RT",
- "offset": [0, 0],
- "containerWidth": "350px",
- "containerHeight": "calc(100% - 100px)",
- "contaienrMask": false
- }
- }
- }],
- "layout": {
- "id": "Force2",
- "props": {
- "type": "force2",
- "animate": true,
- "preset": {
- "type": "concentric",
- "width": 800,
- "height": 800,
- "minNodeSpacing": 10,
- "nodeSize": 10
- },
- "clusterNodeStrength": 35,
- "minMovement": 2,
- "damping": 0.8,
- "maxSpeed": 1000,
- "distanceThresholdMode": "max",
- "edgeStrength": 200,
- "nodeStrength": 1000,
- "defSpringLenCfg": {
- "minLimitDegree": 5,
- "maxLimitLength": 500,
- "defaultSpring": 100
- },
- "centripetalOptions": {
- "leaf": 2,
- "single": 2,
- "others": 1
- },
- "advanceWeight": false,
- "edgeWeightFieldScale": 1,
- "nodeWeightFromType": "node",
- "nodeWeightFieldScale": 1,
- "directed": false,
- "directedFromType": "node",
- "directedInWeightField": "apdex",
- "directedOutWeightField": "apdex",
- "directedIsLog": true,
- "directedMultiple": "0.1"
- }
- },
- "pageLayout": {
- "id": "GrailLayout",
- "name": "圣杯布局",
- "type": "GICC_LAYOUT",
- "props": {
- "containers": [{
- "id": "GI_CONTAINER_LEFT",
- "name": "左侧容器",
- "GI_CONTAINER": [{
- "value": "FilterPanel",
- "label": "筛选面板"
- }, {
- "value": "NodeImportance",
- "label": "节点重要性"
- }],
- "visible": false,
- "width": "400px",
- "display": true
- }, {
- "id": "GI_CONTAINER_RIGHT",
- "name": "右侧容器",
- "GI_CONTAINER": ["PathAnalysis", "PatternMatch"],
- "visible": true,
- "width": "400px",
- "display": true
- }, {
- "id": "GI_CONTAINER_BOTTOM",
- "name": "底部容器",
- "GI_CONTAINER": [{
- "value": "TableMode",
- "label": "表格模式"
- }],
- "visible": true,
- "height": "400px",
- "display": true
- }, {
- "id": "GI_CONTAINER_TOP",
- "name": "顶部容器",
- "GI_CONTAINER": [],
- "visible": false,
- "height": "200px",
- "display": false
- }, {
- "id": "GI_FreeContainer",
- "name": "自运行组件",
- "required": true,
- "info": {
- "id": "GI_FreeContainer",
- "name": "自运行组件",
- "icon": "icon-layout",
- "type": "GICC"
- },
- "meta": {
- "GI_CONTAINER": {
- "x-component-props": {
- "mode": "multiple"
- }
- },
- "id": "GI_FreeContainer",
- "name": "自运行组件",
- "required": true
- },
- "props": {
- "id": "GI_FreeContainer",
- "GI_CONTAINER": [{
- "value": "CanvasSetting",
- "label": "画布设置"
- }, {
- "value": "Initializer",
- "label": "初始化器"
- }, {
- "value": "ActivateRelations",
- "label": "元素高亮"
- }, {
- "value": "Loading",
- "label": "加载动画"
- }, {
- "value": "NodeLegend",
- "label": "节点图例"
- }, {
- "value": "Placeholder",
- "label": "画布占位符"
- }, {
- "value": "PropertiesPanel",
- "label": "属性面板"
- }, {
- "value": "PropertyGraphInitializer",
- "label": "属性图计算"
- }, {
- "value": "Tooltip",
- "label": "节点提示框"
- }]
- },
- "candidateAssets": [{
- "label": "元素高亮",
- "value": "ActivateRelations"
- }, {
- "label": "画布设置",
- "value": "CanvasSetting"
- }, {
- "label": "版权",
- "value": "Copyright"
- }, {
- "label": "初始化器",
- "value": "Initializer"
- }, {
- "label": "加载动画",
- "value": "Loading"
- }, {
- "label": "小地图",
- "value": "MiniMap"
- }, {
- "label": "节点图例",
- "value": "NodeLegend"
- }, {
- "label": "画布占位符",
- "value": "Placeholder"
- }, {
- "label": "属性面板",
- "value": "PropertiesPanel"
- }, {
- "label": "属性图计算",
- "value": "PropertyGraphInitializer"
- }, {
- "label": "节点提示框",
- "value": "Tooltip"
- }, {
- "label": "水印",
- "value": "Watermark"
- }, {
- "label": "缩放状态",
- "value": "ZoomStatus"
- }, {
- "label": "分析历史沉淀",
- "value": "AnalysisHistory"
- }, {
- "label": "AI 助理",
- "value": "Assistant"
- }, {
- "label": "多画布页签",
- "value": "Sheetbar"
- }],
- "GI_CONTAINER": ["CanvasSetting", "Initializer", "ActivateRelations", "Loading", "NodeLegend",
- "Placeholder", "PropertiesPanel", "PropertyGraphInitializer", "Tooltip"
- ],
- "display": true
- }]
- }
- }
- };
- window['LOCAL_DATA_FOR_GI_ENGINE'] = {
- data: {
- "nodes": [{
- "id": "Convert",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.99,
- "app_alias": "UNSET",
- "err_rate": 0.98,
- "id": "Convert",
- "latency": 9.04,
- "name": "Convert",
- "node_type": "api",
- "rpc.method": "Convert",
- "service_name": "currencyservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:29:02.844663685Z"
- }
- }, {
- "id": "GetFlag",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.84,
- "app_alias": "UNSET",
- "err_rate": 0.82,
- "id": "GetFlag",
- "latency": 10.77,
- "name": "GetFlag",
- "net.peer.name": "demo-featureflagservice",
- "node_type": "api",
- "rpc.method": "GetFlag",
- "service_name": "productcatalogservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:16:22.917334973Z"
- }
- }, {
- "id": "PlaceOrder",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.84,
- "app_alias": "UNSET",
- "err_rate": 0.85,
- "id": "PlaceOrder",
- "latency": 4.32,
- "name": "PlaceOrder",
- "node_type": "api",
- "rpc.method": "PlaceOrder",
- "service_name": "checkoutservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:29:02.805303369Z"
- }
- }, {
- "id": "demo-productcatalogservice-54f8d76964-rc2m5",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "c4d414128c69c728993f0bd22634e8192dcae5e0be6f2ff002e69a87e7a26436",
- "id": "demo-productcatalogservice-54f8d76964-rc2m5",
- "k8s.deployment.name": "demo-productcatalogservice",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "k8sw4",
- "name": "demo-productcatalogservice-54f8d76964-rc2m5",
- "node_type": "container",
- "pod.ip": "10.244.7.218",
- "pod.name": "demo-productcatalogservice-54f8d76964-rc2m5",
- "timestamp": "2023-11-14T09:29:02.831697394Z"
- }
- }, {
- "id": "demo-currencyservice-7d86b5b96d-52rl8",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "id": "demo-currencyservice-7d86b5b96d-52rl8",
- "k8s.deployment.name": "demo-currencyservice",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "k8sw4",
- "name": "demo-currencyservice-7d86b5b96d-52rl8",
- "node_type": "container",
- "pod.ip": "10.244.7.217",
- "pod.name": "demo-currencyservice-7d86b5b96d-52rl8",
- "timestamp": "2023-11-14T09:29:02.844663685Z"
- }
- }, {
- "id": "cest-2",
- "nodeType": "os",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "disk": 0.79,
- "id": "cest-2",
- "k8s.node.name": "cest-2",
- "load": 0.89,
- "memory": 0.66,
- "name": "cest-2",
- "node_type": "os",
- "timestamp": "2023-11-14T09:29:02.820915319Z"
- }
- }, {
- "id": "http://demo-emailservice:8080/send_order_confirmation",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.81,
- "app_alias": "UNSET",
- "err_rate": 0.8,
- "http.method": "POST",
- "http.url": "http://demo-emailservice:8080/send_order_confirmation",
- "id": "http://demo-emailservice:8080/send_order_confirmation",
- "latency": 5.91,
- "name": "http://demo-emailservice:8080/send_order_confirmation",
- "net.peer.name": "demo-emailservice",
- "node_type": "api",
- "service_name": "checkoutservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:23:06.701451791Z"
- }
- }, {
- "id": "featureflagservice",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.81,
- "id": "featureflagservice",
- "name": "featureflagservice",
- "node_type": "service",
- "process_name": "BEAM",
- "service_name": "featureflagservice",
- "timestamp": "2023-11-14T09:29:02.820915319Z"
- }
- }, {
- "id": "demo-featureflagservice-5d9ddf5c6-4j848",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "id": "demo-featureflagservice-5d9ddf5c6-4j848",
- "k8s.deployment.name": "demo-featureflagservice",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "cest-2",
- "name": "demo-featureflagservice-5d9ddf5c6-4j848",
- "node_type": "container",
- "pod.ip": "10.244.1.214",
- "pod.name": "demo-featureflagservice-5d9ddf5c6-4j848",
- "timestamp": "2023-11-14T09:29:02.820915319Z"
- }
- }, {
- "id": "frauddetectionservice",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.61,
- "id": "frauddetectionservice",
- "name": "frauddetectionservice",
- "node_type": "service",
- "process_name": "OpenJDK Runtime Environment",
- "service_name": "frauddetectionservice",
- "timestamp": "2023-11-14T09:20:34.471100039Z"
- }
- }, {
- "id": "frontend",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 1,
- "id": "frontend",
- "name": "frontend",
- "node_type": "service",
- "process_name": "nodejs",
- "service_name": "frontend",
- "timestamp": "2023-11-14T09:20:34.471000064Z"
- }
- }, {
- "id": "k8sm1",
- "nodeType": "os",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "cloud.platform": "alibaba_cloud_ecs",
- "disk": 0.58,
- "host.arch": "amd64",
- "id": "k8sm1",
- "k8s.node.name": "k8sm1",
- "load": 0.24,
- "memory": 0.38,
- "name": "k8sm1",
- "node_type": "os",
- "os.type": "linux",
- "os.version": "5.4.225-1.el7.elrepo.x86_64",
- "timestamp": "2023-11-14T09:23:06.676999936Z"
- }
- }, {
- "id": "EmptyCart",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.76,
- "app_alias": "UNSET",
- "err_rate": 0.98,
- "id": "EmptyCart",
- "latency": 1.27,
- "name": "EmptyCart",
- "net.peer.name": "demo-cartservice",
- "node_type": "api",
- "rpc.method": "EmptyCart",
- "service_name": "checkoutservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:29:02.853523426Z"
- }
- }, {
- "id": "UNSET",
- "nodeType": "app",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.97,
- "app_alias": "UNSET",
- "id": "UNSET",
- "name": "UNSET",
- "node_type": "app",
- "timestamp": "2023-11-14T09:16:22.954723189Z"
- }
- }, {
- "id": "[\"./accountingservice\"]",
- "nodeType": "process",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "09528d104b068cd5c211ecc5ccc37b8ad02052021ae8aff3eb0d1c01972a3a2e",
- "id": "[\"./accountingservice\"]",
- "name": "[\"./accountingservice\"]",
- "node_type": "process",
- "pod.name": "demo-accountingservice-cd5f6d56c-4n5w2",
- "process.command_args": "[\"./accountingservice\"]",
- "process.executable.path": "/usr/src/app/accountingservice",
- "process.runtime.description": "go version go1.19.2 linux/amd64",
- "process.runtime.version": "go1.19.2",
- "process_name": "go",
- "timestamp": "2023-11-14T09:17:28.101098206Z"
- }
- }, {
- "id": "null",
- "nodeType": "process",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "id": null,
- "name": "unknow-process",
- "node_type": "process",
- "pod.name": "demo-featureflagservice-5d9ddf5c6-4j848",
- "process.runtime.description": "Erlang/OTP 23 erts-11.2.2.13",
- "process.runtime.version": "11.2.2.13",
- "process_name": "BEAM",
- "timestamp": "2023-11-14T09:29:02.820915319Z",
- "trace_id": "bb3253d84b75ef81743d9f08f6dee793"
- }
- }, {
- "id": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.87,
- "app_alias": "UNSET",
- "err_rate": 0.96,
- "http.method": "POST",
- "http.target": "/oteldemo.CartService/EmptyCart",
- "http.url": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
- "id": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
- "latency": 0.59,
- "name": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
- "net.host.name": "demo-cartservice",
- "node_type": "api",
- "rpc.method": "EmptyCart",
- "service_name": "cartservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:29:02.8568155Z"
- }
- }, {
- "id": "currencyservice",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.84,
- "id": "currencyservice",
- "name": "currencyservice",
- "node_type": "service",
- "service_name": "currencyservice",
- "timestamp": "2023-11-14T09:29:02.844663685Z"
- }
- }, {
- "id": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
- "nodeType": "process",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "be2af64ab46c97586fdf9d1535932fd55b9230327b5a61824077ed65e2.scope",
- "id": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
- "name": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
- "node_type": "process",
- "pod.name": "demo-frontend-67fcb8c768-7knmz",
- "process.command": "/app/server.js",
- "process.command_args": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
- "process.executable.path": "/usr/local/bin/node",
- "process.runtime.description": "Node.js",
- "process.runtime.version": "18.18.2",
- "process_name": "nodejs",
- "timestamp": "2023-11-14T09:20:34.471000064Z"
- }
- }, {
- "id": "[\"./productcatalogservice\"]",
- "nodeType": "process",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "c4d414128c69c728993f0bd22634e8192dcae5e0be6f2ff002e69a87e7a26436",
- "id": "[\"./productcatalogservice\"]",
- "name": "[\"./productcatalogservice\"]",
- "node_type": "process",
- "pod.name": "demo-productcatalogservice-54f8d76964-rc2m5",
- "process.command_args": "[\"./productcatalogservice\"]",
- "process.executable.path": "/usr/src/app/productcatalogservice",
- "process.runtime.description": "go version go1.19.4 linux/amd64",
- "process.runtime.version": "go1.19.4",
- "process_name": "go",
- "timestamp": "2023-11-14T09:29:02.831697394Z"
- }
- }, {
- "id": "k8sm2",
- "nodeType": "os",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "disk": 0.72,
- "id": "k8sm2",
- "k8s.node.name": "k8sm2",
- "load": 2.24,
- "memory": 0.76,
- "name": "k8sm2",
- "node_type": "os",
- "os.type": "linux",
- "timestamp": "2023-11-14T09:16:22.954723189Z"
- }
- }, {
- "id": "/send_order_confirmation",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.73,
- "app_alias": "UNSET",
- "err_rate": 0.99,
- "http.method": "POST",
- "http.route": "/send_order_confirmation",
- "http.target": "/send_order_confirmation",
- "id": "/send_order_confirmation",
- "latency": 8.52,
- "name": "/send_order_confirmation",
- "node_type": "api",
- "service_name": "emailservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:20:34.465579133Z"
- }
- }, {
- "id": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
- "nodeType": "process",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "1d360ea82046bbad7109ba36bee3ead0ba4bec5167d4f17e33fb1bbef511ab27",
- "id": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
- "name": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
- "node_type": "process",
- "pod.name": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
- "process.command_args": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
- "process.executable.path": "/usr/lib/jvm/java-17-openjdk-amd64/bin/java",
- "process.runtime.description": "Debian OpenJDK 64-Bit Server VM 17.0.7+7-Debian-1deb11u1",
- "process.runtime.version": "17.0.7+7-Debian-1deb11u1",
- "process_name": "OpenJDK Runtime Environment",
- "timestamp": "2023-11-14T09:20:34.471100039Z"
- }
- }, {
- "id": "k8sm3",
- "nodeType": "os",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "disk": 0.64,
- "host.arch": "amd64",
- "id": "k8sm3",
- "k8s.node.name": "k8sm3",
- "load": 0.25,
- "memory": 0.39,
- "name": "k8sm3",
- "node_type": "os",
- "os.description": "Linux 3.10.0-1160.83.1.el7.x86_64",
- "os.type": "linux",
- "timestamp": "2023-11-14T09:20:34.471100039Z"
- }
- }, {
- "id": "demo-frontend-67fcb8c768-7knmz",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "be2af64ab46c97586fdf9d1535932fd55b9230327b5a61824077ed65e2.scope",
- "id": "demo-frontend-67fcb8c768-7knmz",
- "k8s.deployment.name": "demo-frontend",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "k8sw4",
- "name": "demo-frontend-67fcb8c768-7knmz",
- "node_type": "container",
- "pod.ip": "10.244.7.219",
- "pod.name": "demo-frontend-67fcb8c768-7knmz",
- "timestamp": "2023-11-14T09:20:34.471000064Z"
- }
- }, {
- "id": "quoteservice",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.98,
- "id": "quoteservice",
- "name": "quoteservice",
- "node_type": "service",
- "process_name": "cli",
- "service_name": "quoteservice",
- "timestamp": "2023-11-14T09:29:02.840171198Z"
- }
- }, {
- "id": "demo-quoteservice-667cfcd77c-tb66j",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "3f4353b68bef96b5c58e7877938e81900511938b7b7370531d5383d83a34d0db",
- "id": "demo-quoteservice-667cfcd77c-tb66j",
- "k8s.deployment.name": "demo-quoteservice",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "k8sm2",
- "name": "demo-quoteservice-667cfcd77c-tb66j",
- "node_type": "container",
- "pod.ip": "10.244.3.63",
- "pod.name": "demo-quoteservice-667cfcd77c-tb66j",
- "timestamp": "2023-11-14T09:29:02.840171198Z"
- }
- }, {
- "id": "demo-cartservice-6b4bb7b7c7-8b5pp",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "4a1eec6ba6d80ec57940e374fb89494ecf5d7a1610efc9ebe7098ea6b57df58b",
- "id": "demo-cartservice-6b4bb7b7c7-8b5pp",
- "k8s.deployment.name": "demo-cartservice",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "k8sw3",
- "name": "demo-cartservice-6b4bb7b7c7-8b5pp",
- "node_type": "container",
- "pod.ip": "10.244.6.101",
- "pod.name": "demo-cartservice-6b4bb7b7c7-8b5pp",
- "timestamp": "2023-11-14T09:23:06.6827164Z"
- }
- }, {
- "id": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.72,
- "app_alias": "UNSET",
- "err_rate": 0.83,
- "http.method": "POST",
- "http.target": "/oteldemo.CartService/GetCart",
- "http.url": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
- "id": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
- "latency": 10.54,
- "name": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
- "net.host.name": "demo-cartservice",
- "node_type": "api",
- "rpc.method": "GetCart",
- "service_name": "cartservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:16:22.9138288Z"
- }
- }, {
- "id": "alibaba_cloud_ecs",
- "nodeType": "cloud",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "cloud.platform": "alibaba_cloud_ecs",
- "cloud.provider": "alibaba_cloud",
- "cloud.region": "cn-beijing",
- "id": "alibaba_cloud_ecs",
- "name": "alibaba_cloud_ecs",
- "node_type": "cloud",
- "timestamp": "2023-11-14T09:23:06.676999936Z"
- }
- }, {
- "id": "Charge",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.97,
- "app_alias": "UNSET",
- "err_rate": 0.96,
- "id": "Charge",
- "latency": 10.2,
- "name": "Charge",
- "node_type": "api",
- "rpc.method": "Charge",
- "service_name": "paymentservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:23:06.676999936Z"
- }
- }, {
- "id": "unkonw",
- "nodeType": "cloud",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "id": "unkonw",
- "name": "unkonw",
- "node_type": "cloud",
- "timestamp": "2023-11-14T09:16:22.954723189Z"
- }
- }, {
- "id": "cartservice",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.68,
- "id": "cartservice",
- "name": "cartservice",
- "node_type": "service",
- "service_name": "cartservice",
- "timestamp": "2023-11-14T09:23:06.6827164Z"
- }
- }, {
- "id": "GetCart",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.75,
- "app_alias": "UNSET",
- "err_rate": 0.83,
- "id": "GetCart",
- "latency": 6.39,
- "name": "GetCart",
- "net.peer.name": "demo-cartservice",
- "node_type": "api",
- "rpc.method": "GetCart",
- "service_name": "checkoutservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:17:28.064366541Z"
- }
- }, {
- "id": "GetProduct",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.72,
- "app_alias": "UNSET",
- "err_rate": 0.96,
- "id": "GetProduct",
- "latency": 8.87,
- "name": "GetProduct",
- "node_type": "api",
- "rpc.method": "GetProduct",
- "service_name": "productcatalogservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:29:02.831697394Z"
- }
- }, {
- "id": "demo-frontendproxy:8080/api/checkout",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.7,
- "app_alias": "UNSET",
- "err_rate": 0.99,
- "http.method": "POST",
- "http.target": "/api/checkout",
- "http.url": "demo-frontendproxy:8080/api/checkout",
- "id": "demo-frontendproxy:8080/api/checkout",
- "latency": 2.75,
- "name": "demo-frontendproxy:8080/api/checkout",
- "node_type": "api",
- "service_name": "frontend",
- "span_kind": "",
- "timestamp": "2023-11-14T09:17:28.063000064Z"
- }
- }, {
- "id": "[\"./checkoutservice\"]",
- "nodeType": "process",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "d8f393c4ce544f8cf7330405a31686dbf0f259620b316bae3b5551291b2eed3a",
- "id": "[\"./checkoutservice\"]",
- "name": "[\"./checkoutservice\"]",
- "node_type": "process",
- "pod.name": "demo-checkoutservice-55ddc8cbbb-h2qlk",
- "process.command_args": "[\"./checkoutservice\"]",
- "process.executable.path": "/usr/src/app/checkoutservice",
- "process.runtime.description": "go version go1.19.2 linux/amd64",
- "process.runtime.version": "go1.19.2",
- "process_name": "go",
- "timestamp": "2023-11-14T09:29:02.805371194Z"
- }
- }, {
- "id": "GetQuote",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.95,
- "app_alias": "UNSET",
- "err_rate": 0.87,
- "id": "GetQuote",
- "latency": 7.3,
- "name": "GetQuote",
- "net.peer.name": "demo-shippingservice",
- "node_type": "api",
- "rpc.method": "GetQuote",
- "service_name": "checkoutservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:16:22.939810189Z"
- }
- }, {
- "id": "k8sw4",
- "nodeType": "os",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "disk": 0.61,
- "id": "k8sw4",
- "k8s.node.name": "k8sw4",
- "load": 2.78,
- "memory": 0.35,
- "name": "k8sw4",
- "node_type": "os",
- "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)",
- "os.type": "linux",
- "timestamp": "2023-11-14T09:29:02.831697394Z"
- }
- }, {
- "id": "__invoke",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.75,
- "app_alias": "UNSET",
- "code.function": "__invoke",
- "err_rate": 0.84,
- "id": "__invoke",
- "latency": 11.09,
- "name": "__invoke",
- "node_type": "api",
- "service_name": "quoteservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:29:02.840171198Z"
- }
- }, {
- "id": "accountingservice",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.96,
- "id": "accountingservice",
- "name": "accountingservice",
- "node_type": "service",
- "process_name": "go",
- "service_name": "accountingservice",
- "timestamp": "2023-11-14T09:17:28.101098206Z"
- }
- }, {
- "id": "k8sw3",
- "nodeType": "os",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "disk": 0.48,
- "id": "k8sw3",
- "k8s.node.name": "k8sw3",
- "load": 1.5,
- "memory": 0.64,
- "name": "k8sw3",
- "node_type": "os",
- "timestamp": "2023-11-14T09:23:06.6827164Z"
- }
- }, {
- "id": "emailservice",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.94,
- "id": "emailservice",
- "name": "emailservice",
- "node_type": "service",
- "process_name": "ruby",
- "service_name": "emailservice",
- "timestamp": "2023-11-14T09:29:02.860182658Z"
- }
- }, {
- "id": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
- "nodeType": "process",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "f3ea819b993cfd7cad1f75ee5b45c8ec91309d014f87afa17b75f56813.scope",
- "id": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
- "name": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
- "node_type": "process",
- "pod.name": "demo-paymentservice-58876f5f49-ftf2m",
- "process.command": "/usr/src/app/index.js",
- "process.command_args": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
- "process.executable.path": "/usr/local/bin/node",
- "process.runtime.description": "Node.js",
- "process.runtime.version": "18.18.2",
- "process_name": "nodejs",
- "timestamp": "2023-11-14T09:23:06.676999936Z"
- }
- }, {
- "id": "demo-paymentservice-58876f5f49-ftf2m",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "f3ea819b993cfd7cad1f75ee5b45c8ec91309d014f87afa17b75f56813.scope",
- "id": "demo-paymentservice-58876f5f49-ftf2m",
- "k8s.deployment.name": "demo-paymentservice",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "k8sm1",
- "name": "demo-paymentservice-58876f5f49-ftf2m",
- "node_type": "container",
- "pod.ip": "10.244.0.93",
- "pod.name": "demo-paymentservice-58876f5f49-ftf2m",
- "timestamp": "2023-11-14T09:23:06.676999936Z"
- }
- }, {
- "id": "[\"public/index.php\"]",
- "nodeType": "process",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "3f4353b68bef96b5c58e7877938e81900511938b7b7370531d5383d83a34d0db",
- "id": "[\"public/index.php\"]",
- "name": "[\"public/index.php\"]",
- "node_type": "process",
- "pod.name": "demo-quoteservice-667cfcd77c-tb66j",
- "process.command": "public/index.php",
- "process.command_args": "[\"public/index.php\"]",
- "process.executable.path": "/usr/local/bin/php",
- "process.runtime.version": "8.2.12",
- "process_name": "cli",
- "timestamp": "2023-11-14T09:29:02.840171198Z"
- }
- }, {
- "id": "[\"/app/shippingservice\"]",
- "nodeType": "process",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "id": "[\"/app/shippingservice\"]",
- "name": "[\"/app/shippingservice\"]",
- "node_type": "process",
- "pod.name": "demo-shippingservice-578cc49876-5mg5p",
- "process.command_args": "[\"/app/shippingservice\"]",
- "timestamp": "2023-11-14T09:16:22.954723189Z"
- }
- }, {
- "id": "demo-emailservice-7d769b96b8-p68hw",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "id": "demo-emailservice-7d769b96b8-p68hw",
- "k8s.deployment.name": "demo-emailservice",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "k8sw4",
- "name": "demo-emailservice-7d769b96b8-p68hw",
- "node_type": "container",
- "pod.ip": "10.244.7.215",
- "pod.name": "demo-emailservice-7d769b96b8-p68hw",
- "timestamp": "2023-11-14T09:29:02.860182658Z"
- }
- }, {
- "id": "http://demo-quoteservice:8080/getquote",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 1,
- "app_alias": "UNSET",
- "code.function": "handle",
- "err_rate": 0.84,
- "http.method": "POST",
- "http.url": "http://demo-quoteservice:8080/getquote",
- "id": "http://demo-quoteservice:8080/getquote",
- "latency": 1.67,
- "name": "http://demo-quoteservice:8080/getquote",
- "node_type": "api",
- "service_name": "quoteservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:29:02.840042319Z"
- }
- }, {
- "id": "demo-accountingservice-cd5f6d56c-4n5w2",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "09528d104b068cd5c211ecc5ccc37b8ad02052021ae8aff3eb0d1c01972a3a2e",
- "id": "demo-accountingservice-cd5f6d56c-4n5w2",
- "k8s.deployment.name": "demo-accountingservice",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "k8sm2",
- "name": "demo-accountingservice-cd5f6d56c-4n5w2",
- "node_type": "container",
- "pod.ip": "10.244.3.60",
- "pod.name": "demo-accountingservice-cd5f6d56c-4n5w2",
- "timestamp": "2023-11-14T09:17:28.101098206Z"
- }
- }, {
- "id": "shippingservice",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.63,
- "id": "shippingservice",
- "name": "shippingservice",
- "node_type": "service",
- "service_name": "shippingservice",
- "timestamp": "2023-11-14T09:16:22.954723189Z"
- }
- }, {
- "id": "unknow-api",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.96,
- "app_alias": "UNSET",
- "err_rate": 0.9,
- "id": "unknow-api",
- "latency": 4.83,
- "name": "unknow-api",
- "node_type": "api",
- "service_name": "shippingservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:16:22.954723189Z"
- }
- }, {
- "id": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.73,
- "app_alias": "UNSET",
- "err_rate": 0.83,
- "http.method": "POST",
- "http.url": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
- "id": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
- "latency": 2.65,
- "name": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
- "net.peer.name": "demo-featureflagservice",
- "node_type": "api",
- "service_name": "cartservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:20:34.4580869Z"
- }
- }, {
- "id": "checkoutservice",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.81,
- "id": "checkoutservice",
- "name": "checkoutservice",
- "node_type": "service",
- "process_name": "go",
- "service_name": "checkoutservice",
- "timestamp": "2023-11-14T09:29:02.805371194Z"
- }
- }, {
- "id": "ShipOrder",
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.79,
- "app_alias": "UNSET",
- "err_rate": 0.99,
- "id": "ShipOrder",
- "latency": 2.6,
- "name": "ShipOrder",
- "net.peer.name": "demo-shippingservice",
- "node_type": "api",
- "rpc.method": "ShipOrder",
- "service_name": "checkoutservice",
- "span_kind": "",
- "timestamp": "2023-11-14T09:29:02.850515126Z"
- }
- }, {
- "id": "paymentservice",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.95,
- "id": "paymentservice",
- "name": "paymentservice",
- "node_type": "service",
- "process_name": "nodejs",
- "service_name": "paymentservice",
- "timestamp": "2023-11-14T09:23:06.676999936Z"
- }
- }, {
- "id": "productcatalogservice",
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "apdex": 0.95,
- "id": "productcatalogservice",
- "name": "productcatalogservice",
- "node_type": "service",
- "process_name": "go",
- "service_name": "productcatalogservice",
- "timestamp": "2023-11-14T09:29:02.831697394Z"
- }
- }, {
- "id": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "1d360ea82046bbad7109ba36bee3ead0ba4bec5167d4f17e33fb1bbef511ab27",
- "id": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
- "k8s.deployment.name": "demo-frauddetectionservice",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "k8sm3",
- "name": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
- "node_type": "container",
- "pod.ip": "10.244.8.151",
- "pod.name": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
- "timestamp": "2023-11-14T09:20:34.471100039Z"
- }
- }, {
- "id": "demo-shippingservice-578cc49876-5mg5p",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "id": "demo-shippingservice-578cc49876-5mg5p",
- "k8s.deployment.name": "demo-shippingservice",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "k8sm2",
- "name": "demo-shippingservice-578cc49876-5mg5p",
- "node_type": "container",
- "pod.ip": "10.244.3.61",
- "pod.name": "demo-shippingservice-578cc49876-5mg5p",
- "timestamp": "2023-11-14T09:16:22.954723189Z"
- }
- }, {
- "id": "demo-checkoutservice-55ddc8cbbb-h2qlk",
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "container.id": "d8f393c4ce544f8cf7330405a31686dbf0f259620b316bae3b5551291b2eed3a",
- "id": "demo-checkoutservice-55ddc8cbbb-h2qlk",
- "k8s.deployment.name": "demo-checkoutservice",
- "k8s.namespace.name": "otel-demo",
- "k8s.node.name": "k8sm2",
- "name": "demo-checkoutservice-55ddc8cbbb-h2qlk",
- "node_type": "container",
- "pod.ip": "10.244.3.62",
- "pod.name": "demo-checkoutservice-55ddc8cbbb-h2qlk",
- "timestamp": "2023-11-14T09:29:02.805371194Z"
- }
- }, {
- "id": "email_server.rb",
- "nodeType": "process",
- "nodeTypeKeyFromProperties": "node_type",
- "data": {
- "id": "email_server.rb",
- "name": "email_server.rb",
- "node_type": "process",
- "pod.name": "demo-emailservice-7d769b96b8-p68hw",
- "process.command": "email_server.rb",
- "process.runtime.description": "ruby 3.1.4p223 (2023-03-30 revision 957bb7cb81) [x86_64-linux]",
- "process.runtime.version": "3.1.4",
- "process_name": "ruby",
- "timestamp": "2023-11-14T09:29:02.860182658Z"
- }
- }],
- "edges": [{
- "source": "frauddetectionservice",
- "target": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "frauddetectionservice+[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
- "source": "frauddetectionservice",
- "target": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
- "total_times": 72
- }
- }, {
- "source": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
- "target": "demo-frontend-67fcb8c768-7knmz",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]+demo-frontend-67fcb8c768-7knmz",
- "source": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
- "target": "demo-frontend-67fcb8c768-7knmz",
- "total_times": 462
- }
- }, {
- "source": "/send_order_confirmation",
- "target": "emailservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "/send_order_confirmation+emailservice",
- "source": "/send_order_confirmation",
- "target": "emailservice",
- "total_times": 872
- }
- }, {
- "source": "ShipOrder",
- "target": "checkoutservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "ShipOrder+checkoutservice",
- "source": "ShipOrder",
- "target": "checkoutservice",
- "total_times": 872
- }
- }, {
- "source": "currencyservice",
- "target": "unknow-process",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "currencyservice+unknow-process",
- "source": "currencyservice",
- "target": "unknow-process",
- "total_times": 72
- }
- }, {
- "source": "unknow-api",
- "target": "featureflagservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "unknow-api+featureflagservice",
- "source": "unknow-api",
- "target": "featureflagservice",
- "total_times": 872
- }
- }, {
- "source": "PlaceOrder",
- "target": "frontend",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "PlaceOrder+frontend",
- "source": "PlaceOrder",
- "target": "frontend",
- "total_times": 872
- }
- }, {
- "source": "frontend",
- "target": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "frontend+[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
- "source": "frontend",
- "target": "[\"/usr/local/bin/node\",\"--require\",\"./Instrumentation.js\",\"/app/server.js\"]",
- "total_times": 72
- }
- }, {
- "source": "Charge",
- "target": "paymentservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "Charge+paymentservice",
- "source": "Charge",
- "target": "paymentservice",
- "total_times": 872
- }
- }, {
- "source": "UNSET",
- "target": "__invoke",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+__invoke",
- "source": "UNSET",
- "target": "__invoke",
- "total_times": 3451
- }
- }, {
- "source": "UNSET",
- "target": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
- "source": "UNSET",
- "target": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
- "total_times": 3451
- }
- }, {
- "source": "[\"/app/shippingservice\"]",
- "target": "demo-shippingservice-578cc49876-5mg5p",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "[\"/app/shippingservice\"]+demo-shippingservice-578cc49876-5mg5p",
- "source": "[\"/app/shippingservice\"]",
- "target": "demo-shippingservice-578cc49876-5mg5p",
- "total_times": 462
- }
- }, {
- "source": "EmptyCart",
- "target": "checkoutservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "EmptyCart+checkoutservice",
- "source": "EmptyCart",
- "target": "checkoutservice",
- "total_times": 872
- }
- }, {
- "source": "k8sw3",
- "target": "unkonw",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "k8sw3+unkonw",
- "source": "k8sw3",
- "target": "unkonw",
- "total_times": 95
- }
- }, {
- "source": "emailservice",
- "target": "email_server.rb",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "emailservice+email_server.rb",
- "source": "emailservice",
- "target": "email_server.rb",
- "total_times": 72
- }
- }, {
- "source": "cest-2",
- "target": "unkonw",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "cest-2+unkonw",
- "source": "cest-2",
- "target": "unkonw",
- "total_times": 95
- }
- }, {
- "source": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
- "target": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]+demo-frauddetectionservice-5c5b4798dc-tp2g4",
- "source": "[\"/usr/lib/jvm/java-17-openjdk-amd64/bin/java\",\"-jar\",\"frauddetectionservice-1.0-all.jar\"]",
- "target": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
- "total_times": 462
- }
- }, {
- "source": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
- "target": "k8sm3",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-frauddetectionservice-5c5b4798dc-tp2g4+k8sm3",
- "source": "demo-frauddetectionservice-5c5b4798dc-tp2g4",
- "target": "k8sm3",
- "total_times": 187
- }
- }, {
- "source": "UNSET",
- "target": "GetProduct",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+GetProduct",
- "source": "UNSET",
- "target": "GetProduct",
- "total_times": 3451
- }
- }, {
- "source": "paymentservice",
- "target": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "paymentservice+[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
- "source": "paymentservice",
- "target": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
- "total_times": 72
- }
- }, {
- "source": "k8sm2",
- "target": "unkonw",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "k8sm2+unkonw",
- "source": "k8sm2",
- "target": "unkonw",
- "total_times": 95
- }
- }, {
- "source": "k8sm3",
- "target": "unkonw",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "k8sm3+unkonw",
- "source": "k8sm3",
- "target": "unkonw",
- "total_times": 95
- }
- }, {
- "source": "productcatalogservice",
- "target": "[\"./productcatalogservice\"]",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "productcatalogservice+[\"./productcatalogservice\"]",
- "source": "productcatalogservice",
- "target": "[\"./productcatalogservice\"]",
- "total_times": 72
- }
- }, {
- "source": "unknow-api",
- "target": "cartservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "unknow-api+cartservice",
- "source": "unknow-api",
- "target": "cartservice",
- "total_times": 872
- }
- }, {
- "source": "PlaceOrder",
- "target": "checkoutservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "PlaceOrder+checkoutservice",
- "source": "PlaceOrder",
- "target": "checkoutservice",
- "total_times": 872
- }
- }, {
- "source": "UNSET",
- "target": "ShipOrder",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+ShipOrder",
- "source": "UNSET",
- "target": "ShipOrder",
- "total_times": 3451
- }
- }, {
- "source": "UNSET",
- "target": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
- "source": "UNSET",
- "target": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
- "total_times": 3451
- }
- }, {
- "source": "unknow-process",
- "target": "demo-cartservice-6b4bb7b7c7-8b5pp",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "unknow-process+demo-cartservice-6b4bb7b7c7-8b5pp",
- "source": "unknow-process",
- "target": "demo-cartservice-6b4bb7b7c7-8b5pp",
- "total_times": 462
- }
- }, {
- "source": "UNSET",
- "target": "Convert",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+Convert",
- "source": "UNSET",
- "target": "Convert",
- "total_times": 3451
- }
- }, {
- "source": "demo-featureflagservice-5d9ddf5c6-4j848",
- "target": "cest-2",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-featureflagservice-5d9ddf5c6-4j848+cest-2",
- "source": "demo-featureflagservice-5d9ddf5c6-4j848",
- "target": "cest-2",
- "total_times": 187
- }
- }, {
- "source": "demo-frontend-67fcb8c768-7knmz",
- "target": "k8sw4",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-frontend-67fcb8c768-7knmz+k8sw4",
- "source": "demo-frontend-67fcb8c768-7knmz",
- "target": "k8sw4",
- "total_times": 187
- }
- }, {
- "source": "UNSET",
- "target": "Charge",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+Charge",
- "source": "UNSET",
- "target": "Charge",
- "total_times": 3451
- }
- }, {
- "source": "UNSET",
- "target": "http://demo-quoteservice:8080/getquote",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+http://demo-quoteservice:8080/getquote",
- "source": "UNSET",
- "target": "http://demo-quoteservice:8080/getquote",
- "total_times": 3451
- }
- }, {
- "source": "GetProduct",
- "target": "checkoutservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "GetProduct+checkoutservice",
- "source": "GetProduct",
- "target": "checkoutservice",
- "total_times": 872
- }
- }, {
- "source": "UNSET",
- "target": "unknow-api",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+unknow-api",
- "source": "UNSET",
- "target": "unknow-api",
- "total_times": 3451
- }
- }, {
- "source": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
- "target": "demo-paymentservice-58876f5f49-ftf2m",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]+demo-paymentservice-58876f5f49-ftf2m",
- "source": "[\"/usr/local/bin/node\",\"--require\",\"./opentelemetry.js\",\"/usr/src/app/index.js\"]",
- "target": "demo-paymentservice-58876f5f49-ftf2m",
- "total_times": 462
- }
- }, {
- "source": "demo-frontendproxy:8080/api/checkout",
- "target": "frontend",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "demo-frontendproxy:8080/api/checkout+frontend",
- "source": "demo-frontendproxy:8080/api/checkout",
- "target": "frontend",
- "total_times": 872
- }
- }, {
- "source": "[\"./checkoutservice\"]",
- "target": "demo-checkoutservice-55ddc8cbbb-h2qlk",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "[\"./checkoutservice\"]+demo-checkoutservice-55ddc8cbbb-h2qlk",
- "source": "[\"./checkoutservice\"]",
- "target": "demo-checkoutservice-55ddc8cbbb-h2qlk",
- "total_times": 462
- }
- }, {
- "source": "http://demo-emailservice:8080/send_order_confirmation",
- "target": "checkoutservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "http://demo-emailservice:8080/send_order_confirmation+checkoutservice",
- "source": "http://demo-emailservice:8080/send_order_confirmation",
- "target": "checkoutservice",
- "total_times": 872
- }
- }, {
- "source": "unknow-api",
- "target": "emailservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "unknow-api+emailservice",
- "source": "unknow-api",
- "target": "emailservice",
- "total_times": 872
- }
- }, {
- "source": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
- "target": "cartservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "http://demo-cartservice:8080/oteldemo.CartService/GetCart+cartservice",
- "source": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
- "target": "cartservice",
- "total_times": 872
- }
- }, {
- "source": "unknow-api",
- "target": "accountingservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "unknow-api+accountingservice",
- "source": "unknow-api",
- "target": "accountingservice",
- "total_times": 872
- }
- }, {
- "source": "GetCart",
- "target": "checkoutservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "GetCart+checkoutservice",
- "source": "GetCart",
- "target": "checkoutservice",
- "total_times": 872
- }
- }, {
- "source": "unknow-api",
- "target": "frauddetectionservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "unknow-api+frauddetectionservice",
- "source": "unknow-api",
- "target": "frauddetectionservice",
- "total_times": 872
- }
- }, {
- "source": "unknow-api",
- "target": "paymentservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "unknow-api+paymentservice",
- "source": "unknow-api",
- "target": "paymentservice",
- "total_times": 872
- }
- }, {
- "source": "GetFlag",
- "target": "productcatalogservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "GetFlag+productcatalogservice",
- "source": "GetFlag",
- "target": "productcatalogservice",
- "total_times": 872
- }
- }, {
- "source": "[\"public/index.php\"]",
- "target": "demo-quoteservice-667cfcd77c-tb66j",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "[\"public/index.php\"]+demo-quoteservice-667cfcd77c-tb66j",
- "source": "[\"public/index.php\"]",
- "target": "demo-quoteservice-667cfcd77c-tb66j",
- "total_times": 462
- }
- }, {
- "source": "UNSET",
- "target": "GetCart",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+GetCart",
- "source": "UNSET",
- "target": "GetCart",
- "total_times": 3451
- }
- }, {
- "source": "email_server.rb",
- "target": "demo-emailservice-7d769b96b8-p68hw",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "email_server.rb+demo-emailservice-7d769b96b8-p68hw",
- "source": "email_server.rb",
- "target": "demo-emailservice-7d769b96b8-p68hw",
- "total_times": 462
- }
- }, {
- "source": "demo-paymentservice-58876f5f49-ftf2m",
- "target": "k8sm1",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-paymentservice-58876f5f49-ftf2m+k8sm1",
- "source": "demo-paymentservice-58876f5f49-ftf2m",
- "target": "k8sm1",
- "total_times": 187
- }
- }, {
- "source": "http://demo-quoteservice:8080/getquote",
- "target": "shippingservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "http://demo-quoteservice:8080/getquote+shippingservice",
- "source": "http://demo-quoteservice:8080/getquote",
- "target": "shippingservice",
- "total_times": 872
- }
- }, {
- "source": "Convert",
- "target": "checkoutservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "Convert+checkoutservice",
- "source": "Convert",
- "target": "checkoutservice",
- "total_times": 872
- }
- }, {
- "source": "unknow-api",
- "target": "quoteservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "unknow-api+quoteservice",
- "source": "unknow-api",
- "target": "quoteservice",
- "total_times": 872
- }
- }, {
- "source": "UNSET",
- "target": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+http://demo-cartservice:8080/oteldemo.CartService/GetCart",
- "source": "UNSET",
- "target": "http://demo-cartservice:8080/oteldemo.CartService/GetCart",
- "total_times": 3451
- }
- }, {
- "source": "demo-checkoutservice-55ddc8cbbb-h2qlk",
- "target": "k8sm2",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-checkoutservice-55ddc8cbbb-h2qlk+k8sm2",
- "source": "demo-checkoutservice-55ddc8cbbb-h2qlk",
- "target": "k8sm2",
- "total_times": 187
- }
- }, {
- "source": "GetQuote",
- "target": "checkoutservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "GetQuote+checkoutservice",
- "source": "GetQuote",
- "target": "checkoutservice",
- "total_times": 872
- }
- }, {
- "source": "featureflagservice",
- "target": "unknow-process",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "featureflagservice+unknow-process",
- "source": "featureflagservice",
- "target": "unknow-process",
- "total_times": 72
- }
- }, {
- "source": "GetProduct",
- "target": "productcatalogservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "GetProduct+productcatalogservice",
- "source": "GetProduct",
- "target": "productcatalogservice",
- "total_times": 872
- }
- }, {
- "source": "demo-shippingservice-578cc49876-5mg5p",
- "target": "k8sm2",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-shippingservice-578cc49876-5mg5p+k8sm2",
- "source": "demo-shippingservice-578cc49876-5mg5p",
- "target": "k8sm2",
- "total_times": 187
- }
- }, {
- "source": "UNSET",
- "target": "GetFlag",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+GetFlag",
- "source": "UNSET",
- "target": "GetFlag",
- "total_times": 3451
- }
- }, {
- "source": "demo-cartservice-6b4bb7b7c7-8b5pp",
- "target": "k8sw3",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-cartservice-6b4bb7b7c7-8b5pp+k8sw3",
- "source": "demo-cartservice-6b4bb7b7c7-8b5pp",
- "target": "k8sw3",
- "total_times": 187
- }
- }, {
- "source": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
- "target": "cartservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart+cartservice",
- "source": "http://demo-cartservice:8080/oteldemo.CartService/EmptyCart",
- "target": "cartservice",
- "total_times": 872
- }
- }, {
- "source": "UNSET",
- "target": "http://demo-emailservice:8080/send_order_confirmation",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+http://demo-emailservice:8080/send_order_confirmation",
- "source": "UNSET",
- "target": "http://demo-emailservice:8080/send_order_confirmation",
- "total_times": 3451
- }
- }, {
- "source": "checkoutservice",
- "target": "[\"./checkoutservice\"]",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "checkoutservice+[\"./checkoutservice\"]",
- "source": "checkoutservice",
- "target": "[\"./checkoutservice\"]",
- "total_times": 72
- }
- }, {
- "source": "UNSET",
- "target": "PlaceOrder",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+PlaceOrder",
- "source": "UNSET",
- "target": "PlaceOrder",
- "total_times": 3451
- }
- }, {
- "source": "unknow-process",
- "target": "demo-currencyservice-7d86b5b96d-52rl8",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "unknow-process+demo-currencyservice-7d86b5b96d-52rl8",
- "source": "unknow-process",
- "target": "demo-currencyservice-7d86b5b96d-52rl8",
- "total_times": 462
- }
- }, {
- "source": "demo-emailservice-7d769b96b8-p68hw",
- "target": "k8sw4",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-emailservice-7d769b96b8-p68hw+k8sw4",
- "source": "demo-emailservice-7d769b96b8-p68hw",
- "target": "k8sw4",
- "total_times": 187
- }
- }, {
- "source": "cartservice",
- "target": "unknow-process",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "cartservice+unknow-process",
- "source": "cartservice",
- "target": "unknow-process",
- "total_times": 72
- }
- }, {
- "source": "[\"./productcatalogservice\"]",
- "target": "demo-productcatalogservice-54f8d76964-rc2m5",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "[\"./productcatalogservice\"]+demo-productcatalogservice-54f8d76964-rc2m5",
- "source": "[\"./productcatalogservice\"]",
- "target": "demo-productcatalogservice-54f8d76964-rc2m5",
- "total_times": 462
- }
- }, {
- "source": "demo-productcatalogservice-54f8d76964-rc2m5",
- "target": "k8sw4",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-productcatalogservice-54f8d76964-rc2m5+k8sw4",
- "source": "demo-productcatalogservice-54f8d76964-rc2m5",
- "target": "k8sw4",
- "total_times": 187
- }
- }, {
- "source": "http://demo-quoteservice:8080/getquote",
- "target": "quoteservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "http://demo-quoteservice:8080/getquote+quoteservice",
- "source": "http://demo-quoteservice:8080/getquote",
- "target": "quoteservice",
- "total_times": 872
- }
- }, {
- "source": "demo-quoteservice-667cfcd77c-tb66j",
- "target": "k8sm2",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-quoteservice-667cfcd77c-tb66j+k8sm2",
- "source": "demo-quoteservice-667cfcd77c-tb66j",
- "target": "k8sm2",
- "total_times": 187
- }
- }, {
- "source": "Charge",
- "target": "checkoutservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "Charge+checkoutservice",
- "source": "Charge",
- "target": "checkoutservice",
- "total_times": 872
- }
- }, {
- "source": "k8sm1",
- "target": "alibaba_cloud_ecs",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "k8sm1+alibaba_cloud_ecs",
- "source": "k8sm1",
- "target": "alibaba_cloud_ecs",
- "total_times": 95
- }
- }, {
- "source": "UNSET",
- "target": "GetQuote",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+GetQuote",
- "source": "UNSET",
- "target": "GetQuote",
- "total_times": 3451
- }
- }, {
- "source": "Convert",
- "target": "currencyservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "Convert+currencyservice",
- "source": "Convert",
- "target": "currencyservice",
- "total_times": 872
- }
- }, {
- "source": "UNSET",
- "target": "/send_order_confirmation",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+/send_order_confirmation",
- "source": "UNSET",
- "target": "/send_order_confirmation",
- "total_times": 3451
- }
- }, {
- "source": "GetProduct",
- "target": "frontend",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "GetProduct+frontend",
- "source": "GetProduct",
- "target": "frontend",
- "total_times": 872
- }
- }, {
- "source": "shippingservice",
- "target": "[\"/app/shippingservice\"]",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "shippingservice+[\"/app/shippingservice\"]",
- "source": "shippingservice",
- "target": "[\"/app/shippingservice\"]",
- "total_times": 72
- }
- }, {
- "source": "unknow-api",
- "target": "shippingservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "unknow-api+shippingservice",
- "source": "unknow-api",
- "target": "shippingservice",
- "total_times": 872
- }
- }, {
- "source": "accountingservice",
- "target": "[\"./accountingservice\"]",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "accountingservice+[\"./accountingservice\"]",
- "source": "accountingservice",
- "target": "[\"./accountingservice\"]",
- "total_times": 72
- }
- }, {
- "source": "GetFlag",
- "target": "cartservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "GetFlag+cartservice",
- "source": "GetFlag",
- "target": "cartservice",
- "total_times": 872
- }
- }, {
- "source": "unknow-api",
- "target": "checkoutservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "unknow-api+checkoutservice",
- "source": "unknow-api",
- "target": "checkoutservice",
- "total_times": 872
- }
- }, {
- "source": "quoteservice",
- "target": "[\"public/index.php\"]",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "quoteservice+[\"public/index.php\"]",
- "source": "quoteservice",
- "target": "[\"public/index.php\"]",
- "total_times": 72
- }
- }, {
- "source": "UNSET",
- "target": "EmptyCart",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+EmptyCart",
- "source": "UNSET",
- "target": "EmptyCart",
- "total_times": 3451
- }
- }, {
- "source": "UNSET",
- "target": "demo-frontendproxy:8080/api/checkout",
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "INCLUDE",
- "id": "UNSET+demo-frontendproxy:8080/api/checkout",
- "source": "UNSET",
- "target": "demo-frontendproxy:8080/api/checkout",
- "total_times": 3451
- }
- }, {
- "source": "[\"./accountingservice\"]",
- "target": "demo-accountingservice-cd5f6d56c-4n5w2",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "[\"./accountingservice\"]+demo-accountingservice-cd5f6d56c-4n5w2",
- "source": "[\"./accountingservice\"]",
- "target": "demo-accountingservice-cd5f6d56c-4n5w2",
- "total_times": 462
- }
- }, {
- "source": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
- "target": "cartservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag+cartservice",
- "source": "http://demo-featureflagservice:50053/oteldemo.FeatureFlagService/GetFlag",
- "target": "cartservice",
- "total_times": 872
- }
- }, {
- "source": "demo-currencyservice-7d86b5b96d-52rl8",
- "target": "k8sw4",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-currencyservice-7d86b5b96d-52rl8+k8sw4",
- "source": "demo-currencyservice-7d86b5b96d-52rl8",
- "target": "k8sw4",
- "total_times": 187
- }
- }, {
- "source": "k8sw4",
- "target": "unkonw",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "k8sw4+unkonw",
- "source": "k8sw4",
- "target": "unkonw",
- "total_times": 95
- }
- }, {
- "source": "unknow-process",
- "target": "demo-featureflagservice-5d9ddf5c6-4j848",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "unknow-process+demo-featureflagservice-5d9ddf5c6-4j848",
- "source": "unknow-process",
- "target": "demo-featureflagservice-5d9ddf5c6-4j848",
- "total_times": 462
- }
- }, {
- "source": "k8sw4",
- "target": "alibaba_cloud_ecs",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "k8sw4+alibaba_cloud_ecs",
- "source": "k8sw4",
- "target": "alibaba_cloud_ecs",
- "total_times": 95
- }
- }, {
- "source": "__invoke",
- "target": "quoteservice",
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "BELONG",
- "id": "__invoke+quoteservice",
- "source": "__invoke",
- "target": "quoteservice",
- "total_times": 872
- }
- }, {
- "source": "demo-accountingservice-cd5f6d56c-4n5w2",
- "target": "k8sm2",
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "data": {
- "edge_type": "IN",
- "id": "demo-accountingservice-cd5f6d56c-4n5w2+k8sm2",
- "source": "demo-accountingservice-cd5f6d56c-4n5w2",
- "target": "k8sm2",
- "total_times": 187
- }
- }],
- "combos": []
- },
- schemaData: {
- "nodes": [{
- "nodeType": "api",
- "nodeTypeKeyFromProperties": "node_type",
- "properties": {
- "apdex": "number",
- "app_alias": "string",
- "err_rate": "number",
- "id": "string",
- "latency": "number",
- "name": "string",
- "node_type": "string",
- "rpc.method": "string",
- "service_name": "string",
- "span_kind": "string",
- "timestamp": "string"
- }
- }, {
- "nodeType": "container",
- "nodeTypeKeyFromProperties": "node_type",
- "properties": {
- "container.id": "string",
- "id": "string",
- "k8s.deployment.name": "string",
- "k8s.namespace.name": "string",
- "k8s.node.name": "string",
- "name": "string",
- "node_type": "string",
- "pod.ip": "string",
- "pod.name": "string",
- "timestamp": "string"
- }
- }, {
- "nodeType": "os",
- "nodeTypeKeyFromProperties": "node_type",
- "properties": {
- "disk": "number",
- "id": "string",
- "k8s.node.name": "string",
- "load": "number",
- "memory": "number",
- "name": "string",
- "node_type": "string",
- "timestamp": "string"
- }
- }, {
- "nodeType": "service",
- "nodeTypeKeyFromProperties": "node_type",
- "properties": {
- "apdex": "number",
- "id": "string",
- "name": "string",
- "node_type": "string",
- "process_name": "string",
- "service_name": "string",
- "timestamp": "string"
- }
- }, {
- "nodeType": "app",
- "nodeTypeKeyFromProperties": "node_type",
- "properties": {
- "apdex": "number",
- "app_alias": "string",
- "id": "string",
- "name": "string",
- "node_type": "string",
- "timestamp": "string"
- }
- }, {
- "nodeType": "process",
- "nodeTypeKeyFromProperties": "node_type",
- "properties": {
- "container.id": "string",
- "id": "string",
- "name": "string",
- "node_type": "string",
- "pod.name": "string",
- "process.command_args": "string",
- "process.executable.path": "string",
- "process.runtime.description": "string",
- "process.runtime.version": "string",
- "process_name": "string",
- "timestamp": "string"
- }
- }, {
- "nodeType": "cloud",
- "nodeTypeKeyFromProperties": "node_type",
- "properties": {
- "cloud.platform": "string",
- "cloud.provider": "string",
- "cloud.region": "string",
- "id": "string",
- "name": "string",
- "node_type": "string",
- "timestamp": "string"
- }
- }],
- "edges": [{
- "edgeType": "INCLUDE",
- "edgeTypeKeyFromProperties": "edge_type",
- "sourceNodeType": "service",
- "targetNodeType": "process",
- "properties": {
- "edge_type": "string",
- "id": "string",
- "source": "string",
- "target": "string",
- "total_times": "number"
- }
- }, {
- "edgeType": "IN",
- "edgeTypeKeyFromProperties": "edge_type",
- "sourceNodeType": "process",
- "targetNodeType": "container",
- "properties": {
- "edge_type": "string",
- "id": "string",
- "source": "string",
- "target": "string",
- "total_times": "number"
- }
- }, {
- "edgeType": "BELONG",
- "edgeTypeKeyFromProperties": "edge_type",
- "sourceNodeType": "api",
- "targetNodeType": "service",
- "properties": {
- "edge_type": "string",
- "id": "string",
- "source": "string",
- "target": "string",
- "total_times": "number"
- }
- }]
- },
- };
-
- /** 由GI平台自动生成的,请勿修改 end **/
- </script>
- <script type="text/babel">
-
-
-
-
- //@ts-ignore
- const { getCombineServices,loaderCombinedAssets } = window.GISDK.utils;
- const { GI_SITE_PROJECT_ID } = SERVER_ENGINE_CONTEXT;
- // 设置引擎上下文
- window.localStorage.setItem( 'SERVER_ENGINE_CONTEXT', JSON.stringify(SERVER_ENGINE_CONTEXT));
- const MyGraphApp= (props) => {
- const [state,setState]= React.useState({
- isReady:false,
- assets:null,
- config:{},
- services:[]
- });
- React.useEffect(()=>{
- loaderCombinedAssets(GI_ASSETS_PACKAGE).then(res=>{
- /** 生成服务 */
- const services = getCombineServices(res.services)
- setState(preState=>{
- return {
- ...preState,
- isReady:true,
- assets:res,
- services,
- config:GI_PROJECT_CONFIG,
- }
- })
- })
- },[]);
- const {assets,isReady,config,services} =state;
- if(!isReady){
- return <div>loading...</div>
- }
- return (
- <div>
- <div style={{ height: "100vh" }}>
- {/** @ts-ignore */}
- <window.GISDK.default
- config={config}
- assets={assets}
- services={services}
- />
- </div>
- </div>
- );
- };
- // 因为没有做 external,避免多个版本react冲突,统一从window对象中获取
- //@ts-ignore
- window.ReactDOM.render(<MyGraphApp />, document.getElementById("root"));
-
- </script>
- </body>
- </html>
-
|