123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297 |
- <!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 http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>GISDK EXPORT FILE</title>
- <!--- CSS -->
- <link rel="stylesheet" href="https://gw.alipayobjects.com/os/lib/antv/graphin/2.7.25/dist/index.css" />
- <link rel="stylesheet" href="https://gw.alipayobjects.com/os/lib/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="https://gw.alipayobjects.com/os/lib/antv/gi-theme-antd/0.1.0/dist/light.css" />
- </head>
- <body>
- <div id="root"></div>
- <script src="https://gw.alipayobjects.com/os/lib/babel/standalone/7.19.2/babel.min.js"></script>
-
-
-
- <!--- REACT DEPENDENCIES-->
- <script crossorigin src="https://gw.alipayobjects.com/os/lib/react/17.0.2/umd/react.production.min.js"></script>
- <script crossorigin src="https://gw.alipayobjects.com/os/lib/react-dom/17.0.2/umd/react-dom.production.min.js"></script>
- <script src="https://gw.alipayobjects.com/os/lib/localforage/1.10.0/dist/localforage.min.js"></script>
- <!--- Antd DEPENDENCIES-->
- <script src="https://gw.alipayobjects.com/os/lib/lodash/4.17.21/lodash.min.js"></script>
- <script src="https://gw.alipayobjects.com/os/lib/antd/4.24.8/dist/antd.min.js"></script>
- <!--- Graphin DEPENDENCIES-->
- <script src="https://gw.alipayobjects.com/os/lib/antv/g6/4.8.14/dist/g6.min.js"></script>
- <script src="https://gw.alipayobjects.com/os/lib/antv/graphin/2.7.25/dist/graphin.min.js"></script>
- <!--- G2/G2Plot DEPENDENCIES-->
- <script src="https://gw.alipayobjects.com/os/lib/antv/g2plot/2.4.16/dist/g2plot.min.js"></script>
- <!--- GI DEPENDENCIES-->
- <script src="https://gw.alipayobjects.com/os/lib/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": "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>
-
|