From 23f9949fad1b01010604bba371695190c56da571 Mon Sep 17 00:00:00 2001 From: Pranshu Chittora Date: Fri, 11 Mar 2022 16:32:11 +0530 Subject: [PATCH 1/3] fix: trace detail events error handling --- frontend/src/container/Timeline/index.tsx | 9 +- frontend/src/container/Timeline/utils.ts | 3 +- .../src/container/TraceDetail/MockResponse.ts | 2144 +++++++++++++++++ .../SelectedSpanDetails/ErrorTag.tsx | 13 +- frontend/src/container/TraceDetail/index.tsx | 3 +- 5 files changed, 2159 insertions(+), 13 deletions(-) create mode 100644 frontend/src/container/TraceDetail/MockResponse.ts diff --git a/frontend/src/container/Timeline/index.tsx b/frontend/src/container/Timeline/index.tsx index c729ac15f0..d4b7ca756f 100644 --- a/frontend/src/container/Timeline/index.tsx +++ b/frontend/src/container/Timeline/index.tsx @@ -49,7 +49,8 @@ const Timeline = ({ } } - setIntervalUnit(intervalUnit); + debugger; + intervalUnit = intervalUnit || INTERVAL_UNITS[0] setIntervals( getIntervals({ baseInterval, @@ -58,6 +59,7 @@ const Timeline = ({ intervalUnit, }), ); + setIntervalUnit(intervalUnit); }, [traceMetaData, globalTraceMetadata]); return ( @@ -79,10 +81,9 @@ const Timeline = ({ {intervals && intervals.map((interval, index) => ( diff --git a/frontend/src/container/Timeline/utils.ts b/frontend/src/container/Timeline/utils.ts index e7e6a79a01..b710fc19a0 100644 --- a/frontend/src/container/Timeline/utils.ts +++ b/frontend/src/container/Timeline/utils.ts @@ -46,6 +46,7 @@ export const getIntervals = ({ intervalSpreadNormalized, intervalUnit, }) => { + debugger const intervals: Interval[] = [ { label: `${toFixed(resolveTimeFromInterval(baseInterval, intervalUnit), 2)}${ @@ -68,7 +69,7 @@ export const getIntervals = ({ tempBaseSpread -= intervalSpreadNormalized; } elapsedIntervals = interval_time; - + debugger; const interval: Interval = { label: `${toFixed( resolveTimeFromInterval(interval_time + baseInterval, intervalUnit), diff --git a/frontend/src/container/TraceDetail/MockResponse.ts b/frontend/src/container/TraceDetail/MockResponse.ts new file mode 100644 index 0000000000..ef45b62c51 --- /dev/null +++ b/frontend/src/container/TraceDetail/MockResponse.ts @@ -0,0 +1,2144 @@ +export const Mock_Response = [ + { + columns: [ + '__time', + 'SpanId', + 'TraceId', + 'ServiceName', + 'Name', + 'Kind', + 'DurationNano', + 'TagsKeys', + 'TagsValues', + 'References', + 'Events', + 'HasError', + ], + events: [ + [ + 1646831185591, + '9b5fd60bda368918', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '363000', + ['http.status_code', 'type'], + ['404', 'http.response.start'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 1, + ], + [ + 1646831185591, + '845989eb14987cc5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '227000', + ['type'], + ['http.response.body'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 0, + ], + [ + 1646831185591, + '51cf972f6c27e4d5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET', + '2', + '860000', + [ + 'http.scheme', + 'http.host', + 'net.host.port', + 'http.flavor', + 'http.target', + 'http.url', + 'http.method', + 'http.server_name', + 'http.user_agent', + 'net.peer.ip', + 'net.peer.port', + 'http.status_code', + ], + [ + 'http', + '::1:5002', + '5002', + '1.1', + '/in', + 'http://::1:5002/in', + 'GET', + 'localhost:5002', + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', + '::1', + '59306', + '404', + ], + ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], + [], + 1, + ], + [ + 1646831185591, + '9b5fd60bda368918', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '363000', + ['http.status_code', 'type'], + ['404', 'http.response.start'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 1, + ], + [ + 1646831185591, + '845989eb14987cc5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '227000', + ['type'], + ['http.response.body'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 0, + ], + [ + 1646831185591, + '51cf972f6c27e4d5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET', + '2', + '860000', + [ + 'http.scheme', + 'http.host', + 'net.host.port', + 'http.flavor', + 'http.target', + 'http.url', + 'http.method', + 'http.server_name', + 'http.user_agent', + 'net.peer.ip', + 'net.peer.port', + 'http.status_code', + ], + [ + 'http', + '::1:5002', + '5002', + '1.1', + '/in', + 'http://::1:5002/in', + 'GET', + 'localhost:5002', + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', + '::1', + '59306', + '404', + ], + ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], + [], + 1, + ], + [ + 1646831185591, + '9b5fd60bda368918', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '363000', + ['http.status_code', 'type'], + ['404', 'http.response.start'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 1, + ], + [ + 1646831185591, + '845989eb14987cc5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '227000', + ['type'], + ['http.response.body'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 0, + ], + [ + 1646831185591, + '51cf972f6c27e4d5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET', + '2', + '860000', + [ + 'http.scheme', + 'http.host', + 'net.host.port', + 'http.flavor', + 'http.target', + 'http.url', + 'http.method', + 'http.server_name', + 'http.user_agent', + 'net.peer.ip', + 'net.peer.port', + 'http.status_code', + ], + [ + 'http', + '::1:5002', + '5002', + '1.1', + '/in', + 'http://::1:5002/in', + 'GET', + 'localhost:5002', + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', + '::1', + '59306', + '404', + ], + ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], + [], + 1, + ], + [ + 1646831185591, + '9b5fd60bda368918', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '363000', + ['http.status_code', 'type'], + ['404', 'http.response.start'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 1, + ], + [ + 1646831185591, + '845989eb14987cc5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '227000', + ['type'], + ['http.response.body'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 0, + ], + [ + 1646831185591, + '51cf972f6c27e4d5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET', + '2', + '860000', + [ + 'http.scheme', + 'http.host', + 'net.host.port', + 'http.flavor', + 'http.target', + 'http.url', + 'http.method', + 'http.server_name', + 'http.user_agent', + 'net.peer.ip', + 'net.peer.port', + 'http.status_code', + ], + [ + 'http', + '::1:5002', + '5002', + '1.1', + '/in', + 'http://::1:5002/in', + 'GET', + 'localhost:5002', + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', + '::1', + '59306', + '404', + ], + ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], + [], + 1, + ], + [ + 1646831185591, + '9b5fd60bda368918', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '363000', + ['http.status_code', 'type'], + ['404', 'http.response.start'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 1, + ], + [ + 1646831185591, + '845989eb14987cc5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '227000', + ['type'], + ['http.response.body'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 0, + ], + [ + 1646831185591, + '51cf972f6c27e4d5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET', + '2', + '860000', + [ + 'http.scheme', + 'http.host', + 'net.host.port', + 'http.flavor', + 'http.target', + 'http.url', + 'http.method', + 'http.server_name', + 'http.user_agent', + 'net.peer.ip', + 'net.peer.port', + 'http.status_code', + ], + [ + 'http', + '::1:5002', + '5002', + '1.1', + '/in', + 'http://::1:5002/in', + 'GET', + 'localhost:5002', + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', + '::1', + '59306', + '404', + ], + ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], + [], + 1, + ], + [ + 1646811395726, + '51cf972f6c27e4d5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + '/invalid', + '2', + '2694000', + [ + 'http.scheme', + 'http.host', + 'net.host.port', + 'http.flavor', + 'http.target', + 'http.url', + 'http.method', + 'http.server_name', + 'http.user_agent', + 'net.peer.ip', + 'net.peer.port', + 'http.route', + ], + [ + 'http', + '::1:5002', + '5002', + '1.1', + '/invalid', + 'http://::1:5002/invalid', + 'GET', + 'localhost:5002', + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', + '::1', + '57497', + '/invalid', + ], + ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], + [ + '{"name":"exception","timeUnixNano":1646811395728655000,"attributeMap":{"exception.escaped":"False","exception.message":"Invalid ","exception.stacktrace":"Traceback (most recent call last):\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/opentelemetry/trace/__init__.py\\", line 541, in use_span\\n yield span\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/opentelemetry/sdk/trace/__init__.py\\", line 988, in start_as_current_span\\n yield span_context\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/opentelemetry/instrumentation/asgi/__init__.py\\", line 346, in __call__\\n await self.app(scope, wrapped_receive, wrapped_send)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/exceptions.py\\", line 82, in __call__\\n raise exc from None\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/exceptions.py\\", line 71, in __call__\\n await self.app(scope, receive, sender)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/routing.py\\", line 580, in __call__\\n await route.handle(scope, receive, send)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/routing.py\\", line 241, in handle\\n await self.app(scope, receive, send)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/routing.py\\", line 52, in app\\n response = await func(request)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/fastapi/routing.py\\", line 226, in app\\n raw_response = await run_endpoint_function(\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/fastapi/routing.py\\", line 159, in run_endpoint_function\\n return await dependant.call(**values)\\n File \\"/Users/makeavish/signoz/sample-fastapi-app/app/./main.py\\", line 38, in invalid\\n raise ValueError(\\"Invalid \\")\\nValueError: Invalid \\n","exception.type":"ValueError"},"isError":true}', + ], + 1, + ], + [ + 1646831185591, + '9b5fd60bda368918', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '363000', + ['http.status_code', 'type'], + ['404', 'http.response.start'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 1, + ], + [ + 1646831185591, + '845989eb14987cc5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET http send', + '1', + '227000', + ['type'], + ['http.response.body'], + [ + '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', + ], + [], + 0, + ], + [ + 1646831185591, + '51cf972f6c27e4d5', + '61505b66655f1c7b2ef16279086619f1', + 'finalFastapiApp3', + 'GET', + '2', + '860000', + [ + 'http.scheme', + 'http.host', + 'net.host.port', + 'http.flavor', + 'http.target', + 'http.url', + 'http.method', + 'http.server_name', + 'http.user_agent', + 'net.peer.ip', + 'net.peer.port', + 'http.status_code', + ], + [ + 'http', + '::1:5002', + '5002', + '1.1', + '/in', + 'http://::1:5002/in', + 'GET', + 'localhost:5002', + 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', + '::1', + '59306', + '404', + ], + ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], + [], + 1, + ], + ], + }, +]; +// [ +// { +// columns: [ +// '__time', +// 'SpanId', +// 'TraceId', +// 'ServiceName', +// 'Name', +// 'Kind', +// 'DurationNano', +// 'TagsKeys', +// 'TagsValues', +// 'References', +// 'Events', +// 'HasError', +// ], +// events: [ +// [ +// 1646889838095, +// 'f7e01a1f2eefdd18', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2015400', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.prospectcustomfieldid, o.accountid, o.createddate, o.data, o.fieldname, o.fieldstatus, o.fieldtype, o.lookupfieldmappedto, o.modifieddate, o.isrequired\nFROM public.op_prospectcustomfieldtbl AS o\nWHERE (o.isrequired AND (o.accountid = @__8__locals1_accountid_0)) AND (o.fieldstatus = 1)', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838097793500}'], +// 0, +// ], +// [ +// 1646889838099, +// 'd65333b5fd6c96c0', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2752000', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.id, o.accountid, o.fieldid, o.isrequired\nFROM public.op_prospectdefaultfieldtbl AS o\nWHERE o.accountid = @__accountid_0', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838101810600}'], +// 0, +// ], +// [ +// 1646889838102, +// 'e81ae73f4b2f43f6', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '3298500', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.prospectfieldid, o.createddate, o.fieldname, o.fieldstatus, o.fieldtype, o.modifieddate\nFROM public.op_prospectfieldtbl AS o', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838105156100}'], +// 0, +// ], +// [ +// 1646889838106, +// 'b51335df380ef7c2', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '4363100', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_checkprospectemailexists(in_accountid => :in_accountid,in_prospectid => :in_prospectid,in_emailid => :in_emailid,out_count => :out_count);', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838111245300}'], +// 0, +// ], +// [ +// 1646889838115, +// '78c4dbd0592d15a0', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2289500', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT COUNT(*)::INT\nFROM public.op_blacklistdomaintbl AS o\nWHERE ((o.accountid = @__8__locals1_accountid_0) AND (o.blackliststatus = 1)) AND (lower(o.domain) = @__domain_1)', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838118002500}'], +// 0, +// ], +// [ +// 1646889838118, +// '46b5119b295f541f', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '14266300', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_insertprospect(in_accountid => :in_accountid,in_company => :in_company,in_designation => :in_designation,in_emailid => :in_emailid,in_firstname => :in_firstname,in_lastname => :in_lastname,in_flatphone => :in_flatphone,in_phone => :in_phone,in_prospectaccountid => :in_prospectaccountid,in_prospectstageid => :in_prospectstageid,in_prospectstate => :in_prospectstate,in_prospectstatus => :in_prospectstatus,in_timezone => :in_timezone,in_ianatimezone => :in_ianatimezone,in_userid => :in_userid,in_prospectpersonalize => :in_prospectpersonalize,out_prospectid => :out_prospectid);', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838133211500}'], +// 0, +// ], +// [ +// 1646889838137, +// 'dc8ffb8b2436884f', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '5917400', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_updateprospectemailandphonefields(in_accountid => :in_accountid,in_prospectid => :in_prospectid,in_email => :in_email,in_phone => :in_phone,in_flatphone => :in_flatphone,in_phone_ext => :in_phone_ext,out_status => :out_status);', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838143545400}'], +// 0, +// ], +// [ +// 1646889838144, +// '177a565deb37eace', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2714800', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_insertevent(in_accountid => :in_accountid,in_userid => :in_userid,in_eventtypeid => :in_eventtypeid,in_eventdata => :in_eventdata,in_source => :in_source,in_prospectid => :in_prospectid,in_status => :in_status,out_queueid => :out_queueid);', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838146855000}'], +// 0, +// ], +// [ +// 1646889838147, +// 'b5af1ce22982a648', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '1990900', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getevent(in_eventqueueid => :in_eventqueueid, p_refcur => \'OP_EventQueueTBL\');\nfetch all in "OP_EventQueueTBL";', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838149478600}'], +// 0, +// ], +// [ +// 1646889838148, +// 'b629feffd284bf52', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2497900', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getdeletedpipedrivemappedprospects(in_accountid => :in_accountid,in_email => :in_email,in_userid => :in_userid, p_refcur => \'OP_PipedriveProspectMappingTBL\');\nfetch all in "OP_PipedriveProspectMappingTBL";', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838150768200}'], +// 0, +// ], +// [ +// 1646889838149, +// 'ae70780222b1a85f', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '3043300', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getprospectbyid(in_accountid => :in_accountid,in_prospectid => :in_prospectid, p_refcur => \'P_GetProspectByEmail_Result\');\nfetch all in "P_GetProspectByEmail_Result";', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838152450400}'], +// 0, +// ], +// [ +// 1646889838152, +// '2ced38c1a74aa5e7', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '9824100', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getdeletedsalesforcemappedprospects(in_accountid => :in_accountid,in_email => :in_email,in_userid => :in_userid, p_refcur => \'OP_SalesforceProspectMappingTBL\');\nfetch all in "OP_SalesforceProspectMappingTBL";', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838154373500}'], +// 0, +// ], +// [ +// 1646889838178, +// '45f2c3d6425d19c7', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '3579000', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getprospect(in_prospectid => :in_prospectid, p_refcur => \'OP_ProspectTBL\');\nfetch all in "OP_ProspectTBL";', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838181761500}'], +// 0, +// ], +// [ +// 1646889838183, +// 'c97e7ca9752cd471', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '6114100', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_set_prospect_timezone(in_prospectid => :in_prospectid, p_refcur => \'P_GetTimeZoneByAddress\');\nfetch all in "P_GetTimeZoneByAddress";', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838189280300}'], +// 0, +// ], +// [ +// 1646889838195, +// '95fd26ce60f569bf', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '1907700', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.id, o.accountid, o.createddate, o.extension, o.flatphonenumber, o.modifieddate, o.name, o.phonenumber, o.prospectid, o.status\nFROM public.op_prospectphonetbl AS o\nWHERE (o.prospectid = @__prospectObj_ProspectID_0) AND ((o.status <> 2) OR (o.status IS NULL))', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838197678000}'], +// 0, +// ], +// [ +// 1646889838199, +// '147383bc59b9c2cf', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '1499600', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.configid, o.configdescription, o.configkey, o.configvalue, o.createddate, o.modifieddate, o.userid\nFROM public.op_userconfigurationtbl AS o\nWHERE (o.userid = @__userid_0) AND (o.configkey = @__configType_1)\nLIMIT @__p_2', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838200636900}'], +// 0, +// ], +// [ +// 1646889838201, +// '40fd379521f01756', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '1467100', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_checkactivitybyeventqueueid(in_eventqueueid => :in_eventqueueid,out_count => :out_count);', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838202515900}'], +// 0, +// ], +// [ +// 1646889838187, +// '68a4237b9241b5a0', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '17832000', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getprospectdetails(in_prospectid => :in_prospectid,in_accountid => :in_accountid, p_refcur => \'P_GetProspectDetails_Result\', p_refcur_2 => \'P_GetProspectInfo_Result1\', p_refcur_3 => \'P_GetProspectInfo_Result2\', p_refcur_4 => \'P_GetProspect_CRMInfo\');\nfetch all in "P_GetProspectDetails_Result";\nfetch all in "P_GetProspectInfo_Result1";\nfetch all in "P_GetProspectInfo_Result2";\nfetch all in "P_GetProspect_CRMInfo";', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838200328100}'], +// 0, +// ], +// [ +// 1646889838202, +// '9185cd8ff7de9908', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2990500', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_insertprospectactivity(in_accountid => :in_accountid,in_userid => :in_userid,in_eventtypeid => :in_eventtypeid,in_eventqueueid => :in_eventqueueid,in_eventdata => :in_eventdata,in_activitystatus => :in_activitystatus,in_prospectid => :in_prospectid,in_sequenceid => :in_sequenceid,in_eventdate => :in_eventdate,in_prospectaccountid => :in_prospectaccountid,in_opportunityid => :in_opportunityid,out_activityid => :out_activityid);', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838205641800}'], +// 0, +// ], +// [ +// 1646889838207, +// 'cdd579621ca07186', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '4025000', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838211245300}'], +// 0, +// ], +// [ +// 1646889838211, +// '373a845e42901531', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '3521200', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838215456700}'], +// 0, +// ], +// [ +// 1646889838216, +// '24119f33bee8138c', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '1399100', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.userid, o.accountid, o.accountusertype, o.apikey, o.company, o.createddate, o.designation, o.displaypicture, o.emailid, o.firstname, o.ianatimezone, o.lastaccessdate, o.lastname, o.modifieddate, o.phonenumber, o.registereddate, o.timezone, o.title, o.userstatus, o.verificationnumber\nFROM public.op_usertbl AS o\nWHERE o.userid = @__p_0\nLIMIT 1', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838217596800}'], +// 0, +// ], +// [ +// 1646889838216, +// '476a3de318952509', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2955700', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838219254500}'], +// 0, +// ], +// [ +// 1646889838215, +// '21690bfa41551adf', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '4407100', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT COUNT(*)::INT\nFROM public.op_triggeractivitytbl AS o\nWHERE o.eventqueueid = @__eventObj_EventQueueID_0', +// '1013446', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838220011700}'], +// 0, +// ], +// [ +// 1646889838218, +// '0cfe691d44c833cf', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2352300', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.webhookid, o.accountid, o.createddate, o.modifieddate, o.webhookchannel, o.webhookheaders, o.webhookpayload, o.webhookstatus, o.webhooktypeid, o.webhookurl\nFROM public.op_accountwebhooktbl AS o\nINNER JOIN public.op_webhooktypetbl AS o0 ON o.webhooktypeid = o0.webhooktypeid\nWHERE ((o.accountid = @__eventObj_AccountID_0) AND (o0.eventtype = @__eventObj_EventTypeID_1)) AND (o.webhookstatus = 1)', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838221057600}'], +// 0, +// ], +// [ +// 1646889838219, +// '8615135e316098df', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2276600', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838222035800}'], +// 0, +// ], +// [ +// 1646889838220, +// '1627c39faf31a19b', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2676800', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.triggerid, o.accountid, o.condition, o.createddate, o.lastexecutiondate, o.modifieddate, o.name, o.triggerorder, o.triggerperprospect, o.triggerstatus, o.triggertypeid, o.userid\nFROM public.op_triggertbl AS o\nINNER JOIN public.op_triggertypetbl AS o0 ON o.triggertypeid = o0.triggertypeid\nWHERE ((o0.eventtypeid = @__eventTypeID_0) AND (o.triggerstatus = 1)) AND (o.accountid = @__accountid_1)\nORDER BY o.triggerorder', +// '1013446', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838223193600}'], +// 0, +// ], +// [ +// 1646889838220, +// '52ee8f8600be260b', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '6587600', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', +// '1013447', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838227474000}'], +// 0, +// ], +// [ +// 1646889838228, +// '9b1d5b562e0d724f', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '1452000', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838229774600}'], +// 0, +// ], +// [ +// 1646889838230, +// '9b1137cea4a85786', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '1602000', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.salesforceapilimitid, o.accountid, o.createddate, o.integrationid, o.modifieddate, o.outplayapilimit, o.outplayapiusage, o.salesforceapilimit, o.salesforceapiusage, o.totalapilimit\nFROM public.op_salesforceapilimittbl AS o\nINNER JOIN public.op_crmintegrationtbl AS o0 ON o.integrationid = o0.integrationid\nWHERE (o0.integrationstatus = 1) AND (o.accountid = @__accountid_0)\nLIMIT 1', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838232318800}'], +// 0, +// ], +// [ +// 1646889838231, +// '3020ccc6e94b2392', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '5172200', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', +// '1013448', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838236166500}'], +// 0, +// ], +// [ +// 1646889838231, +// 'c4a3d4fda61969a9', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '5009300', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', +// '1013449', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838236663600}'], +// 0, +// ], +// [ +// 1646889838236, +// '02a7e426aba2418e', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '32794600', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', +// '1013446', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838269441300}'], +// 0, +// ], +// [ +// 1646889838237, +// 'dfdc413da3f51476', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '32338700', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', +// '1013447', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838269439300}'], +// 0, +// ], +// [ +// 1646889838269, +// '4a98402484fbd643', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '3175900', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'CALL public.p_update_eventqueue(in_eventid => :in_eventid,in_status => :in_status,out_updatestatus => :out_updatestatus);', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889838273156300}'], +// 0, +// ], +// [ +// 1646889836004, +// 'fab9f1fbac981caf', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '1667100', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.prospectfieldid, o.createddate, o.fieldname, o.fieldstatus, o.fieldtype, o.modifieddate\nFROM public.op_prospectfieldtbl AS o\nWHERE o.fieldstatus <> 2', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889836006336900}'], +// 0, +// ], +// [ +// 1646889836010, +// 'e4384acbc099c74c', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '1827300', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.prospectcustomfieldid, o.accountid, o.createddate, o.data, o.fieldname, o.fieldstatus, o.fieldtype, o.lookupfieldmappedto, o.modifieddate, o.isrequired\nFROM public.op_prospectcustomfieldtbl AS o\nWHERE (o.accountid = @__accountid_0) AND (o.fieldstatus = 1)', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889836011901600}'], +// 0, +// ], +// [ +// 1646889835948, +// 'a6813fc088f50383', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '6768500', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.accountid, o.userid, o1.accountname, o.clientname\nFROM public.op_accountcredentialtbl AS o\nINNER JOIN public.op_usertbl AS o0 ON o.userid = o0.userid\nINNER JOIN public.op_accounttbl AS o1 ON o.accountid = o1.accountid\nWHERE (((o.clientid = @__clientId_0) AND (o.clientsecret = @__clientSecret_1)) AND (o.clientstatus = 1)) AND (o0.userstatus = 1)\nLIMIT 1', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889835955196000}'], +// 0, +// ], +// [ +// 1646889835956, +// '3f67ae7582228e2c', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2733600', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.accountdomainid, o.accountid, o.approvalstatus, o.certificatename, o.createddate, o.customdomain, o.message, o.modifieddate\nFROM public.op_accountdomaintbl AS o\nWHERE (o.accountid = @__accountID_0) AND (o.approvalstatus = 1)', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889835959191400}'], +// 0, +// ], +// [ +// 1646889835959, +// '4a1f855fee4d69c6', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '1783100', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.accountid, o.accountkey, o.accountname, o.address, o.apidaylimit, o.automailenabled, o.chatbilling, o.chatenabled, o.chatintegrated, o.chatwebsitedomain, o.city, o.companyname, o.country, o.createddate, o.fallbacknumber, o.hostingregion, o.istrialperiod, o.linktrackingenabled, o.migratedlocationcode, o.modifieddate, o.observers, o.postalcode, o.productdescription, o.productname, o.state, o.stripecustomerid, o.subdomain, o.subscriptionenddate, o.subscriptionplan, o.teamsize, o.trailenddate\nFROM public.op_accounttbl AS o\nWHERE o.accountid = @__accountID_0', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889835961003900}'], +// 0, +// ], +// [ +// 1646889835961, +// '3921dba8d18e9e62', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '2318900', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.userid, o.accountid, o.accountusertype, o.apikey, o.company, o.createddate, o.designation, o.displaypicture, o.emailid, o.firstname, o.ianatimezone, o.lastaccessdate, o.lastname, o.modifieddate, o.phonenumber, o.registereddate, o.timezone, o.title, o.userstatus, o.verificationnumber\nFROM public.op_usertbl AS o\nWHERE (o.accountid = @__account_accountid_0) AND (o.accountusertype = 1)', +// '1013371', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889835963540900}'], +// 0, +// ], +// [ +// 1646889835988, +// '9756e6aaca5836e3', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// 'db_outplay_prd_us1', +// '3', +// '3921700', +// [ +// 'db.system', +// 'db.connection_string', +// 'db.user', +// 'db.name', +// 'db.statement', +// 'db.connection_id', +// 'net.transport', +// 'net.peer.ip', +// 'net.peer.name', +// 'peer.service', +// ], +// [ +// 'postgresql', +// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', +// 'opuser', +// 'db_outplay_prd_us1', +// 'SELECT o.accountteamid, o.accountid, o.createddate, o.modifieddate, o.roleid, o.teamuserstatus, o.userid, o2.accountid, o2.accountkey, o2.accountname, o2.address, o2.apidaylimit, o2.automailenabled, o2.chatbilling, o2.chatenabled, o2.chatintegrated, o2.chatwebsitedomain, o2.city, o2.companyname, o2.country, o2.createddate, o2.fallbacknumber, o2.hostingregion, o2.istrialperiod, o2.linktrackingenabled, o2.migratedlocationcode, o2.modifieddate, o2.observers, o2.postalcode, o2.productdescription, o2.productname, o2.state, o2.stripecustomerid, o2.subdomain, o2.subscriptionenddate, o2.subscriptionplan, o2.teamsize, o2.trailenddate, o0.userid, o0.accountid, o0.accountusertype, o0.apikey, o0.company, o0.createddate, o0.designation, o0.displaypicture, o0.emailid, o0.firstname, o0.ianatimezone, o0.lastaccessdate, o0.lastname, o0.modifieddate, o0.phonenumber, o0.registereddate, o0.timezone, o0.title, o0.userstatus, o0.verificationnumber, o1.roleid, o1.accountid, o1.createddate, o1.description, o1.isdefault, o1.modifieddate, o1.rolename, o1.rolepermissions, o1.rolestatus\nFROM public.op_accountteamtbl AS o\nINNER JOIN public.op_usertbl AS o0 ON o.userid = o0.userid\nINNER JOIN public.op_roletbl AS o1 ON o.roleid = o1.roleid\nINNER JOIN public.op_accounttbl AS o2 ON o.accountid = o2.accountid\nWHERE (((o0.userid = @__userId_0) AND (o.teamuserstatus = 1)) AND (o0.userstatus = 1)) AND (o1.rolestatus = 1)\nLIMIT 1', +// '1013370', +// 'ip_tcp', +// '172.31.51.147', +// '172.31.51.147', +// '172.31.51.147', +// ], +// [ +// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', +// ], +// ['{"name":"received-first-response","timeUnixNano":1646889835992634300}'], +// 0, +// ], +// [ +// 1646889835933, +// '5db5fbb3892b1187', +// 'b1295a32d306e8ec7eb467be756e0029', +// 'production-api-core-us1', +// '/api/v1/prospect', +// '2', +// '2298353500', +// [ +// 'http.host', +// 'http.method', +// 'http.target', +// 'http.url', +// 'http.user_agent', +// 'apiPath', +// 'http.route', +// 'http.status_code', +// 'responseType', +// ], +// [ +// 'us1-api.outplayhq.com', +// 'POST', +// '/api/v1/prospect', +// 'http://us1-api.outplayhq.com/api/v1/prospect?client_id=SIYn5FZiKXVFij05nTQa%2Bw%3D%3D', +// 'Pabbly Connect', +// '/api/v1/prospect', +// 'api/v1/prospect', +// '200', +// 'application/json; charset=utf-8', +// ], +// ['{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=, RefType=CHILD_OF}'], +// [], +// 0, +// ], +// ], +// }, +// ]; diff --git a/frontend/src/container/TraceDetail/SelectedSpanDetails/ErrorTag.tsx b/frontend/src/container/TraceDetail/SelectedSpanDetails/ErrorTag.tsx index ebe2ea2559..19f9562a3d 100644 --- a/frontend/src/container/TraceDetail/SelectedSpanDetails/ErrorTag.tsx +++ b/frontend/src/container/TraceDetail/SelectedSpanDetails/ErrorTag.tsx @@ -1,7 +1,9 @@ -import { Button, Modal, Collapse } from 'antd'; +import { Button, Collapse, Modal } from 'antd'; import useThemeMode from 'hooks/useThemeMode'; +import { keys, map } from 'lodash-es'; import React, { useRef, useState } from 'react'; import { ITraceTree } from 'types/api/trace/getTraceItem'; + import { CustomSubText, CustomSubTitle } from './styles'; // import Editor from 'components/Editor'; @@ -23,9 +25,8 @@ const ErrorTag = ({ event }: ErrorTagProps) => { return ( <> - {event?.map(({ attributeMap, name }) => { - const attributes = Object.keys(attributeMap); - + {map(event, ({ attributeMap, name }) => { + const attributes = keys(attributeMap); return ( { header={name || attributeMap?.event} key={name || attributeMap.event} > - {attributes.map((event) => { + {map(attributes, (event) => { const value = attributeMap[event]; const isEllipsed = value.length > 24; @@ -62,8 +63,6 @@ const ErrorTag = ({ event }: ErrorTagProps) => { )} - - ); })} diff --git a/frontend/src/container/TraceDetail/index.tsx b/frontend/src/container/TraceDetail/index.tsx index 99d693fc85..bc3567bd4a 100644 --- a/frontend/src/container/TraceDetail/index.tsx +++ b/frontend/src/container/TraceDetail/index.tsx @@ -17,8 +17,9 @@ import styles from './TraceGraph.module.css'; import history from 'lib/history'; import { SPAN_DETAILS_LEFT_COL_WIDTH } from 'pages/TraceDetail/constants'; import { INTERVAL_UNITS } from './utils'; - +import { Mock_Response } from './MockResponse' const TraceDetail = ({ response }: TraceDetailProps): JSX.Element => { + response = Mock_Response const spanServiceColors = useMemo( () => spanServiceNameToColorMapping(response[0].events), [response], From d0723207c3fc5fe789662c99e6b77be071126aca Mon Sep 17 00:00:00 2001 From: Pranshu Chittora Date: Fri, 11 Mar 2022 16:38:13 +0530 Subject: [PATCH 2/3] chore: remove mock response --- .../src/container/TraceDetail/MockResponse.ts | 2144 ----------------- frontend/src/container/TraceDetail/index.tsx | 16 +- frontend/src/pages/TraceDetail/index.tsx | 10 +- 3 files changed, 13 insertions(+), 2157 deletions(-) delete mode 100644 frontend/src/container/TraceDetail/MockResponse.ts diff --git a/frontend/src/container/TraceDetail/MockResponse.ts b/frontend/src/container/TraceDetail/MockResponse.ts deleted file mode 100644 index ef45b62c51..0000000000 --- a/frontend/src/container/TraceDetail/MockResponse.ts +++ /dev/null @@ -1,2144 +0,0 @@ -export const Mock_Response = [ - { - columns: [ - '__time', - 'SpanId', - 'TraceId', - 'ServiceName', - 'Name', - 'Kind', - 'DurationNano', - 'TagsKeys', - 'TagsValues', - 'References', - 'Events', - 'HasError', - ], - events: [ - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - [ - 1646811395726, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - '/invalid', - '2', - '2694000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.route', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/invalid', - 'http://::1:5002/invalid', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '57497', - '/invalid', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [ - '{"name":"exception","timeUnixNano":1646811395728655000,"attributeMap":{"exception.escaped":"False","exception.message":"Invalid ","exception.stacktrace":"Traceback (most recent call last):\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/opentelemetry/trace/__init__.py\\", line 541, in use_span\\n yield span\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/opentelemetry/sdk/trace/__init__.py\\", line 988, in start_as_current_span\\n yield span_context\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/opentelemetry/instrumentation/asgi/__init__.py\\", line 346, in __call__\\n await self.app(scope, wrapped_receive, wrapped_send)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/exceptions.py\\", line 82, in __call__\\n raise exc from None\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/exceptions.py\\", line 71, in __call__\\n await self.app(scope, receive, sender)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/routing.py\\", line 580, in __call__\\n await route.handle(scope, receive, send)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/routing.py\\", line 241, in handle\\n await self.app(scope, receive, send)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/routing.py\\", line 52, in app\\n response = await func(request)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/fastapi/routing.py\\", line 226, in app\\n raw_response = await run_endpoint_function(\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/fastapi/routing.py\\", line 159, in run_endpoint_function\\n return await dependant.call(**values)\\n File \\"/Users/makeavish/signoz/sample-fastapi-app/app/./main.py\\", line 38, in invalid\\n raise ValueError(\\"Invalid \\")\\nValueError: Invalid \\n","exception.type":"ValueError"},"isError":true}', - ], - 1, - ], - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - ], - }, -]; -// [ -// { -// columns: [ -// '__time', -// 'SpanId', -// 'TraceId', -// 'ServiceName', -// 'Name', -// 'Kind', -// 'DurationNano', -// 'TagsKeys', -// 'TagsValues', -// 'References', -// 'Events', -// 'HasError', -// ], -// events: [ -// [ -// 1646889838095, -// 'f7e01a1f2eefdd18', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2015400', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.prospectcustomfieldid, o.accountid, o.createddate, o.data, o.fieldname, o.fieldstatus, o.fieldtype, o.lookupfieldmappedto, o.modifieddate, o.isrequired\nFROM public.op_prospectcustomfieldtbl AS o\nWHERE (o.isrequired AND (o.accountid = @__8__locals1_accountid_0)) AND (o.fieldstatus = 1)', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838097793500}'], -// 0, -// ], -// [ -// 1646889838099, -// 'd65333b5fd6c96c0', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2752000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.id, o.accountid, o.fieldid, o.isrequired\nFROM public.op_prospectdefaultfieldtbl AS o\nWHERE o.accountid = @__accountid_0', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838101810600}'], -// 0, -// ], -// [ -// 1646889838102, -// 'e81ae73f4b2f43f6', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3298500', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.prospectfieldid, o.createddate, o.fieldname, o.fieldstatus, o.fieldtype, o.modifieddate\nFROM public.op_prospectfieldtbl AS o', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838105156100}'], -// 0, -// ], -// [ -// 1646889838106, -// 'b51335df380ef7c2', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '4363100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_checkprospectemailexists(in_accountid => :in_accountid,in_prospectid => :in_prospectid,in_emailid => :in_emailid,out_count => :out_count);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838111245300}'], -// 0, -// ], -// [ -// 1646889838115, -// '78c4dbd0592d15a0', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2289500', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT COUNT(*)::INT\nFROM public.op_blacklistdomaintbl AS o\nWHERE ((o.accountid = @__8__locals1_accountid_0) AND (o.blackliststatus = 1)) AND (lower(o.domain) = @__domain_1)', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838118002500}'], -// 0, -// ], -// [ -// 1646889838118, -// '46b5119b295f541f', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '14266300', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_insertprospect(in_accountid => :in_accountid,in_company => :in_company,in_designation => :in_designation,in_emailid => :in_emailid,in_firstname => :in_firstname,in_lastname => :in_lastname,in_flatphone => :in_flatphone,in_phone => :in_phone,in_prospectaccountid => :in_prospectaccountid,in_prospectstageid => :in_prospectstageid,in_prospectstate => :in_prospectstate,in_prospectstatus => :in_prospectstatus,in_timezone => :in_timezone,in_ianatimezone => :in_ianatimezone,in_userid => :in_userid,in_prospectpersonalize => :in_prospectpersonalize,out_prospectid => :out_prospectid);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838133211500}'], -// 0, -// ], -// [ -// 1646889838137, -// 'dc8ffb8b2436884f', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '5917400', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_updateprospectemailandphonefields(in_accountid => :in_accountid,in_prospectid => :in_prospectid,in_email => :in_email,in_phone => :in_phone,in_flatphone => :in_flatphone,in_phone_ext => :in_phone_ext,out_status => :out_status);', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838143545400}'], -// 0, -// ], -// [ -// 1646889838144, -// '177a565deb37eace', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2714800', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_insertevent(in_accountid => :in_accountid,in_userid => :in_userid,in_eventtypeid => :in_eventtypeid,in_eventdata => :in_eventdata,in_source => :in_source,in_prospectid => :in_prospectid,in_status => :in_status,out_queueid => :out_queueid);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838146855000}'], -// 0, -// ], -// [ -// 1646889838147, -// 'b5af1ce22982a648', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1990900', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getevent(in_eventqueueid => :in_eventqueueid, p_refcur => \'OP_EventQueueTBL\');\nfetch all in "OP_EventQueueTBL";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838149478600}'], -// 0, -// ], -// [ -// 1646889838148, -// 'b629feffd284bf52', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2497900', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getdeletedpipedrivemappedprospects(in_accountid => :in_accountid,in_email => :in_email,in_userid => :in_userid, p_refcur => \'OP_PipedriveProspectMappingTBL\');\nfetch all in "OP_PipedriveProspectMappingTBL";', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838150768200}'], -// 0, -// ], -// [ -// 1646889838149, -// 'ae70780222b1a85f', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3043300', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getprospectbyid(in_accountid => :in_accountid,in_prospectid => :in_prospectid, p_refcur => \'P_GetProspectByEmail_Result\');\nfetch all in "P_GetProspectByEmail_Result";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838152450400}'], -// 0, -// ], -// [ -// 1646889838152, -// '2ced38c1a74aa5e7', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '9824100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getdeletedsalesforcemappedprospects(in_accountid => :in_accountid,in_email => :in_email,in_userid => :in_userid, p_refcur => \'OP_SalesforceProspectMappingTBL\');\nfetch all in "OP_SalesforceProspectMappingTBL";', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838154373500}'], -// 0, -// ], -// [ -// 1646889838178, -// '45f2c3d6425d19c7', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3579000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getprospect(in_prospectid => :in_prospectid, p_refcur => \'OP_ProspectTBL\');\nfetch all in "OP_ProspectTBL";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838181761500}'], -// 0, -// ], -// [ -// 1646889838183, -// 'c97e7ca9752cd471', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '6114100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_set_prospect_timezone(in_prospectid => :in_prospectid, p_refcur => \'P_GetTimeZoneByAddress\');\nfetch all in "P_GetTimeZoneByAddress";', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838189280300}'], -// 0, -// ], -// [ -// 1646889838195, -// '95fd26ce60f569bf', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1907700', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.id, o.accountid, o.createddate, o.extension, o.flatphonenumber, o.modifieddate, o.name, o.phonenumber, o.prospectid, o.status\nFROM public.op_prospectphonetbl AS o\nWHERE (o.prospectid = @__prospectObj_ProspectID_0) AND ((o.status <> 2) OR (o.status IS NULL))', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838197678000}'], -// 0, -// ], -// [ -// 1646889838199, -// '147383bc59b9c2cf', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1499600', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.configid, o.configdescription, o.configkey, o.configvalue, o.createddate, o.modifieddate, o.userid\nFROM public.op_userconfigurationtbl AS o\nWHERE (o.userid = @__userid_0) AND (o.configkey = @__configType_1)\nLIMIT @__p_2', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838200636900}'], -// 0, -// ], -// [ -// 1646889838201, -// '40fd379521f01756', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1467100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_checkactivitybyeventqueueid(in_eventqueueid => :in_eventqueueid,out_count => :out_count);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838202515900}'], -// 0, -// ], -// [ -// 1646889838187, -// '68a4237b9241b5a0', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '17832000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getprospectdetails(in_prospectid => :in_prospectid,in_accountid => :in_accountid, p_refcur => \'P_GetProspectDetails_Result\', p_refcur_2 => \'P_GetProspectInfo_Result1\', p_refcur_3 => \'P_GetProspectInfo_Result2\', p_refcur_4 => \'P_GetProspect_CRMInfo\');\nfetch all in "P_GetProspectDetails_Result";\nfetch all in "P_GetProspectInfo_Result1";\nfetch all in "P_GetProspectInfo_Result2";\nfetch all in "P_GetProspect_CRMInfo";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838200328100}'], -// 0, -// ], -// [ -// 1646889838202, -// '9185cd8ff7de9908', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2990500', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_insertprospectactivity(in_accountid => :in_accountid,in_userid => :in_userid,in_eventtypeid => :in_eventtypeid,in_eventqueueid => :in_eventqueueid,in_eventdata => :in_eventdata,in_activitystatus => :in_activitystatus,in_prospectid => :in_prospectid,in_sequenceid => :in_sequenceid,in_eventdate => :in_eventdate,in_prospectaccountid => :in_prospectaccountid,in_opportunityid => :in_opportunityid,out_activityid => :out_activityid);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838205641800}'], -// 0, -// ], -// [ -// 1646889838207, -// 'cdd579621ca07186', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '4025000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838211245300}'], -// 0, -// ], -// [ -// 1646889838211, -// '373a845e42901531', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3521200', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838215456700}'], -// 0, -// ], -// [ -// 1646889838216, -// '24119f33bee8138c', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1399100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.userid, o.accountid, o.accountusertype, o.apikey, o.company, o.createddate, o.designation, o.displaypicture, o.emailid, o.firstname, o.ianatimezone, o.lastaccessdate, o.lastname, o.modifieddate, o.phonenumber, o.registereddate, o.timezone, o.title, o.userstatus, o.verificationnumber\nFROM public.op_usertbl AS o\nWHERE o.userid = @__p_0\nLIMIT 1', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838217596800}'], -// 0, -// ], -// [ -// 1646889838216, -// '476a3de318952509', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2955700', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838219254500}'], -// 0, -// ], -// [ -// 1646889838215, -// '21690bfa41551adf', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '4407100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT COUNT(*)::INT\nFROM public.op_triggeractivitytbl AS o\nWHERE o.eventqueueid = @__eventObj_EventQueueID_0', -// '1013446', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838220011700}'], -// 0, -// ], -// [ -// 1646889838218, -// '0cfe691d44c833cf', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2352300', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.webhookid, o.accountid, o.createddate, o.modifieddate, o.webhookchannel, o.webhookheaders, o.webhookpayload, o.webhookstatus, o.webhooktypeid, o.webhookurl\nFROM public.op_accountwebhooktbl AS o\nINNER JOIN public.op_webhooktypetbl AS o0 ON o.webhooktypeid = o0.webhooktypeid\nWHERE ((o.accountid = @__eventObj_AccountID_0) AND (o0.eventtype = @__eventObj_EventTypeID_1)) AND (o.webhookstatus = 1)', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838221057600}'], -// 0, -// ], -// [ -// 1646889838219, -// '8615135e316098df', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2276600', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838222035800}'], -// 0, -// ], -// [ -// 1646889838220, -// '1627c39faf31a19b', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2676800', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.triggerid, o.accountid, o.condition, o.createddate, o.lastexecutiondate, o.modifieddate, o.name, o.triggerorder, o.triggerperprospect, o.triggerstatus, o.triggertypeid, o.userid\nFROM public.op_triggertbl AS o\nINNER JOIN public.op_triggertypetbl AS o0 ON o.triggertypeid = o0.triggertypeid\nWHERE ((o0.eventtypeid = @__eventTypeID_0) AND (o.triggerstatus = 1)) AND (o.accountid = @__accountid_1)\nORDER BY o.triggerorder', -// '1013446', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838223193600}'], -// 0, -// ], -// [ -// 1646889838220, -// '52ee8f8600be260b', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '6587600', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', -// '1013447', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838227474000}'], -// 0, -// ], -// [ -// 1646889838228, -// '9b1d5b562e0d724f', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1452000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838229774600}'], -// 0, -// ], -// [ -// 1646889838230, -// '9b1137cea4a85786', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1602000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.salesforceapilimitid, o.accountid, o.createddate, o.integrationid, o.modifieddate, o.outplayapilimit, o.outplayapiusage, o.salesforceapilimit, o.salesforceapiusage, o.totalapilimit\nFROM public.op_salesforceapilimittbl AS o\nINNER JOIN public.op_crmintegrationtbl AS o0 ON o.integrationid = o0.integrationid\nWHERE (o0.integrationstatus = 1) AND (o.accountid = @__accountid_0)\nLIMIT 1', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838232318800}'], -// 0, -// ], -// [ -// 1646889838231, -// '3020ccc6e94b2392', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '5172200', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', -// '1013448', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838236166500}'], -// 0, -// ], -// [ -// 1646889838231, -// 'c4a3d4fda61969a9', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '5009300', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', -// '1013449', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838236663600}'], -// 0, -// ], -// [ -// 1646889838236, -// '02a7e426aba2418e', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '32794600', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', -// '1013446', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838269441300}'], -// 0, -// ], -// [ -// 1646889838237, -// 'dfdc413da3f51476', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '32338700', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', -// '1013447', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838269439300}'], -// 0, -// ], -// [ -// 1646889838269, -// '4a98402484fbd643', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3175900', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_update_eventqueue(in_eventid => :in_eventid,in_status => :in_status,out_updatestatus => :out_updatestatus);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838273156300}'], -// 0, -// ], -// [ -// 1646889836004, -// 'fab9f1fbac981caf', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1667100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.prospectfieldid, o.createddate, o.fieldname, o.fieldstatus, o.fieldtype, o.modifieddate\nFROM public.op_prospectfieldtbl AS o\nWHERE o.fieldstatus <> 2', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889836006336900}'], -// 0, -// ], -// [ -// 1646889836010, -// 'e4384acbc099c74c', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1827300', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.prospectcustomfieldid, o.accountid, o.createddate, o.data, o.fieldname, o.fieldstatus, o.fieldtype, o.lookupfieldmappedto, o.modifieddate, o.isrequired\nFROM public.op_prospectcustomfieldtbl AS o\nWHERE (o.accountid = @__accountid_0) AND (o.fieldstatus = 1)', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889836011901600}'], -// 0, -// ], -// [ -// 1646889835948, -// 'a6813fc088f50383', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '6768500', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.accountid, o.userid, o1.accountname, o.clientname\nFROM public.op_accountcredentialtbl AS o\nINNER JOIN public.op_usertbl AS o0 ON o.userid = o0.userid\nINNER JOIN public.op_accounttbl AS o1 ON o.accountid = o1.accountid\nWHERE (((o.clientid = @__clientId_0) AND (o.clientsecret = @__clientSecret_1)) AND (o.clientstatus = 1)) AND (o0.userstatus = 1)\nLIMIT 1', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889835955196000}'], -// 0, -// ], -// [ -// 1646889835956, -// '3f67ae7582228e2c', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2733600', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.accountdomainid, o.accountid, o.approvalstatus, o.certificatename, o.createddate, o.customdomain, o.message, o.modifieddate\nFROM public.op_accountdomaintbl AS o\nWHERE (o.accountid = @__accountID_0) AND (o.approvalstatus = 1)', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889835959191400}'], -// 0, -// ], -// [ -// 1646889835959, -// '4a1f855fee4d69c6', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1783100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.accountid, o.accountkey, o.accountname, o.address, o.apidaylimit, o.automailenabled, o.chatbilling, o.chatenabled, o.chatintegrated, o.chatwebsitedomain, o.city, o.companyname, o.country, o.createddate, o.fallbacknumber, o.hostingregion, o.istrialperiod, o.linktrackingenabled, o.migratedlocationcode, o.modifieddate, o.observers, o.postalcode, o.productdescription, o.productname, o.state, o.stripecustomerid, o.subdomain, o.subscriptionenddate, o.subscriptionplan, o.teamsize, o.trailenddate\nFROM public.op_accounttbl AS o\nWHERE o.accountid = @__accountID_0', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889835961003900}'], -// 0, -// ], -// [ -// 1646889835961, -// '3921dba8d18e9e62', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2318900', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.userid, o.accountid, o.accountusertype, o.apikey, o.company, o.createddate, o.designation, o.displaypicture, o.emailid, o.firstname, o.ianatimezone, o.lastaccessdate, o.lastname, o.modifieddate, o.phonenumber, o.registereddate, o.timezone, o.title, o.userstatus, o.verificationnumber\nFROM public.op_usertbl AS o\nWHERE (o.accountid = @__account_accountid_0) AND (o.accountusertype = 1)', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889835963540900}'], -// 0, -// ], -// [ -// 1646889835988, -// '9756e6aaca5836e3', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3921700', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.accountteamid, o.accountid, o.createddate, o.modifieddate, o.roleid, o.teamuserstatus, o.userid, o2.accountid, o2.accountkey, o2.accountname, o2.address, o2.apidaylimit, o2.automailenabled, o2.chatbilling, o2.chatenabled, o2.chatintegrated, o2.chatwebsitedomain, o2.city, o2.companyname, o2.country, o2.createddate, o2.fallbacknumber, o2.hostingregion, o2.istrialperiod, o2.linktrackingenabled, o2.migratedlocationcode, o2.modifieddate, o2.observers, o2.postalcode, o2.productdescription, o2.productname, o2.state, o2.stripecustomerid, o2.subdomain, o2.subscriptionenddate, o2.subscriptionplan, o2.teamsize, o2.trailenddate, o0.userid, o0.accountid, o0.accountusertype, o0.apikey, o0.company, o0.createddate, o0.designation, o0.displaypicture, o0.emailid, o0.firstname, o0.ianatimezone, o0.lastaccessdate, o0.lastname, o0.modifieddate, o0.phonenumber, o0.registereddate, o0.timezone, o0.title, o0.userstatus, o0.verificationnumber, o1.roleid, o1.accountid, o1.createddate, o1.description, o1.isdefault, o1.modifieddate, o1.rolename, o1.rolepermissions, o1.rolestatus\nFROM public.op_accountteamtbl AS o\nINNER JOIN public.op_usertbl AS o0 ON o.userid = o0.userid\nINNER JOIN public.op_roletbl AS o1 ON o.roleid = o1.roleid\nINNER JOIN public.op_accounttbl AS o2 ON o.accountid = o2.accountid\nWHERE (((o0.userid = @__userId_0) AND (o.teamuserstatus = 1)) AND (o0.userstatus = 1)) AND (o1.rolestatus = 1)\nLIMIT 1', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889835992634300}'], -// 0, -// ], -// [ -// 1646889835933, -// '5db5fbb3892b1187', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// '/api/v1/prospect', -// '2', -// '2298353500', -// [ -// 'http.host', -// 'http.method', -// 'http.target', -// 'http.url', -// 'http.user_agent', -// 'apiPath', -// 'http.route', -// 'http.status_code', -// 'responseType', -// ], -// [ -// 'us1-api.outplayhq.com', -// 'POST', -// '/api/v1/prospect', -// 'http://us1-api.outplayhq.com/api/v1/prospect?client_id=SIYn5FZiKXVFij05nTQa%2Bw%3D%3D', -// 'Pabbly Connect', -// '/api/v1/prospect', -// 'api/v1/prospect', -// '200', -// 'application/json; charset=utf-8', -// ], -// ['{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=, RefType=CHILD_OF}'], -// [], -// 0, -// ], -// ], -// }, -// ]; diff --git a/frontend/src/container/TraceDetail/index.tsx b/frontend/src/container/TraceDetail/index.tsx index bc3567bd4a..6f96b6462a 100644 --- a/frontend/src/container/TraceDetail/index.tsx +++ b/frontend/src/container/TraceDetail/index.tsx @@ -1,25 +1,25 @@ -import React, { useEffect, useMemo, useState } from 'react'; -import { Col, Divider, Row, Typography, Space, Button } from 'antd'; import { FilterOutlined } from '@ant-design/icons'; +import { Button, Col, Divider, Row, Space, Typography } from 'antd'; import GanttChart from 'container/GantChart'; import { getNodeById } from 'container/GantChart/utils'; import Timeline from 'container/Timeline'; import TraceFlameGraph from 'container/TraceFlameGraph'; import dayjs from 'dayjs'; +import useUrlQuery from 'hooks/useUrlQuery'; import { spanServiceNameToColorMapping } from 'lib/getRandomColor'; -import { getSortedData } from './utils'; +import history from 'lib/history'; +import { SPAN_DETAILS_LEFT_COL_WIDTH } from 'pages/TraceDetail/constants'; +import React, { useEffect, useMemo, useState } from 'react'; import { ITraceTree, PayloadProps } from 'types/api/trace/getTraceItem'; import { getSpanTreeMetadata } from 'utils/getSpanTreeMetadata'; import { spanToTreeUtil } from 'utils/spanToTree'; + import SelectedSpanDetails from './SelectedSpanDetails'; -import useUrlQuery from 'hooks/useUrlQuery'; import styles from './TraceGraph.module.css'; -import history from 'lib/history'; -import { SPAN_DETAILS_LEFT_COL_WIDTH } from 'pages/TraceDetail/constants'; +import { getSortedData } from './utils'; import { INTERVAL_UNITS } from './utils'; -import { Mock_Response } from './MockResponse' + const TraceDetail = ({ response }: TraceDetailProps): JSX.Element => { - response = Mock_Response const spanServiceColors = useMemo( () => spanServiceNameToColorMapping(response[0].events), [response], diff --git a/frontend/src/pages/TraceDetail/index.tsx b/frontend/src/pages/TraceDetail/index.tsx index bf29a5244b..8c3f515877 100644 --- a/frontend/src/pages/TraceDetail/index.tsx +++ b/frontend/src/pages/TraceDetail/index.tsx @@ -1,11 +1,11 @@ -import React from 'react'; -import useFetch from 'hooks/useFetch'; +import { Typography } from 'antd'; import getTraceItem from 'api/trace/getTraceItem'; +import Spinner from 'components/Spinner'; +import TraceDetailContainer from 'container/TraceDetail'; +import useFetch from 'hooks/useFetch'; +import React from 'react'; import { useParams } from 'react-router-dom'; import { Props as TraceDetailProps } from 'types/api/trace/getTraceItem'; -import Spinner from 'components/Spinner'; -import { Typography } from 'antd'; -import TraceDetailContainer from 'container/TraceDetail'; const TraceDetail = (): JSX.Element => { const { id } = useParams(); From 08ca3b784995af0af0435229a181f4afa22aedfb Mon Sep 17 00:00:00 2001 From: Pranshu Chittora Date: Fri, 11 Mar 2022 16:40:48 +0530 Subject: [PATCH 3/3] bug: timeline interval is updated fix: add if condition for timeline interval chore: remove mock response --- frontend/src/container/Timeline/index.tsx | 34 +- .../src/container/TraceDetail/MockResponse.ts | 2144 ----------------- frontend/src/container/TraceDetail/index.tsx | 16 +- frontend/src/pages/TraceDetail/index.tsx | 10 +- 4 files changed, 28 insertions(+), 2176 deletions(-) delete mode 100644 frontend/src/container/TraceDetail/MockResponse.ts diff --git a/frontend/src/container/Timeline/index.tsx b/frontend/src/container/Timeline/index.tsx index d4b7ca756f..ba2e6b418d 100644 --- a/frontend/src/container/Timeline/index.tsx +++ b/frontend/src/container/Timeline/index.tsx @@ -1,36 +1,25 @@ -import React, { useState, useMemo } from 'react'; -import { isEqual } from 'lodash-es'; +import React, { useState, useMemo, useEffect } from 'react'; import styles from './style.module.css'; import { useMeasure } from 'react-use'; -import { toFixed } from 'utils/toFixed'; -import { - INTERVAL_UNITS, - resolveTimeFromInterval, -} from 'container/TraceDetail/utils'; +import { INTERVAL_UNITS } from 'container/TraceDetail/utils'; import useThemeMode from 'hooks/useThemeMode'; import { Interval } from './types'; import { getIntervalSpread, getIntervals } from './utils'; -interface TimelineProps { - traceMetaData: object; - globalTraceMetadata: object; - intervalUnit: object; - setIntervalUnit: Function; -} + +const Timeline_Height = 22; +const Timeline_H_Spacing = 0; + const Timeline = ({ traceMetaData, globalTraceMetadata, - intervalUnit, setIntervalUnit, }: TimelineProps) => { const [ref, { width }] = useMeasure(); const { isDarkMode } = useThemeMode(); - const Timeline_Height = 22; - const Timeline_H_Spacing = 0; - const [intervals, setIntervals] = useState(null); - useMemo(() => { + useEffect(() => { const { baseInterval, baseSpread, @@ -44,7 +33,7 @@ const Timeline = ({ for (const idx in INTERVAL_UNITS) { const standard_interval = INTERVAL_UNITS[idx]; if (baseSpread * standard_interval.multiplier < 1) { - intervalUnit = INTERVAL_UNITS[idx - 1]; + if (idx > 1) intervalUnit = INTERVAL_UNITS[idx - 1]; break; } } @@ -103,4 +92,11 @@ const Timeline = ({ ); }; +interface TimelineProps { + traceMetaData: object; + globalTraceMetadata: object; + intervalUnit: object; + setIntervalUnit: Function; +} + export default Timeline; diff --git a/frontend/src/container/TraceDetail/MockResponse.ts b/frontend/src/container/TraceDetail/MockResponse.ts deleted file mode 100644 index ef45b62c51..0000000000 --- a/frontend/src/container/TraceDetail/MockResponse.ts +++ /dev/null @@ -1,2144 +0,0 @@ -export const Mock_Response = [ - { - columns: [ - '__time', - 'SpanId', - 'TraceId', - 'ServiceName', - 'Name', - 'Kind', - 'DurationNano', - 'TagsKeys', - 'TagsValues', - 'References', - 'Events', - 'HasError', - ], - events: [ - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - [ - 1646811395726, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - '/invalid', - '2', - '2694000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.route', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/invalid', - 'http://::1:5002/invalid', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '57497', - '/invalid', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [ - '{"name":"exception","timeUnixNano":1646811395728655000,"attributeMap":{"exception.escaped":"False","exception.message":"Invalid ","exception.stacktrace":"Traceback (most recent call last):\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/opentelemetry/trace/__init__.py\\", line 541, in use_span\\n yield span\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/opentelemetry/sdk/trace/__init__.py\\", line 988, in start_as_current_span\\n yield span_context\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/opentelemetry/instrumentation/asgi/__init__.py\\", line 346, in __call__\\n await self.app(scope, wrapped_receive, wrapped_send)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/exceptions.py\\", line 82, in __call__\\n raise exc from None\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/exceptions.py\\", line 71, in __call__\\n await self.app(scope, receive, sender)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/routing.py\\", line 580, in __call__\\n await route.handle(scope, receive, send)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/routing.py\\", line 241, in handle\\n await self.app(scope, receive, send)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/starlette/routing.py\\", line 52, in app\\n response = await func(request)\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/fastapi/routing.py\\", line 226, in app\\n raw_response = await run_endpoint_function(\\n File \\"/opt/homebrew/Cellar/python@3.9/3.9.10/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/fastapi/routing.py\\", line 159, in run_endpoint_function\\n return await dependant.call(**values)\\n File \\"/Users/makeavish/signoz/sample-fastapi-app/app/./main.py\\", line 38, in invalid\\n raise ValueError(\\"Invalid \\")\\nValueError: Invalid \\n","exception.type":"ValueError"},"isError":true}', - ], - 1, - ], - [ - 1646831185591, - '9b5fd60bda368918', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '363000', - ['http.status_code', 'type'], - ['404', 'http.response.start'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 1, - ], - [ - 1646831185591, - '845989eb14987cc5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET http send', - '1', - '227000', - ['type'], - ['http.response.body'], - [ - '{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=51cf972f6c27e4d5, RefType=CHILD_OF}', - ], - [], - 0, - ], - [ - 1646831185591, - '51cf972f6c27e4d5', - '61505b66655f1c7b2ef16279086619f1', - 'finalFastapiApp3', - 'GET', - '2', - '860000', - [ - 'http.scheme', - 'http.host', - 'net.host.port', - 'http.flavor', - 'http.target', - 'http.url', - 'http.method', - 'http.server_name', - 'http.user_agent', - 'net.peer.ip', - 'net.peer.port', - 'http.status_code', - ], - [ - 'http', - '::1:5002', - '5002', - '1.1', - '/in', - 'http://::1:5002/in', - 'GET', - 'localhost:5002', - 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15', - '::1', - '59306', - '404', - ], - ['{TraceId=61505b66655f1c7b2ef16279086619f1, SpanId=, RefType=CHILD_OF}'], - [], - 1, - ], - ], - }, -]; -// [ -// { -// columns: [ -// '__time', -// 'SpanId', -// 'TraceId', -// 'ServiceName', -// 'Name', -// 'Kind', -// 'DurationNano', -// 'TagsKeys', -// 'TagsValues', -// 'References', -// 'Events', -// 'HasError', -// ], -// events: [ -// [ -// 1646889838095, -// 'f7e01a1f2eefdd18', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2015400', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.prospectcustomfieldid, o.accountid, o.createddate, o.data, o.fieldname, o.fieldstatus, o.fieldtype, o.lookupfieldmappedto, o.modifieddate, o.isrequired\nFROM public.op_prospectcustomfieldtbl AS o\nWHERE (o.isrequired AND (o.accountid = @__8__locals1_accountid_0)) AND (o.fieldstatus = 1)', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838097793500}'], -// 0, -// ], -// [ -// 1646889838099, -// 'd65333b5fd6c96c0', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2752000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.id, o.accountid, o.fieldid, o.isrequired\nFROM public.op_prospectdefaultfieldtbl AS o\nWHERE o.accountid = @__accountid_0', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838101810600}'], -// 0, -// ], -// [ -// 1646889838102, -// 'e81ae73f4b2f43f6', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3298500', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.prospectfieldid, o.createddate, o.fieldname, o.fieldstatus, o.fieldtype, o.modifieddate\nFROM public.op_prospectfieldtbl AS o', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838105156100}'], -// 0, -// ], -// [ -// 1646889838106, -// 'b51335df380ef7c2', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '4363100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_checkprospectemailexists(in_accountid => :in_accountid,in_prospectid => :in_prospectid,in_emailid => :in_emailid,out_count => :out_count);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838111245300}'], -// 0, -// ], -// [ -// 1646889838115, -// '78c4dbd0592d15a0', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2289500', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT COUNT(*)::INT\nFROM public.op_blacklistdomaintbl AS o\nWHERE ((o.accountid = @__8__locals1_accountid_0) AND (o.blackliststatus = 1)) AND (lower(o.domain) = @__domain_1)', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838118002500}'], -// 0, -// ], -// [ -// 1646889838118, -// '46b5119b295f541f', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '14266300', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_insertprospect(in_accountid => :in_accountid,in_company => :in_company,in_designation => :in_designation,in_emailid => :in_emailid,in_firstname => :in_firstname,in_lastname => :in_lastname,in_flatphone => :in_flatphone,in_phone => :in_phone,in_prospectaccountid => :in_prospectaccountid,in_prospectstageid => :in_prospectstageid,in_prospectstate => :in_prospectstate,in_prospectstatus => :in_prospectstatus,in_timezone => :in_timezone,in_ianatimezone => :in_ianatimezone,in_userid => :in_userid,in_prospectpersonalize => :in_prospectpersonalize,out_prospectid => :out_prospectid);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838133211500}'], -// 0, -// ], -// [ -// 1646889838137, -// 'dc8ffb8b2436884f', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '5917400', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_updateprospectemailandphonefields(in_accountid => :in_accountid,in_prospectid => :in_prospectid,in_email => :in_email,in_phone => :in_phone,in_flatphone => :in_flatphone,in_phone_ext => :in_phone_ext,out_status => :out_status);', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838143545400}'], -// 0, -// ], -// [ -// 1646889838144, -// '177a565deb37eace', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2714800', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_insertevent(in_accountid => :in_accountid,in_userid => :in_userid,in_eventtypeid => :in_eventtypeid,in_eventdata => :in_eventdata,in_source => :in_source,in_prospectid => :in_prospectid,in_status => :in_status,out_queueid => :out_queueid);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838146855000}'], -// 0, -// ], -// [ -// 1646889838147, -// 'b5af1ce22982a648', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1990900', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getevent(in_eventqueueid => :in_eventqueueid, p_refcur => \'OP_EventQueueTBL\');\nfetch all in "OP_EventQueueTBL";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838149478600}'], -// 0, -// ], -// [ -// 1646889838148, -// 'b629feffd284bf52', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2497900', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getdeletedpipedrivemappedprospects(in_accountid => :in_accountid,in_email => :in_email,in_userid => :in_userid, p_refcur => \'OP_PipedriveProspectMappingTBL\');\nfetch all in "OP_PipedriveProspectMappingTBL";', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838150768200}'], -// 0, -// ], -// [ -// 1646889838149, -// 'ae70780222b1a85f', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3043300', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getprospectbyid(in_accountid => :in_accountid,in_prospectid => :in_prospectid, p_refcur => \'P_GetProspectByEmail_Result\');\nfetch all in "P_GetProspectByEmail_Result";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838152450400}'], -// 0, -// ], -// [ -// 1646889838152, -// '2ced38c1a74aa5e7', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '9824100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getdeletedsalesforcemappedprospects(in_accountid => :in_accountid,in_email => :in_email,in_userid => :in_userid, p_refcur => \'OP_SalesforceProspectMappingTBL\');\nfetch all in "OP_SalesforceProspectMappingTBL";', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838154373500}'], -// 0, -// ], -// [ -// 1646889838178, -// '45f2c3d6425d19c7', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3579000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getprospect(in_prospectid => :in_prospectid, p_refcur => \'OP_ProspectTBL\');\nfetch all in "OP_ProspectTBL";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838181761500}'], -// 0, -// ], -// [ -// 1646889838183, -// 'c97e7ca9752cd471', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '6114100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_set_prospect_timezone(in_prospectid => :in_prospectid, p_refcur => \'P_GetTimeZoneByAddress\');\nfetch all in "P_GetTimeZoneByAddress";', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838189280300}'], -// 0, -// ], -// [ -// 1646889838195, -// '95fd26ce60f569bf', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1907700', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.id, o.accountid, o.createddate, o.extension, o.flatphonenumber, o.modifieddate, o.name, o.phonenumber, o.prospectid, o.status\nFROM public.op_prospectphonetbl AS o\nWHERE (o.prospectid = @__prospectObj_ProspectID_0) AND ((o.status <> 2) OR (o.status IS NULL))', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838197678000}'], -// 0, -// ], -// [ -// 1646889838199, -// '147383bc59b9c2cf', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1499600', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.configid, o.configdescription, o.configkey, o.configvalue, o.createddate, o.modifieddate, o.userid\nFROM public.op_userconfigurationtbl AS o\nWHERE (o.userid = @__userid_0) AND (o.configkey = @__configType_1)\nLIMIT @__p_2', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838200636900}'], -// 0, -// ], -// [ -// 1646889838201, -// '40fd379521f01756', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1467100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_checkactivitybyeventqueueid(in_eventqueueid => :in_eventqueueid,out_count => :out_count);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838202515900}'], -// 0, -// ], -// [ -// 1646889838187, -// '68a4237b9241b5a0', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '17832000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getprospectdetails(in_prospectid => :in_prospectid,in_accountid => :in_accountid, p_refcur => \'P_GetProspectDetails_Result\', p_refcur_2 => \'P_GetProspectInfo_Result1\', p_refcur_3 => \'P_GetProspectInfo_Result2\', p_refcur_4 => \'P_GetProspect_CRMInfo\');\nfetch all in "P_GetProspectDetails_Result";\nfetch all in "P_GetProspectInfo_Result1";\nfetch all in "P_GetProspectInfo_Result2";\nfetch all in "P_GetProspect_CRMInfo";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838200328100}'], -// 0, -// ], -// [ -// 1646889838202, -// '9185cd8ff7de9908', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2990500', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_insertprospectactivity(in_accountid => :in_accountid,in_userid => :in_userid,in_eventtypeid => :in_eventtypeid,in_eventqueueid => :in_eventqueueid,in_eventdata => :in_eventdata,in_activitystatus => :in_activitystatus,in_prospectid => :in_prospectid,in_sequenceid => :in_sequenceid,in_eventdate => :in_eventdate,in_prospectaccountid => :in_prospectaccountid,in_opportunityid => :in_opportunityid,out_activityid => :out_activityid);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838205641800}'], -// 0, -// ], -// [ -// 1646889838207, -// 'cdd579621ca07186', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '4025000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838211245300}'], -// 0, -// ], -// [ -// 1646889838211, -// '373a845e42901531', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3521200', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838215456700}'], -// 0, -// ], -// [ -// 1646889838216, -// '24119f33bee8138c', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1399100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.userid, o.accountid, o.accountusertype, o.apikey, o.company, o.createddate, o.designation, o.displaypicture, o.emailid, o.firstname, o.ianatimezone, o.lastaccessdate, o.lastname, o.modifieddate, o.phonenumber, o.registereddate, o.timezone, o.title, o.userstatus, o.verificationnumber\nFROM public.op_usertbl AS o\nWHERE o.userid = @__p_0\nLIMIT 1', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838217596800}'], -// 0, -// ], -// [ -// 1646889838216, -// '476a3de318952509', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2955700', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838219254500}'], -// 0, -// ], -// [ -// 1646889838215, -// '21690bfa41551adf', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '4407100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT COUNT(*)::INT\nFROM public.op_triggeractivitytbl AS o\nWHERE o.eventqueueid = @__eventObj_EventQueueID_0', -// '1013446', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838220011700}'], -// 0, -// ], -// [ -// 1646889838218, -// '0cfe691d44c833cf', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2352300', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.webhookid, o.accountid, o.createddate, o.modifieddate, o.webhookchannel, o.webhookheaders, o.webhookpayload, o.webhookstatus, o.webhooktypeid, o.webhookurl\nFROM public.op_accountwebhooktbl AS o\nINNER JOIN public.op_webhooktypetbl AS o0 ON o.webhooktypeid = o0.webhooktypeid\nWHERE ((o.accountid = @__eventObj_AccountID_0) AND (o0.eventtype = @__eventObj_EventTypeID_1)) AND (o.webhookstatus = 1)', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838221057600}'], -// 0, -// ], -// [ -// 1646889838219, -// '8615135e316098df', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2276600', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838222035800}'], -// 0, -// ], -// [ -// 1646889838220, -// '1627c39faf31a19b', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2676800', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.triggerid, o.accountid, o.condition, o.createddate, o.lastexecutiondate, o.modifieddate, o.name, o.triggerorder, o.triggerperprospect, o.triggerstatus, o.triggertypeid, o.userid\nFROM public.op_triggertbl AS o\nINNER JOIN public.op_triggertypetbl AS o0 ON o.triggertypeid = o0.triggertypeid\nWHERE ((o0.eventtypeid = @__eventTypeID_0) AND (o.triggerstatus = 1)) AND (o.accountid = @__accountid_1)\nORDER BY o.triggerorder', -// '1013446', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838223193600}'], -// 0, -// ], -// [ -// 1646889838220, -// '52ee8f8600be260b', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '6587600', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', -// '1013447', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838227474000}'], -// 0, -// ], -// [ -// 1646889838228, -// '9b1d5b562e0d724f', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1452000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838229774600}'], -// 0, -// ], -// [ -// 1646889838230, -// '9b1137cea4a85786', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1602000', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.salesforceapilimitid, o.accountid, o.createddate, o.integrationid, o.modifieddate, o.outplayapilimit, o.outplayapiusage, o.salesforceapilimit, o.salesforceapiusage, o.totalapilimit\nFROM public.op_salesforceapilimittbl AS o\nINNER JOIN public.op_crmintegrationtbl AS o0 ON o.integrationid = o0.integrationid\nWHERE (o0.integrationstatus = 1) AND (o.accountid = @__accountid_0)\nLIMIT 1', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838232318800}'], -// 0, -// ], -// [ -// 1646889838231, -// '3020ccc6e94b2392', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '5172200', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', -// '1013448', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838236166500}'], -// 0, -// ], -// [ -// 1646889838231, -// 'c4a3d4fda61969a9', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '5009300', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getactivecrmtriggersforsync(in_accountid => :in_accountid,in_eventtypeid => :in_eventtypeid,in_integrationtype => :in_integrationtype, p_refcur => \'OP_CRMTriggerActionTBL\');\nfetch all in "OP_CRMTriggerActionTBL";', -// '1013449', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838236663600}'], -// 0, -// ], -// [ -// 1646889838236, -// '02a7e426aba2418e', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '32794600', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', -// '1013446', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838269441300}'], -// 0, -// ], -// [ -// 1646889838237, -// 'dfdc413da3f51476', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '32338700', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_getcrmsyncsettings(in_accountid => :in_accountid,in_objecttype => :in_objecttype,in_type => :in_type, p_refcur => \'OP_CRMIntegrationObjectSyncSettingTBL\');\nfetch all in "OP_CRMIntegrationObjectSyncSettingTBL";', -// '1013447', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838269439300}'], -// 0, -// ], -// [ -// 1646889838269, -// '4a98402484fbd643', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3175900', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'CALL public.p_update_eventqueue(in_eventid => :in_eventid,in_status => :in_status,out_updatestatus => :out_updatestatus);', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889838273156300}'], -// 0, -// ], -// [ -// 1646889836004, -// 'fab9f1fbac981caf', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1667100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.prospectfieldid, o.createddate, o.fieldname, o.fieldstatus, o.fieldtype, o.modifieddate\nFROM public.op_prospectfieldtbl AS o\nWHERE o.fieldstatus <> 2', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889836006336900}'], -// 0, -// ], -// [ -// 1646889836010, -// 'e4384acbc099c74c', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1827300', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.prospectcustomfieldid, o.accountid, o.createddate, o.data, o.fieldname, o.fieldstatus, o.fieldtype, o.lookupfieldmappedto, o.modifieddate, o.isrequired\nFROM public.op_prospectcustomfieldtbl AS o\nWHERE (o.accountid = @__accountid_0) AND (o.fieldstatus = 1)', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889836011901600}'], -// 0, -// ], -// [ -// 1646889835948, -// 'a6813fc088f50383', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '6768500', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.accountid, o.userid, o1.accountname, o.clientname\nFROM public.op_accountcredentialtbl AS o\nINNER JOIN public.op_usertbl AS o0 ON o.userid = o0.userid\nINNER JOIN public.op_accounttbl AS o1 ON o.accountid = o1.accountid\nWHERE (((o.clientid = @__clientId_0) AND (o.clientsecret = @__clientSecret_1)) AND (o.clientstatus = 1)) AND (o0.userstatus = 1)\nLIMIT 1', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889835955196000}'], -// 0, -// ], -// [ -// 1646889835956, -// '3f67ae7582228e2c', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2733600', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.accountdomainid, o.accountid, o.approvalstatus, o.certificatename, o.createddate, o.customdomain, o.message, o.modifieddate\nFROM public.op_accountdomaintbl AS o\nWHERE (o.accountid = @__accountID_0) AND (o.approvalstatus = 1)', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889835959191400}'], -// 0, -// ], -// [ -// 1646889835959, -// '4a1f855fee4d69c6', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '1783100', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.accountid, o.accountkey, o.accountname, o.address, o.apidaylimit, o.automailenabled, o.chatbilling, o.chatenabled, o.chatintegrated, o.chatwebsitedomain, o.city, o.companyname, o.country, o.createddate, o.fallbacknumber, o.hostingregion, o.istrialperiod, o.linktrackingenabled, o.migratedlocationcode, o.modifieddate, o.observers, o.postalcode, o.productdescription, o.productname, o.state, o.stripecustomerid, o.subdomain, o.subscriptionenddate, o.subscriptionplan, o.teamsize, o.trailenddate\nFROM public.op_accounttbl AS o\nWHERE o.accountid = @__accountID_0', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889835961003900}'], -// 0, -// ], -// [ -// 1646889835961, -// '3921dba8d18e9e62', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '2318900', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.userid, o.accountid, o.accountusertype, o.apikey, o.company, o.createddate, o.designation, o.displaypicture, o.emailid, o.firstname, o.ianatimezone, o.lastaccessdate, o.lastname, o.modifieddate, o.phonenumber, o.registereddate, o.timezone, o.title, o.userstatus, o.verificationnumber\nFROM public.op_usertbl AS o\nWHERE (o.accountid = @__account_accountid_0) AND (o.accountusertype = 1)', -// '1013371', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889835963540900}'], -// 0, -// ], -// [ -// 1646889835988, -// '9756e6aaca5836e3', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// 'db_outplay_prd_us1', -// '3', -// '3921700', -// [ -// 'db.system', -// 'db.connection_string', -// 'db.user', -// 'db.name', -// 'db.statement', -// 'db.connection_id', -// 'net.transport', -// 'net.peer.ip', -// 'net.peer.name', -// 'peer.service', -// ], -// [ -// 'postgresql', -// 'Host=172.31.51.147;Port=5432;Database=db_outplay_prd_us1;Username=opuser', -// 'opuser', -// 'db_outplay_prd_us1', -// 'SELECT o.accountteamid, o.accountid, o.createddate, o.modifieddate, o.roleid, o.teamuserstatus, o.userid, o2.accountid, o2.accountkey, o2.accountname, o2.address, o2.apidaylimit, o2.automailenabled, o2.chatbilling, o2.chatenabled, o2.chatintegrated, o2.chatwebsitedomain, o2.city, o2.companyname, o2.country, o2.createddate, o2.fallbacknumber, o2.hostingregion, o2.istrialperiod, o2.linktrackingenabled, o2.migratedlocationcode, o2.modifieddate, o2.observers, o2.postalcode, o2.productdescription, o2.productname, o2.state, o2.stripecustomerid, o2.subdomain, o2.subscriptionenddate, o2.subscriptionplan, o2.teamsize, o2.trailenddate, o0.userid, o0.accountid, o0.accountusertype, o0.apikey, o0.company, o0.createddate, o0.designation, o0.displaypicture, o0.emailid, o0.firstname, o0.ianatimezone, o0.lastaccessdate, o0.lastname, o0.modifieddate, o0.phonenumber, o0.registereddate, o0.timezone, o0.title, o0.userstatus, o0.verificationnumber, o1.roleid, o1.accountid, o1.createddate, o1.description, o1.isdefault, o1.modifieddate, o1.rolename, o1.rolepermissions, o1.rolestatus\nFROM public.op_accountteamtbl AS o\nINNER JOIN public.op_usertbl AS o0 ON o.userid = o0.userid\nINNER JOIN public.op_roletbl AS o1 ON o.roleid = o1.roleid\nINNER JOIN public.op_accounttbl AS o2 ON o.accountid = o2.accountid\nWHERE (((o0.userid = @__userId_0) AND (o.teamuserstatus = 1)) AND (o0.userstatus = 1)) AND (o1.rolestatus = 1)\nLIMIT 1', -// '1013370', -// 'ip_tcp', -// '172.31.51.147', -// '172.31.51.147', -// '172.31.51.147', -// ], -// [ -// '{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=5db5fbb3892b1187, RefType=CHILD_OF}', -// ], -// ['{"name":"received-first-response","timeUnixNano":1646889835992634300}'], -// 0, -// ], -// [ -// 1646889835933, -// '5db5fbb3892b1187', -// 'b1295a32d306e8ec7eb467be756e0029', -// 'production-api-core-us1', -// '/api/v1/prospect', -// '2', -// '2298353500', -// [ -// 'http.host', -// 'http.method', -// 'http.target', -// 'http.url', -// 'http.user_agent', -// 'apiPath', -// 'http.route', -// 'http.status_code', -// 'responseType', -// ], -// [ -// 'us1-api.outplayhq.com', -// 'POST', -// '/api/v1/prospect', -// 'http://us1-api.outplayhq.com/api/v1/prospect?client_id=SIYn5FZiKXVFij05nTQa%2Bw%3D%3D', -// 'Pabbly Connect', -// '/api/v1/prospect', -// 'api/v1/prospect', -// '200', -// 'application/json; charset=utf-8', -// ], -// ['{TraceId=b1295a32d306e8ec7eb467be756e0029, SpanId=, RefType=CHILD_OF}'], -// [], -// 0, -// ], -// ], -// }, -// ]; diff --git a/frontend/src/container/TraceDetail/index.tsx b/frontend/src/container/TraceDetail/index.tsx index bc3567bd4a..6f96b6462a 100644 --- a/frontend/src/container/TraceDetail/index.tsx +++ b/frontend/src/container/TraceDetail/index.tsx @@ -1,25 +1,25 @@ -import React, { useEffect, useMemo, useState } from 'react'; -import { Col, Divider, Row, Typography, Space, Button } from 'antd'; import { FilterOutlined } from '@ant-design/icons'; +import { Button, Col, Divider, Row, Space, Typography } from 'antd'; import GanttChart from 'container/GantChart'; import { getNodeById } from 'container/GantChart/utils'; import Timeline from 'container/Timeline'; import TraceFlameGraph from 'container/TraceFlameGraph'; import dayjs from 'dayjs'; +import useUrlQuery from 'hooks/useUrlQuery'; import { spanServiceNameToColorMapping } from 'lib/getRandomColor'; -import { getSortedData } from './utils'; +import history from 'lib/history'; +import { SPAN_DETAILS_LEFT_COL_WIDTH } from 'pages/TraceDetail/constants'; +import React, { useEffect, useMemo, useState } from 'react'; import { ITraceTree, PayloadProps } from 'types/api/trace/getTraceItem'; import { getSpanTreeMetadata } from 'utils/getSpanTreeMetadata'; import { spanToTreeUtil } from 'utils/spanToTree'; + import SelectedSpanDetails from './SelectedSpanDetails'; -import useUrlQuery from 'hooks/useUrlQuery'; import styles from './TraceGraph.module.css'; -import history from 'lib/history'; -import { SPAN_DETAILS_LEFT_COL_WIDTH } from 'pages/TraceDetail/constants'; +import { getSortedData } from './utils'; import { INTERVAL_UNITS } from './utils'; -import { Mock_Response } from './MockResponse' + const TraceDetail = ({ response }: TraceDetailProps): JSX.Element => { - response = Mock_Response const spanServiceColors = useMemo( () => spanServiceNameToColorMapping(response[0].events), [response], diff --git a/frontend/src/pages/TraceDetail/index.tsx b/frontend/src/pages/TraceDetail/index.tsx index bf29a5244b..8c3f515877 100644 --- a/frontend/src/pages/TraceDetail/index.tsx +++ b/frontend/src/pages/TraceDetail/index.tsx @@ -1,11 +1,11 @@ -import React from 'react'; -import useFetch from 'hooks/useFetch'; +import { Typography } from 'antd'; import getTraceItem from 'api/trace/getTraceItem'; +import Spinner from 'components/Spinner'; +import TraceDetailContainer from 'container/TraceDetail'; +import useFetch from 'hooks/useFetch'; +import React from 'react'; import { useParams } from 'react-router-dom'; import { Props as TraceDetailProps } from 'types/api/trace/getTraceItem'; -import Spinner from 'components/Spinner'; -import { Typography } from 'antd'; -import TraceDetailContainer from 'container/TraceDetail'; const TraceDetail = (): JSX.Element => { const { id } = useParams();