diff --git a/common/constants/shared.ts b/common/constants/shared.ts index 08e13e6a4..df17de142 100644 --- a/common/constants/shared.ts +++ b/common/constants/shared.ts @@ -18,7 +18,7 @@ export const PPL_ENDPOINT = '/_plugins/_ppl'; export const observabilityID = 'observability'; export const observabilityTitle = 'Observability'; -export const observabilityPluginOrder = 500; +export const observabilityPluginOrder = 6000; // Shared Constants export const UI_DATE_FORMAT = 'MM/DD/YYYY hh:mm A'; diff --git a/common/constants/trace_analytics.ts b/common/constants/trace_analytics.ts new file mode 100644 index 000000000..95543d573 --- /dev/null +++ b/common/constants/trace_analytics.ts @@ -0,0 +1,23 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +export const DATA_PREPPER_INDEX_NAME = 'otel-v1-apm-span-*'; +export const DATA_PREPPER_SERVICE_INDEX_NAME = 'otel-v1-apm-service-map*'; +export const TRACE_ANALYTICS_DATE_FORMAT = 'MM/DD/YYYY HH:mm:ss'; +export const TRACE_ANALYTICS_PLOTS_DATE_FORMAT = 'MMM D, YYYY HH:mm:ss'; +export const SERVICE_MAP_MAX_NODES = 500; +// size limit when requesting edge related queries, not necessarily the number of edges +export const SERVICE_MAP_MAX_EDGES = 1000; +export const TRACES_MAX_NUM = 3000; +export const TRACE_ANALYTICS_DOCUMENTATION_LINK = 'https://docs-beta.opensearch.org/monitoring-plugins/trace/'; + +export const TRACE_ANALYTICS_INDICES_ROUTE = '/api/observability/trace_analytics/indices'; +export const TRACE_ANALYTICS_DSL_ROUTE = '/api/observability/trace_analytics/query'; diff --git a/public/components/app.tsx b/public/components/app.tsx index 8cfce0293..c856cb5ae 100644 --- a/public/components/app.tsx +++ b/public/components/app.tsx @@ -65,6 +65,7 @@ export const App = ({ CoreStart, pplService }: ObservabilityAppDeps) => { path={['/trace_analytics', '/trace_analytics/home']} render={(props) => ( + +import { delay, setTimeFilter } from '../utils/constants'; + +describe('Testing dashboard table empty state', () => { + beforeEach(() => { + cy.visit('app/trace-analytics-dashboards#/dashboard', { + onBeforeLoad: (win) => { + win.sessionStorage.clear(); + }, + }); + cy.wait(delay * 3); + }); + + it('Renders empty state', () => { + cy.contains(' (0)').should('exist'); + cy.get('h2.euiTitle').contains('No matches').should('exist'); + }); +}); + +describe('Testing dashboard table', () => { + beforeEach(() => { + cy.visit('app/trace-analytics-dashboards#/dashboard', { + onBeforeLoad: (win) => { + win.sessionStorage.clear(); + }, + }); + setTimeFilter(); + }); + + it('Renders the dashboard table', () => { + cy.contains(' (10)').should('exist'); + cy.contains('client_cancel_order').should('exist'); + cy.contains('166.44').should('exist'); + cy.contains('7.14%').should('exist'); + }); + + it('Adds the percentile filters', () => { + cy.contains(' >= 95 percentile').click({ force: true }); + cy.wait(delay); + cy.contains(' >= 95 percentile').click({ force: true }); + cy.wait(delay); + + cy.contains('Latency percentile within trace group: >= 95th').should('exist'); + cy.contains(' (7)').should('exist'); + cy.contains('318.69').should('exist'); + + cy.contains(' < 95 percentile').click({ force: true }); + cy.wait(delay); + cy.contains(' < 95 percentile').click({ force: true }); + cy.wait(delay); + + cy.contains('Latency percentile within trace group: < 95th').should('exist'); + cy.contains(' (8)').should('exist'); + cy.contains('383.05').should('exist'); + }); + + it('Opens latency trend popover', () => { + setTimeFilter(true); + cy.get('.euiButtonIcon[aria-label="Open popover"]').first().click(); + cy.get('text.ytitle[data-unformatted="Hourly latency (ms)"]').should('exist'); + }); + + it('Redirects to traces table with filter', () => { + cy.wait(delay * 5); + cy.get('.euiLink').contains('13').click(); + cy.wait(delay); + + cy.get('h2.euiTitle').contains('Traces').should('exist'); + cy.contains(' (13)').should('exist'); + cy.contains('client_create_order').should('exist'); + + cy.get('.euiSideNavItemButton__label').contains('Dashboard').click(); + cy.wait(delay); + + cy.contains('client_create_order').should('exist'); + }); +}); + +describe('Testing plots', () => { + beforeEach(() => { + cy.visit('app/trace-analytics-dashboards#/dashboard', { + onBeforeLoad: (win) => { + win.sessionStorage.clear(); + }, + }); + setTimeFilter(); + }); + + it('Renders service map', () => { + cy.get('text.ytitle[data-unformatted="Latency (ms)"]').should('exist'); + cy.get('text[data-unformatted="200"]').should('exist'); + cy.get('.vis-network').should('exist'); + + cy.get('.euiToggle__input[title="Error rate"]').click(); + cy.get('text.ytitle[data-unformatted="Error rate"]').should('exist'); + cy.get('text[data-unformatted="10%"]').should('exist'); + + cy.get('.euiToggle__input[title="Throughput"]').click(); + cy.get('text.ytitle[data-unformatted="Throughput"]').should('exist'); + cy.get('text[data-unformatted="60"]').should('exist'); + + cy.get('input[type="search"]').eq(1).focus().type('payment{enter}'); + cy.wait(delay); + }); + + it('Renders plots', () => { + cy.get('text.ytitle[data-unformatted="Error rate (%)"]').should('exist'); + cy.get('text.annotation-text[data-unformatted="Now: 0%"]').should('exist'); + cy.get('text.ytitle[data-unformatted="Throughput (n)"]').should('exist'); + cy.get('text.annotation-text[data-unformatted="Now: 62"]').should('exist'); + }); +}); diff --git a/public/components/trace_analytics/.cypress/integration/services.spec.js b/public/components/trace_analytics/.cypress/integration/services.spec.js new file mode 100644 index 000000000..fade548ff --- /dev/null +++ b/public/components/trace_analytics/.cypress/integration/services.spec.js @@ -0,0 +1,129 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +/// + +import { delay, SERVICE_NAME, setTimeFilter } from '../utils/constants'; + +describe('Testing services table empty state', () => { + beforeEach(() => { + cy.visit('app/trace-analytics-dashboards#/services', { + onBeforeLoad: (win) => { + win.sessionStorage.clear(); + }, + }); + cy.wait(delay * 3); + }); + + it('Renders empty state', () => { + cy.contains(' (0)').should('exist'); + cy.get('h2.euiTitle').contains('No matches').should('exist'); + }); +}); + +describe('Testing services table', () => { + beforeEach(() => { + cy.visit('app/trace-analytics-dashboards#/services', { + onBeforeLoad: (win) => { + win.sessionStorage.clear(); + }, + }); + setTimeFilter(); + }); + + it('Renders the services table', () => { + cy.contains(' (8)').should('exist'); + cy.contains('analytics-service, frontend-client, recommendation').should('exist'); + cy.contains('186.95').should('exist'); + cy.contains('14.29%').should('exist'); + }); + + it('Searches correctly', () => { + cy.get('input[type="search"]').first().focus().type(`${SERVICE_NAME}{enter}`); + cy.get('.euiButton__text').contains('Refresh').click(); + cy.wait(delay); + cy.contains(' (1)').should('exist'); + cy.contains('3.57%').should('exist'); + }); +}); + +describe('Testing service view empty state', () => { + beforeEach(() => { + // exception is thrown on loading EuiDataGrid in cypress only, ignore for now + cy.on('uncaught:exception', (err, runnable) => { + if (err.message.includes('ResizeObserver loop')) + return false; + }); + cy.visit(`app/trace-analytics-dashboards#/services/${SERVICE_NAME}`, { + onBeforeLoad: (win) => { + win.sessionStorage.clear(); + }, + }); + cy.wait(delay * 3); + }); + + it('Renders service view empty state', () => { + cy.get('h2.euiTitle').contains('frontend-client').should('exist'); + cy.get('.euiText').contains('0').should('exist'); + cy.get('.euiText').contains('-').should('exist'); + }); +}); + +describe('Testing service view', () => { + beforeEach(() => { + // exception is thrown on loading EuiDataGrid in cypress only, ignore for now + cy.on('uncaught:exception', (err, runnable) => { + if (err.message.includes('ResizeObserver loop')) + return false; + }); + cy.visit(`app/trace-analytics-dashboards#/services/${SERVICE_NAME}`, { + onBeforeLoad: (win) => { + win.sessionStorage.clear(); + }, + }); + setTimeFilter(undefined, false); + }); + + it('Renders service view', () => { + cy.get('h2.euiTitle').contains('frontend-client').should('exist'); + cy.contains('178.6').should('exist'); + cy.contains('3.57%').should('exist'); + cy.get('div.vis-network').should('exist'); + }); + + it('Renders spans data grid, flyout, filters', () => { + cy.get('button[data-datagrid-interactable="true"]').eq(0).click({ force: true }); + cy.wait(delay); + cy.contains('Span detail').should('exist'); + cy.contains('Span attributes').should('exist'); + cy.get('.euiTextColor').contains('Span ID').trigger('mouseover'); + cy.get('.euiButtonIcon[aria-label="span-flyout-filter-icon"').click({ force: true }); + cy.wait(delay); + + cy.get('.euiBadge__text').contains('spanId: ').should('exist'); + cy.contains('Spans (1)').should('exist'); + }); +}); diff --git a/public/components/trace_analytics/.cypress/integration/traces.spec.js b/public/components/trace_analytics/.cypress/integration/traces.spec.js new file mode 100644 index 000000000..c294e75e0 --- /dev/null +++ b/public/components/trace_analytics/.cypress/integration/traces.spec.js @@ -0,0 +1,114 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +/// + +import { delay, setTimeFilter, SPAN_ID, TRACE_ID } from '../utils/constants'; + +describe('Testing traces table empty state', () => { + beforeEach(() => { + cy.visit('app/trace-analytics-dashboards#/traces', { + onBeforeLoad: (win) => { + win.sessionStorage.clear(); + }, + }); + cy.wait(delay * 3); + }); + + it('Renders empty state', () => { + cy.contains(' (0)').should('exist'); + cy.get('h2.euiTitle').contains('No matches').should('exist'); + }); +}); + +describe('Testing traces table', () => { + beforeEach(() => { + cy.visit('app/trace-analytics-dashboards#/traces', { + onBeforeLoad: (win) => { + win.sessionStorage.clear(); + }, + }); + setTimeFilter(); + }); + + it('Renders the traces table', () => { + cy.contains(' (108)').should('exist'); + cy.contains('03/25/2021 10:23:45').should('exist'); + cy.contains('03f9c770db5ee2f1caac0...').should('exist'); + cy.contains('224.99').should('exist'); + + // test data contains output from data-prepper 0.8, which doesn't have fields denormalized + // Trace Analytics should be able to handle the discrepancy if some fields cannot be parsed + cy.contains('Invalid date').should('exist'); + cy.contains('-').should('exist'); + }); + + it('Searches correctly', () => { + cy.get('input[type="search"]').focus().type(`${TRACE_ID}{enter}`); + cy.get('.euiButton__text').contains('Refresh').click(); + cy.wait(delay); + cy.contains(' (1)').should('exist'); + cy.contains('03/25/2021 10:21:22').should('exist'); + }); +}); + +describe('Testing trace view', () => { + beforeEach(() => { + cy.visit(`app/trace-analytics-dashboards#/traces/${TRACE_ID}`, { + onBeforeLoad: (win) => { + win.sessionStorage.clear(); + }, + }); + cy.wait(delay * 3); + }); + + it('Renders the trace view', () => { + cy.contains('43.75%').should('exist'); + cy.contains('42.58%').should('exist'); + cy.contains('03/25/2021 10:21:22').should('exist'); + cy.get('h2.euiTitle').contains(TRACE_ID).should('exist'); + + cy.get('div.js-plotly-plot').should('have.length', 2); + cy.get('text[data-unformatted="database
mysql.APM "]').should('exist'); + cy.contains(`"${SPAN_ID}"`).should('exist'); + }); + + it('Renders data grid, flyout and filters', () => { + cy.get('.euiToggle__input[title="Span list"]').click({ force: true }); + cy.contains('2 columns hidden').should('exist'); + + cy.get('button[data-datagrid-interactable="true"]').eq(0).click({ force: true }); + cy.wait(delay); + cy.contains('Span detail').should('exist'); + cy.contains('Span attributes').should('exist'); + cy.get('.euiTextColor').contains('Span ID').trigger('mouseover'); + cy.get('.euiButtonIcon[aria-label="span-flyout-filter-icon"').click({ force: true }); + cy.wait(delay); + + cy.get('.euiBadge__text').contains('spanId: ').should('exist'); + cy.contains('Spans (1)').should('exist'); + }); +}); diff --git a/public/components/trace_analytics/.cypress/plugins/index.js b/public/components/trace_analytics/.cypress/plugins/index.js new file mode 100644 index 000000000..b7a464331 --- /dev/null +++ b/public/components/trace_analytics/.cypress/plugins/index.js @@ -0,0 +1,47 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +/// +// *********************************************************** +// This example plugins/index.js can be used to load plugins +// +// You can change the location of this file or turn off loading +// the plugins file with the 'pluginsFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/plugins-guide +// *********************************************************** + +// This function is called when a project is opened or re-opened (e.g. due to +// the project's config changing) + +/** + * @type {Cypress.PluginConfig} + */ +module.exports = (on, config) => { + // `on` is used to hook into various events Cypress emits + // `config` is the resolved Cypress config +} diff --git a/public/components/trace_analytics/.cypress/support/commands.js b/public/components/trace_analytics/.cypress/support/commands.js new file mode 100644 index 000000000..e4d90a391 --- /dev/null +++ b/public/components/trace_analytics/.cypress/support/commands.js @@ -0,0 +1,51 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +// *********************************************** +// This example commands.js shows you how to +// create various custom commands and overwrite +// existing commands. +// +// For more comprehensive examples of custom +// commands please read more here: +// https://on.cypress.io/custom-commands +// *********************************************** +// +// +// -- This is a parent command -- +// Cypress.Commands.add("login", (email, password) => { ... }) +// +// +// -- This is a child command -- +// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... }) +// +// +// -- This is a dual command -- +// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... }) +// +// +// -- This will overwrite an existing command -- +// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... }) diff --git a/public/components/trace_analytics/.cypress/support/index.js b/public/components/trace_analytics/.cypress/support/index.js new file mode 100644 index 000000000..17c275f42 --- /dev/null +++ b/public/components/trace_analytics/.cypress/support/index.js @@ -0,0 +1,46 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +// *********************************************************** +// This example support/index.js is processed and +// loaded automatically before your test files. +// +// This is a great place to put global configuration and +// behavior that modifies Cypress. +// +// You can change the location of this file or turn off +// automatically serving support files with the +// 'supportFile' configuration option. +// +// You can read more here: +// https://on.cypress.io/configuration +// *********************************************************** + +// Import commands.js using ES2015 syntax: +import './commands' + +// Alternatively you can use CommonJS syntax: +// require('./commands') diff --git a/public/components/trace_analytics/.cypress/utils/constants.js b/public/components/trace_analytics/.cypress/utils/constants.js new file mode 100644 index 000000000..aae37564d --- /dev/null +++ b/public/components/trace_analytics/.cypress/utils/constants.js @@ -0,0 +1,58 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +export const delay = 1500; +export const TRACE_ID = '8832ed6abbb2a83516461960c89af49d'; +export const SPAN_ID = 'a673bc074b438374'; +export const SERVICE_NAME = 'frontend-client'; + +export const setTimeFilter = (setEndTime = false, refresh = true) => { + const startTime = 'Mar 25, 2021 @ 10:00:00.000'; + const endTime = 'Mar 25, 2021 @ 11:00:00.000'; + cy.get('button.euiButtonEmpty[aria-label="Date quick select"]').click(); + cy.get('.euiQuickSelect__applyButton').click(); + cy.get('.euiSuperDatePicker__prettyFormatLink').click(); + cy.get( + 'button.euiDatePopoverButton--start[data-test-subj="superDatePickerstartDatePopoverButton"]' + ).click(); + cy.get('.euiTab__content').contains('Absolute').click(); + cy.get('input[data-test-subj="superDatePickerAbsoluteDateInput"]') + .focus() + .type('{selectall}' + startTime); + if (setEndTime) { + cy.wait(delay); + cy.get( + 'button.euiDatePopoverButton--end[data-test-subj="superDatePickerendDatePopoverButton"]' + ).click(); + cy.wait(delay); + cy.get('.euiTab__content').contains('Absolute').click(); + cy.get('input[data-test-subj="superDatePickerAbsoluteDateInput"]') + .focus() + .type('{selectall}' + endTime); + } + if (refresh) cy.get('.euiButton__text').contains('Refresh').click(); + cy.wait(delay); +}; diff --git a/public/components/trace_analytics/.cypress/utils/otel-v1-apm-service-map-mappings.json b/public/components/trace_analytics/.cypress/utils/otel-v1-apm-service-map-mappings.json new file mode 100644 index 000000000..cd578eed4 --- /dev/null +++ b/public/components/trace_analytics/.cypress/utils/otel-v1-apm-service-map-mappings.json @@ -0,0 +1,20 @@ +{ + "properties": { + "destination": { + "properties": { + "domain": { "type": "keyword", "ignore_above": 1024 }, + "resource": { "type": "keyword", "ignore_above": 1024 } + } + }, + "hashId": { "type": "keyword", "ignore_above": 1024 }, + "kind": { "type": "keyword", "ignore_above": 1024 }, + "serviceName": { "type": "keyword", "ignore_above": 1024 }, + "target": { + "properties": { + "domain": { "type": "keyword", "ignore_above": 1024 }, + "resource": { "type": "keyword", "ignore_above": 1024 } + } + }, + "traceGroupName": { "type": "keyword", "ignore_above": 1024 } + } +} diff --git a/public/components/trace_analytics/.cypress/utils/otel-v1-apm-service-map.json b/public/components/trace_analytics/.cypress/utils/otel-v1-apm-service-map.json new file mode 100644 index 000000000..72a701402 --- /dev/null +++ b/public/components/trace_analytics/.cypress/utils/otel-v1-apm-service-map.json @@ -0,0 +1,90 @@ +{"index":{"_id":"nHcC8xTV8traJL3W2zDPww=="}} +{"serviceName":"authentication","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"server_request_login","domain":"authentication"},"traceGroupName":"load_main_screen","hashId":"nHcC8xTV8traJL3W2zDPww=="} +{"index":{"_id":"6Rx2pb/AtLKLR4KnHh+Aog=="}} +{"serviceName":"payment","kind":"SPAN_KIND_CLIENT","destination":{"resource":"/logs","domain":"analytics-service"},"target":null,"traceGroupName":"client_checkout","hashId":"6Rx2pb/AtLKLR4KnHh+Aog=="} +{"index":{"_id":"tXEh3symNDTITnb/JtgUAQ=="}} +{"serviceName":"analytics-service","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"/logs","domain":"analytics-service"},"traceGroupName":"client_create_order","hashId":"tXEh3symNDTITnb/JtgUAQ=="} +{"index":{"_id":"kSY6gLrGOBh8YX3cEDCndg=="}} +{"serviceName":"recommendation","kind":"SPAN_KIND_CLIENT","destination":{"resource":"/logs","domain":"analytics-service"},"target":null,"traceGroupName":"load_main_screen","hashId":"kSY6gLrGOBh8YX3cEDCndg=="} +{"index":{"_id":"roX6tGXvCJeZW7SFJMBFKA=="}} +{"serviceName":"analytics-service","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"/logs","domain":"analytics-service"},"traceGroupName":"load_main_screen","hashId":"roX6tGXvCJeZW7SFJMBFKA=="} +{"index":{"_id":"md6PmbxmuV4WOmVVdqkP0w=="}} +{"serviceName":"analytics-service","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"/logs","domain":"analytics-service"},"traceGroupName":"client_pay_order","hashId":"md6PmbxmuV4WOmVVdqkP0w=="} +{"index":{"_id":"vVC4U6JrIz9uyZseTPb4YQ=="}} +{"serviceName":"authentication","kind":"SPAN_KIND_CLIENT","destination":{"resource":"/logs","domain":"analytics-service"},"target":null,"traceGroupName":"load_main_screen","hashId":"vVC4U6JrIz9uyZseTPb4YQ=="} +{"index":{"_id":"5aShvpERPjuk2dXmfYPeGw=="}} +{"serviceName":"frontend-client","kind":"SPAN_KIND_CLIENT","destination":{"resource":"payment","domain":"payment"},"target":null,"traceGroupName":"client_checkout","hashId":"5aShvpERPjuk2dXmfYPeGw=="} +{"index":{"_id":"5LTSGQfic2RYHvrURmIDew=="}} +{"serviceName":"database","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"getIntentory","domain":"database"},"traceGroupName":"load_main_screen","hashId":"5LTSGQfic2RYHvrURmIDew=="} +{"index":{"_id":"n+JXabfCcrIeMP691QwcpA=="}} +{"serviceName":"payment","kind":"SPAN_KIND_CLIENT","destination":{"resource":"update_inventory","domain":"inventory"},"target":null,"traceGroupName":"client_checkout","hashId":"n+JXabfCcrIeMP691QwcpA=="} +{"index":{"_id":"ftn94Oe1mZwUMyvg2+V8MA=="}} +{"serviceName":"database","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"getCart","domain":"database"},"traceGroupName":"client_delivery_status","hashId":"ftn94Oe1mZwUMyvg2+V8MA=="} +{"index":{"_id":"uXkISg6U505anMl1tck75Q=="}} +{"serviceName":"inventory","kind":"SPAN_KIND_CLIENT","destination":{"resource":"/logs","domain":"analytics-service"},"target":null,"traceGroupName":"load_main_screen","hashId":"uXkISg6U505anMl1tck75Q=="} +{"index":{"_id":"IBLMEZli7Q3BJTBMmjynDg=="}} +{"serviceName":"analytics-service","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"/logs","domain":"analytics-service"},"traceGroupName":"client_delivery_status","hashId":"IBLMEZli7Q3BJTBMmjynDg=="} +{"index":{"_id":"smEM+A4secOk8FOTDhrqOg=="}} +{"serviceName":"order","kind":"SPAN_KIND_CLIENT","destination":{"resource":"cartEmpty","domain":"database"},"target":null,"traceGroupName":"client_cancel_order","hashId":"smEM+A4secOk8FOTDhrqOg=="} +{"index":{"_id":"G92mlRHfmMvQD2lArmh0Zw=="}} +{"serviceName":"order","kind":"SPAN_KIND_CLIENT","destination":{"resource":"/logs","domain":"analytics-service"},"target":null,"traceGroupName":"client_pay_order","hashId":"G92mlRHfmMvQD2lArmh0Zw=="} +{"index":{"_id":"qEMd88Fa9974qME14b7Kow=="}} +{"serviceName":"order","kind":"SPAN_KIND_CLIENT","destination":{"resource":"addItemToCart","domain":"database"},"target":null,"traceGroupName":"client_create_order","hashId":"qEMd88Fa9974qME14b7Kow=="} +{"index":{"_id":"mpTVw7lUu8Up9GtBUSELzw=="}} +{"serviceName":"frontend-client","kind":"SPAN_KIND_CLIENT","destination":{"resource":"get_order","domain":"order"},"target":null,"traceGroupName":"client_delivery_status","hashId":"mpTVw7lUu8Up9GtBUSELzw=="} +{"index":{"_id":"vgoAV/423h26Su5VKVCrHA=="}} +{"serviceName":"frontend-client","kind":"SPAN_KIND_CLIENT","destination":{"resource":"server_request_login","domain":"authentication"},"target":null,"traceGroupName":"load_main_screen","hashId":"vgoAV/423h26Su5VKVCrHA=="} +{"index":{"_id":"tH75FnJ4hXfERLahbk67NA=="}} +{"serviceName":"order","kind":"SPAN_KIND_CLIENT","destination":{"resource":"getCart","domain":"database"},"target":null,"traceGroupName":"client_delivery_status","hashId":"tH75FnJ4hXfERLahbk67NA=="} +{"index":{"_id":"zA5g821XNTNVGjL2Re+T/w=="}} +{"serviceName":"payment","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"payment","domain":"payment"},"traceGroupName":"client_checkout","hashId":"zA5g821XNTNVGjL2Re+T/w=="} +{"index":{"_id":"JoFoNWxblmsk90V3KAC6Mw=="}} +{"serviceName":"frontend-client","kind":"SPAN_KIND_CLIENT","destination":{"resource":"update_order","domain":"order"},"target":null,"traceGroupName":"client_create_order","hashId":"JoFoNWxblmsk90V3KAC6Mw=="} +{"index":{"_id":"bG/EgRvp5yWM8S/ewA7CeA=="}} +{"serviceName":"frontend-client","kind":"SPAN_KIND_CLIENT","destination":{"resource":"pay_order","domain":"order"},"target":null,"traceGroupName":"client_pay_order","hashId":"bG/EgRvp5yWM8S/ewA7CeA=="} +{"index":{"_id":"82uLVoVcdLutBGhi8GcehQ=="}} +{"serviceName":"database","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"cartSold","domain":"database"},"traceGroupName":"client_pay_order","hashId":"82uLVoVcdLutBGhi8GcehQ=="} +{"index":{"_id":"+EtgSBZbmVZY9fAqD+mJVQ=="}} +{"serviceName":"database","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"cartEmpty","domain":"database"},"traceGroupName":"client_cancel_order","hashId":"+EtgSBZbmVZY9fAqD+mJVQ=="} +{"index":{"_id":"lZcUyuhGYfnaQqt+r73njA=="}} +{"serviceName":"database","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"updateItem","domain":"database"},"traceGroupName":"client_checkout","hashId":"lZcUyuhGYfnaQqt+r73njA=="} +{"index":{"_id":"4/dbUR9mx3HxFrBOZtP6Lw=="}} +{"serviceName":"database","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"addItemToCart","domain":"database"},"traceGroupName":"client_create_order","hashId":"4/dbUR9mx3HxFrBOZtP6Lw=="} +{"index":{"_id":"7/jRp2VF7544pBN6+mK2vw=="}} +{"serviceName":"inventory","kind":"SPAN_KIND_CLIENT","destination":{"resource":"updateItem","domain":"database"},"target":null,"traceGroupName":"client_checkout","hashId":"7/jRp2VF7544pBN6+mK2vw=="} +{"index":{"_id":"VGkxs9ySDsQKAaXlf7tFdg=="}} +{"serviceName":"order","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"get_order","domain":"order"},"traceGroupName":"client_delivery_status","hashId":"VGkxs9ySDsQKAaXlf7tFdg=="} +{"index":{"_id":"zT64jAt7FIedXfhiKIKNsg=="}} +{"serviceName":"order","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"update_order","domain":"order"},"traceGroupName":"client_create_order","hashId":"zT64jAt7FIedXfhiKIKNsg=="} +{"index":{"_id":"xw6RCawB/rzbZ6kv0D4x0w=="}} +{"serviceName":"order","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"clear_order","domain":"order"},"traceGroupName":"client_cancel_order","hashId":"xw6RCawB/rzbZ6kv0D4x0w=="} +{"index":{"_id":"Vp+wn6ysuN+c0dyioFZjRg=="}} +{"serviceName":"order","kind":"SPAN_KIND_CLIENT","destination":{"resource":"/logs","domain":"analytics-service"},"target":null,"traceGroupName":"client_create_order","hashId":"Vp+wn6ysuN+c0dyioFZjRg=="} +{"index":{"_id":"2/jQH927AMtF2WZMylDMDQ=="}} +{"serviceName":"inventory","kind":"SPAN_KIND_CLIENT","destination":{"resource":"/logs","domain":"analytics-service"},"target":null,"traceGroupName":"client_checkout","hashId":"2/jQH927AMtF2WZMylDMDQ=="} +{"index":{"_id":"mZYvSouwJIYzb/YHHR/0Mg=="}} +{"serviceName":"inventory","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"update_inventory","domain":"inventory"},"traceGroupName":"client_checkout","hashId":"mZYvSouwJIYzb/YHHR/0Mg=="} +{"index":{"_id":"AU3Kn8HEG52uXVpmo0IK2g=="}} +{"serviceName":"inventory","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"read_inventory","domain":"inventory"},"traceGroupName":"load_main_screen","hashId":"AU3Kn8HEG52uXVpmo0IK2g=="} +{"index":{"_id":"jVBZpblgxVXEDfBo0JQX6A=="}} +{"serviceName":"order","kind":"SPAN_KIND_CLIENT","destination":{"resource":"/logs","domain":"analytics-service"},"target":null,"traceGroupName":"client_delivery_status","hashId":"jVBZpblgxVXEDfBo0JQX6A=="} +{"index":{"_id":"LaIlCIqcSBujD6E7HP3PTQ=="}} +{"serviceName":"order","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"pay_order","domain":"order"},"traceGroupName":"client_pay_order","hashId":"LaIlCIqcSBujD6E7HP3PTQ=="} +{"index":{"_id":"yzLB0GSsao4dvqVkR2zmYA=="}} +{"serviceName":"recommendation","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"recommend","domain":"recommendation"},"traceGroupName":"load_main_screen","hashId":"yzLB0GSsao4dvqVkR2zmYA=="} +{"index":{"_id":"8JvOMXSL6Hvf9C2jhum5sA=="}} +{"serviceName":"order","kind":"SPAN_KIND_CLIENT","destination":{"resource":"/logs","domain":"analytics-service"},"target":null,"traceGroupName":"client_cancel_order","hashId":"8JvOMXSL6Hvf9C2jhum5sA=="} +{"index":{"_id":"k/XY09UW54o31tkx3+rCRw=="}} +{"serviceName":"authentication","kind":"SPAN_KIND_CLIENT","destination":{"resource":"recommend","domain":"recommendation"},"target":null,"traceGroupName":"load_main_screen","hashId":"k/XY09UW54o31tkx3+rCRw=="} +{"index":{"_id":"5zJU9hp/t1AdgblDfFDOXQ=="}} +{"serviceName":"analytics-service","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"/logs","domain":"analytics-service"},"traceGroupName":"client_checkout","hashId":"5zJU9hp/t1AdgblDfFDOXQ=="} +{"index":{"_id":"KIySJpq7dvvDj5nofZ7tqw=="}} +{"serviceName":"analytics-service","kind":"SPAN_KIND_SERVER","destination":null,"target":{"resource":"/logs","domain":"analytics-service"},"traceGroupName":"client_cancel_order","hashId":"KIySJpq7dvvDj5nofZ7tqw=="} +{"index":{"_id":"1MEZjF+x1T015XUk5Tjbuw=="}} +{"serviceName":"inventory","kind":"SPAN_KIND_CLIENT","destination":{"resource":"getIntentory","domain":"database"},"target":null,"traceGroupName":"load_main_screen","hashId":"1MEZjF+x1T015XUk5Tjbuw=="} +{"index":{"_id":"zIYLVbtNe1bnfLhCk3BbOw=="}} +{"serviceName":"order","kind":"SPAN_KIND_CLIENT","destination":{"resource":"cartSold","domain":"database"},"target":null,"traceGroupName":"client_pay_order","hashId":"zIYLVbtNe1bnfLhCk3BbOw=="} +{"index":{"_id":"00aTIGyGNbec9vfKsJkHMA=="}} +{"serviceName":"frontend-client","kind":"SPAN_KIND_CLIENT","destination":{"resource":"clear_order","domain":"order"},"target":null,"traceGroupName":"client_cancel_order","hashId":"00aTIGyGNbec9vfKsJkHMA=="} +{"index":{"_id":"2hnSYfBfhz/0R9wDYJsqUg=="}} +{"serviceName":"recommendation","kind":"SPAN_KIND_CLIENT","destination":{"resource":"read_inventory","domain":"inventory"},"target":null,"traceGroupName":"load_main_screen","hashId":"2hnSYfBfhz/0R9wDYJsqUg=="} diff --git a/public/components/trace_analytics/.cypress/utils/otel-v1-apm-span-000001-mappings.json b/public/components/trace_analytics/.cypress/utils/otel-v1-apm-span-000001-mappings.json new file mode 100644 index 000000000..1288c0f63 --- /dev/null +++ b/public/components/trace_analytics/.cypress/utils/otel-v1-apm-span-000001-mappings.json @@ -0,0 +1,74 @@ +{ + "properties": { + "traceId": { + "ignore_above": 256, + "type": "keyword" + }, + "spanId": { + "ignore_above": 256, + "type": "keyword" + }, + "parentSpanId": { + "ignore_above": 256, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "traceGroup": { + "ignore_above": 1024, + "type": "keyword" + }, + "traceGroupFields": { + "properties": { + "endTime": { + "type": "date_nanos" + }, + "durationInNanos": { + "type": "long" + }, + "statusCode": { + "type": "integer" + } + } + }, + "kind": { + "ignore_above": 128, + "type": "keyword" + }, + "startTime": { + "type": "date_nanos" + }, + "endTime": { + "type": "date_nanos" + }, + "status": { + "properties": { + "code": { + "type": "integer" + }, + "message": { + "type": "keyword" + } + } + }, + "serviceName": { + "type": "keyword" + }, + "durationInNanos": { + "type": "long" + }, + "events": { + "type": "nested", + "properties": { + "time": { + "type": "date_nanos" + } + } + }, + "links": { + "type": "nested" + } + } +} diff --git a/public/components/trace_analytics/.cypress/utils/otel-v1-apm-span-000001.json b/public/components/trace_analytics/.cypress/utils/otel-v1-apm-span-000001.json new file mode 100644 index 000000000..b035da76a --- /dev/null +++ b/public/components/trace_analytics/.cypress/utils/otel-v1-apm-span-000001.json @@ -0,0 +1,1968 @@ +{"index":{"_id":"e275ac9d21929e9b"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"e275ac9d21929e9b","traceState":"","parentSpanId":"","name":"client_checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:30.088478464Z","endTime":"2021-03-25T17:23:30.481628416Z","durationInNanos":393149952,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"77f5fa8273184c40"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"77f5fa8273184c40","traceState":"","parentSpanId":"927d2469efed5531","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:30.224065280Z","endTime":"2021-03-25T17:23:30.302305280Z","durationInNanos":78240000,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"fe059cf714e8e915"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"fe059cf714e8e915","traceState":"","parentSpanId":"0bc22062693f08eb","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:30.315486720Z","endTime":"2021-03-25T17:23:30.360892672Z","durationInNanos":45405952,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55868,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"1d4ac48e0dd1df50"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"1d4ac48e0dd1df50","traceState":"","parentSpanId":"fe059cf714e8e915","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:30.316961280Z","endTime":"2021-03-25T17:23:30.353545728Z","durationInNanos":36584448,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"2a0f9f783ac62bc4"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"2a0f9f783ac62bc4","traceState":"","parentSpanId":"77f5fa8273184c40","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:30.227811584Z","endTime":"2021-03-25T17:23:30.283355136Z","durationInNanos":55543552,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55864,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"0de86f454dd43352"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"0de86f454dd43352","traceState":"","parentSpanId":"e275ac9d21929e9b","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:30.088787968Z","endTime":"2021-03-25T17:23:30.458000640Z","durationInNanos":369212672,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.http@url":"http://localhost:8084/checkout","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"59680d06f2fe59a9"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"59680d06f2fe59a9","traceState":"","parentSpanId":"dceae5ba953b44f8","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:30.158086144Z","endTime":"2021-03-25T17:23:30.194613760Z","durationInNanos":36527616,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"3f579ac135ffee68"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"3f579ac135ffee68","traceState":"","parentSpanId":"0d67b27c714b026b","name":"checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:30.092352256Z","endTime":"2021-03-25T17:23:30.441958144Z","durationInNanos":349605888,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"f6a14e0c8213862d"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"f6a14e0c8213862d","traceState":"","parentSpanId":"01c87a25f18fb004","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:30.096681472Z","endTime":"2021-03-25T17:23:30.110944768Z","durationInNanos":14263296,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"684e00b74392b8c6"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"684e00b74392b8c6","traceState":"","parentSpanId":"f6a14e0c8213862d","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:30.101003010Z","endTime":"2021-03-25T17:23:30.105259791Z","durationInNanos":4256781,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-4","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56574,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"c0b1d9dbb89786a2"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"c0b1d9dbb89786a2","traceState":"","parentSpanId":"38f1a1108569130d","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:30.254752Z","endTime":"2021-03-25T17:23:30.255640064Z","durationInNanos":888064,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': 3}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"a178d4084436e2ba"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"a178d4084436e2ba","traceState":"","parentSpanId":"3f579ac135ffee68","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:30.092835072Z","endTime":"2021-03-25T17:23:30.415470336Z","durationInNanos":322635264,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.http@url":"http://localhost:8082/update_inventory","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"f224b7718d28dcb6"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"f224b7718d28dcb6","traceState":"","parentSpanId":"3f579ac135ffee68","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:30.422688512Z","endTime":"2021-03-25T17:23:30.433830656Z","durationInNanos":11142144,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"780ac0205eee0281"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"780ac0205eee0281","traceState":"","parentSpanId":"a28b32a24ed2b94a","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:30.384634213Z","endTime":"2021-03-25T17:23:30.386278811Z","durationInNanos":1644598,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.thread@name":"http-nio-8087-exec-6","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"ec11e2136b66d7a9"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"ec11e2136b66d7a9","traceState":"","parentSpanId":"a178d4084436e2ba","name":"update_inventory","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:30.149690368Z","endTime":"2021-03-25T17:23:30.403485184Z","durationInNanos":253794816,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8082,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":45724,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_inventory","span.attributes.http@host":"localhost:8082","span.attributes.http@target":"/update_inventory","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"dceae5ba953b44f8"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"dceae5ba953b44f8","traceState":"","parentSpanId":"5b7ebc3b9a56dd8e","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:30.156352768Z","endTime":"2021-03-25T17:23:30.202127616Z","durationInNanos":45774848,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55860,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"0d67b27c714b026b"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"0d67b27c714b026b","traceState":"","parentSpanId":"0de86f454dd43352","name":"payment","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:30.091403776Z","endTime":"2021-03-25T17:23:30.446498816Z","durationInNanos":355095040,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8084,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":50460,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/checkout","span.attributes.http@host":"localhost:8084","span.attributes.http@target":"/checkout","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"5b7ebc3b9a56dd8e"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"5b7ebc3b9a56dd8e","traceState":"","parentSpanId":"927d2469efed5531","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:30.151849984Z","endTime":"2021-03-25T17:23:30.215842816Z","durationInNanos":63992832,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"38f1a1108569130d"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"38f1a1108569130d","traceState":"","parentSpanId":"2a0f9f783ac62bc4","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:30.228819968Z","endTime":"2021-03-25T17:23:30.274412544Z","durationInNanos":45592576,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"01c87a25f18fb004"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"01c87a25f18fb004","traceState":"","parentSpanId":"a178d4084436e2ba","name":"update_inventory","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:30.095432704Z","endTime":"2021-03-25T17:23:30.125712640Z","durationInNanos":30279936,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8082,"span.attributes.http@status_text":"SERVICE UNAVAILABLE","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":45720,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_inventory","span.attributes.http@host":"localhost:8082","span.attributes.http@target":"/update_inventory","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":503} +{"index":{"_id":"a28b32a24ed2b94a"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"a28b32a24ed2b94a","traceState":"","parentSpanId":"e2901228ca3b80b6","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:30.384003598Z","endTime":"2021-03-25T17:23:30.386471230Z","durationInNanos":2467632,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-6","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56590,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"9043250a4d19bab2"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"9043250a4d19bab2","traceState":"","parentSpanId":"1d4ac48e0dd1df50","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:30.341936128Z","endTime":"2021-03-25T17:23:30.342908928Z","durationInNanos":972800,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': 1}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"e2901228ca3b80b6"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"e2901228ca3b80b6","traceState":"","parentSpanId":"927d2469efed5531","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:30.381153024Z","endTime":"2021-03-25T17:23:30.388188416Z","durationInNanos":7035392,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"e5e29b75177318a4"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"e5e29b75177318a4","traceState":"","parentSpanId":"59680d06f2fe59a9","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:30.181832960Z","endTime":"2021-03-25T17:23:30.182824192Z","durationInNanos":991232,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': 2}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"0bc22062693f08eb"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"0bc22062693f08eb","traceState":"","parentSpanId":"927d2469efed5531","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:30.312822784Z","endTime":"2021-03-25T17:23:30.372530176Z","durationInNanos":59707392,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"6f543d74cf9ab42f"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"6f543d74cf9ab42f","traceState":"","parentSpanId":"ee476840b78b6b64","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:30.430701513Z","endTime":"2021-03-25T17:23:30.431879792Z","durationInNanos":1178279,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.thread@name":"http-nio-8087-exec-8","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"ee476840b78b6b64"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"ee476840b78b6b64","traceState":"","parentSpanId":"f224b7718d28dcb6","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:30.430003216Z","endTime":"2021-03-25T17:23:30.432007390Z","durationInNanos":2004174,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-8","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56592,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"3d6c88ccfe463625"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"3d6c88ccfe463625","traceState":"","parentSpanId":"684e00b74392b8c6","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:30.101806858Z","endTime":"2021-03-25T17:23:30.105081805Z","durationInNanos":3274947,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"span.attributes.thread@name":"http-nio-8087-exec-4","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"927d2469efed5531"}} +{"traceId":"4fa04f117be100f476b175e41096e736","spanId":"927d2469efed5531","traceState":"","parentSpanId":"ec11e2136b66d7a9","name":"update_inventory","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:30.151124480Z","endTime":"2021-03-25T17:23:30.394688768Z","durationInNanos":243564288,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:30.481628416Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":393149952,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"1d2c0f411e8ee2f8"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"1d2c0f411e8ee2f8","traceState":"","parentSpanId":"","name":"client_create_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:31.152335104Z","endTime":"2021-03-25T17:23:31.468260096Z","durationInNanos":315924992,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"a91d84e8178f1fd8"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"a91d84e8178f1fd8","traceState":"","parentSpanId":"eeaa622f88fe207c","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:31.303123712Z","endTime":"2021-03-25T17:23:31.304368896Z","durationInNanos":1245184,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': '3'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"4d1c65495ff29c6d"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"4d1c65495ff29c6d","traceState":"","parentSpanId":"7238b78b0ed71521","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:31.353071360Z","endTime":"2021-03-25T17:23:31.409542656Z","durationInNanos":56471296,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55886,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"d9ee030e0d08690e"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"d9ee030e0d08690e","traceState":"","parentSpanId":"28262a4233f0588c","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:31.431002978Z","endTime":"2021-03-25T17:23:31.434517936Z","durationInNanos":3514958,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-10","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56608,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"b3752b14ed618509"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"b3752b14ed618509","traceState":"","parentSpanId":"2bd2af19d4a54899","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:31.254661632Z","endTime":"2021-03-25T17:23:31.343596800Z","durationInNanos":88935168,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"b445c2d1b93f0221"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"b445c2d1b93f0221","traceState":"","parentSpanId":"72c5af1d1df82890","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:31.377131776Z","endTime":"2021-03-25T17:23:31.378107648Z","durationInNanos":975872,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': '2'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"7238b78b0ed71521"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"7238b78b0ed71521","traceState":"","parentSpanId":"2bd2af19d4a54899","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:31.350046208Z","endTime":"2021-03-25T17:23:31.422569728Z","durationInNanos":72523520,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"e6b4ab74f8b80f4e"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"e6b4ab74f8b80f4e","traceState":"","parentSpanId":"e241b0e785a3c575","name":"update_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:31.155295232Z","endTime":"2021-03-25T17:23:31.449997056Z","durationInNanos":294701824,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56862,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/update_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"dcb75802cdd2df95"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"dcb75802cdd2df95","traceState":"","parentSpanId":"5a4c439943652ab5","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:31.203629568Z","endTime":"2021-03-25T17:23:31.209441792Z","durationInNanos":5812224,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': '1'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"2bd2af19d4a54899"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"2bd2af19d4a54899","traceState":"","parentSpanId":"e6b4ab74f8b80f4e","name":"update_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:31.156228352Z","endTime":"2021-03-25T17:23:31.444213504Z","durationInNanos":287985152,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"5a4c439943652ab5"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"5a4c439943652ab5","traceState":"","parentSpanId":"78043dd3210ad09c","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:31.160545792Z","endTime":"2021-03-25T17:23:31.219949056Z","durationInNanos":59403264,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"eeaa622f88fe207c"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"eeaa622f88fe207c","traceState":"","parentSpanId":"474586f3bebe59ed","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:31.266703616Z","endTime":"2021-03-25T17:23:31.316477184Z","durationInNanos":49773568,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"72c5af1d1df82890"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"72c5af1d1df82890","traceState":"","parentSpanId":"4d1c65495ff29c6d","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:31.353989888Z","endTime":"2021-03-25T17:23:31.399032832Z","durationInNanos":45042944,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"474586f3bebe59ed"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"474586f3bebe59ed","traceState":"","parentSpanId":"b3752b14ed618509","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:31.265601280Z","endTime":"2021-03-25T17:23:31.324172544Z","durationInNanos":58571264,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55882,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"1e468dfafa2cbf01"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"1e468dfafa2cbf01","traceState":"","parentSpanId":"2bd2af19d4a54899","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:31.156710912Z","endTime":"2021-03-25T17:23:31.242307072Z","durationInNanos":85596160,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"51c30794d41a0e90"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"51c30794d41a0e90","traceState":"","parentSpanId":"5a4c439943652ab5","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:31.193952256Z","endTime":"2021-03-25T17:23:31.195421440Z","durationInNanos":1469184,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': '1'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"28262a4233f0588c"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"28262a4233f0588c","traceState":"","parentSpanId":"2bd2af19d4a54899","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:31.428226560Z","endTime":"2021-03-25T17:23:31.436708352Z","durationInNanos":8481792,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"78043dd3210ad09c"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"78043dd3210ad09c","traceState":"","parentSpanId":"1e468dfafa2cbf01","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:31.159513088Z","endTime":"2021-03-25T17:23:31.228904448Z","durationInNanos":69391360,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55878,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"f7e912b3aad7acba"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"f7e912b3aad7acba","traceState":"","parentSpanId":"d9ee030e0d08690e","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:31.431638466Z","endTime":"2021-03-25T17:23:31.434321227Z","durationInNanos":2682761,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.thread@name":"http-nio-8087-exec-10","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"965cedf647f21b1a"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"965cedf647f21b1a","traceState":"","parentSpanId":"eeaa622f88fe207c","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:31.294086656Z","endTime":"2021-03-25T17:23:31.295151104Z","durationInNanos":1064448,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': '3'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"917c94fc2ae3b411"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"917c94fc2ae3b411","traceState":"","parentSpanId":"72c5af1d1df82890","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:31.384803328Z","endTime":"2021-03-25T17:23:31.385842432Z","durationInNanos":1039104,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': '2'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"e241b0e785a3c575"}} +{"traceId":"44e8643dd4b770a492e0556c3c3105e2","spanId":"e241b0e785a3c575","traceState":"","parentSpanId":"1d2c0f411e8ee2f8","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:31.152645120Z","endTime":"2021-03-25T17:23:31.462845440Z","durationInNanos":310200320,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:31.468260096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":315924992,"span.attributes.http@url":"http://localhost:8088/update_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"dbc247c510f8fa6c"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"dbc247c510f8fa6c","traceState":"","parentSpanId":"","name":"client_checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:47.606902016Z","endTime":"2021-03-25T17:21:47.984790016Z","durationInNanos":377888000,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"d5aaa3543c196a7a"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"d5aaa3543c196a7a","traceState":"","parentSpanId":"6860e98ae999b587","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:47.643833856Z","endTime":"2021-03-25T17:21:47.645221376Z","durationInNanos":1387520,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': 2}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"2e6de774f1e5e5c7"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"2e6de774f1e5e5c7","traceState":"","parentSpanId":"b2c8e3bea8c0c6da","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:47.611379968Z","endTime":"2021-03-25T17:21:47.911320576Z","durationInNanos":299940608,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.http@url":"http://localhost:8082/update_inventory","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"b2c8e3bea8c0c6da"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"b2c8e3bea8c0c6da","traceState":"","parentSpanId":"ac6ee7fdcf4b98a3","name":"checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:47.610896128Z","endTime":"2021-03-25T17:21:47.951144448Z","durationInNanos":340248320,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"e0a50216313cc1e6"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"e0a50216313cc1e6","traceState":"","parentSpanId":"6c91acd65cba9a6d","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:47.766609408Z","endTime":"2021-03-25T17:21:47.827251968Z","durationInNanos":60642560,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"34f833b94123fbe2"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"34f833b94123fbe2","traceState":"","parentSpanId":"bf3e3de22bfb1397","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:47.796408320Z","endTime":"2021-03-25T17:21:47.797313536Z","durationInNanos":905216,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': 1}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"0acc5f8c05209119"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"0acc5f8c05209119","traceState":"","parentSpanId":"e0a50216313cc1e6","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:47.771975936Z","endTime":"2021-03-25T17:21:47.816274688Z","durationInNanos":44298752,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55782,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"42e7d4b396e9803b"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"42e7d4b396e9803b","traceState":"","parentSpanId":"d00e0bf784079e5f","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:47.927003691Z","endTime":"2021-03-25T17:21:47.935461246Z","durationInNanos":8457555,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-2","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56506,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"bf3e3de22bfb1397"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"bf3e3de22bfb1397","traceState":"","parentSpanId":"0acc5f8c05209119","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:47.773264640Z","endTime":"2021-03-25T17:21:47.808190976Z","durationInNanos":34926336,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"6860e98ae999b587"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"6860e98ae999b587","traceState":"","parentSpanId":"b7fa039966521399","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:47.619275264Z","endTime":"2021-03-25T17:21:47.664597760Z","durationInNanos":45322496,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"a5d5a43a5ca42d60"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"a5d5a43a5ca42d60","traceState":"","parentSpanId":"091b784a264d8a54","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:47.707945472Z","endTime":"2021-03-25T17:21:47.742619136Z","durationInNanos":34673664,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"48ae0737dcc3a439"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"48ae0737dcc3a439","traceState":"","parentSpanId":"2e6de774f1e5e5c7","name":"update_inventory","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:47.613990912Z","endTime":"2021-03-25T17:21:47.897009920Z","durationInNanos":283019008,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8082,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":45638,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_inventory","span.attributes.http@host":"localhost:8082","span.attributes.http@target":"/update_inventory","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"e8c880db1b019137"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"e8c880db1b019137","traceState":"","parentSpanId":"4db977971d810987","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:47.854917010Z","endTime":"2021-03-25T17:21:47.866128201Z","durationInNanos":11211191,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.thread@name":"http-nio-8087-exec-10","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"ac6ee7fdcf4b98a3"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"ac6ee7fdcf4b98a3","traceState":"","parentSpanId":"21f66a4f7501d0ed","name":"payment","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:47.609924608Z","endTime":"2021-03-25T17:21:47.959924224Z","durationInNanos":349999616,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8084,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":50378,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/checkout","span.attributes.http@host":"localhost:8084","span.attributes.http@target":"/checkout","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"21f66a4f7501d0ed"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"21f66a4f7501d0ed","traceState":"","parentSpanId":"dbc247c510f8fa6c","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:47.607205632Z","endTime":"2021-03-25T17:21:47.976232192Z","durationInNanos":369026560,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.http@url":"http://localhost:8084/checkout","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"091b784a264d8a54"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"091b784a264d8a54","traceState":"","parentSpanId":"afabcf304a619d61","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:47.707056384Z","endTime":"2021-03-25T17:21:47.748450816Z","durationInNanos":41394432,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55778,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"b7fa039966521399"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"b7fa039966521399","traceState":"","parentSpanId":"c4a09da623eb1ecb","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:47.618215680Z","endTime":"2021-03-25T17:21:47.675187200Z","durationInNanos":56971520,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55774,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"c4a09da623eb1ecb"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"c4a09da623eb1ecb","traceState":"","parentSpanId":"6c91acd65cba9a6d","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:47.615485952Z","endTime":"2021-03-25T17:21:47.693196288Z","durationInNanos":77710336,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"51b550897e8d5b54"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"51b550897e8d5b54","traceState":"","parentSpanId":"6c91acd65cba9a6d","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:47.838560512Z","endTime":"2021-03-25T17:21:47.858291712Z","durationInNanos":19731200,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"6c91acd65cba9a6d"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"6c91acd65cba9a6d","traceState":"","parentSpanId":"48ae0737dcc3a439","name":"update_inventory","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:47.614964224Z","endTime":"2021-03-25T17:21:47.890344192Z","durationInNanos":275379968,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"4db977971d810987"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"4db977971d810987","traceState":"","parentSpanId":"51b550897e8d5b54","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:47.854003483Z","endTime":"2021-03-25T17:21:47.866331785Z","durationInNanos":12328302,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-10","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56504,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"3e9ba08b87cc6da9"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"3e9ba08b87cc6da9","traceState":"","parentSpanId":"42e7d4b396e9803b","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:47.927846737Z","endTime":"2021-03-25T17:21:47.935255710Z","durationInNanos":7408973,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.thread@name":"http-nio-8087-exec-2","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"d00e0bf784079e5f"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"d00e0bf784079e5f","traceState":"","parentSpanId":"b2c8e3bea8c0c6da","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:47.919819264Z","endTime":"2021-03-25T17:21:47.937713920Z","durationInNanos":17894656,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"c077e0796515ec33"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"c077e0796515ec33","traceState":"","parentSpanId":"a5d5a43a5ca42d60","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:47.730230528Z","endTime":"2021-03-25T17:21:47.731288832Z","durationInNanos":1058304,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': 3}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"afabcf304a619d61"}} +{"traceId":"1fc75f4679fb60382b8394405f1d3206","spanId":"afabcf304a619d61","traceState":"","parentSpanId":"6c91acd65cba9a6d","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:47.700137728Z","endTime":"2021-03-25T17:21:47.758095104Z","durationInNanos":57957376,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:47.984790016Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":377888000,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"54035ed549d99079"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"54035ed549d99079","traceState":"","parentSpanId":"","name":"client_cancel_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:48.574600192Z","endTime":"2021-03-25T17:21:48.745840640Z","durationInNanos":171240448,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"7325aeb5cd30c014"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"7325aeb5cd30c014","traceState":"","parentSpanId":"5a71901ca81287ec","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:48.676800988Z","endTime":"2021-03-25T17:21:48.679158178Z","durationInNanos":2357190,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"span.attributes.thread@name":"http-nio-8087-exec-4","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"28463ae48643c8b7"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"28463ae48643c8b7","traceState":"","parentSpanId":"e25c7f0bee0fdc57","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:48.604971776Z","endTime":"2021-03-25T17:21:48.607241728Z","durationInNanos":2269952,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT ItemId, TotalQty FROM User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"b3f658afbe6f7ccf"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"b3f658afbe6f7ccf","traceState":"","parentSpanId":"fbfe826f4c2c3bd2","name":"clear_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:48.577446144Z","endTime":"2021-03-25T17:21:48.695392512Z","durationInNanos":117946368,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56776,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/clear_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/clear_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"e25c7f0bee0fdc57"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"e25c7f0bee0fdc57","traceState":"","parentSpanId":"9274f8881cde156e","name":"cart_empty","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:48.582540032Z","endTime":"2021-03-25T17:21:48.642361600Z","durationInNanos":59821568,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"5a71901ca81287ec"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"5a71901ca81287ec","traceState":"","parentSpanId":"271acd6e6d28e189","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:48.676003585Z","endTime":"2021-03-25T17:21:48.679356137Z","durationInNanos":3352552,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-4","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56514,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"6cb05117cdb01f88"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"6cb05117cdb01f88","traceState":"","parentSpanId":"48ccdcea24b8a347","name":"HTTP PUT","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:48.578734592Z","endTime":"2021-03-25T17:21:48.664337408Z","durationInNanos":85602816,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"span.attributes.http@url":"http://localhost:8083/cart_empty","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"PUT","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"271acd6e6d28e189"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"271acd6e6d28e189","traceState":"","parentSpanId":"48ccdcea24b8a347","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:48.672167936Z","endTime":"2021-03-25T17:21:48.681381632Z","durationInNanos":9213696,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"9274f8881cde156e"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"9274f8881cde156e","traceState":"","parentSpanId":"6cb05117cdb01f88","name":"cartEmpty","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:48.581450752Z","endTime":"2021-03-25T17:21:48.651885056Z","durationInNanos":70434304,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"PUT","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55792,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/cart_empty","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/cart_empty","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"fbfe826f4c2c3bd2"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"fbfe826f4c2c3bd2","traceState":"","parentSpanId":"54035ed549d99079","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:48.574898432Z","endTime":"2021-03-25T17:21:48.737892096Z","durationInNanos":162993664,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"span.attributes.http@url":"http://localhost:8088/clear_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"7ec1853748fda8ff"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"7ec1853748fda8ff","traceState":"","parentSpanId":"e25c7f0bee0fdc57","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:48.614138368Z","endTime":"2021-03-25T17:21:48.636585728Z","durationInNanos":22447360,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"TRUNCATE TABLE User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"48ccdcea24b8a347"}} +{"traceId":"76064f11707d1e0718b0b02a77bff58d","spanId":"48ccdcea24b8a347","traceState":"","parentSpanId":"b3f658afbe6f7ccf","name":"clear_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:48.578475264Z","endTime":"2021-03-25T17:21:48.688380928Z","durationInNanos":109905664,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:48.745840640Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":171240448,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"c31fccfac7074ab0"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"c31fccfac7074ab0","traceState":"","parentSpanId":"","name":"client_create_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:49.258101504Z","endTime":"2021-03-25T17:21:49.531125504Z","durationInNanos":273024000,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"4ecdda1d6bd123a5"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"4ecdda1d6bd123a5","traceState":"","parentSpanId":"2d8bb1f183215851","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.440151040Z","endTime":"2021-03-25T17:21:49.441044224Z","durationInNanos":893184,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': '2'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"93cf47c8e681c60f"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"93cf47c8e681c60f","traceState":"","parentSpanId":"e2811a70a83b29da","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.487172608Z","endTime":"2021-03-25T17:21:49.497463552Z","durationInNanos":10290944,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"a0e52e16bb92338c"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"a0e52e16bb92338c","traceState":"","parentSpanId":"c31fccfac7074ab0","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.258438144Z","endTime":"2021-03-25T17:21:49.524093952Z","durationInNanos":265655808,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.http@url":"http://localhost:8088/update_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"f0b38747a78a5590"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"f0b38747a78a5590","traceState":"","parentSpanId":"a0e52e16bb92338c","name":"update_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:49.261078528Z","endTime":"2021-03-25T17:21:49.510315008Z","durationInNanos":249236480,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56784,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/update_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"309f43ae9cab572b"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"309f43ae9cab572b","traceState":"","parentSpanId":"e2811a70a83b29da","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.412836352Z","endTime":"2021-03-25T17:21:49.476348928Z","durationInNanos":63512576,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"e2811a70a83b29da"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"e2811a70a83b29da","traceState":"","parentSpanId":"f0b38747a78a5590","name":"update_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:49.262012416Z","endTime":"2021-03-25T17:21:49.504557312Z","durationInNanos":242544896,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"0e369cfafd635987"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"0e369cfafd635987","traceState":"","parentSpanId":"d6e195ff0adc561a","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:49.266362880Z","endTime":"2021-03-25T17:21:49.313359104Z","durationInNanos":46996224,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"52ce5eedf9f848fd"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"52ce5eedf9f848fd","traceState":"","parentSpanId":"0e369cfafd635987","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.298149376Z","endTime":"2021-03-25T17:21:49.300026112Z","durationInNanos":1876736,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': '1'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"d6e195ff0adc561a"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"d6e195ff0adc561a","traceState":"","parentSpanId":"a70984b8c786c65b","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:49.265307648Z","endTime":"2021-03-25T17:21:49.321311488Z","durationInNanos":56003840,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55800,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"a70984b8c786c65b"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"a70984b8c786c65b","traceState":"","parentSpanId":"e2811a70a83b29da","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.262542080Z","endTime":"2021-03-25T17:21:49.332455424Z","durationInNanos":69913344,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"675650382e9c1c68"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"675650382e9c1c68","traceState":"","parentSpanId":"005c234e8b2d4a9e","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:49.343079424Z","endTime":"2021-03-25T17:21:49.387046656Z","durationInNanos":43967232,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"2d8bb1f183215851"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"2d8bb1f183215851","traceState":"","parentSpanId":"f03815533b30bc89","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:49.417788160Z","endTime":"2021-03-25T17:21:49.459834880Z","durationInNanos":42046720,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"1b4b9bcc546ab0c0"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"1b4b9bcc546ab0c0","traceState":"","parentSpanId":"93cf47c8e681c60f","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:49.492002870Z","endTime":"2021-03-25T17:21:49.500860714Z","durationInNanos":8857844,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-6","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56530,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"f03815533b30bc89"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"f03815533b30bc89","traceState":"","parentSpanId":"309f43ae9cab572b","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:49.416881152Z","endTime":"2021-03-25T17:21:49.466066688Z","durationInNanos":49185536,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55808,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"d8f75a62dc93bb44"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"d8f75a62dc93bb44","traceState":"","parentSpanId":"0e369cfafd635987","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.288495616Z","endTime":"2021-03-25T17:21:49.289379840Z","durationInNanos":884224,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': '1'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"3886c807af86de35"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"3886c807af86de35","traceState":"","parentSpanId":"675650382e9c1c68","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.374640128Z","endTime":"2021-03-25T17:21:49.375667968Z","durationInNanos":1027840,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': '3'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"1f635f8d3eaabed5"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"1f635f8d3eaabed5","traceState":"","parentSpanId":"1b4b9bcc546ab0c0","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:49.493967540Z","endTime":"2021-03-25T17:21:49.500642788Z","durationInNanos":6675248,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.thread@name":"http-nio-8087-exec-6","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"005c234e8b2d4a9e"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"005c234e8b2d4a9e","traceState":"","parentSpanId":"fc28883b621642e2","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:49.342033664Z","endTime":"2021-03-25T17:21:49.396767744Z","durationInNanos":54734080,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55804,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"b845c9f96d0ff1f3"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"b845c9f96d0ff1f3","traceState":"","parentSpanId":"675650382e9c1c68","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.365459968Z","endTime":"2021-03-25T17:21:49.366375936Z","durationInNanos":915968,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': '3'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"fc28883b621642e2"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"fc28883b621642e2","traceState":"","parentSpanId":"e2811a70a83b29da","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.339384576Z","endTime":"2021-03-25T17:21:49.406950656Z","durationInNanos":67566080,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"5ce303d8b91011bc"}} +{"traceId":"e5ca67df0bbdb779bd1846f138439bce","spanId":"5ce303d8b91011bc","traceState":"","parentSpanId":"2d8bb1f183215851","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.447627776Z","endTime":"2021-03-25T17:21:49.449848064Z","durationInNanos":2220288,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:49.531125504Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":273024000,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': '2'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"8a854623f90fb54f"}} +{"traceId":"5ee77a65f251ed8600371446157e70dc","spanId":"8a854623f90fb54f","traceState":"","parentSpanId":"","name":"client_delivery_status","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:49.845881856Z","endTime":"2021-03-25T17:21:49.984027648Z","durationInNanos":138145792,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:49.984027648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":138145792,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"d57cf256040644f3"}} +{"traceId":"5ee77a65f251ed8600371446157e70dc","spanId":"d57cf256040644f3","traceState":"","parentSpanId":"8a854623f90fb54f","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.846182912Z","endTime":"2021-03-25T17:21:49.952503296Z","durationInNanos":106320384,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:49.984027648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":138145792,"span.attributes.http@url":"http://localhost:8088/get_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"7a2a0ca635baf4db"}} +{"traceId":"5ee77a65f251ed8600371446157e70dc","spanId":"7a2a0ca635baf4db","traceState":"","parentSpanId":"500db987681d8ede","name":"get_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:49.849632768Z","endTime":"2021-03-25T17:21:49.926034688Z","durationInNanos":76401920,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:49.984027648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":138145792,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"5653e07ba17cbd8b"}} +{"traceId":"5ee77a65f251ed8600371446157e70dc","spanId":"5653e07ba17cbd8b","traceState":"","parentSpanId":"7a2a0ca635baf4db","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.912790272Z","endTime":"2021-03-25T17:21:49.920825088Z","durationInNanos":8034816,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:49.984027648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":138145792,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"5bf67d699fe6d247"}} +{"traceId":"5ee77a65f251ed8600371446157e70dc","spanId":"5bf67d699fe6d247","traceState":"","parentSpanId":"1d505c87dea42700","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:49.915879531Z","endTime":"2021-03-25T17:21:49.918056080Z","durationInNanos":2176549,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:49.984027648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":138145792,"span.attributes.thread@name":"http-nio-8087-exec-8","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"1d505c87dea42700"}} +{"traceId":"5ee77a65f251ed8600371446157e70dc","spanId":"1d505c87dea42700","traceState":"","parentSpanId":"5653e07ba17cbd8b","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:49.915003530Z","endTime":"2021-03-25T17:21:49.918236011Z","durationInNanos":3232481,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:49.984027648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":138145792,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-8","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56538,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"caee48dba4382c02"}} +{"traceId":"5ee77a65f251ed8600371446157e70dc","spanId":"caee48dba4382c02","traceState":"","parentSpanId":"52fa1c07d9e504c9","name":"getCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:49.852563456Z","endTime":"2021-03-25T17:21:49.889665792Z","durationInNanos":37102336,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:49.984027648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":138145792,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55816,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/get_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"6ddf636a43d5d36d"}} +{"traceId":"5ee77a65f251ed8600371446157e70dc","spanId":"6ddf636a43d5d36d","traceState":"","parentSpanId":"235766a9328bb23e","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.875479296Z","endTime":"2021-03-25T17:21:49.876210944Z","durationInNanos":731648,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:49.984027648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":138145792,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT * FROM User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"52fa1c07d9e504c9"}} +{"traceId":"5ee77a65f251ed8600371446157e70dc","spanId":"52fa1c07d9e504c9","traceState":"","parentSpanId":"7a2a0ca635baf4db","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:49.849892608Z","endTime":"2021-03-25T17:21:49.903207168Z","durationInNanos":53314560,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:49.984027648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":138145792,"span.attributes.http@url":"http://localhost:8083/get_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"500db987681d8ede"}} +{"traceId":"5ee77a65f251ed8600371446157e70dc","spanId":"500db987681d8ede","traceState":"","parentSpanId":"d57cf256040644f3","name":"get_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:49.848685312Z","endTime":"2021-03-25T17:21:49.932677376Z","durationInNanos":83992064,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:49.984027648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":138145792,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56800,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/get_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"235766a9328bb23e"}} +{"traceId":"5ee77a65f251ed8600371446157e70dc","spanId":"235766a9328bb23e","traceState":"","parentSpanId":"caee48dba4382c02","name":"get_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:49.853675520Z","endTime":"2021-03-25T17:21:49.883213056Z","durationInNanos":29537536,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:49.984027648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":138145792,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"6b14ed5be4c88e99"}} +{"traceId":"ba3c828db75aee377b6fbebb58d6b6d3","spanId":"6b14ed5be4c88e99","traceState":"","parentSpanId":"","name":"mysql","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:02.990599936Z","endTime":"2021-03-25T17:21:02.991838464Z","durationInNanos":1238528,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"mysql","traceGroupFields.endTime":"2021-03-25T17:21:02.991838464Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":1238528,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"","span.attributes.db@statement":"USE APM","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"55a698828fe06a42"}} +{"traceId":"c1d985bd02e1dbb85b444011f19a1ecc","spanId":"55a698828fe06a42","traceState":"","parentSpanId":"","name":"mysql","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:03.000792576Z","endTime":"2021-03-25T17:21:03.023983360Z","durationInNanos":23190784,"serviceName":"database","events":[{"time":"2021-03-25T17:21:03.023934720Z","name":"exception","attributes":{"exception@message":"1050 (42S01): Table 'Inventory_Items' already exists","exception@type":"ProgrammingError","exception@stacktrace":"Traceback (most recent call last):\n File \"/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py\", line 804, in use_span\n yield span\n File \"/usr/lib/python3.6/site-packages/opentelemetry/instrumentation/dbapi/__init__.py\", line 354, in traced_execution\n raise ex\n File \"/usr/lib/python3.6/site-packages/opentelemetry/instrumentation/dbapi/__init__.py\", line 345, in traced_execution\n result = query_method(*args, **kwargs)\n File \"/usr/lib/python3.6/site-packages/mysql/connector/cursor.py\", line 577, in execute\n self._handle_result(self._connection.cmd_query(stmt))\n File \"/usr/lib/python3.6/site-packages/mysql/connector/connection.py\", line 695, in cmd_query\n result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))\n File \"/usr/lib/python3.6/site-packages/mysql/connector/connection.py\", line 582, in _handle_result\n raise errors.get_exception(packet)\nmysql.connector.errors.ProgrammingError: 1050 (42S01): Table 'Inventory_Items' already exists\n"},"droppedAttributesCount":0}],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"mysql","traceGroupFields.endTime":"2021-03-25T17:21:03.023983360Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":23190784,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","status.message":"1050 (42S01): Table 'Inventory_Items' already exists","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"","span.attributes.db@statement":"CREATE TABLE `Inventory_Items` ( `ItemId` varchar(16) NOT NULL, `TotalQty` int(11) NOT NULL, PRIMARY KEY (`ItemId`)) ENGINE=InnoDB","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"5bcca8ba513bb54a"}} +{"traceId":"15d30e4d211d79e10fcaeab97015c90d","spanId":"5bcca8ba513bb54a","traceState":"","parentSpanId":"","name":"mysql","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:03.038618112Z","endTime":"2021-03-25T17:21:03.041571328Z","durationInNanos":2953216,"serviceName":"database","events":[{"time":"2021-03-25T17:21:03.041542912Z","name":"exception","attributes":{"exception@message":"1050 (42S01): Table 'User_Carts' already exists","exception@type":"ProgrammingError","exception@stacktrace":"Traceback (most recent call last):\n File \"/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py\", line 804, in use_span\n yield span\n File \"/usr/lib/python3.6/site-packages/opentelemetry/instrumentation/dbapi/__init__.py\", line 354, in traced_execution\n raise ex\n File \"/usr/lib/python3.6/site-packages/opentelemetry/instrumentation/dbapi/__init__.py\", line 345, in traced_execution\n result = query_method(*args, **kwargs)\n File \"/usr/lib/python3.6/site-packages/mysql/connector/cursor.py\", line 577, in execute\n self._handle_result(self._connection.cmd_query(stmt))\n File \"/usr/lib/python3.6/site-packages/mysql/connector/connection.py\", line 695, in cmd_query\n result = self._handle_result(self._send_cmd(ServerCmd.QUERY, query))\n File \"/usr/lib/python3.6/site-packages/mysql/connector/connection.py\", line 582, in _handle_result\n raise errors.get_exception(packet)\nmysql.connector.errors.ProgrammingError: 1050 (42S01): Table 'User_Carts' already exists\n"},"droppedAttributesCount":0}],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"mysql","traceGroupFields.endTime":"2021-03-25T17:21:03.041571328Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":2953216,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","status.message":"1050 (42S01): Table 'User_Carts' already exists","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"","span.attributes.db@statement":"CREATE TABLE `User_Carts` ( `ItemId` varchar(16) NOT NULL, `TotalQty` int(11) NOT NULL, PRIMARY KEY (`ItemId`)) ENGINE=InnoDB","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"8ee1d294e46f34bf"}} +{"traceId":"b207e9bcd70e5b49daea3a40e0c60e4c","spanId":"8ee1d294e46f34bf","traceState":"","parentSpanId":"","name":"HTTP GET","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:03.304552704Z","endTime":"2021-03-25T17:21:03.307507968Z","durationInNanos":2955264,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"HTTP GET","traceGroupFields.endTime":"2021-03-25T17:21:03.307507968Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":2955264,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"NOT FOUND","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"curl/7.61.1","span.attributes.net@peer@port":55638,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":404} +{"index":{"_id":"5ff3516909562c60"}} +{"traceId":"d5409f0d4ed15dfe47afe24d4988d078","spanId":"5ff3516909562c60","traceState":"","parentSpanId":"","name":"HTTP GET","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:04.377200384Z","endTime":"2021-03-25T17:21:04.381007104Z","durationInNanos":3806720,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"HTTP GET","traceGroupFields.endTime":"2021-03-25T17:21:04.381007104Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":3806720,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"NOT FOUND","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"curl/7.61.1","span.attributes.net@peer@port":56628,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":404} +{"index":{"_id":"72ee42547c5c5125"}} +{"traceId":"3cacf76df174d71c19a5ff78248cd490","spanId":"72ee42547c5c5125","traceState":"","parentSpanId":"","name":"HTTP GET","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:05.416123648Z","endTime":"2021-03-25T17:21:05.419973376Z","durationInNanos":3849728,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"HTTP GET","traceGroupFields.endTime":"2021-03-25T17:21:05.419973376Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":3849728,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8082,"span.attributes.http@status_text":"NOT FOUND","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"curl/7.61.1","span.attributes.net@peer@port":45514,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@host":"localhost:8082","span.attributes.http@target":"/","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":404} +{"index":{"_id":"1bcd486350ea581e"}} +{"traceId":"29158720fe1cf7db0a8c45067945d94d","spanId":"1bcd486350ea581e","traceState":"","parentSpanId":"","name":"HTTP GET","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:06.498122240Z","endTime":"2021-03-25T17:21:06.514853888Z","durationInNanos":16731648,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"HTTP GET","traceGroupFields.endTime":"2021-03-25T17:21:06.514853888Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":16731648,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8084,"span.attributes.http@status_text":"NOT FOUND","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"curl/7.61.1","span.attributes.net@peer@port":50262,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@host":"localhost:8084","span.attributes.http@target":"/","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":404} +{"index":{"_id":"e1ba7015b9194eba"}} +{"traceId":"648058570b784b90c1c596d7a6d14c54","spanId":"e1ba7015b9194eba","traceState":"","parentSpanId":"","name":"/**","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:01.992579399Z","endTime":"2021-03-25T17:21:02.049460860Z","durationInNanos":56881461,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"/**","traceGroupFields.endTime":"2021-03-25T17:21:02.049460860Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":56881461,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/","span.attributes.thread@name":"http-nio-8087-exec-1","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":128,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":2,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"GET","span.attributes.http@user_agent":"curl/7.61.1","span.attributes.net@peer@port":56348,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":404,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"1eaf4782819b853d"}} +{"traceId":"648058570b784b90c1c596d7a6d14c54","spanId":"1eaf4782819b853d","traceState":"","parentSpanId":"5494c2e7d070507f","name":"ResponseFacade.sendError","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:02.045710038Z","endTime":"2021-03-25T17:21:02.045931096Z","durationInNanos":221058,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"/**","traceGroupFields.endTime":"2021-03-25T17:21:02.049460860Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":56881461,"span.attributes.thread@name":"http-nio-8087-exec-1","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":128,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet"} +{"index":{"_id":"0c71ce2f032ad48e"}} +{"traceId":"648058570b784b90c1c596d7a6d14c54","spanId":"0c71ce2f032ad48e","traceState":"","parentSpanId":"e1ba7015b9194eba","name":"ApplicationDispatcher.forward","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:02.053502985Z","endTime":"2021-03-25T17:21:02.262349094Z","durationInNanos":208846109,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"/**","traceGroupFields.endTime":"2021-03-25T17:21:02.049460860Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":56881461,"span.attributes.thread@name":"http-nio-8087-exec-1","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":128,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet"} +{"index":{"_id":"5494c2e7d070507f"}} +{"traceId":"648058570b784b90c1c596d7a6d14c54","spanId":"5494c2e7d070507f","traceState":"","parentSpanId":"e1ba7015b9194eba","name":"ResourceHttpRequestHandler.handleRequest","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:02.043354145Z","endTime":"2021-03-25T17:21:02.048099869Z","durationInNanos":4745724,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"/**","traceGroupFields.endTime":"2021-03-25T17:21:02.049460860Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":56881461,"span.attributes.thread@name":"http-nio-8087-exec-1","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":128,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"3ce2f80841493cbb"}} +{"traceId":"450905d31307509532d9e2db7460fcb6","spanId":"3ce2f80841493cbb","traceState":"","parentSpanId":"","name":"HTTP GET","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:07.595561728Z","endTime":"2021-03-25T17:21:07.599333376Z","durationInNanos":3771648,"serviceName":"recommendation","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"HTTP GET","traceGroupFields.endTime":"2021-03-25T17:21:07.599333376Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":3771648,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8086,"span.attributes.http@status_text":"NOT FOUND","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140465266593744","resource.attributes.service@name":"recommendation","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"curl/7.61.1","span.attributes.net@peer@port":51118,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@host":"localhost:8086","span.attributes.http@target":"/","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":404} +{"index":{"_id":"718dc32a693c8a17"}} +{"traceId":"c81499c3007a8532a987c27047bb9cdd","spanId":"718dc32a693c8a17","traceState":"","parentSpanId":"","name":"HTTP GET","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:08.627664384Z","endTime":"2021-03-25T17:21:08.631421696Z","durationInNanos":3757312,"serviceName":"authentication","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"HTTP GET","traceGroupFields.endTime":"2021-03-25T17:21:08.631421696Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":3757312,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8085,"span.attributes.http@status_text":"NOT FOUND","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140122129537568","resource.attributes.service@name":"authentication","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"curl/7.61.1","span.attributes.net@peer@port":44150,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@host":"localhost:8085","span.attributes.http@target":"/","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":404} +{"index":{"_id":"28f096bc84619ef2"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"28f096bc84619ef2","traceState":"","parentSpanId":"","name":"load_main_screen","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:14.559582720Z","endTime":"2021-03-25T17:21:15.017436928Z","durationInNanos":457854208,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"69a2949c11c65a77"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"69a2949c11c65a77","traceState":"","parentSpanId":"48ab433d50014cbe","name":"recommend","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:14.581978880Z","endTime":"2021-03-25T17:21:14.920316160Z","durationInNanos":338337280,"serviceName":"recommendation","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8086,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140465266593744","resource.attributes.service@name":"recommendation","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":51138,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/recommend","span.attributes.http@host":"localhost:8086","span.attributes.http@target":"/recommend","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"3cec59b11f5d84fa"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"3cec59b11f5d84fa","traceState":"","parentSpanId":"4c9af7d9bc4961cc","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:14.678003676Z","endTime":"2021-03-25T17:21:14.815579605Z","durationInNanos":137575929,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-2","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56408,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"277a5934acf55dcf"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"277a5934acf55dcf","traceState":"","parentSpanId":"d03fecfa0f55b77c","name":"verify_login","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:14.566578432Z","endTime":"2021-03-25T17:21:14.566626304Z","durationInNanos":47872,"serviceName":"authentication","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140122129537568","resource.attributes.service@name":"authentication","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"59182c75e7b7289a"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"59182c75e7b7289a","traceState":"","parentSpanId":"1aef01694e12e529","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:14.618924032Z","endTime":"2021-03-25T17:21:14.619691008Z","durationInNanos":766976,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT * FROM Inventory_Items","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"b57ce805362f7790"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"b57ce805362f7790","traceState":"","parentSpanId":"0b62a0dc48347737","name":"getIntentory","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:14.594951168Z","endTime":"2021-03-25T17:21:14.646179072Z","durationInNanos":51227904,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55686,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_inventory","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/get_inventory","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"01c9ce32ee706927"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"01c9ce32ee706927","traceState":"","parentSpanId":"69a2949c11c65a77","name":"recommend","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:14.583037440Z","endTime":"2021-03-25T17:21:14.908792576Z","durationInNanos":325755136,"serviceName":"recommendation","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140465266593744","resource.attributes.service@name":"recommendation","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"5e94ade6b01c39ab"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"5e94ade6b01c39ab","traceState":"","parentSpanId":"01c9ce32ee706927","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:14.851265024Z","endTime":"2021-03-25T17:21:14.896640512Z","durationInNanos":45375488,"serviceName":"recommendation","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140465266593744","resource.attributes.service@name":"recommendation","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"f666a1d3fbbe538f"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"f666a1d3fbbe538f","traceState":"","parentSpanId":"68a74776159d7f19","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:14.960927106Z","endTime":"2021-03-25T17:21:14.963257076Z","durationInNanos":2329970,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.thread@name":"http-nio-8087-exec-6","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"8a6144390c29b1ec"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"8a6144390c29b1ec","traceState":"","parentSpanId":"d99fac2b5eb511e4","name":"read_inventory","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:14.589584640Z","endTime":"2021-03-25T17:21:14.823812608Z","durationInNanos":234227968,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"48ab433d50014cbe"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"48ab433d50014cbe","traceState":"","parentSpanId":"d03fecfa0f55b77c","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:14.576976128Z","endTime":"2021-03-25T17:21:14.945266432Z","durationInNanos":368290304,"serviceName":"authentication","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.http@url":"http://localhost:8086/recommend","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140122129537568","resource.attributes.service@name":"authentication","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"68a74776159d7f19"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"68a74776159d7f19","traceState":"","parentSpanId":"6af54de5eb15c6da","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:14.960003661Z","endTime":"2021-03-25T17:21:14.963455163Z","durationInNanos":3451502,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-6","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56412,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"d99fac2b5eb511e4"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"d99fac2b5eb511e4","traceState":"","parentSpanId":"cc62f643157da23b","name":"read_inventory","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:14.588622080Z","endTime":"2021-03-25T17:21:14.829069056Z","durationInNanos":240446976,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8082,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":45550,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/read_inventory","span.attributes.http@host":"localhost:8082","span.attributes.http@target":"/read_inventory","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"6af54de5eb15c6da"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"6af54de5eb15c6da","traceState":"","parentSpanId":"d03fecfa0f55b77c","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:14.957758976Z","endTime":"2021-03-25T17:21:14.967944448Z","durationInNanos":10185472,"serviceName":"authentication","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140122129537568","resource.attributes.service@name":"authentication","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"69a731074a9bdf13"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"69a731074a9bdf13","traceState":"","parentSpanId":"f62cd2694115a885","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:14.856992146Z","endTime":"2021-03-25T17:21:14.900501999Z","durationInNanos":43509853,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.thread@name":"http-nio-8087-exec-4","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"f62cd2694115a885"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"f62cd2694115a885","traceState":"","parentSpanId":"5e94ade6b01c39ab","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:14.856003651Z","endTime":"2021-03-25T17:21:14.901306943Z","durationInNanos":45303292,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-4","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56410,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"0b62a0dc48347737"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"0b62a0dc48347737","traceState":"","parentSpanId":"8a6144390c29b1ec","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:14.589961984Z","endTime":"2021-03-25T17:21:14.658458368Z","durationInNanos":68496384,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.http@url":"http://localhost:8083/get_inventory","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"4c9af7d9bc4961cc"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"4c9af7d9bc4961cc","traceState":"","parentSpanId":"8a6144390c29b1ec","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:14.672780544Z","endTime":"2021-03-25T17:21:14.816105216Z","durationInNanos":143324672,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"e9e09c3ce939b488"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"e9e09c3ce939b488","traceState":"","parentSpanId":"28f096bc84619ef2","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:14.560204544Z","endTime":"2021-03-25T17:21:15.010031360Z","durationInNanos":449826816,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.http@url":"http://localhost:8085/server_request_login","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"e258f824e8f8bcb4"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"e258f824e8f8bcb4","traceState":"","parentSpanId":"3cec59b11f5d84fa","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:14.679095501Z","endTime":"2021-03-25T17:21:14.815378442Z","durationInNanos":136282941,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.thread@name":"http-nio-8087-exec-2","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"cc62f643157da23b"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"cc62f643157da23b","traceState":"","parentSpanId":"01c9ce32ee706927","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:14.583482368Z","endTime":"2021-03-25T17:21:14.843803648Z","durationInNanos":260321280,"serviceName":"recommendation","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.http@url":"http://localhost:8082/read_inventory","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140465266593744","resource.attributes.service@name":"recommendation","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"1aef01694e12e529"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"1aef01694e12e529","traceState":"","parentSpanId":"b57ce805362f7790","name":"get_inventory","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:14.595916544Z","endTime":"2021-03-25T17:21:14.627271680Z","durationInNanos":31355136,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"d03fecfa0f55b77c"}} +{"traceId":"4cb0014c4d311691da84b0fcbb649796","spanId":"d03fecfa0f55b77c","traceState":"","parentSpanId":"e9e09c3ce939b488","name":"server_request_login","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:14.565522176Z","endTime":"2021-03-25T17:21:14.992583936Z","durationInNanos":427061760,"serviceName":"authentication","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"load_main_screen","traceGroupFields.endTime":"2021-03-25T17:21:15.017436928Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":457854208,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8085,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140122129537568","resource.attributes.service@name":"authentication","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":44162,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/server_request_login","span.attributes.http@host":"localhost:8085","span.attributes.http@target":"/server_request_login","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"62debfbb65838232"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"62debfbb65838232","traceState":"","parentSpanId":"","name":"client_cancel_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:28.897886464Z","endTime":"2021-03-25T17:23:29.051137792Z","durationInNanos":153251328,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"9ba2105853a19123"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"9ba2105853a19123","traceState":"","parentSpanId":"1d4345e2a25404e1","name":"HTTP PUT","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:28.901952512Z","endTime":"2021-03-25T17:23:28.987020544Z","durationInNanos":85068032,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"span.attributes.http@url":"http://localhost:8083/cart_empty","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"PUT","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"7836e3dc48047a34"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"7836e3dc48047a34","traceState":"","parentSpanId":"9ba2105853a19123","name":"cartEmpty","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:28.904730112Z","endTime":"2021-03-25T17:23:28.977625088Z","durationInNanos":72894976,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"PUT","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55846,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/cart_empty","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/cart_empty","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"694c40a049b6bb75"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"694c40a049b6bb75","traceState":"","parentSpanId":"a949e38f139e5367","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:28.937193728Z","endTime":"2021-03-25T17:23:28.959799040Z","durationInNanos":22605312,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"TRUNCATE TABLE User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"e9196d0973d34783"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"e9196d0973d34783","traceState":"","parentSpanId":"1d4345e2a25404e1","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:28.996000512Z","endTime":"2021-03-25T17:23:29.007382272Z","durationInNanos":11381760,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"1d4345e2a25404e1"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"1d4345e2a25404e1","traceState":"","parentSpanId":"acac8cf2cd25bdca","name":"clear_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:28.901695488Z","endTime":"2021-03-25T17:23:29.014134784Z","durationInNanos":112439296,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"acac8cf2cd25bdca"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"acac8cf2cd25bdca","traceState":"","parentSpanId":"a43d5066600179db","name":"clear_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:28.900759296Z","endTime":"2021-03-25T17:23:29.032418816Z","durationInNanos":131659520,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56830,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/clear_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/clear_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"a43d5066600179db"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"a43d5066600179db","traceState":"","parentSpanId":"62debfbb65838232","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:28.898195200Z","endTime":"2021-03-25T17:23:29.043842304Z","durationInNanos":145647104,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"span.attributes.http@url":"http://localhost:8088/clear_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"02f0ed503fa076d2"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"02f0ed503fa076d2","traceState":"","parentSpanId":"a949e38f139e5367","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:28.927772928Z","endTime":"2021-03-25T17:23:28.930001920Z","durationInNanos":2228992,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT ItemId, TotalQty FROM User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"6ddb545e34349c2e"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"6ddb545e34349c2e","traceState":"","parentSpanId":"e9196d0973d34783","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:28.999003355Z","endTime":"2021-03-25T17:23:29.003272166Z","durationInNanos":4268811,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-2","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56568,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"0b3a8cf9058f1a24"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"0b3a8cf9058f1a24","traceState":"","parentSpanId":"6ddb545e34349c2e","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:28.999920538Z","endTime":"2021-03-25T17:23:29.003108996Z","durationInNanos":3188458,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"span.attributes.thread@name":"http-nio-8087-exec-2","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"a949e38f139e5367"}} +{"traceId":"ae9f8814e541d128c01662da42cbb4e5","spanId":"a949e38f139e5367","traceState":"","parentSpanId":"7836e3dc48047a34","name":"cart_empty","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:28.905807616Z","endTime":"2021-03-25T17:23:28.966087424Z","durationInNanos":60279808,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:29.051137792Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":153251328,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"f6f9645fcad95fd6"}} +{"traceId":"f0068334415fc4ef70c2a19edaef9573","spanId":"f6f9645fcad95fd6","traceState":"","parentSpanId":"","name":"client_pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:50.460224768Z","endTime":"2021-03-25T17:21:50.927259648Z","durationInNanos":467034880,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:50.927259648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":467034880,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"b1c3ea856510a6a1"}} +{"traceId":"f0068334415fc4ef70c2a19edaef9573","spanId":"b1c3ea856510a6a1","traceState":"","parentSpanId":"0ab2072b5fd96775","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:50.466888192Z","endTime":"2021-03-25T17:21:50.709159168Z","durationInNanos":242270976,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:50.927259648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":467034880,"span.attributes.http@url":"http://localhost:8083/cart_sold","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"9099440984e79531"}} +{"traceId":"f0068334415fc4ef70c2a19edaef9573","spanId":"9099440984e79531","traceState":"","parentSpanId":"f6f9645fcad95fd6","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:50.460729344Z","endTime":"2021-03-25T17:21:50.917506304Z","durationInNanos":456776960,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:50.927259648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":467034880,"span.attributes.http@url":"http://localhost:8088/pay_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"0ab2072b5fd96775"}} +{"traceId":"f0068334415fc4ef70c2a19edaef9573","spanId":"0ab2072b5fd96775","traceState":"","parentSpanId":"60829ac6236571df","name":"pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:50.466437120Z","endTime":"2021-03-25T17:21:50.847299584Z","durationInNanos":380862464,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:50.927259648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":467034880,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"ff47096ac1c2981c"}} +{"traceId":"f0068334415fc4ef70c2a19edaef9573","spanId":"ff47096ac1c2981c","traceState":"","parentSpanId":"27deb6b75cd58962","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:50.762004687Z","endTime":"2021-03-25T17:21:50.788365631Z","durationInNanos":26360944,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:50.927259648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":467034880,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-10","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56546,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"60829ac6236571df"}} +{"traceId":"f0068334415fc4ef70c2a19edaef9573","spanId":"60829ac6236571df","traceState":"","parentSpanId":"9099440984e79531","name":"pay_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:50.464929280Z","endTime":"2021-03-25T17:21:50.863437568Z","durationInNanos":398508288,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:50.927259648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":467034880,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56808,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/pay_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/pay_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"74feec0d3dfacd42"}} +{"traceId":"f0068334415fc4ef70c2a19edaef9573","spanId":"74feec0d3dfacd42","traceState":"","parentSpanId":"ff47096ac1c2981c","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:50.764756104Z","endTime":"2021-03-25T17:21:50.788130297Z","durationInNanos":23374193,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:50.927259648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":467034880,"span.attributes.thread@name":"http-nio-8087-exec-10","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"2b6ee7267bce731a"}} +{"traceId":"f0068334415fc4ef70c2a19edaef9573","spanId":"2b6ee7267bce731a","traceState":"","parentSpanId":"b1c3ea856510a6a1","name":"cartSold","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:50.479571456Z","endTime":"2021-03-25T17:21:50.664975872Z","durationInNanos":185404416,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:50.927259648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":467034880,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55824,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/cart_sold","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/cart_sold","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"27deb6b75cd58962"}} +{"traceId":"f0068334415fc4ef70c2a19edaef9573","spanId":"27deb6b75cd58962","traceState":"","parentSpanId":"0ab2072b5fd96775","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:50.747032064Z","endTime":"2021-03-25T17:21:50.803802624Z","durationInNanos":56770560,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:50.927259648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":467034880,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"5bb3c3c798268415"}} +{"traceId":"f0068334415fc4ef70c2a19edaef9573","spanId":"5bb3c3c798268415","traceState":"","parentSpanId":"2b6ee7267bce731a","name":"cart_sold","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:50.481354496Z","endTime":"2021-03-25T17:21:50.646046208Z","durationInNanos":164691712,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:50.927259648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":467034880,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"bcc6b3a35599f34b"}} +{"traceId":"f0068334415fc4ef70c2a19edaef9573","spanId":"bcc6b3a35599f34b","traceState":"","parentSpanId":"5bb3c3c798268415","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:50.604473600Z","endTime":"2021-03-25T17:21:50.634389504Z","durationInNanos":29915904,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:50.927259648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":467034880,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"TRUNCATE TABLE User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"5166c25a1f6839c7"}} +{"traceId":"2b4f29e4aef9b3838a7d1b83aab7c1bb","spanId":"5166c25a1f6839c7","traceState":"","parentSpanId":"","name":"client_pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:33.062937600Z","endTime":"2021-03-25T17:23:33.194503936Z","durationInNanos":131566336,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:33.194503936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131566336,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"0802f5f8939438a8"}} +{"traceId":"2b4f29e4aef9b3838a7d1b83aab7c1bb","spanId":"0802f5f8939438a8","traceState":"","parentSpanId":"2de7f35b0a1524cf","name":"pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:33.070421504Z","endTime":"2021-03-25T17:23:33.169714432Z","durationInNanos":99292928,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:33.194503936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131566336,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"3b6de35d9794266b"}} +{"traceId":"2b4f29e4aef9b3838a7d1b83aab7c1bb","spanId":"3b6de35d9794266b","traceState":"","parentSpanId":"0802f5f8939438a8","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:33.070677248Z","endTime":"2021-03-25T17:23:33.145324544Z","durationInNanos":74647296,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:33.194503936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131566336,"span.attributes.http@url":"http://localhost:8083/cart_sold","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"3050c75e2891cbd0"}} +{"traceId":"2b4f29e4aef9b3838a7d1b83aab7c1bb","spanId":"3050c75e2891cbd0","traceState":"","parentSpanId":"5965aa92f19c1bc9","name":"cart_sold","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:33.074232064Z","endTime":"2021-03-25T17:23:33.127093504Z","durationInNanos":52861440,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:33.194503936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131566336,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"184f2999b0681993"}} +{"traceId":"2b4f29e4aef9b3838a7d1b83aab7c1bb","spanId":"184f2999b0681993","traceState":"","parentSpanId":"3050c75e2891cbd0","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:33.096890368Z","endTime":"2021-03-25T17:23:33.120715776Z","durationInNanos":23825408,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:33.194503936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131566336,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"TRUNCATE TABLE User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"5965aa92f19c1bc9"}} +{"traceId":"2b4f29e4aef9b3838a7d1b83aab7c1bb","spanId":"5965aa92f19c1bc9","traceState":"","parentSpanId":"3b6de35d9794266b","name":"cartSold","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:33.073208576Z","endTime":"2021-03-25T17:23:33.135783936Z","durationInNanos":62575360,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:33.194503936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131566336,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55902,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/cart_sold","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/cart_sold","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"8f5082aa40f09354"}} +{"traceId":"2b4f29e4aef9b3838a7d1b83aab7c1bb","spanId":"8f5082aa40f09354","traceState":"","parentSpanId":"0802f5f8939438a8","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:33.151627008Z","endTime":"2021-03-25T17:23:33.159618816Z","durationInNanos":7991808,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:33.194503936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131566336,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"0629395312373daa"}} +{"traceId":"2b4f29e4aef9b3838a7d1b83aab7c1bb","spanId":"0629395312373daa","traceState":"","parentSpanId":"5166c25a1f6839c7","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:33.063244288Z","endTime":"2021-03-25T17:23:33.186777600Z","durationInNanos":123533312,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:33.194503936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131566336,"span.attributes.http@url":"http://localhost:8088/pay_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"beff2516bad059a3"}} +{"traceId":"2b4f29e4aef9b3838a7d1b83aab7c1bb","spanId":"beff2516bad059a3","traceState":"","parentSpanId":"8f5082aa40f09354","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:33.154003504Z","endTime":"2021-03-25T17:23:33.157467694Z","durationInNanos":3464190,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:33.194503936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131566336,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-4","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56624,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"d6b227e0493d3a65"}} +{"traceId":"2b4f29e4aef9b3838a7d1b83aab7c1bb","spanId":"d6b227e0493d3a65","traceState":"","parentSpanId":"beff2516bad059a3","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:33.155245470Z","endTime":"2021-03-25T17:23:33.157299627Z","durationInNanos":2054157,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:33.194503936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131566336,"span.attributes.thread@name":"http-nio-8087-exec-4","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"2de7f35b0a1524cf"}} +{"traceId":"2b4f29e4aef9b3838a7d1b83aab7c1bb","spanId":"2de7f35b0a1524cf","traceState":"","parentSpanId":"0629395312373daa","name":"pay_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:33.069435392Z","endTime":"2021-03-25T17:23:33.177286656Z","durationInNanos":107851264,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:33.194503936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131566336,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56886,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/pay_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/pay_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"1f4b8b2d230554f4"}} +{"traceId":"9f010d58eed9c6ac836e0a0c3cce4789","spanId":"1f4b8b2d230554f4","traceState":"","parentSpanId":"","name":"client_pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:23.448014336Z","endTime":"2021-03-25T17:21:23.592395776Z","durationInNanos":144381440,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:23.592395776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":144381440,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"11a4519551fd38a8"}} +{"traceId":"9f010d58eed9c6ac836e0a0c3cce4789","spanId":"11a4519551fd38a8","traceState":"","parentSpanId":"1f4b8b2d230554f4","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:23.448317952Z","endTime":"2021-03-25T17:21:23.571843328Z","durationInNanos":123525376,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:23.592395776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":144381440,"span.attributes.http@url":"http://localhost:8088/pay_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"60f93b7e6a56fd63"}} +{"traceId":"9f010d58eed9c6ac836e0a0c3cce4789","spanId":"60f93b7e6a56fd63","traceState":"","parentSpanId":"829f37cd0aec9b9f","name":"cart_sold","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:23.455743744Z","endTime":"2021-03-25T17:21:23.508082688Z","durationInNanos":52338944,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:23.592395776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":144381440,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"1f79b3db744fc299"}} +{"traceId":"9f010d58eed9c6ac836e0a0c3cce4789","spanId":"1f79b3db744fc299","traceState":"","parentSpanId":"11a4519551fd38a8","name":"pay_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:23.450850304Z","endTime":"2021-03-25T17:21:23.558318336Z","durationInNanos":107468032,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:23.592395776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":144381440,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56746,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/pay_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/pay_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"829f37cd0aec9b9f"}} +{"traceId":"9f010d58eed9c6ac836e0a0c3cce4789","spanId":"829f37cd0aec9b9f","traceState":"","parentSpanId":"e011610aab3da935","name":"cartSold","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:23.454716928Z","endTime":"2021-03-25T17:21:23.518616320Z","durationInNanos":63899392,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:23.592395776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":144381440,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55762,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/cart_sold","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/cart_sold","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"0de97e875579dd04"}} +{"traceId":"9f010d58eed9c6ac836e0a0c3cce4789","spanId":"0de97e875579dd04","traceState":"","parentSpanId":"60f93b7e6a56fd63","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:23.477390336Z","endTime":"2021-03-25T17:21:23.499967488Z","durationInNanos":22577152,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:23.592395776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":144381440,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"TRUNCATE TABLE User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"909eed2e2f3a94ef"}} +{"traceId":"9f010d58eed9c6ac836e0a0c3cce4789","spanId":"909eed2e2f3a94ef","traceState":"","parentSpanId":"86b718226b9dbdbd","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:23.538002935Z","endTime":"2021-03-25T17:21:23.541793241Z","durationInNanos":3790306,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:23.592395776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":144381440,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-8","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56484,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"6069aba83fa49e72"}} +{"traceId":"9f010d58eed9c6ac836e0a0c3cce4789","spanId":"6069aba83fa49e72","traceState":"","parentSpanId":"909eed2e2f3a94ef","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:23.539599594Z","endTime":"2021-03-25T17:21:23.541647117Z","durationInNanos":2047523,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:23.592395776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":144381440,"span.attributes.thread@name":"http-nio-8087-exec-8","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"86b718226b9dbdbd"}} +{"traceId":"9f010d58eed9c6ac836e0a0c3cce4789","spanId":"86b718226b9dbdbd","traceState":"","parentSpanId":"6823703aa507463c","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:23.535015680Z","endTime":"2021-03-25T17:21:23.546532608Z","durationInNanos":11516928,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:23.592395776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":144381440,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"e011610aab3da935"}} +{"traceId":"9f010d58eed9c6ac836e0a0c3cce4789","spanId":"e011610aab3da935","traceState":"","parentSpanId":"6823703aa507463c","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:23.452033280Z","endTime":"2021-03-25T17:21:23.528720384Z","durationInNanos":76687104,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:23.592395776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":144381440,"span.attributes.http@url":"http://localhost:8083/cart_sold","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"6823703aa507463c"}} +{"traceId":"9f010d58eed9c6ac836e0a0c3cce4789","spanId":"6823703aa507463c","traceState":"","parentSpanId":"1f79b3db744fc299","name":"pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:23.451779840Z","endTime":"2021-03-25T17:21:23.551823872Z","durationInNanos":100044032,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:21:23.592395776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":144381440,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"8070bc776d7b3fdf"}} +{"traceId":"55cfebc5c8c42e2b92e1731c71f65aa6","spanId":"8070bc776d7b3fdf","traceState":"","parentSpanId":"","name":"client_delivery_status","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:32.123475712Z","endTime":"2021-03-25T17:23:32.254567424Z","durationInNanos":131091712,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:32.254567424Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131091712,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"0bae057bc46bf20d"}} +{"traceId":"55cfebc5c8c42e2b92e1731c71f65aa6","spanId":"0bae057bc46bf20d","traceState":"","parentSpanId":"8040060a8677541b","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:32.153403904Z","endTime":"2021-03-25T17:23:32.154142720Z","durationInNanos":738816,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:32.254567424Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131091712,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT * FROM User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"b0aecf48b3d1cdd2"}} +{"traceId":"55cfebc5c8c42e2b92e1731c71f65aa6","spanId":"b0aecf48b3d1cdd2","traceState":"","parentSpanId":"6b69e82cbc53b10a","name":"getCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:32.130227200Z","endTime":"2021-03-25T17:23:32.175308032Z","durationInNanos":45080832,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:32.254567424Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131091712,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55894,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/get_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"db16bff78edeb4e2"}} +{"traceId":"55cfebc5c8c42e2b92e1731c71f65aa6","spanId":"db16bff78edeb4e2","traceState":"","parentSpanId":"451a52b4b1ad6937","name":"get_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:32.126292480Z","endTime":"2021-03-25T17:23:32.236474624Z","durationInNanos":110182144,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:32.254567424Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131091712,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56878,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/get_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"4916a83e6a831cc0"}} +{"traceId":"55cfebc5c8c42e2b92e1731c71f65aa6","spanId":"4916a83e6a831cc0","traceState":"","parentSpanId":"6c4c5b024b202730","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:32.203003771Z","endTime":"2021-03-25T17:23:32.206036233Z","durationInNanos":3032462,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:32.254567424Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131091712,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-2","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56616,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"451a52b4b1ad6937"}} +{"traceId":"55cfebc5c8c42e2b92e1731c71f65aa6","spanId":"451a52b4b1ad6937","traceState":"","parentSpanId":"8070bc776d7b3fdf","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:32.123781120Z","endTime":"2021-03-25T17:23:32.246547712Z","durationInNanos":122766592,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:32.254567424Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131091712,"span.attributes.http@url":"http://localhost:8088/get_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"9bb1cb211a2c96d9"}} +{"traceId":"55cfebc5c8c42e2b92e1731c71f65aa6","spanId":"9bb1cb211a2c96d9","traceState":"","parentSpanId":"4916a83e6a831cc0","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:32.203886974Z","endTime":"2021-03-25T17:23:32.205898014Z","durationInNanos":2011040,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:32.254567424Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131091712,"span.attributes.thread@name":"http-nio-8087-exec-2","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"6c4c5b024b202730"}} +{"traceId":"55cfebc5c8c42e2b92e1731c71f65aa6","spanId":"6c4c5b024b202730","traceState":"","parentSpanId":"e7ce1695e61e91e3","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:32.199425024Z","endTime":"2021-03-25T17:23:32.209982208Z","durationInNanos":10557184,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:32.254567424Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131091712,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"6b69e82cbc53b10a"}} +{"traceId":"55cfebc5c8c42e2b92e1731c71f65aa6","spanId":"6b69e82cbc53b10a","traceState":"","parentSpanId":"e7ce1695e61e91e3","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:32.127502080Z","endTime":"2021-03-25T17:23:32.190182656Z","durationInNanos":62680576,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:32.254567424Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131091712,"span.attributes.http@url":"http://localhost:8083/get_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"8040060a8677541b"}} +{"traceId":"55cfebc5c8c42e2b92e1731c71f65aa6","spanId":"8040060a8677541b","traceState":"","parentSpanId":"b0aecf48b3d1cdd2","name":"get_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:32.131343360Z","endTime":"2021-03-25T17:23:32.162667520Z","durationInNanos":31324160,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:32.254567424Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131091712,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"e7ce1695e61e91e3"}} +{"traceId":"55cfebc5c8c42e2b92e1731c71f65aa6","spanId":"e7ce1695e61e91e3","traceState":"","parentSpanId":"db16bff78edeb4e2","name":"get_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:32.127243776Z","endTime":"2021-03-25T17:23:32.231066368Z","durationInNanos":103822592,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:32.254567424Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":131091712,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"e6ced0ee51a5e024"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"e6ced0ee51a5e024","traceState":"","parentSpanId":"","name":"client_checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:38.695432960Z","endTime":"2021-03-25T17:24:39.071426816Z","durationInNanos":375993856,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"06832e96addf20f3"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"06832e96addf20f3","traceState":"","parentSpanId":"3e40e04d328f2a0a","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:38.868930560Z","endTime":"2021-03-25T17:24:38.870375936Z","durationInNanos":1445376,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': 1}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"72c34e7343e6509a"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"72c34e7343e6509a","traceState":"","parentSpanId":"76ba99744a401f21","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:38.707735040Z","endTime":"2021-03-25T17:24:38.744882176Z","durationInNanos":37147136,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"c64650fb3e55152c"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"c64650fb3e55152c","traceState":"","parentSpanId":"21de487dcbd508b2","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:38.920792255Z","endTime":"2021-03-25T17:24:38.922798175Z","durationInNanos":2005920,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.thread@name":"http-nio-8087-exec-10","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"b13470a2bba1d4b2"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"b13470a2bba1d4b2","traceState":"","parentSpanId":"97faa65422f03e15","name":"payment","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:38.698324480Z","endTime":"2021-03-25T17:24:39.044744192Z","durationInNanos":346419712,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8084,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":50628,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/checkout","span.attributes.http@host":"localhost:8084","span.attributes.http@target":"/checkout","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"e9215f70dc3df982"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"e9215f70dc3df982","traceState":"","parentSpanId":"8b44f219d62e0a15","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:38.772626176Z","endTime":"2021-03-25T17:24:38.832209408Z","durationInNanos":59583232,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"2a59f4370347c6e9"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"2a59f4370347c6e9","traceState":"","parentSpanId":"c641adcb80f8c7ab","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:38.995855360Z","endTime":"2021-03-25T17:24:39.012676864Z","durationInNanos":16821504,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"3e40e04d328f2a0a"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"3e40e04d328f2a0a","traceState":"","parentSpanId":"7034699ebd9affd5","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:38.844057344Z","endTime":"2021-03-25T17:24:38.882541568Z","durationInNanos":38484224,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"8d52dbf2ce18447b"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"8d52dbf2ce18447b","traceState":"","parentSpanId":"819176f60584727b","name":"update_inventory","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:38.702367232Z","endTime":"2021-03-25T17:24:38.966861824Z","durationInNanos":264494592,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8082,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":45888,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_inventory","span.attributes.http@host":"localhost:8082","span.attributes.http@target":"/update_inventory","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"819176f60584727b"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"819176f60584727b","traceState":"","parentSpanId":"c641adcb80f8c7ab","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:38.699733504Z","endTime":"2021-03-25T17:24:38.983250944Z","durationInNanos":283517440,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.http@url":"http://localhost:8082/update_inventory","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"5a19345c46d15c91"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"5a19345c46d15c91","traceState":"","parentSpanId":"54b68480d4a455c4","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:39.000786325Z","endTime":"2021-03-25T17:24:39.010878319Z","durationInNanos":10091994,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.thread@name":"http-nio-8087-exec-2","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"c00c4de722cc894a"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"c00c4de722cc894a","traceState":"","parentSpanId":"8b44f219d62e0a15","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:38.703847936Z","endTime":"2021-03-25T17:24:38.766967296Z","durationInNanos":63119360,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"08c2ba1f92ec53e6"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"08c2ba1f92ec53e6","traceState":"","parentSpanId":"e9215f70dc3df982","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:38.776030208Z","endTime":"2021-03-25T17:24:38.821522176Z","durationInNanos":45491968,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56028,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"76ba99744a401f21"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"76ba99744a401f21","traceState":"","parentSpanId":"c00c4de722cc894a","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:38.706701312Z","endTime":"2021-03-25T17:24:38.757098240Z","durationInNanos":50396928,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56024,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"c641adcb80f8c7ab"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"c641adcb80f8c7ab","traceState":"","parentSpanId":"b13470a2bba1d4b2","name":"checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:38.699252224Z","endTime":"2021-03-25T17:24:39.036041984Z","durationInNanos":336789760,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"2d31e874898dba36"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"2d31e874898dba36","traceState":"","parentSpanId":"08c2ba1f92ec53e6","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:38.777075968Z","endTime":"2021-03-25T17:24:38.815331328Z","durationInNanos":38255360,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"56e7709900b0ca90"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"56e7709900b0ca90","traceState":"","parentSpanId":"8b44f219d62e0a15","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:38.916526592Z","endTime":"2021-03-25T17:24:38.925087232Z","durationInNanos":8560640,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"21de487dcbd508b2"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"21de487dcbd508b2","traceState":"","parentSpanId":"56e7709900b0ca90","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:38.920004214Z","endTime":"2021-03-25T17:24:38.923003040Z","durationInNanos":2998826,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-10","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56754,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"97faa65422f03e15"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"97faa65422f03e15","traceState":"","parentSpanId":"e6ced0ee51a5e024","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:38.695734016Z","endTime":"2021-03-25T17:24:39.062184704Z","durationInNanos":366450688,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.http@url":"http://localhost:8084/checkout","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"54b68480d4a455c4"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"54b68480d4a455c4","traceState":"","parentSpanId":"2a59f4370347c6e9","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:39.000003640Z","endTime":"2021-03-25T17:24:39.011020618Z","durationInNanos":11016978,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-2","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56756,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"74bd9e337e04fe80"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"74bd9e337e04fe80","traceState":"","parentSpanId":"72c34e7343e6509a","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:38.730163712Z","endTime":"2021-03-25T17:24:38.731151872Z","durationInNanos":988160,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': 2}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"7034699ebd9affd5"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"7034699ebd9affd5","traceState":"","parentSpanId":"0a73ecf1c5fc2220","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:38.843072256Z","endTime":"2021-03-25T17:24:38.890055936Z","durationInNanos":46983680,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56032,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"bc3986c93afde351"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"bc3986c93afde351","traceState":"","parentSpanId":"2d31e874898dba36","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:38.803536384Z","endTime":"2021-03-25T17:24:38.804492032Z","durationInNanos":955648,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': 3}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"0a73ecf1c5fc2220"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"0a73ecf1c5fc2220","traceState":"","parentSpanId":"8b44f219d62e0a15","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:38.840366080Z","endTime":"2021-03-25T17:24:38.905483776Z","durationInNanos":65117696,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"8b44f219d62e0a15"}} +{"traceId":"83e711a859fde181df3d4398cda11405","spanId":"8b44f219d62e0a15","traceState":"","parentSpanId":"8d52dbf2ce18447b","name":"update_inventory","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:38.703366144Z","endTime":"2021-03-25T17:24:38.943165696Z","durationInNanos":239799552,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:39.071426816Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":375993856,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"3359ca1b6d6db780"}} +{"traceId":"bc84e238fc20f480738b7733b1aa8331","spanId":"3359ca1b6d6db780","traceState":"","parentSpanId":"","name":"client_cancel_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:39.768194304Z","endTime":"2021-03-25T17:24:39.806145280Z","durationInNanos":37950976,"serviceName":"frontend-client","events":[{"time":"2021-03-25T17:24:39.806087680Z","name":"exception","attributes":{"exception@message":"","exception@type":"AssertionError","exception@stacktrace":"Traceback (most recent call last):\n File \"/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py\", line 804, in use_span\n yield span\n File \"/app/client.py\", line 209, in cancelOrder\n assert cancelOrderAPIRequest.status_code == 200\nAssertionError\n"},"droppedAttributesCount":0}],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:39.806145280Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":37950976,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","status.message":"AssertionError: ","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":2,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"40366bdbbe7a647c"}} +{"traceId":"bc84e238fc20f480738b7733b1aa8331","spanId":"40366bdbbe7a647c","traceState":"","parentSpanId":"3359ca1b6d6db780","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:39.768545024Z","endTime":"2021-03-25T17:24:39.800680704Z","durationInNanos":32135680,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:39.806145280Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":37950976,"span.attributes.http@url":"http://localhost:8088/clear_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"SERVICE UNAVAILABLE","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":503} +{"index":{"_id":"301185ff94eed72d"}} +{"traceId":"bc84e238fc20f480738b7733b1aa8331","spanId":"301185ff94eed72d","traceState":"","parentSpanId":"d39ada3ebb20031d","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:39.772635648Z","endTime":"2021-03-25T17:24:39.779730688Z","durationInNanos":7095040,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:39.806145280Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":37950976,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"1b8bfeb41c684ad8"}} +{"traceId":"bc84e238fc20f480738b7733b1aa8331","spanId":"1b8bfeb41c684ad8","traceState":"","parentSpanId":"0217c79f64c43d16","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:39.775682302Z","endTime":"2021-03-25T17:24:39.777381896Z","durationInNanos":1699594,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:39.806145280Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":37950976,"span.attributes.thread@name":"http-nio-8087-exec-4","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"0217c79f64c43d16"}} +{"traceId":"bc84e238fc20f480738b7733b1aa8331","spanId":"0217c79f64c43d16","traceState":"","parentSpanId":"301185ff94eed72d","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:39.775003883Z","endTime":"2021-03-25T17:24:39.777547574Z","durationInNanos":2543691,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:39.806145280Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":37950976,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-4","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56760,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"d39ada3ebb20031d"}} +{"traceId":"bc84e238fc20f480738b7733b1aa8331","spanId":"d39ada3ebb20031d","traceState":"","parentSpanId":"40366bdbbe7a647c","name":"clear_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:39.771380736Z","endTime":"2021-03-25T17:24:39.788654080Z","durationInNanos":17273344,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:39.806145280Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":37950976,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"SERVICE UNAVAILABLE","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":57026,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/clear_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/clear_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":503} +{"index":{"_id":"909eca7a01416520"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"909eca7a01416520","traceState":"","parentSpanId":"","name":"client_create_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:40.674289152Z","endTime":"2021-03-25T17:24:40.938973184Z","durationInNanos":264684032,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"623f8925e9ed74be"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"623f8925e9ed74be","traceState":"","parentSpanId":"740200d311a15cbc","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:40.746123776Z","endTime":"2021-03-25T17:24:40.819686656Z","durationInNanos":73562880,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"150e2d39d592096a"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"150e2d39d592096a","traceState":"","parentSpanId":"740200d311a15cbc","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:40.678726656Z","endTime":"2021-03-25T17:24:40.739863808Z","durationInNanos":61137152,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"9fbb9a88883f3dac"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"9fbb9a88883f3dac","traceState":"","parentSpanId":"dfd44641cfa1c3e2","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:40.783504896Z","endTime":"2021-03-25T17:24:40.784676608Z","durationInNanos":1171712,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': '3'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"cde1a819e0978d4b"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"cde1a819e0978d4b","traceState":"","parentSpanId":"61c8c5a6c6fec6f6","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:40.900667958Z","endTime":"2021-03-25T17:24:40.906771544Z","durationInNanos":6103586,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.thread@name":"http-nio-8087-exec-6","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"1e2d414d8ed0baf6"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"1e2d414d8ed0baf6","traceState":"","parentSpanId":"0d5b9fc9b7839fa9","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:40.704969216Z","endTime":"2021-03-25T17:24:40.705938176Z","durationInNanos":968960,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': '1'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"86775de8fd79c391"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"86775de8fd79c391","traceState":"","parentSpanId":"0d5b9fc9b7839fa9","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:40.712461824Z","endTime":"2021-03-25T17:24:40.714333440Z","durationInNanos":1871616,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': '1'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"83324bea415aeb42"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"83324bea415aeb42","traceState":"","parentSpanId":"a5b31343288f51a9","name":"update_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:40.677266688Z","endTime":"2021-03-25T17:24:40.915795200Z","durationInNanos":238528512,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":57030,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/update_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"adc427aef5411564"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"adc427aef5411564","traceState":"","parentSpanId":"67d5cbbdae2849bd","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:40.863040768Z","endTime":"2021-03-25T17:24:40.864137472Z","durationInNanos":1096704,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': '2'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"0ebb517eba85341f"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"0ebb517eba85341f","traceState":"","parentSpanId":"8341f145a8322596","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:40.828758016Z","endTime":"2021-03-25T17:24:40.880685056Z","durationInNanos":51927040,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56054,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"a5b31343288f51a9"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"a5b31343288f51a9","traceState":"","parentSpanId":"909eca7a01416520","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:40.674618880Z","endTime":"2021-03-25T17:24:40.930931712Z","durationInNanos":256312832,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.http@url":"http://localhost:8088/update_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"61c8c5a6c6fec6f6"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"61c8c5a6c6fec6f6","traceState":"","parentSpanId":"032930bf72e67fd1","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:40.900003887Z","endTime":"2021-03-25T17:24:40.907163154Z","durationInNanos":7159267,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-6","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56776,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"bf900401c19b870f"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"bf900401c19b870f","traceState":"","parentSpanId":"dfd44641cfa1c3e2","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:40.775589632Z","endTime":"2021-03-25T17:24:40.776550400Z","durationInNanos":960768,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': '3'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"032930bf72e67fd1"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"032930bf72e67fd1","traceState":"","parentSpanId":"740200d311a15cbc","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:40.897000192Z","endTime":"2021-03-25T17:24:40.903326208Z","durationInNanos":6326016,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"0d5b9fc9b7839fa9"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"0d5b9fc9b7839fa9","traceState":"","parentSpanId":"72a8313ee5905897","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:40.682670080Z","endTime":"2021-03-25T17:24:40.722864128Z","durationInNanos":40194048,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"dfd44641cfa1c3e2"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"dfd44641cfa1c3e2","traceState":"","parentSpanId":"74bd0a2b1c535dee","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:40.750823936Z","endTime":"2021-03-25T17:24:40.795968768Z","durationInNanos":45144832,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"72a8313ee5905897"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"72a8313ee5905897","traceState":"","parentSpanId":"150e2d39d592096a","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:40.681532160Z","endTime":"2021-03-25T17:24:40.730191872Z","durationInNanos":48659712,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56046,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"da703626231e808a"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"da703626231e808a","traceState":"","parentSpanId":"67d5cbbdae2849bd","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:40.853131008Z","endTime":"2021-03-25T17:24:40.854102272Z","durationInNanos":971264,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': '2'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"740200d311a15cbc"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"740200d311a15cbc","traceState":"","parentSpanId":"83324bea415aeb42","name":"update_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:40.678199040Z","endTime":"2021-03-25T17:24:40.910448128Z","durationInNanos":232249088,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"74bd0a2b1c535dee"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"74bd0a2b1c535dee","traceState":"","parentSpanId":"623f8925e9ed74be","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:40.749567488Z","endTime":"2021-03-25T17:24:40.803897600Z","durationInNanos":54330112,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56050,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"8341f145a8322596"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"8341f145a8322596","traceState":"","parentSpanId":"740200d311a15cbc","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:40.825348864Z","endTime":"2021-03-25T17:24:40.891079680Z","durationInNanos":65730816,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"67d5cbbdae2849bd"}} +{"traceId":"386d26555771f39c0caafdaf16739d9f","spanId":"67d5cbbdae2849bd","traceState":"","parentSpanId":"0ebb517eba85341f","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:40.829851904Z","endTime":"2021-03-25T17:24:40.874339840Z","durationInNanos":44487936,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:40.938973184Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":264684032,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"9b0ca0be3f3afeb5"}} +{"traceId":"bf6b86edbb7810a0b69a435676483a21","spanId":"9b0ca0be3f3afeb5","traceState":"","parentSpanId":"","name":"client_delivery_status","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:41.379599616Z","endTime":"2021-03-25T17:24:41.486852608Z","durationInNanos":107252992,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:41.486852608Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":107252992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"52d6f6459801a501"}} +{"traceId":"bf6b86edbb7810a0b69a435676483a21","spanId":"52d6f6459801a501","traceState":"","parentSpanId":"d4da0d84ed0f398d","name":"get_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:41.388732160Z","endTime":"2021-03-25T17:24:41.419036672Z","durationInNanos":30304512,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:41.486852608Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":107252992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"5d4fdf19cc933a1c"}} +{"traceId":"bf6b86edbb7810a0b69a435676483a21","spanId":"5d4fdf19cc933a1c","traceState":"","parentSpanId":"4dd32ba418f528c3","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:41.457002970Z","endTime":"2021-03-25T17:24:41.459454427Z","durationInNanos":2451457,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:41.486852608Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":107252992,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-8","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56784,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"56e05d7fa868a1c1"}} +{"traceId":"bf6b86edbb7810a0b69a435676483a21","spanId":"56e05d7fa868a1c1","traceState":"","parentSpanId":"c7287204c63d5fad","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:41.383910400Z","endTime":"2021-03-25T17:24:41.445765888Z","durationInNanos":61855488,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:41.486852608Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":107252992,"span.attributes.http@url":"http://localhost:8083/get_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"234e172a980209ad"}} +{"traceId":"bf6b86edbb7810a0b69a435676483a21","spanId":"234e172a980209ad","traceState":"","parentSpanId":"52d6f6459801a501","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:41.411823616Z","endTime":"2021-03-25T17:24:41.412596480Z","durationInNanos":772864,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:41.486852608Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":107252992,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT * FROM User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"d4da0d84ed0f398d"}} +{"traceId":"bf6b86edbb7810a0b69a435676483a21","spanId":"d4da0d84ed0f398d","traceState":"","parentSpanId":"56e05d7fa868a1c1","name":"getCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:41.387030784Z","endTime":"2021-03-25T17:24:41.425407488Z","durationInNanos":38376704,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:41.486852608Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":107252992,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56062,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/get_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"02d6391c11b5bef0"}} +{"traceId":"bf6b86edbb7810a0b69a435676483a21","spanId":"02d6391c11b5bef0","traceState":"","parentSpanId":"33e36a09b147701a","name":"get_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:41.382713344Z","endTime":"2021-03-25T17:24:41.471790080Z","durationInNanos":89076736,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:41.486852608Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":107252992,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":57046,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/get_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"c7287204c63d5fad"}} +{"traceId":"bf6b86edbb7810a0b69a435676483a21","spanId":"c7287204c63d5fad","traceState":"","parentSpanId":"02d6391c11b5bef0","name":"get_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:41.383650304Z","endTime":"2021-03-25T17:24:41.466961152Z","durationInNanos":83310848,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:41.486852608Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":107252992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"4dd32ba418f528c3"}} +{"traceId":"bf6b86edbb7810a0b69a435676483a21","spanId":"4dd32ba418f528c3","traceState":"","parentSpanId":"c7287204c63d5fad","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:41.455014144Z","endTime":"2021-03-25T17:24:41.460891904Z","durationInNanos":5877760,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:41.486852608Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":107252992,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"33e36a09b147701a"}} +{"traceId":"bf6b86edbb7810a0b69a435676483a21","spanId":"33e36a09b147701a","traceState":"","parentSpanId":"9b0ca0be3f3afeb5","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:41.379963136Z","endTime":"2021-03-25T17:24:41.481062656Z","durationInNanos":101099520,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:41.486852608Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":107252992,"span.attributes.http@url":"http://localhost:8088/get_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"ed1c40ba8f5c3ca1"}} +{"traceId":"bf6b86edbb7810a0b69a435676483a21","spanId":"ed1c40ba8f5c3ca1","traceState":"","parentSpanId":"5d4fdf19cc933a1c","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:41.457727404Z","endTime":"2021-03-25T17:24:41.459309570Z","durationInNanos":1582166,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:41.486852608Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":107252992,"span.attributes.thread@name":"http-nio-8087-exec-8","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"87cec809f399dc30"}} +{"traceId":"aa546c8539ad5cb0ee6d456c5072b1ec","spanId":"87cec809f399dc30","traceState":"","parentSpanId":"","name":"client_pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:42.199765504Z","endTime":"2021-03-25T17:24:42.321604096Z","durationInNanos":121838592,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:24:42.321604096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":121838592,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"b1cf7ec42c1b633d"}} +{"traceId":"aa546c8539ad5cb0ee6d456c5072b1ec","spanId":"b1cf7ec42c1b633d","traceState":"","parentSpanId":"d7aee4db1f6e5763","name":"pay_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:42.202723072Z","endTime":"2021-03-25T17:24:42.300398336Z","durationInNanos":97675264,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:24:42.321604096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":121838592,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":57054,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/pay_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/pay_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"d7aee4db1f6e5763"}} +{"traceId":"aa546c8539ad5cb0ee6d456c5072b1ec","spanId":"d7aee4db1f6e5763","traceState":"","parentSpanId":"87cec809f399dc30","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:42.200078848Z","endTime":"2021-03-25T17:24:42.312237568Z","durationInNanos":112158720,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:24:42.321604096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":121838592,"span.attributes.http@url":"http://localhost:8088/pay_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"6ec093eb614de902"}} +{"traceId":"aa546c8539ad5cb0ee6d456c5072b1ec","spanId":"6ec093eb614de902","traceState":"","parentSpanId":"181fdbbc87ece9f3","name":"cartSold","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:42.206539008Z","endTime":"2021-03-25T17:24:42.265985280Z","durationInNanos":59446272,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:24:42.321604096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":121838592,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56070,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/cart_sold","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/cart_sold","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"c097b32c179cd05b"}} +{"traceId":"aa546c8539ad5cb0ee6d456c5072b1ec","spanId":"c097b32c179cd05b","traceState":"","parentSpanId":"b1cf7ec42c1b633d","name":"pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:42.203660288Z","endTime":"2021-03-25T17:24:42.295044096Z","durationInNanos":91383808,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:24:42.321604096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":121838592,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"8f8941685de6c284"}} +{"traceId":"aa546c8539ad5cb0ee6d456c5072b1ec","spanId":"8f8941685de6c284","traceState":"","parentSpanId":"6ec093eb614de902","name":"cart_sold","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:42.207574272Z","endTime":"2021-03-25T17:24:42.255295744Z","durationInNanos":47721472,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:24:42.321604096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":121838592,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"5427cbedc82d9a86"}} +{"traceId":"aa546c8539ad5cb0ee6d456c5072b1ec","spanId":"5427cbedc82d9a86","traceState":"","parentSpanId":"8ca74d2bb426df6b","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:42.285735214Z","endTime":"2021-03-25T17:24:42.287341397Z","durationInNanos":1606183,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:24:42.321604096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":121838592,"span.attributes.thread@name":"http-nio-8087-exec-10","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"181fdbbc87ece9f3"}} +{"traceId":"aa546c8539ad5cb0ee6d456c5072b1ec","spanId":"181fdbbc87ece9f3","traceState":"","parentSpanId":"c097b32c179cd05b","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:42.203917056Z","endTime":"2021-03-25T17:24:42.276364032Z","durationInNanos":72446976,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:24:42.321604096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":121838592,"span.attributes.http@url":"http://localhost:8083/cart_sold","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"8ca74d2bb426df6b"}} +{"traceId":"aa546c8539ad5cb0ee6d456c5072b1ec","spanId":"8ca74d2bb426df6b","traceState":"","parentSpanId":"daf3d5e227d66b44","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:42.285003743Z","endTime":"2021-03-25T17:24:42.287789648Z","durationInNanos":2785905,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:24:42.321604096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":121838592,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-10","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56792,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"4c9fd6c35e7a0496"}} +{"traceId":"aa546c8539ad5cb0ee6d456c5072b1ec","spanId":"4c9fd6c35e7a0496","traceState":"","parentSpanId":"8f8941685de6c284","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:42.230315008Z","endTime":"2021-03-25T17:24:42.248354560Z","durationInNanos":18039552,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:24:42.321604096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":121838592,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"TRUNCATE TABLE User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"daf3d5e227d66b44"}} +{"traceId":"aa546c8539ad5cb0ee6d456c5072b1ec","spanId":"daf3d5e227d66b44","traceState":"","parentSpanId":"c097b32c179cd05b","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:42.282489344Z","endTime":"2021-03-25T17:24:42.289478912Z","durationInNanos":6989568,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:24:42.321604096Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":121838592,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"fc2889232f6bfee2"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"fc2889232f6bfee2","traceState":"","parentSpanId":"","name":"client_checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:20.387353600Z","endTime":"2021-03-25T17:21:20.759999232Z","durationInNanos":372645632,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"9c3f9115f871f5a0"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"9c3f9115f871f5a0","traceState":"","parentSpanId":"935cbd34eb35e840","name":"payment","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:20.390497024Z","endTime":"2021-03-25T17:21:20.739962624Z","durationInNanos":349465600,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8084,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":50316,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/checkout","span.attributes.http@host":"localhost:8084","span.attributes.http@target":"/checkout","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"81aca34992c3bb9a"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"81aca34992c3bb9a","traceState":"","parentSpanId":"2e0bcc35b46cdc58","name":"update_inventory","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:20.398322432Z","endTime":"2021-03-25T17:21:20.681257728Z","durationInNanos":282935296,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"0438f00bd05a7b08"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"0438f00bd05a7b08","traceState":"","parentSpanId":"81aca34992c3bb9a","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:20.493850624Z","endTime":"2021-03-25T17:21:20.565137920Z","durationInNanos":71287296,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"3365305ba3a4b271"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"3365305ba3a4b271","traceState":"","parentSpanId":"81aca34992c3bb9a","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:20.575116544Z","endTime":"2021-03-25T17:21:20.642036992Z","durationInNanos":66920448,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"232c0433f6087a19"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"232c0433f6087a19","traceState":"","parentSpanId":"81aca34992c3bb9a","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:20.398961920Z","endTime":"2021-03-25T17:21:20.482841600Z","durationInNanos":83879680,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"c1222bbdfe51df89"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"c1222bbdfe51df89","traceState":"","parentSpanId":"42ca61064e4fbbf8","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:20.497675776Z","endTime":"2021-03-25T17:21:20.546634496Z","durationInNanos":48958720,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"9b9d9e6b892056b6"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"9b9d9e6b892056b6","traceState":"","parentSpanId":"7cae58d0f53be574","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:20.604836864Z","endTime":"2021-03-25T17:21:20.605860864Z","durationInNanos":1024000,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': 1}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"ef20fcde9dee603a"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"ef20fcde9dee603a","traceState":"","parentSpanId":"3365305ba3a4b271","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:20.580970240Z","endTime":"2021-03-25T17:21:20.629545984Z","durationInNanos":48575744,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55720,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"42ca61064e4fbbf8"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"42ca61064e4fbbf8","traceState":"","parentSpanId":"0438f00bd05a7b08","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:20.496719104Z","endTime":"2021-03-25T17:21:20.552507648Z","durationInNanos":55788544,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55716,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"501798d3b0cd3ec2"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"501798d3b0cd3ec2","traceState":"","parentSpanId":"c1222bbdfe51df89","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:20.528640512Z","endTime":"2021-03-25T17:21:20.530060032Z","durationInNanos":1419520,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': 3}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"97d426646346ed30"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"97d426646346ed30","traceState":"","parentSpanId":"dd1b6c64e71d0aeb","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:20.663003872Z","endTime":"2021-03-25T17:21:20.666492686Z","durationInNanos":3488814,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-8","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56442,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"e8f02bb624820c79"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"e8f02bb624820c79","traceState":"","parentSpanId":"002e214c71f9ddc3","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:20.723720232Z","endTime":"2021-03-25T17:21:20.727648Z","durationInNanos":3927768,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.thread@name":"http-nio-8087-exec-10","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"935cbd34eb35e840"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"935cbd34eb35e840","traceState":"","parentSpanId":"fc2889232f6bfee2","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:20.387662336Z","endTime":"2021-03-25T17:21:20.751462144Z","durationInNanos":363799808,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.http@url":"http://localhost:8084/checkout","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"002e214c71f9ddc3"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"002e214c71f9ddc3","traceState":"","parentSpanId":"6c8bd4a85a24b5dd","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:20.723002893Z","endTime":"2021-03-25T17:21:20.727804967Z","durationInNanos":4802074,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-10","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56444,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"53192fff614154f8"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"53192fff614154f8","traceState":"","parentSpanId":"97d426646346ed30","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:20.664003863Z","endTime":"2021-03-25T17:21:20.666249710Z","durationInNanos":2245847,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.thread@name":"http-nio-8087-exec-8","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"1a7b014c9c7784d1"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"1a7b014c9c7784d1","traceState":"","parentSpanId":"232c0433f6087a19","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:20.402530816Z","endTime":"2021-03-25T17:21:20.469684480Z","durationInNanos":67153664,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55712,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"daf8c1b89ef0f46e"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"daf8c1b89ef0f46e","traceState":"","parentSpanId":"9c3f9115f871f5a0","name":"checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:20.391448832Z","endTime":"2021-03-25T17:21:20.735637760Z","durationInNanos":344188928,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"9670897539aa3cb5"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"9670897539aa3cb5","traceState":"","parentSpanId":"1a7b014c9c7784d1","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:20.403919104Z","endTime":"2021-03-25T17:21:20.462452224Z","durationInNanos":58533120,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"aebd856791d9f772"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"aebd856791d9f772","traceState":"","parentSpanId":"daf8c1b89ef0f46e","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:20.392236032Z","endTime":"2021-03-25T17:21:20.712580096Z","durationInNanos":320344064,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.http@url":"http://localhost:8082/update_inventory","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"7cae58d0f53be574"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"7cae58d0f53be574","traceState":"","parentSpanId":"ef20fcde9dee603a","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:20.582309632Z","endTime":"2021-03-25T17:21:20.620422912Z","durationInNanos":38113280,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"fbf637162922440c"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"fbf637162922440c","traceState":"","parentSpanId":"9670897539aa3cb5","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:20.446543616Z","endTime":"2021-03-25T17:21:20.448027904Z","durationInNanos":1484288,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': 2}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"6c8bd4a85a24b5dd"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"6c8bd4a85a24b5dd","traceState":"","parentSpanId":"daf8c1b89ef0f46e","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:20.718433536Z","endTime":"2021-03-25T17:21:20.726854400Z","durationInNanos":8420864,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"dd1b6c64e71d0aeb"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"dd1b6c64e71d0aeb","traceState":"","parentSpanId":"81aca34992c3bb9a","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:20.654946048Z","endTime":"2021-03-25T17:21:20.668436736Z","durationInNanos":13490688,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"2e0bcc35b46cdc58"}} +{"traceId":"aff58b618d5b6da700692607df9343ff","spanId":"2e0bcc35b46cdc58","traceState":"","parentSpanId":"aebd856791d9f772","name":"update_inventory","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:20.397296128Z","endTime":"2021-03-25T17:21:20.690810368Z","durationInNanos":293514240,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:21:20.759999232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":372645632,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8082,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":45576,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_inventory","span.attributes.http@host":"localhost:8082","span.attributes.http@target":"/update_inventory","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"6192513130aabc9d"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"6192513130aabc9d","traceState":"","parentSpanId":"","name":"client_cancel_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:21.093042176Z","endTime":"2021-03-25T17:21:21.259883776Z","durationInNanos":166841600,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"e04e28e719caa00a"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"e04e28e719caa00a","traceState":"","parentSpanId":"cebae850c737e427","name":"HTTP PUT","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:21.097510912Z","endTime":"2021-03-25T17:21:21.193844224Z","durationInNanos":96333312,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"span.attributes.http@url":"http://localhost:8083/cart_empty","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"PUT","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"d843bf25bc4af127"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"d843bf25bc4af127","traceState":"","parentSpanId":"cebae850c737e427","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:21.208868352Z","endTime":"2021-03-25T17:21:21.215510272Z","durationInNanos":6641920,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"65ed1b5a900339c5"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"65ed1b5a900339c5","traceState":"","parentSpanId":"5780e7b8b048541d","name":"clear_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:21.096129280Z","endTime":"2021-03-25T17:21:21.237169920Z","durationInNanos":141040640,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56714,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/clear_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/clear_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"f2f19e080c89a0af"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"f2f19e080c89a0af","traceState":"","parentSpanId":"89ad4518c6e570fa","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:21.133353984Z","endTime":"2021-03-25T17:21:21.158749696Z","durationInNanos":25395712,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"TRUNCATE TABLE User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"248105a4690d9618"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"248105a4690d9618","traceState":"","parentSpanId":"89ad4518c6e570fa","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:21.125742592Z","endTime":"2021-03-25T17:21:21.126652672Z","durationInNanos":910080,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT ItemId, TotalQty FROM User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"1089af99926957e9"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"1089af99926957e9","traceState":"","parentSpanId":"5e6b5840fee372df","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:21.212668467Z","endTime":"2021-03-25T17:21:21.215023834Z","durationInNanos":2355367,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"span.attributes.thread@name":"http-nio-8087-exec-2","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"89ad4518c6e570fa"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"89ad4518c6e570fa","traceState":"","parentSpanId":"65579ac39ed78e8b","name":"cart_empty","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:21.103709696Z","endTime":"2021-03-25T17:21:21.167925248Z","durationInNanos":64215552,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"65579ac39ed78e8b"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"65579ac39ed78e8b","traceState":"","parentSpanId":"e04e28e719caa00a","name":"cartEmpty","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:21.102652160Z","endTime":"2021-03-25T17:21:21.180791296Z","durationInNanos":78139136,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"PUT","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55730,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/cart_empty","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/cart_empty","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"5780e7b8b048541d"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"5780e7b8b048541d","traceState":"","parentSpanId":"6192513130aabc9d","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:21.093342976Z","endTime":"2021-03-25T17:21:21.252124160Z","durationInNanos":158781184,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"span.attributes.http@url":"http://localhost:8088/clear_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"cebae850c737e427"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"cebae850c737e427","traceState":"","parentSpanId":"65ed1b5a900339c5","name":"clear_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:21.097151232Z","endTime":"2021-03-25T17:21:21.229582080Z","durationInNanos":132430848,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"5e6b5840fee372df"}} +{"traceId":"1e50a1c7c8d61d5a68331cb6c1c40a8f","spanId":"5e6b5840fee372df","traceState":"","parentSpanId":"d843bf25bc4af127","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:21.212002796Z","endTime":"2021-03-25T17:21:21.215186829Z","durationInNanos":3184033,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:21:21.259883776Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":166841600,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-2","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56452,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"519210d2f0b16de7"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"519210d2f0b16de7","traceState":"","parentSpanId":"","name":"client_create_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:22.074882304Z","endTime":"2021-03-25T17:21:22.504287232Z","durationInNanos":429404928,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"0a8f2a5406669cd0"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"0a8f2a5406669cd0","traceState":"","parentSpanId":"6b49c6cd47144cf4","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.208856576Z","endTime":"2021-03-25T17:21:22.319724032Z","durationInNanos":110867456,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"74f8214ff6302bb4"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"74f8214ff6302bb4","traceState":"","parentSpanId":"9d884fe648f374c0","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:22.086813440Z","endTime":"2021-03-25T17:21:22.174243840Z","durationInNanos":87430400,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55738,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"a8c838c3e428ec44"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"a8c838c3e428ec44","traceState":"","parentSpanId":"4fe61f4c204b8b85","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.389894400Z","endTime":"2021-03-25T17:21:22.391394816Z","durationInNanos":1500416,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': '2'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"9c777ee6c23a6cf7"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"9c777ee6c23a6cf7","traceState":"","parentSpanId":"74f8214ff6302bb4","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:22.088591872Z","endTime":"2021-03-25T17:21:22.161988608Z","durationInNanos":73396736,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"2fc3bd8e2583c489"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"2fc3bd8e2583c489","traceState":"","parentSpanId":"8ae8de0ae53b16a0","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:22.465665661Z","endTime":"2021-03-25T17:21:22.467963673Z","durationInNanos":2298012,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.thread@name":"http-nio-8087-exec-4","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"bc33c3276d43f701"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"bc33c3276d43f701","traceState":"","parentSpanId":"ed1a28b5e8524ce0","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:22.214860544Z","endTime":"2021-03-25T17:21:22.281757952Z","durationInNanos":66897408,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"4fe61f4c204b8b85"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"4fe61f4c204b8b85","traceState":"","parentSpanId":"e63d9d3690995252","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:22.342049792Z","endTime":"2021-03-25T17:21:22.428568576Z","durationInNanos":86518784,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"56a9aa15eb2b729e"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"56a9aa15eb2b729e","traceState":"","parentSpanId":"519210d2f0b16de7","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.075364352Z","endTime":"2021-03-25T17:21:22.497611776Z","durationInNanos":422247424,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.http@url":"http://localhost:8088/update_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"ae0d8f806540d5cd"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"ae0d8f806540d5cd","traceState":"","parentSpanId":"bc33c3276d43f701","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.265683712Z","endTime":"2021-03-25T17:21:22.266774784Z","durationInNanos":1091072,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': '3'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"6be54c09fc04ece0"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"6be54c09fc04ece0","traceState":"","parentSpanId":"bc33c3276d43f701","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.254548992Z","endTime":"2021-03-25T17:21:22.255910400Z","durationInNanos":1361408,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': '3'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"4777fe10370f3cf5"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"4777fe10370f3cf5","traceState":"","parentSpanId":"9c777ee6c23a6cf7","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.142497280Z","endTime":"2021-03-25T17:21:22.146615296Z","durationInNanos":4118016,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': '1'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"6b49c6cd47144cf4"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"6b49c6cd47144cf4","traceState":"","parentSpanId":"28bd75c7fb12f4cc","name":"update_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:22.081343488Z","endTime":"2021-03-25T17:21:22.479796992Z","durationInNanos":398453504,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"8ae8de0ae53b16a0"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"8ae8de0ae53b16a0","traceState":"","parentSpanId":"a0ec3edc57edd84b","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:22.465003056Z","endTime":"2021-03-25T17:21:22.468122481Z","durationInNanos":3119425,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-4","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56468,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"e63d9d3690995252"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"e63d9d3690995252","traceState":"","parentSpanId":"d33f2167a6bd28bc","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:22.340552960Z","endTime":"2021-03-25T17:21:22.440836864Z","durationInNanos":100283904,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55746,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"9d884fe648f374c0"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"9d884fe648f374c0","traceState":"","parentSpanId":"6b49c6cd47144cf4","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.082465024Z","endTime":"2021-03-25T17:21:22.200846592Z","durationInNanos":118381568,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"a0ec3edc57edd84b"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"a0ec3edc57edd84b","traceState":"","parentSpanId":"6b49c6cd47144cf4","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.459736064Z","endTime":"2021-03-25T17:21:22.469625344Z","durationInNanos":9889280,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"28bd75c7fb12f4cc"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"28bd75c7fb12f4cc","traceState":"","parentSpanId":"56a9aa15eb2b729e","name":"update_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:22.079751168Z","endTime":"2021-03-25T17:21:22.484825600Z","durationInNanos":405074432,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56722,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/update_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"ed1a28b5e8524ce0"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"ed1a28b5e8524ce0","traceState":"","parentSpanId":"0a8f2a5406669cd0","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:22.213234688Z","endTime":"2021-03-25T17:21:22.294454528Z","durationInNanos":81219840,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55742,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"9d041fbb4e4f72c1"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"9d041fbb4e4f72c1","traceState":"","parentSpanId":"4fe61f4c204b8b85","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.414493952Z","endTime":"2021-03-25T17:21:22.415668736Z","durationInNanos":1174784,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': '2'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"d33f2167a6bd28bc"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"d33f2167a6bd28bc","traceState":"","parentSpanId":"6b49c6cd47144cf4","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.336448256Z","endTime":"2021-03-25T17:21:22.453875968Z","durationInNanos":117427712,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"04a010f9ee8bf16b"}} +{"traceId":"c9c0606c8671aee3e4eaf7b908c2df03","spanId":"04a010f9ee8bf16b","traceState":"","parentSpanId":"9c777ee6c23a6cf7","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.130534656Z","endTime":"2021-03-25T17:21:22.132026624Z","durationInNanos":1491968,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:21:22.504287232Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":429404928,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': '1'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"76cbcf558cf04819"}} +{"traceId":"8832ed6abbb2a83516461960c89af49d","spanId":"76cbcf558cf04819","traceState":"","parentSpanId":"","name":"client_delivery_status","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:22.748892160Z","endTime":"2021-03-25T17:21:22.896669696Z","durationInNanos":147777536,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:22.896669696Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":147777536,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"e5c083f49dd5a05e"}} +{"traceId":"8832ed6abbb2a83516461960c89af49d","spanId":"e5c083f49dd5a05e","traceState":"","parentSpanId":"1813e6ceecb24033","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:22.834003336Z","endTime":"2021-03-25T17:21:22.837250561Z","durationInNanos":3247225,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:22.896669696Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":147777536,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-6","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56476,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"a5ac11f134ed6971"}} +{"traceId":"8832ed6abbb2a83516461960c89af49d","spanId":"a5ac11f134ed6971","traceState":"","parentSpanId":"aebfec9be2f4514f","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.781006848Z","endTime":"2021-03-25T17:21:22.781871616Z","durationInNanos":864768,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:22.896669696Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":147777536,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT * FROM User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"1097a86537c3c79b"}} +{"traceId":"8832ed6abbb2a83516461960c89af49d","spanId":"1097a86537c3c79b","traceState":"","parentSpanId":"76cbcf558cf04819","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.749218816Z","endTime":"2021-03-25T17:21:22.886730240Z","durationInNanos":137511424,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:22.896669696Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":147777536,"span.attributes.http@url":"http://localhost:8088/get_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"c3fe7416eeb8c884"}} +{"traceId":"8832ed6abbb2a83516461960c89af49d","spanId":"c3fe7416eeb8c884","traceState":"","parentSpanId":"3856bdf927e7242e","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.753215232Z","endTime":"2021-03-25T17:21:22.817274624Z","durationInNanos":64059392,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:22.896669696Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":147777536,"span.attributes.http@url":"http://localhost:8083/get_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"a673bc074b438374"}} +{"traceId":"8832ed6abbb2a83516461960c89af49d","spanId":"a673bc074b438374","traceState":"","parentSpanId":"e5c083f49dd5a05e","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:22.834954238Z","endTime":"2021-03-25T17:21:22.837060125Z","durationInNanos":2105887,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:22.896669696Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":147777536,"span.attributes.thread@name":"http-nio-8087-exec-6","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"aebfec9be2f4514f"}} +{"traceId":"8832ed6abbb2a83516461960c89af49d","spanId":"aebfec9be2f4514f","traceState":"","parentSpanId":"b704dc75f3ea9c1f","name":"get_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:22.757242880Z","endTime":"2021-03-25T17:21:22.791789056Z","durationInNanos":34546176,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:22.896669696Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":147777536,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"3856bdf927e7242e"}} +{"traceId":"8832ed6abbb2a83516461960c89af49d","spanId":"3856bdf927e7242e","traceState":"","parentSpanId":"3cc0a046c424c986","name":"get_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:21:22.752957440Z","endTime":"2021-03-25T17:21:22.854703360Z","durationInNanos":101745920,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:22.896669696Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":147777536,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"3cc0a046c424c986"}} +{"traceId":"8832ed6abbb2a83516461960c89af49d","spanId":"3cc0a046c424c986","traceState":"","parentSpanId":"1097a86537c3c79b","name":"get_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:22.751980544Z","endTime":"2021-03-25T17:21:22.869998848Z","durationInNanos":118018304,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:22.896669696Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":147777536,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56738,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/get_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"b704dc75f3ea9c1f"}} +{"traceId":"8832ed6abbb2a83516461960c89af49d","spanId":"b704dc75f3ea9c1f","traceState":"","parentSpanId":"c3fe7416eeb8c884","name":"getCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:21:22.756071680Z","endTime":"2021-03-25T17:21:22.806841344Z","durationInNanos":50769664,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:22.896669696Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":147777536,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55754,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/get_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"1813e6ceecb24033"}} +{"traceId":"8832ed6abbb2a83516461960c89af49d","spanId":"1813e6ceecb24033","traceState":"","parentSpanId":"3856bdf927e7242e","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:21:22.830035200Z","endTime":"2021-03-25T17:21:22.839351296Z","durationInNanos":9316096,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:21:22.896669696Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":147777536,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"67c279e1100d75c3"}} +{"traceId":"03f9c770db5ee2f1caac0afc36db49ba","spanId":"67c279e1100d75c3","traceState":"","parentSpanId":"","name":"client_pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:45.724285696Z","endTime":"2021-03-25T17:23:45.949285120Z","durationInNanos":224999424,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:45.949285120Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":224999424,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"d67c5bb617ba9203"}} +{"traceId":"03f9c770db5ee2f1caac0afc36db49ba","spanId":"d67c5bb617ba9203","traceState":"","parentSpanId":"421660af43ed2f96","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:45.786072576Z","endTime":"2021-03-25T17:23:45.809853952Z","durationInNanos":23781376,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:45.949285120Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":224999424,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"TRUNCATE TABLE User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"c54e1c2f383b1462"}} +{"traceId":"03f9c770db5ee2f1caac0afc36db49ba","spanId":"c54e1c2f383b1462","traceState":"","parentSpanId":"918b5d6cac30fa13","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:45.863757056Z","endTime":"2021-03-25T17:23:45.879998720Z","durationInNanos":16241664,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:45.949285120Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":224999424,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"d35fa1184168044c"}} +{"traceId":"03f9c770db5ee2f1caac0afc36db49ba","spanId":"d35fa1184168044c","traceState":"","parentSpanId":"72b91b096fe15a7e","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:45.874673885Z","endTime":"2021-03-25T17:23:45.876600285Z","durationInNanos":1926400,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:45.949285120Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":224999424,"span.attributes.thread@name":"http-nio-8087-exec-6","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"a4869b984bdcdb69"}} +{"traceId":"03f9c770db5ee2f1caac0afc36db49ba","spanId":"a4869b984bdcdb69","traceState":"","parentSpanId":"a08a8a483b30d818","name":"cartSold","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:45.743732992Z","endTime":"2021-03-25T17:23:45.832090368Z","durationInNanos":88357376,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:45.949285120Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":224999424,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55910,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/cart_sold","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/cart_sold","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"e8e61cf518ff0d47"}} +{"traceId":"03f9c770db5ee2f1caac0afc36db49ba","spanId":"e8e61cf518ff0d47","traceState":"","parentSpanId":"67c279e1100d75c3","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:45.724760576Z","endTime":"2021-03-25T17:23:45.940549888Z","durationInNanos":215789312,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:45.949285120Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":224999424,"span.attributes.http@url":"http://localhost:8088/pay_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"72b91b096fe15a7e"}} +{"traceId":"03f9c770db5ee2f1caac0afc36db49ba","spanId":"72b91b096fe15a7e","traceState":"","parentSpanId":"c54e1c2f383b1462","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:45.871003680Z","endTime":"2021-03-25T17:23:45.877972732Z","durationInNanos":6969052,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:45.949285120Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":224999424,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-6","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56632,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"918b5d6cac30fa13"}} +{"traceId":"03f9c770db5ee2f1caac0afc36db49ba","spanId":"918b5d6cac30fa13","traceState":"","parentSpanId":"11c4d645b0b6544a","name":"pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:45.730200832Z","endTime":"2021-03-25T17:23:45.895294208Z","durationInNanos":165093376,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:45.949285120Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":224999424,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"11c4d645b0b6544a"}} +{"traceId":"03f9c770db5ee2f1caac0afc36db49ba","spanId":"11c4d645b0b6544a","traceState":"","parentSpanId":"e8e61cf518ff0d47","name":"pay_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:45.728619520Z","endTime":"2021-03-25T17:23:45.909096192Z","durationInNanos":180476672,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:45.949285120Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":224999424,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56894,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/pay_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/pay_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"421660af43ed2f96"}} +{"traceId":"03f9c770db5ee2f1caac0afc36db49ba","spanId":"421660af43ed2f96","traceState":"","parentSpanId":"a4869b984bdcdb69","name":"cart_sold","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:45.745376768Z","endTime":"2021-03-25T17:23:45.819226880Z","durationInNanos":73850112,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:45.949285120Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":224999424,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"a08a8a483b30d818"}} +{"traceId":"03f9c770db5ee2f1caac0afc36db49ba","spanId":"a08a8a483b30d818","traceState":"","parentSpanId":"918b5d6cac30fa13","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:45.730639872Z","endTime":"2021-03-25T17:23:45.853490432Z","durationInNanos":122850560,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:45.949285120Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":224999424,"span.attributes.http@url":"http://localhost:8083/cart_sold","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"9c09591194d5d102"}} +{"traceId":"9cce3149f673950c9ccb0b2e104e730d","spanId":"9c09591194d5d102","traceState":"","parentSpanId":"","name":"client_delivery_status","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:46.998478592Z","endTime":"2021-03-25T17:23:47.113243648Z","durationInNanos":114765056,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:47.113243648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":114765056,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"68cb40977bd6eab8"}} +{"traceId":"9cce3149f673950c9ccb0b2e104e730d","spanId":"68cb40977bd6eab8","traceState":"","parentSpanId":"3221fd7e7e20755a","name":"get_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:47.002198528Z","endTime":"2021-03-25T17:23:47.087424256Z","durationInNanos":85225728,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:47.113243648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":114765056,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"e3f874297f242418"}} +{"traceId":"9cce3149f673950c9ccb0b2e104e730d","spanId":"e3f874297f242418","traceState":"","parentSpanId":"68cb40977bd6eab8","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:47.002505216Z","endTime":"2021-03-25T17:23:47.057874688Z","durationInNanos":55369472,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:47.113243648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":114765056,"span.attributes.http@url":"http://localhost:8083/get_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"1f0bc3af282b41e9"}} +{"traceId":"9cce3149f673950c9ccb0b2e104e730d","spanId":"1f0bc3af282b41e9","traceState":"","parentSpanId":"cfa977442e9ff51c","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:47.068743984Z","endTime":"2021-03-25T17:23:47.070433471Z","durationInNanos":1689487,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:47.113243648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":114765056,"span.attributes.thread@name":"http-nio-8087-exec-8","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"cfa977442e9ff51c"}} +{"traceId":"9cce3149f673950c9ccb0b2e104e730d","spanId":"cfa977442e9ff51c","traceState":"","parentSpanId":"47cdf0730792e64c","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:47.068003332Z","endTime":"2021-03-25T17:23:47.075911172Z","durationInNanos":7907840,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:47.113243648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":114765056,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-8","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56640,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"4e2b9046e9942e2b"}} +{"traceId":"9cce3149f673950c9ccb0b2e104e730d","spanId":"4e2b9046e9942e2b","traceState":"","parentSpanId":"e3f874297f242418","name":"getCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:47.005123328Z","endTime":"2021-03-25T17:23:47.047171072Z","durationInNanos":42047744,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:47.113243648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":114765056,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55918,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/get_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"df58ebf17b36f970"}} +{"traceId":"9cce3149f673950c9ccb0b2e104e730d","spanId":"df58ebf17b36f970","traceState":"","parentSpanId":"4e2b9046e9942e2b","name":"get_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:47.006217472Z","endTime":"2021-03-25T17:23:47.037839104Z","durationInNanos":31621632,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:47.113243648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":114765056,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"3221fd7e7e20755a"}} +{"traceId":"9cce3149f673950c9ccb0b2e104e730d","spanId":"3221fd7e7e20755a","traceState":"","parentSpanId":"77555840320cb81d","name":"get_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:47.001265408Z","endTime":"2021-03-25T17:23:47.093001472Z","durationInNanos":91736064,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:47.113243648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":114765056,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56902,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/get_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"888acd07415400a1"}} +{"traceId":"9cce3149f673950c9ccb0b2e104e730d","spanId":"888acd07415400a1","traceState":"","parentSpanId":"df58ebf17b36f970","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:47.028200960Z","endTime":"2021-03-25T17:23:47.029597696Z","durationInNanos":1396736,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:47.113243648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":114765056,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT * FROM User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"47cdf0730792e64c"}} +{"traceId":"9cce3149f673950c9ccb0b2e104e730d","spanId":"47cdf0730792e64c","traceState":"","parentSpanId":"68cb40977bd6eab8","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:47.066144256Z","endTime":"2021-03-25T17:23:47.072265728Z","durationInNanos":6121472,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:47.113243648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":114765056,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"77555840320cb81d"}} +{"traceId":"9cce3149f673950c9ccb0b2e104e730d","spanId":"77555840320cb81d","traceState":"","parentSpanId":"9c09591194d5d102","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:46.998782208Z","endTime":"2021-03-25T17:23:47.104758528Z","durationInNanos":105976320,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:23:47.113243648Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":114765056,"span.attributes.http@url":"http://localhost:8088/get_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"1a0cb28940f561a8"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"1a0cb28940f561a8","traceState":"","parentSpanId":"","name":"client_create_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:48.084371456Z","endTime":"2021-03-25T17:23:48.359975936Z","durationInNanos":275604480,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"8066b9d09b81c92f"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"8066b9d09b81c92f","traceState":"","parentSpanId":"831080abac6795cf","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:48.115765504Z","endTime":"2021-03-25T17:23:48.116704Z","durationInNanos":938496,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': '1'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"fd68372fc1dd1373"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"fd68372fc1dd1373","traceState":"","parentSpanId":"a43a68ba4dec877d","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:48.163528704Z","endTime":"2021-03-25T17:23:48.214047232Z","durationInNanos":50518528,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"a95608b807c2c60f"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"a95608b807c2c60f","traceState":"","parentSpanId":"a8209b6ba0064d37","name":"update_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:48.088389888Z","endTime":"2021-03-25T17:23:48.337500416Z","durationInNanos":249110528,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"b51ce57104b3621c"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"b51ce57104b3621c","traceState":"","parentSpanId":"fd68372fc1dd1373","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:48.197120768Z","endTime":"2021-03-25T17:23:48.198455552Z","durationInNanos":1334784,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': '3'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"a8209b6ba0064d37"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"a8209b6ba0064d37","traceState":"","parentSpanId":"2a58f381f8c70e2e","name":"update_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:48.087305728Z","endTime":"2021-03-25T17:23:48.343833088Z","durationInNanos":256527360,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56910,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/update_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"1c6cd3e12182ed11"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"1c6cd3e12182ed11","traceState":"","parentSpanId":"36e00b610031f457","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:48.246038272Z","endTime":"2021-03-25T17:23:48.286460928Z","durationInNanos":40422656,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"b83e713b3a5f444f"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"b83e713b3a5f444f","traceState":"","parentSpanId":"fd68372fc1dd1373","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:48.185838592Z","endTime":"2021-03-25T17:23:48.186730752Z","durationInNanos":892160,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': '3'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"a43a68ba4dec877d"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"a43a68ba4dec877d","traceState":"","parentSpanId":"29873549e67f2556","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:48.162587648Z","endTime":"2021-03-25T17:23:48.220827904Z","durationInNanos":58240256,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55930,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"36e00b610031f457"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"36e00b610031f457","traceState":"","parentSpanId":"83de8102e998c5f6","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:48.245083392Z","endTime":"2021-03-25T17:23:48.293122560Z","durationInNanos":48039168,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55934,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"c2a85c2dc054a8fe"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"c2a85c2dc054a8fe","traceState":"","parentSpanId":"831080abac6795cf","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:48.125617152Z","endTime":"2021-03-25T17:23:48.126324224Z","durationInNanos":707072,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': '1'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"83de8102e998c5f6"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"83de8102e998c5f6","traceState":"","parentSpanId":"a95608b807c2c60f","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:48.240862464Z","endTime":"2021-03-25T17:23:48.308264192Z","durationInNanos":67401728,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"d606d3dd283b20c5"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"d606d3dd283b20c5","traceState":"","parentSpanId":"b492c94dcd1b6a4d","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:48.324002749Z","endTime":"2021-03-25T17:23:48.327644015Z","durationInNanos":3641266,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-10","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56656,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"29873549e67f2556"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"29873549e67f2556","traceState":"","parentSpanId":"a95608b807c2c60f","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:48.159489536Z","endTime":"2021-03-25T17:23:48.233933312Z","durationInNanos":74443776,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"831080abac6795cf"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"831080abac6795cf","traceState":"","parentSpanId":"0fb86f8c49324042","name":"add_item_to_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:48.092900864Z","endTime":"2021-03-25T17:23:48.137275392Z","durationInNanos":44374528,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"6b2ede68bc8fa5f4"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"6b2ede68bc8fa5f4","traceState":"","parentSpanId":"1c6cd3e12182ed11","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:48.275602688Z","endTime":"2021-03-25T17:23:48.276599040Z","durationInNanos":996352,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': '2'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"bfe27ce19f70e729"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"bfe27ce19f70e729","traceState":"","parentSpanId":"1c6cd3e12182ed11","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:48.268308736Z","endTime":"2021-03-25T17:23:48.269206272Z","durationInNanos":897536,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': '2'}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"6dc05e88f4467863"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"6dc05e88f4467863","traceState":"","parentSpanId":"d606d3dd283b20c5","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:48.324561176Z","endTime":"2021-03-25T17:23:48.327441217Z","durationInNanos":2880041,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.thread@name":"http-nio-8087-exec-10","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"c42df275e25b0e8f"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"c42df275e25b0e8f","traceState":"","parentSpanId":"a95608b807c2c60f","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:48.088905472Z","endTime":"2021-03-25T17:23:48.153333504Z","durationInNanos":64428032,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.http@url":"http://localhost:8083/add_item_to_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"2a58f381f8c70e2e"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"2a58f381f8c70e2e","traceState":"","parentSpanId":"1a0cb28940f561a8","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:48.084678144Z","endTime":"2021-03-25T17:23:48.353726976Z","durationInNanos":269048832,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.http@url":"http://localhost:8088/update_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"0fb86f8c49324042"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"0fb86f8c49324042","traceState":"","parentSpanId":"c42df275e25b0e8f","name":"addItemToCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:48.091877632Z","endTime":"2021-03-25T17:23:48.143332864Z","durationInNanos":51455232,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55926,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/add_item_to_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/add_item_to_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"b492c94dcd1b6a4d"}} +{"traceId":"e991d404ff13b33caafd240b9afba158","spanId":"b492c94dcd1b6a4d","traceState":"","parentSpanId":"a95608b807c2c60f","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:48.318687232Z","endTime":"2021-03-25T17:23:48.327306496Z","durationInNanos":8619264,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:23:48.359975936Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":275604480,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"577a7fd9713d82e3"}} +{"traceId":"eeef72a379b08acc21a7a1da140b496f","spanId":"577a7fd9713d82e3","traceState":"","parentSpanId":"","name":"client_delivery_status","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:00.337438720Z","endTime":"2021-03-25T17:24:00.443709952Z","durationInNanos":106271232,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:00.443709952Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":106271232,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"ee14230a7bf6a820"}} +{"traceId":"eeef72a379b08acc21a7a1da140b496f","spanId":"ee14230a7bf6a820","traceState":"","parentSpanId":"3bbfbbb8b5ccdca9","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:00.341403648Z","endTime":"2021-03-25T17:24:00.396574208Z","durationInNanos":55170560,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:00.443709952Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":106271232,"span.attributes.http@url":"http://localhost:8083/get_cart","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"4d51ee300ffdafab"}} +{"traceId":"eeef72a379b08acc21a7a1da140b496f","spanId":"4d51ee300ffdafab","traceState":"","parentSpanId":"ee14230a7bf6a820","name":"getCart","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:00.344109824Z","endTime":"2021-03-25T17:24:00.386901504Z","durationInNanos":42791680,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:00.443709952Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":106271232,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55978,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_cart","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/get_cart","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"3e3c69d965b84c07"}} +{"traceId":"eeef72a379b08acc21a7a1da140b496f","spanId":"3e3c69d965b84c07","traceState":"","parentSpanId":"9776392cce908429","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:00.367306496Z","endTime":"2021-03-25T17:24:00.369491712Z","durationInNanos":2185216,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:00.443709952Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":106271232,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT * FROM User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"0fb4d938a4db181b"}} +{"traceId":"eeef72a379b08acc21a7a1da140b496f","spanId":"0fb4d938a4db181b","traceState":"","parentSpanId":"3bbfbbb8b5ccdca9","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:00.403020288Z","endTime":"2021-03-25T17:24:00.408785408Z","durationInNanos":5765120,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:00.443709952Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":106271232,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"3bbfbbb8b5ccdca9"}} +{"traceId":"eeef72a379b08acc21a7a1da140b496f","spanId":"3bbfbbb8b5ccdca9","traceState":"","parentSpanId":"1c599f19b10082a4","name":"get_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:00.341143552Z","endTime":"2021-03-25T17:24:00.415056384Z","durationInNanos":73912832,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:00.443709952Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":106271232,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"1c599f19b10082a4"}} +{"traceId":"eeef72a379b08acc21a7a1da140b496f","spanId":"1c599f19b10082a4","traceState":"","parentSpanId":"458c486c6a8e9527","name":"get_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:00.340208128Z","endTime":"2021-03-25T17:24:00.420619008Z","durationInNanos":80410880,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:00.443709952Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":106271232,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56962,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/get_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/get_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"9776392cce908429"}} +{"traceId":"eeef72a379b08acc21a7a1da140b496f","spanId":"9776392cce908429","traceState":"","parentSpanId":"4d51ee300ffdafab","name":"get_cart","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:00.345138944Z","endTime":"2021-03-25T17:24:00.379310336Z","durationInNanos":34171392,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:00.443709952Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":106271232,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"35baa091df01834e"}} +{"traceId":"eeef72a379b08acc21a7a1da140b496f","spanId":"35baa091df01834e","traceState":"","parentSpanId":"37729eb1aa61f9a2","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:00.406588562Z","endTime":"2021-03-25T17:24:00.409684446Z","durationInNanos":3095884,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:00.443709952Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":106271232,"span.attributes.thread@name":"http-nio-8087-exec-10","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"37729eb1aa61f9a2"}} +{"traceId":"eeef72a379b08acc21a7a1da140b496f","spanId":"37729eb1aa61f9a2","traceState":"","parentSpanId":"0fb4d938a4db181b","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:00.406003034Z","endTime":"2021-03-25T17:24:00.409877327Z","durationInNanos":3874293,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:00.443709952Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":106271232,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-10","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":137,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56700,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"458c486c6a8e9527"}} +{"traceId":"eeef72a379b08acc21a7a1da140b496f","spanId":"458c486c6a8e9527","traceState":"","parentSpanId":"577a7fd9713d82e3","name":"HTTP GET","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:00.337747200Z","endTime":"2021-03-25T17:24:00.432306176Z","durationInNanos":94558976,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_delivery_status","traceGroupFields.endTime":"2021-03-25T17:24:00.443709952Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":106271232,"span.attributes.http@url":"http://localhost:8088/get_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"GET","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"44875f61ade8d4d1"}} +{"traceId":"852a3fa441c2dd319d94be4e90cdc593","spanId":"44875f61ade8d4d1","traceState":"","parentSpanId":"","name":"client_create_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:01.302660864Z","endTime":"2021-03-25T17:24:01.342219776Z","durationInNanos":39558912,"serviceName":"frontend-client","events":[{"time":"2021-03-25T17:24:01.342160896Z","name":"exception","attributes":{"exception@message":"","exception@type":"AssertionError","exception@stacktrace":"Traceback (most recent call last):\n File \"/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py\", line 804, in use_span\n yield span\n File \"/app/client.py\", line 198, in createOrder\n assert updateOrderAPIRequest.status_code == 200\nAssertionError\n"},"droppedAttributesCount":0}],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:01.342219776Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":39558912,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","status.message":"AssertionError: ","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":2,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"1dcf16c24109157c"}} +{"traceId":"852a3fa441c2dd319d94be4e90cdc593","spanId":"1dcf16c24109157c","traceState":"","parentSpanId":"c762ea561c90bacc","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:01.309003470Z","endTime":"2021-03-25T17:24:01.311803818Z","durationInNanos":2800348,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:01.342219776Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":39558912,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-2","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56704,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"f90e7d8e2be7ed42"}} +{"traceId":"852a3fa441c2dd319d94be4e90cdc593","spanId":"f90e7d8e2be7ed42","traceState":"","parentSpanId":"44875f61ade8d4d1","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:01.302975744Z","endTime":"2021-03-25T17:24:01.333780224Z","durationInNanos":30804480,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:01.342219776Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":39558912,"span.attributes.http@url":"http://localhost:8088/update_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"SERVICE UNAVAILABLE","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":503} +{"index":{"_id":"b8c7c406109e6853"}} +{"traceId":"852a3fa441c2dd319d94be4e90cdc593","spanId":"b8c7c406109e6853","traceState":"","parentSpanId":"f90e7d8e2be7ed42","name":"update_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:01.305604608Z","endTime":"2021-03-25T17:24:01.322971904Z","durationInNanos":17367296,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:01.342219776Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":39558912,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"SERVICE UNAVAILABLE","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56970,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/update_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":503} +{"index":{"_id":"c762ea561c90bacc"}} +{"traceId":"852a3fa441c2dd319d94be4e90cdc593","spanId":"c762ea561c90bacc","traceState":"","parentSpanId":"b8c7c406109e6853","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:01.306888704Z","endTime":"2021-03-25T17:24:01.314155008Z","durationInNanos":7266304,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:01.342219776Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":39558912,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"c04780a1b5dfb8db"}} +{"traceId":"852a3fa441c2dd319d94be4e90cdc593","spanId":"c04780a1b5dfb8db","traceState":"","parentSpanId":"1dcf16c24109157c","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:01.309685404Z","endTime":"2021-03-25T17:24:01.311637506Z","durationInNanos":1952102,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_create_order","traceGroupFields.endTime":"2021-03-25T17:24:01.342219776Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":39558912,"span.attributes.thread@name":"http-nio-8087-exec-2","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"9e00987a5ddb1389"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"9e00987a5ddb1389","traceState":"","parentSpanId":"","name":"client_cancel_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:02.180425472Z","endTime":"2021-03-25T17:24:02.499118080Z","durationInNanos":318692608,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"df08a6411e1e1320"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"df08a6411e1e1320","traceState":"","parentSpanId":"00dbedd07cdc6605","name":"HTTP PUT","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:02.184506880Z","endTime":"2021-03-25T17:24:02.340449536Z","durationInNanos":155942656,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"span.attributes.http@url":"http://localhost:8083/cart_empty","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"PUT","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"c55168f05f4c0788"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"c55168f05f4c0788","traceState":"","parentSpanId":"6a1caed3da777ed1","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:02.218972672Z","endTime":"2021-03-25T17:24:02.244534528Z","durationInNanos":25561856,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"TRUNCATE TABLE User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"c9b1c98d861a21ad"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"c9b1c98d861a21ad","traceState":"","parentSpanId":"df08a6411e1e1320","name":"cartEmpty","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:02.187168768Z","endTime":"2021-03-25T17:24:02.259351040Z","durationInNanos":72182272,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"PUT","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55990,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/cart_empty","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/cart_empty","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"6a1caed3da777ed1"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"6a1caed3da777ed1","traceState":"","parentSpanId":"c9b1c98d861a21ad","name":"cart_empty","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:02.188187392Z","endTime":"2021-03-25T17:24:02.252571136Z","durationInNanos":64383744,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"105e06978064066e"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"105e06978064066e","traceState":"","parentSpanId":"7db6b40beda6e9f5","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:02.371685355Z","endTime":"2021-03-25T17:24:02.387731715Z","durationInNanos":16046360,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"span.attributes.thread@name":"http-nio-8087-exec-4","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"db71b12b5a3048a7"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"db71b12b5a3048a7","traceState":"","parentSpanId":"00dbedd07cdc6605","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:02.362716160Z","endTime":"2021-03-25T17:24:02.389943040Z","durationInNanos":27226880,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"980fd01685cf617b"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"980fd01685cf617b","traceState":"","parentSpanId":"6a1caed3da777ed1","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:02.211183360Z","endTime":"2021-03-25T17:24:02.211932416Z","durationInNanos":749056,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT ItemId, TotalQty FROM User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"7db6b40beda6e9f5"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"7db6b40beda6e9f5","traceState":"","parentSpanId":"db71b12b5a3048a7","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:02.371004080Z","endTime":"2021-03-25T17:24:02.387975467Z","durationInNanos":16971387,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-4","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56712,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"fbd7035fb360050b"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"fbd7035fb360050b","traceState":"","parentSpanId":"9e00987a5ddb1389","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:02.180734208Z","endTime":"2021-03-25T17:24:02.483553280Z","durationInNanos":302819072,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"span.attributes.http@url":"http://localhost:8088/clear_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"00dbedd07cdc6605"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"00dbedd07cdc6605","traceState":"","parentSpanId":"f9698d94a2bc5e93","name":"clear_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:02.184233216Z","endTime":"2021-03-25T17:24:02.435438592Z","durationInNanos":251205376,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"f9698d94a2bc5e93"}} +{"traceId":"61e206cdf99796bd5d0d6660fafeaa13","spanId":"f9698d94a2bc5e93","traceState":"","parentSpanId":"fbd7035fb360050b","name":"clear_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:02.183235584Z","endTime":"2021-03-25T17:24:02.459529472Z","durationInNanos":276293888,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:24:02.499118080Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":318692608,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56974,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/clear_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/clear_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"e41a501e2b463e4f"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"e41a501e2b463e4f","traceState":"","parentSpanId":"","name":"client_checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:02.873396736Z","endTime":"2021-03-25T17:24:03.338473728Z","durationInNanos":465076992,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"2ab2346b8a2256ec"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"2ab2346b8a2256ec","traceState":"","parentSpanId":"83c126b28a4e3ba1","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:03.022118656Z","endTime":"2021-03-25T17:24:03.106782976Z","durationInNanos":84664320,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"68e7c47304e4e3b7"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"68e7c47304e4e3b7","traceState":"","parentSpanId":"2f9dedfb4a0ce070","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:02.950728448Z","endTime":"2021-03-25T17:24:02.992670464Z","durationInNanos":41942016,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56004,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"6bf83533c911fa84"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"6bf83533c911fa84","traceState":"","parentSpanId":"8f46983d67cbfb08","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:02.974441472Z","endTime":"2021-03-25T17:24:02.975385344Z","durationInNanos":943872,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': 3}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"8f46983d67cbfb08"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"8f46983d67cbfb08","traceState":"","parentSpanId":"68e7c47304e4e3b7","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:02.951733248Z","endTime":"2021-03-25T17:24:02.986525952Z","durationInNanos":34792704,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"71eb12de1c6f0856"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"71eb12de1c6f0856","traceState":"","parentSpanId":"68757226266da9fb","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:02.885796608Z","endTime":"2021-03-25T17:24:02.920141824Z","durationInNanos":34345216,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"40490d98955d0ee8"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"40490d98955d0ee8","traceState":"","parentSpanId":"6a721b1de414f8ea","name":"checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:02.877249280Z","endTime":"2021-03-25T17:24:03.263083264Z","durationInNanos":385833984,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"af0ac45bddb77682"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"af0ac45bddb77682","traceState":"","parentSpanId":"ca2bbe96720126cd","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:03.155657816Z","endTime":"2021-03-25T17:24:03.157957035Z","durationInNanos":2299219,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.thread@name":"http-nio-8087-exec-6","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"88b577c6de6a1a0c"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"88b577c6de6a1a0c","traceState":"","parentSpanId":"71eb12de1c6f0856","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:02.908273152Z","endTime":"2021-03-25T17:24:02.909201664Z","durationInNanos":928512,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': 2}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"04715e4b7c6c8c67"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"04715e4b7c6c8c67","traceState":"","parentSpanId":"1b922c46eca3681a","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:03.229519732Z","endTime":"2021-03-25T17:24:03.231141820Z","durationInNanos":1622088,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.thread@name":"http-nio-8087-exec-8","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"482f5d2e5d2e01a5"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"482f5d2e5d2e01a5","traceState":"","parentSpanId":"40490d98955d0ee8","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:02.877730560Z","endTime":"2021-03-25T17:24:03.218989568Z","durationInNanos":341259008,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.http@url":"http://localhost:8082/update_inventory","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"6a721b1de414f8ea"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"6a721b1de414f8ea","traceState":"","parentSpanId":"1e69dea1cc3bb675","name":"payment","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:02.876323072Z","endTime":"2021-03-25T17:24:03.275425024Z","durationInNanos":399101952,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8084,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":50604,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/checkout","span.attributes.http@host":"localhost:8084","span.attributes.http@target":"/checkout","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"a40b2ee1ad083444"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"a40b2ee1ad083444","traceState":"","parentSpanId":"544d4016f47447db","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:02.881920768Z","endTime":"2021-03-25T17:24:02.937480192Z","durationInNanos":55559424,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"83c126b28a4e3ba1"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"83c126b28a4e3ba1","traceState":"","parentSpanId":"bace8af7ec6dcea1","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:03.020527872Z","endTime":"2021-03-25T17:24:03.125422848Z","durationInNanos":104894976,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56008,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"544d4016f47447db"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"544d4016f47447db","traceState":"","parentSpanId":"6a5c44f70df8ba60","name":"update_inventory","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:24:02.881451264Z","endTime":"2021-03-25T17:24:03.184011776Z","durationInNanos":302560512,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"c5583c927c0eaa55"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"c5583c927c0eaa55","traceState":"","parentSpanId":"2ab2346b8a2256ec","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:03.082126592Z","endTime":"2021-03-25T17:24:03.090554112Z","durationInNanos":8427520,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': 1}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"68757226266da9fb"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"68757226266da9fb","traceState":"","parentSpanId":"a40b2ee1ad083444","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:02.884764672Z","endTime":"2021-03-25T17:24:02.926254336Z","durationInNanos":41489664,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56000,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"fd6830be1f9eb762"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"fd6830be1f9eb762","traceState":"","parentSpanId":"544d4016f47447db","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:03.152131584Z","endTime":"2021-03-25T17:24:03.160588288Z","durationInNanos":8456704,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"bace8af7ec6dcea1"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"bace8af7ec6dcea1","traceState":"","parentSpanId":"544d4016f47447db","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:03.011334400Z","endTime":"2021-03-25T17:24:03.140665088Z","durationInNanos":129330688,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"9072fd63220b9e78"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"9072fd63220b9e78","traceState":"","parentSpanId":"40490d98955d0ee8","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:03.225950976Z","endTime":"2021-03-25T17:24:03.232076800Z","durationInNanos":6125824,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"6a5c44f70df8ba60"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"6a5c44f70df8ba60","traceState":"","parentSpanId":"482f5d2e5d2e01a5","name":"update_inventory","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:02.880508160Z","endTime":"2021-03-25T17:24:03.195376128Z","durationInNanos":314867968,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8082,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":45864,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_inventory","span.attributes.http@host":"localhost:8082","span.attributes.http@target":"/update_inventory","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"1b922c46eca3681a"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"1b922c46eca3681a","traceState":"","parentSpanId":"9072fd63220b9e78","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:03.229002687Z","endTime":"2021-03-25T17:24:03.231262707Z","durationInNanos":2260020,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-8","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56732,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"1e69dea1cc3bb675"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"1e69dea1cc3bb675","traceState":"","parentSpanId":"e41a501e2b463e4f","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:02.873706752Z","endTime":"2021-03-25T17:24:03.313766144Z","durationInNanos":440059392,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.http@url":"http://localhost:8084/checkout","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"ca2bbe96720126cd"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"ca2bbe96720126cd","traceState":"","parentSpanId":"fd6830be1f9eb762","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:24:03.155003840Z","endTime":"2021-03-25T17:24:03.158155250Z","durationInNanos":3151410,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-6","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56730,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"2f9dedfb4a0ce070"}} +{"traceId":"7c2bfe48d13025cbe3de0d1e679110b3","spanId":"2f9dedfb4a0ce070","traceState":"","parentSpanId":"544d4016f47447db","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:24:02.947977728Z","endTime":"2021-03-25T17:24:03.002557696Z","durationInNanos":54579968,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:24:03.338473728Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":465076992,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"332629e923ac50db"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"332629e923ac50db","traceState":"","parentSpanId":"","name":"client_checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:50.139097856Z","endTime":"2021-03-25T17:23:50.452619520Z","durationInNanos":313521664,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"890da55b4bf3f689"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"890da55b4bf3f689","traceState":"","parentSpanId":"6d13264d84ba303a","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:50.147685888Z","endTime":"2021-03-25T17:23:50.208268032Z","durationInNanos":60582144,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"4581bfcf161daadf"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"4581bfcf161daadf","traceState":"","parentSpanId":"6f3f0792cb8e496b","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:50.174119680Z","endTime":"2021-03-25T17:23:50.175104256Z","durationInNanos":984576,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': 2}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"6d13264d84ba303a"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"6d13264d84ba303a","traceState":"","parentSpanId":"de75ad62453ecad2","name":"update_inventory","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:50.147162880Z","endTime":"2021-03-25T17:23:50.376714496Z","durationInNanos":229551616,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"7f42156901df64b2"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"7f42156901df64b2","traceState":"","parentSpanId":"d5d6ed934d615c30","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:50.366125705Z","endTime":"2021-03-25T17:23:50.367776649Z","durationInNanos":1650944,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.thread@name":"http-nio-8087-exec-4","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"d62eadcb8d597bc8"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"d62eadcb8d597bc8","traceState":"","parentSpanId":"6d13264d84ba303a","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:50.363076352Z","endTime":"2021-03-25T17:23:50.370151936Z","durationInNanos":7075584,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"21189f9303855cfa"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"21189f9303855cfa","traceState":"","parentSpanId":"66ddc3bd5b8d66de","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:50.415933995Z","endTime":"2021-03-25T17:23:50.417755384Z","durationInNanos":1821389,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.thread@name":"http-nio-8087-exec-6","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"28e67bf8b11bb104"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"28e67bf8b11bb104","traceState":"","parentSpanId":"7fd52e0343db5fbb","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:50.410137856Z","endTime":"2021-03-25T17:23:50.420290048Z","durationInNanos":10152192,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"5bd5bd45f33b2b21"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"5bd5bd45f33b2b21","traceState":"","parentSpanId":"453806261422f6ca","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:50.242040576Z","endTime":"2021-03-25T17:23:50.243015680Z","durationInNanos":975104,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': 3}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"d5d6ed934d615c30"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"d5d6ed934d615c30","traceState":"","parentSpanId":"d62eadcb8d597bc8","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:50.365003562Z","endTime":"2021-03-25T17:23:50.367971850Z","durationInNanos":2968288,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-4","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":131,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56682,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"45f70d65167608fc"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"45f70d65167608fc","traceState":"","parentSpanId":"4327f98275af2884","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:50.327499008Z","endTime":"2021-03-25T17:23:50.328442112Z","durationInNanos":943104,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': 1}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"de75ad62453ecad2"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"de75ad62453ecad2","traceState":"","parentSpanId":"2e7c2bbadd552e62","name":"update_inventory","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:50.146197248Z","endTime":"2021-03-25T17:23:50.384520192Z","durationInNanos":238322944,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8082,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":45816,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_inventory","span.attributes.http@host":"localhost:8082","span.attributes.http@target":"/update_inventory","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"b543ad1e5818e7d1"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"b543ad1e5818e7d1","traceState":"","parentSpanId":"332629e923ac50db","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:50.139403520Z","endTime":"2021-03-25T17:23:50.446737664Z","durationInNanos":307334144,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.http@url":"http://localhost:8084/checkout","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"66ddc3bd5b8d66de"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"66ddc3bd5b8d66de","traceState":"","parentSpanId":"28e67bf8b11bb104","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:50.415003489Z","endTime":"2021-03-25T17:23:50.417955096Z","durationInNanos":2951607,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-6","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":133,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56684,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"2e7c2bbadd552e62"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"2e7c2bbadd552e62","traceState":"","parentSpanId":"7fd52e0343db5fbb","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:50.143588096Z","endTime":"2021-03-25T17:23:50.400794624Z","durationInNanos":257206528,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.http@url":"http://localhost:8082/update_inventory","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"528b94722fcafb8b"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"528b94722fcafb8b","traceState":"","parentSpanId":"6d13264d84ba303a","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:50.214470400Z","endTime":"2021-03-25T17:23:50.290921216Z","durationInNanos":76450816,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"453806261422f6ca"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"453806261422f6ca","traceState":"","parentSpanId":"a82da103bfa98cda","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:50.219420416Z","endTime":"2021-03-25T17:23:50.262448640Z","durationInNanos":43028224,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"4327f98275af2884"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"4327f98275af2884","traceState":"","parentSpanId":"20fb32e5166673b1","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:50.303989760Z","endTime":"2021-03-25T17:23:50.339736832Z","durationInNanos":35747072,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"a82da103bfa98cda"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"a82da103bfa98cda","traceState":"","parentSpanId":"528b94722fcafb8b","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:50.218430976Z","endTime":"2021-03-25T17:23:50.273203200Z","durationInNanos":54772224,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55956,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"dadacac33c3d835d"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"dadacac33c3d835d","traceState":"","parentSpanId":"b543ad1e5818e7d1","name":"payment","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:50.142040576Z","endTime":"2021-03-25T17:23:50.434752512Z","durationInNanos":292711936,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8084,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":50556,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/checkout","span.attributes.http@host":"localhost:8084","span.attributes.http@target":"/checkout","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"20fb32e5166673b1"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"20fb32e5166673b1","traceState":"","parentSpanId":"7a5e15e7fcb71763","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:50.302988288Z","endTime":"2021-03-25T17:23:50.345838848Z","durationInNanos":42850560,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55960,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"7fd52e0343db5fbb"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"7fd52e0343db5fbb","traceState":"","parentSpanId":"dadacac33c3d835d","name":"checkout","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:50.143095296Z","endTime":"2021-03-25T17:23:50.428341504Z","durationInNanos":285246208,"serviceName":"payment","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140260160921552","resource.attributes.service@name":"payment","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"69969783a0394304"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"69969783a0394304","traceState":"","parentSpanId":"890da55b4bf3f689","name":"updateItem","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:50.150543360Z","endTime":"2021-03-25T17:23:50.194194432Z","durationInNanos":43651072,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55952,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/update_item","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/update_item","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"7a5e15e7fcb71763"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"7a5e15e7fcb71763","traceState":"","parentSpanId":"6d13264d84ba303a","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:50.300090112Z","endTime":"2021-03-25T17:23:50.356072192Z","durationInNanos":55982080,"serviceName":"inventory","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"span.attributes.http@url":"http://localhost:8083/update_item","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140016202633168","resource.attributes.service@name":"inventory","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"6f3f0792cb8e496b"}} +{"traceId":"ce6b3fddebc63e2a83f8a08fd51afae7","spanId":"6f3f0792cb8e496b","traceState":"","parentSpanId":"69969783a0394304","name":"update_item","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:50.151575808Z","endTime":"2021-03-25T17:23:50.187208448Z","durationInNanos":35632640,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_checkout","traceGroupFields.endTime":"2021-03-25T17:23:50.452619520Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":313521664,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"bb5241efad532b9d"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"bb5241efad532b9d","traceState":"","parentSpanId":"","name":"client_cancel_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:49.098619648Z","endTime":"2021-03-25T17:23:49.249286144Z","durationInNanos":150666496,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"7a9aabaff1af2284"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"7a9aabaff1af2284","traceState":"","parentSpanId":"bb5241efad532b9d","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:49.098923264Z","endTime":"2021-03-25T17:23:49.242379520Z","durationInNanos":143456256,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.http@url":"http://localhost:8088/clear_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"7a20276ff8152236"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"7a20276ff8152236","traceState":"","parentSpanId":"212b18ede97b3928","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:49.128396800Z","endTime":"2021-03-25T17:23:49.129145600Z","durationInNanos":748800,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"SELECT ItemId, TotalQty FROM User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"f37a027ee2c9d0a5"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"f37a027ee2c9d0a5","traceState":"","parentSpanId":"5a4ab4679e300a34","name":"clear_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:49.102409728Z","endTime":"2021-03-25T17:23:49.227282944Z","durationInNanos":124873216,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"403d9c331fda4328"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"403d9c331fda4328","traceState":"","parentSpanId":"1e774d246aa3c5c4","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:49.218892812Z","endTime":"2021-03-25T17:23:49.220353279Z","durationInNanos":1460467,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.thread@name":"http-nio-8087-exec-2","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"2be6a1c0faa8107a"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"2be6a1c0faa8107a","traceState":"","parentSpanId":"212b18ede97b3928","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:49.138344448Z","endTime":"2021-03-25T17:23:49.139050496Z","durationInNanos":706048,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'apple', 'Qty': 1}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO Inventory_Items (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"21437513f7184a58"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"21437513f7184a58","traceState":"","parentSpanId":"212b18ede97b3928","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:49.152794368Z","endTime":"2021-03-25T17:23:49.154668800Z","durationInNanos":1874432,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'orange', 'Qty': 3}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO Inventory_Items (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"012e590c33c1c603"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"012e590c33c1c603","traceState":"","parentSpanId":"212b18ede97b3928","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:49.162752Z","endTime":"2021-03-25T17:23:49.184285184Z","durationInNanos":21533184,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"TRUNCATE TABLE User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"120b3c8a3f7590ce"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"120b3c8a3f7590ce","traceState":"","parentSpanId":"f37a027ee2c9d0a5","name":"HTTP PUT","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:49.102667776Z","endTime":"2021-03-25T17:23:49.209395200Z","durationInNanos":106727424,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.http@url":"http://localhost:8083/cart_empty","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"PUT","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"212b18ede97b3928"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"212b18ede97b3928","traceState":"","parentSpanId":"378d0aa862c77ae8","name":"cart_empty","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:49.106436352Z","endTime":"2021-03-25T17:23:49.192958976Z","durationInNanos":86522624,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"2c1783219ee685be"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"2c1783219ee685be","traceState":"","parentSpanId":"212b18ede97b3928","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:49.144996096Z","endTime":"2021-03-25T17:23:49.146592768Z","durationInNanos":1596672,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.db@statement@parameters":"{'ItemId': 'banana', 'Qty': 2}","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"INSERT INTO Inventory_Items (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"378d0aa862c77ae8"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"378d0aa862c77ae8","traceState":"","parentSpanId":"120b3c8a3f7590ce","name":"cartEmpty","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:49.105362944Z","endTime":"2021-03-25T17:23:49.199950592Z","durationInNanos":94587648,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"PUT","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55942,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/cart_empty","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/cart_empty","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"6ffca6d4aff16069"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"6ffca6d4aff16069","traceState":"","parentSpanId":"f37a027ee2c9d0a5","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:49.215243008Z","endTime":"2021-03-25T17:23:49.221854208Z","durationInNanos":6611200,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"1e774d246aa3c5c4"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"1e774d246aa3c5c4","traceState":"","parentSpanId":"6ffca6d4aff16069","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:49.218005395Z","endTime":"2021-03-25T17:23:49.220497993Z","durationInNanos":2492598,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-2","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":129,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56664,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"5a4ab4679e300a34"}} +{"traceId":"cb65f65f84de2ead8c9b85304d654983","spanId":"5a4ab4679e300a34","traceState":"","parentSpanId":"7a9aabaff1af2284","name":"clear_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:49.101421568Z","endTime":"2021-03-25T17:23:49.232189440Z","durationInNanos":130767872,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_cancel_order","traceGroupFields.endTime":"2021-03-25T17:23:49.249286144Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":150666496,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56926,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/clear_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/clear_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"542385797ac7122c"}} +{"traceId":"690d3c7af1a78cf89c43ef4b07c05b43","spanId":"542385797ac7122c","traceState":"","parentSpanId":"","name":"client_pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:59.321163264Z","endTime":"2021-03-25T17:23:59.497588224Z","durationInNanos":176424960,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:59.497588224Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":176424960,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"f9d9427c810291d8"}} +{"traceId":"690d3c7af1a78cf89c43ef4b07c05b43","spanId":"f9d9427c810291d8","traceState":"","parentSpanId":"7df5609a6d104736","name":"pay_order","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:59.323977728Z","endTime":"2021-03-25T17:23:59.480053760Z","durationInNanos":156076032,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:59.497588224Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":176424960,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56954,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/pay_order","span.attributes.http@host":"localhost:8088","span.attributes.http@target":"/pay_order","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"c8fff65b158a58b0"}} +{"traceId":"690d3c7af1a78cf89c43ef4b07c05b43","spanId":"c8fff65b158a58b0","traceState":"","parentSpanId":"303b76b989099bb5","name":"cartSold","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:59.327906816Z","endTime":"2021-03-25T17:23:59.409421568Z","durationInNanos":81514752,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:59.497588224Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":176424960,"span.attributes.net@peer@ip":"127.0.0.1","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8083,"span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"DELETE","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":55970,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@route":"/cart_sold","span.attributes.http@host":"localhost:8083","span.attributes.http@target":"/cart_sold","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":200} +{"index":{"_id":"303b76b989099bb5"}} +{"traceId":"690d3c7af1a78cf89c43ef4b07c05b43","spanId":"303b76b989099bb5","traceState":"","parentSpanId":"e2ab54f8e8a03c99","name":"HTTP DELETE","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:59.325160960Z","endTime":"2021-03-25T17:23:59.430193920Z","durationInNanos":105032960,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:59.497588224Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":176424960,"span.attributes.http@url":"http://localhost:8083/cart_sold","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"DELETE","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"ba677184b5efee9c"}} +{"traceId":"690d3c7af1a78cf89c43ef4b07c05b43","spanId":"ba677184b5efee9c","traceState":"","parentSpanId":"05d70136fe1f5159","name":"/logs","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:23:59.461002874Z","endTime":"2021-03-25T17:23:59.463725749Z","durationInNanos":2722875,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:59.497588224Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":176424960,"span.attributes.net@peer@ip":"127.0.0.1","span.attributes.http@url":"http://localhost:8087/logs","span.attributes.thread@name":"http-nio-8087-exec-8","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.servlet","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.25.1","span.attributes.net@peer@port":56692,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@auto@version":"0.10.1","span.attributes.http@flavor":"HTTP/1.1","span.attributes.http@status_code":200,"span.attributes.http@client_ip":"127.0.0.1"} +{"index":{"_id":"3ed514d3a35fcf2f"}} +{"traceId":"690d3c7af1a78cf89c43ef4b07c05b43","spanId":"3ed514d3a35fcf2f","traceState":"","parentSpanId":"c8fff65b158a58b0","name":"cart_sold","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:59.328946176Z","endTime":"2021-03-25T17:23:59.396863488Z","durationInNanos":67917312,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:59.497588224Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":176424960,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"a1464485edf9588e"}} +{"traceId":"690d3c7af1a78cf89c43ef4b07c05b43","spanId":"a1464485edf9588e","traceState":"","parentSpanId":"3ed514d3a35fcf2f","name":"mysql.APM","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:59.351120384Z","endTime":"2021-03-25T17:23:59.381280256Z","durationInNanos":30159872,"serviceName":"database","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:59.497588224Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":176424960,"span.attributes.db@user":"root","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.net@peer@name":"localhost","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140307275923408","resource.attributes.service@name":"database","span.attributes.component":"mysql","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.mysql","span.attributes.db@type":"sql","span.attributes.net@peer@port":3306,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.db@instance":"APM","span.attributes.db@statement":"TRUNCATE TABLE User_Carts","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal"} +{"index":{"_id":"05d70136fe1f5159"}} +{"traceId":"690d3c7af1a78cf89c43ef4b07c05b43","spanId":"05d70136fe1f5159","traceState":"","parentSpanId":"e2ab54f8e8a03c99","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:59.447067904Z","endTime":"2021-03-25T17:23:59.466000896Z","durationInNanos":18932992,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:59.497588224Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":176424960,"span.attributes.http@url":"http://localhost:8087/logs","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"e2ab54f8e8a03c99"}} +{"traceId":"690d3c7af1a78cf89c43ef4b07c05b43","spanId":"e2ab54f8e8a03c99","traceState":"","parentSpanId":"f9d9427c810291d8","name":"pay_order","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:59.324906496Z","endTime":"2021-03-25T17:23:59.473705472Z","durationInNanos":148798976,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:59.497588224Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":176424960,"resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.telemetry@sdk@language":"python","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","status.code":0,"instrumentationLibrary.name":"__main__"} +{"index":{"_id":"7df5609a6d104736"}} +{"traceId":"690d3c7af1a78cf89c43ef4b07c05b43","spanId":"7df5609a6d104736","traceState":"","parentSpanId":"542385797ac7122c","name":"HTTP POST","kind":"SPAN_KIND_CLIENT","startTime":"2021-03-25T17:23:59.321473280Z","endTime":"2021-03-25T17:23:59.490911488Z","durationInNanos":169438208,"serviceName":"frontend-client","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:59.497588224Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":176424960,"span.attributes.http@url":"http://localhost:8088/pay_order","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.http@status_text":"OK","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@name":"frontend-client","span.attributes.component":"http","status.code":0,"instrumentationLibrary.name":"opentelemetry.instrumentation.requests","span.attributes.http@method":"POST","resource.attributes.telemetry@sdk@name":"opentelemetry","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@status_code":200} +{"index":{"_id":"05ef9498724dc42f"}} +{"traceId":"690d3c7af1a78cf89c43ef4b07c05b43","spanId":"05ef9498724dc42f","traceState":"","parentSpanId":"ba677184b5efee9c","name":"LoggingController.save","kind":"SPAN_KIND_INTERNAL","startTime":"2021-03-25T17:23:59.461838595Z","endTime":"2021-03-25T17:23:59.463482824Z","durationInNanos":1644229,"serviceName":"analytics-service","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"client_pay_order","traceGroupFields.endTime":"2021-03-25T17:23:59.497588224Z","traceGroupFields.statusCode":0,"traceGroupFields.durationInNanos":176424960,"span.attributes.thread@name":"http-nio-8087-exec-8","resource.attributes.telemetry@sdk@name":"opentelemetry","instrumentationLibrary.version":"0.10.1","resource.attributes.telemetry@sdk@language":"java","span.attributes.thread@id":135,"resource.attributes.telemetry@auto@version":"0.10.1","resource.attributes.telemetry@sdk@version":"0.10.0","resource.attributes.service@name":"analytics-service","status.code":0,"instrumentationLibrary.name":"io.opentelemetry.auto.spring-webmvc"} +{"index":{"_id":"eea507e2c1767a48"}} +{"traceId":"24112fdc5dfb6886638e64458220b1c8","spanId":"eea507e2c1767a48","traceState":"","parentSpanId":"","name":"HTTP POST","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:42:17.381757696Z","endTime":"2021-03-25T17:42:17.383773440Z","durationInNanos":2015744,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"HTTP POST","traceGroupFields.endTime":"2021-03-25T17:42:17.383773440Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":2015744,"span.attributes.net@peer@ip":"165.232.135.114","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"NOT FOUND","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-1160.15.2.el7.x86_64","span.attributes.net@peer@port":37610,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@host":"54.202.237.120:8088","span.attributes.http@target":"/ws/v1/cluster/apps/new-application","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":404} +{"index":{"_id":"a32571a7f379563e"}} +{"traceId":"f9389809a15b165300bf99ca10c1d094","spanId":"a32571a7f379563e","traceState":"","parentSpanId":"","name":"HTTP GET","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:42:42.526520320Z","endTime":"2021-03-25T17:42:42.527678720Z","durationInNanos":1158400,"serviceName":"recommendation","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"HTTP GET","traceGroupFields.endTime":"2021-03-25T17:42:42.527678720Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":1158400,"span.attributes.net@peer@ip":"139.162.75.102","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8086,"span.attributes.http@status_text":"NOT FOUND","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"140465266593744","resource.attributes.service@name":"recommendation","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"GET","span.attributes.http@user_agent":"HTTP Banner Detection (https://security.ipip.net)","span.attributes.net@peer@port":43096,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@host":"54.202.237.120:8086","span.attributes.http@target":"/","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":404} +{"index":{"_id":"fc11194d7d60a403"}} +{"traceId":"5c8f22e7dce504a5b7610590d5426b16","spanId":"fc11194d7d60a403","traceState":"","parentSpanId":"","name":"HTTP POST","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:25:41.732983296Z","endTime":"2021-03-25T17:25:41.734188544Z","durationInNanos":1205248,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"HTTP POST","traceGroupFields.endTime":"2021-03-25T17:25:41.734188544Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":1205248,"span.attributes.net@peer@ip":"128.199.87.139","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"NOT FOUND","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.12.4","span.attributes.net@peer@port":59096,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@host":"54.202.237.120:8088","span.attributes.http@target":"/ws/v1/cluster/apps/new-application","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":404} +{"index":{"_id":"8f0e5fd10849cc70"}} +{"traceId":"f151842ced0cd956ec005da199424336","spanId":"8f0e5fd10849cc70","traceState":"","parentSpanId":"","name":"HTTP POST","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:48:05.517435904Z","endTime":"2021-03-25T17:48:05.518697728Z","durationInNanos":1261824,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"HTTP POST","traceGroupFields.endTime":"2021-03-25T17:48:05.518697728Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":1261824,"span.attributes.net@peer@ip":"165.232.135.114","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"NOT FOUND","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-1160.15.2.el7.x86_64","span.attributes.net@peer@port":59430,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@host":"54.202.237.120:8088","span.attributes.http@target":"/ws/v1/cluster/apps/new-application","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":404} +{"index":{"_id":"244bc4ca978dd618"}} +{"traceId":"be0a3dceda2ecf601fd2e476fef3ee07","spanId":"244bc4ca978dd618","traceState":"","parentSpanId":"","name":"HTTP POST","kind":"SPAN_KIND_SERVER","startTime":"2021-03-25T17:55:12.854892800Z","endTime":"2021-03-25T17:55:12.856072192Z","durationInNanos":1179392,"serviceName":"order","events":[],"links":[],"droppedAttributesCount":0,"droppedEventsCount":0,"droppedLinksCount":0,"traceGroup":"HTTP POST","traceGroupFields.endTime":"2021-03-25T17:55:12.856072192Z","traceGroupFields.statusCode":2,"traceGroupFields.durationInNanos":1179392,"span.attributes.net@peer@ip":"165.232.135.114","instrumentationLibrary.version":"0.14b0","resource.attributes.telemetry@sdk@language":"python","span.attributes.host@port":8088,"span.attributes.http@status_text":"NOT FOUND","resource.attributes.telemetry@sdk@version":"0.14b0","resource.attributes.service@instance@id":"139858677314952","resource.attributes.service@name":"order","span.attributes.component":"http","status.code":2,"instrumentationLibrary.name":"opentelemetry.instrumentation.flask","span.attributes.http@method":"POST","span.attributes.http@user_agent":"python-requests/2.6.0 CPython/2.7.5 Linux/3.10.0-1160.15.2.el7.x86_64","span.attributes.net@peer@port":35686,"resource.attributes.telemetry@sdk@name":"opentelemetry","span.attributes.http@server_name":"0.0.0.0","span.attributes.http@host":"54.202.237.120:8088","span.attributes.http@target":"/ws/v1/cluster/apps/new-application","span.attributes.http@scheme":"http","resource.attributes.host@hostname":"ip-172-31-10-8.us-west-2.compute.internal","span.attributes.http@flavor":"1.1","span.attributes.http@status_code":404} +{ "index":{"_id": "fe945197d943bda9"}} +{ "traceId": "552aa3363bf275a248b131406edf735d", "spanId": "fe945197d943bda9", "traceState": "", "parentSpanId": "2bdbeb0df10ab869", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:42.022309888Z", "endTime": "2021-04-20T20:33:42.047018752Z", "durationInNanos": 24708864, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "2bdbeb0df10ab869"}} +{ "traceId": "552aa3363bf275a248b131406edf735d", "spanId": "2bdbeb0df10ab869", "traceState": "", "parentSpanId": "7a5994c2d61252d8", "name": "cart_sold", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:42.002375424Z", "endTime": "2021-04-20T20:33:42.050758400Z", "durationInNanos": 48382976, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "bae5c2ac73588d38"}} +{ "traceId": "552aa3363bf275a248b131406edf735d", "spanId": "bae5c2ac73588d38", "traceState": "", "parentSpanId": "d6668b8cd17b28aa", "name": "pay_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:41.999037184Z", "endTime": "2021-04-20T20:33:42.070543360Z", "durationInNanos": 71506176, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "d6668b8cd17b28aa"}} +{ "traceId": "552aa3363bf275a248b131406edf735d", "spanId": "d6668b8cd17b28aa", "traceState": "", "parentSpanId": "2786ea5cfba1d51c", "name": "pay_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:41.998258944Z", "endTime": "2021-04-20T20:33:42.073518592Z", "durationInNanos": 75259648, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60962, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/pay_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/pay_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "de34ef4183a4705b"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "de34ef4183a4705b", "traceState": "", "parentSpanId": "1e0ea651a120db7b", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:42.502849536Z", "endTime": "2021-04-20T20:33:42.529717248Z", "durationInNanos": 26867712, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "cdf9197db50c18a4"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "cdf9197db50c18a4", "traceState": "", "parentSpanId": "baa1e8371ec989bd", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:42.543471872Z", "endTime": "2021-04-20T20:33:42.573529344Z", "durationInNanos": 30057472, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58602, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "baa1e8371ec989bd"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "baa1e8371ec989bd", "traceState": "", "parentSpanId": "0791aa225a461844", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:42.541210624Z", "endTime": "2021-04-20T20:33:42.578594816Z", "durationInNanos": 37384192, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "a545017537d582f9"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "a545017537d582f9", "traceState": "", "parentSpanId": "48ab22a6aa9ead3d", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:42.583665664Z", "endTime": "2021-04-20T20:33:42.615355392Z", "durationInNanos": 31689728, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58606, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "868f60191f3524c9"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "868f60191f3524c9", "traceState": "", "parentSpanId": "007459ff1ddd5dfb", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:42.496294144Z", "endTime": "2021-04-20T20:33:42.638115584Z", "durationInNanos": 141821440, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8082/update_inventory", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "5e7bc4f9aae01a8f"}} +{ "traceId": "c5eabf09201ab4df116e1881d0756035", "spanId": "5e7bc4f9aae01a8f", "traceState": "", "parentSpanId": "", "name": "client_cancel_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:43.385450240Z", "endTime": "2021-04-20T20:33:43.469037824Z", "durationInNanos": 83587584, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_cancel_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "5d8912365e6688f3"}} +{ "traceId": "1ca5c1d52ca730f16872553cde6933c0", "spanId": "5d8912365e6688f3", "traceState": "", "parentSpanId": "e272f67b8738c361", "name": "cart_empty", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:43.826181376Z", "endTime": "2021-04-20T20:33:43.875000320Z", "durationInNanos": 48818944, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "7e35eb6c56afcde0"}} +{ "traceId": "1ca5c1d52ca730f16872553cde6933c0", "spanId": "7e35eb6c56afcde0", "traceState": "", "parentSpanId": "5b366e385260a8f1", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:43.822093312Z", "endTime": "2021-04-20T20:33:43.896168448Z", "durationInNanos": 74075136, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32772, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "5b366e385260a8f1"}} +{ "traceId": "1ca5c1d52ca730f16872553cde6933c0", "spanId": "5b366e385260a8f1", "traceState": "", "parentSpanId": "c785f8a4fa3c337f", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:43.819960576Z", "endTime": "2021-04-20T20:33:43.900840704Z", "durationInNanos": 80880128, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/clear_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c785f8a4fa3c337f"}} +{ "traceId": "1ca5c1d52ca730f16872553cde6933c0", "spanId": "c785f8a4fa3c337f", "traceState": "", "parentSpanId": "", "name": "client_cancel_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:43.819711488Z", "endTime": "2021-04-20T20:33:43.903628288Z", "durationInNanos": 83916800, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_cancel_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "959d996c94b64416"}} +{ "traceId": "b23c2f42f054fd2e3bd6602318e609ed", "spanId": "959d996c94b64416", "traceState": "", "parentSpanId": "4ed24722154a0621", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:39.000507533Z", "endTime": "2021-04-20T20:33:39.001814067Z", "durationInNanos": 1306534, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-4", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "b04dd1440b46ea4a"}} +{ "traceId": "56280de557e9fa891bb6289d2fd53c8d", "spanId": "b04dd1440b46ea4a", "traceState": "", "parentSpanId": "1fbcd1691508fa92", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:40.859492193Z", "endTime": "2021-04-20T20:33:40.860705473Z", "durationInNanos": 1213280, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-3", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 133, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "4ed24722154a0621"}} +{ "traceId": "b23c2f42f054fd2e3bd6602318e609ed", "spanId": "4ed24722154a0621", "traceState": "", "parentSpanId": "62acd7c17a0ba6b5", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:39.000001917Z", "endTime": "2021-04-20T20:33:39.001944606Z", "durationInNanos": 1942689, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-4", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57758, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "6dcf6a50115bf9bf"}} +{ "traceId": "10b1ec1196741c85609a43ce435cdece", "spanId": "6dcf6a50115bf9bf", "traceState": "", "parentSpanId": "7052b8e18f95d355", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:40.293001852Z", "endTime": "2021-04-20T20:33:40.294769849Z", "durationInNanos": 1767997, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-10", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 140, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57788, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "a981fd033e3a7491"}} +{ "traceId": "259a8226fae090c7dff75784fc8c7b17", "spanId": "a981fd033e3a7491", "traceState": "", "parentSpanId": "3d3423c981805776", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:41.248002296Z", "endTime": "2021-04-20T20:33:41.250091967Z", "durationInNanos": 2089671, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-4", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57808, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "c2bf96e64de1f749"}} +{ "traceId": "552aa3363bf275a248b131406edf735d", "spanId": "c2bf96e64de1f749", "traceState": "", "parentSpanId": "82f2995c402620bf", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:42.064002408Z", "endTime": "2021-04-20T20:33:42.066510378Z", "durationInNanos": 2507970, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-8", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57830, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "7d14b353b41504e2"}} +{ "traceId": "1ca5c1d52ca730f16872553cde6933c0", "spanId": "7d14b353b41504e2", "traceState": "", "parentSpanId": "66305d54c87ada37", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:43.888001836Z", "endTime": "2021-04-20T20:33:43.889846781Z", "durationInNanos": 1844945, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-6", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57872, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "638057deacc19370"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "638057deacc19370", "traceState": "", "parentSpanId": "570073e77e68be9d", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.210460160Z", "endTime": "2021-04-20T20:33:44.211786496Z", "durationInNanos": 1326336, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': '1'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "72fd9aa427e26550"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "72fd9aa427e26550", "traceState": "", "parentSpanId": "63b924688fd8e338", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:44.184596992Z", "endTime": "2021-04-20T20:33:44.221891840Z", "durationInNanos": 37294848, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58638, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "74a72003d10b4891"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "74a72003d10b4891", "traceState": "", "parentSpanId": "9d74d751ce8f5632", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.298237184Z", "endTime": "2021-04-20T20:33:44.299052800Z", "durationInNanos": 815616, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': '2'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "9d74d751ce8f5632"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "9d74d751ce8f5632", "traceState": "", "parentSpanId": "2311bcf70d68331c", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:44.278095616Z", "endTime": "2021-04-20T20:33:44.309211392Z", "durationInNanos": 31115776, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "d45da7dee8c886ed"}} +{ "traceId": "c0ef65e0d991727dbe26a071fd10e407", "spanId": "d45da7dee8c886ed", "traceState": "", "parentSpanId": "8fb23e8fa1ec36c4", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.578994944Z", "endTime": "2021-04-20T20:33:44.579650560Z", "durationInNanos": 655616, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT * FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "10c91a64a809f0f9"}} +{ "traceId": "c0ef65e0d991727dbe26a071fd10e407", "spanId": "10c91a64a809f0f9", "traceState": "", "parentSpanId": "", "name": "client_delivery_status", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:44.552633344Z", "endTime": "2021-04-20T20:33:44.611744256Z", "durationInNanos": 59110912, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_delivery_status", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "7359981596903c3f"}} +{ "traceId": "70a3f615a998b76cd973d87710572913", "spanId": "7359981596903c3f", "traceState": "", "parentSpanId": "61aa3d8d2d402633", "name": "cart_sold", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:44.946950400Z", "endTime": "2021-04-20T20:33:44.993092352Z", "durationInNanos": 46141952, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "61aa3d8d2d402633"}} +{ "traceId": "70a3f615a998b76cd973d87710572913", "spanId": "61aa3d8d2d402633", "traceState": "", "parentSpanId": "0fcb489ad5418516", "name": "cartSold", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:44.946038528Z", "endTime": "2021-04-20T20:33:44.996396288Z", "durationInNanos": 50357760, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58668, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/cart_sold", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/cart_sold", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "6f35a199b046be10"}} +{ "traceId": "65e793c50b861f00c1534090639dd7c3", "spanId": "6f35a199b046be10", "traceState": "", "parentSpanId": "83e66a83f1a293d1", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:45.283089152Z", "endTime": "2021-04-20T20:33:45.284170496Z", "durationInNanos": 1081344, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT * FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "5205b0912292faea"}} +{ "traceId": "65e793c50b861f00c1534090639dd7c3", "spanId": "5205b0912292faea", "traceState": "", "parentSpanId": "61e11870abc59f27", "name": "getCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:45.262661120Z", "endTime": "2021-04-20T20:33:45.291168768Z", "durationInNanos": 28507648, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58678, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/get_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "3cf94093fb7bea7c"}} +{ "traceId": "65e793c50b861f00c1534090639dd7c3", "spanId": "3cf94093fb7bea7c", "traceState": "", "parentSpanId": "075721f8c8fe8187", "name": "get_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:45.260254208Z", "endTime": "2021-04-20T20:33:45.306146816Z", "durationInNanos": 45892608, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "075721f8c8fe8187"}} +{ "traceId": "65e793c50b861f00c1534090639dd7c3", "spanId": "075721f8c8fe8187", "traceState": "", "parentSpanId": "6164378b120c9a33", "name": "get_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:45.259456Z", "endTime": "2021-04-20T20:33:45.308376320Z", "durationInNanos": 48920320, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32822, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/get_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "fe4076542b41d40b"}} +{ "traceId": "02feb3a4f611abd81f2a53244d1278ae", "spanId": "fe4076542b41d40b", "traceState": "", "parentSpanId": "68d63100ba9ee351", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:45.613371648Z", "endTime": "2021-04-20T20:33:45.614105088Z", "durationInNanos": 733440, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': '1'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "4cc7f89e7a456e50"}} +{ "traceId": "02feb3a4f611abd81f2a53244d1278ae", "spanId": "4cc7f89e7a456e50", "traceState": "", "parentSpanId": "8cf5c6a43ee7642e", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:45.672583936Z", "endTime": "2021-04-20T20:33:45.701916160Z", "durationInNanos": 29332224, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58696, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "ded3687b9758bf59"}} +{ "traceId": "02feb3a4f611abd81f2a53244d1278ae", "spanId": "ded3687b9758bf59", "traceState": "", "parentSpanId": "8ca1e3b61d66dac5", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:45.582414080Z", "endTime": "2021-04-20T20:33:45.724472064Z", "durationInNanos": 142057984, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/update_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "9a880188bcb44cda"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "9a880188bcb44cda", "traceState": "", "parentSpanId": "22b1d496a103d5d4", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.193865472Z", "endTime": "2021-04-20T20:33:46.233754624Z", "durationInNanos": 39889152, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "Not enough storage for itemId orange", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "211e3fa733083be7"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "211e3fa733083be7", "traceState": "", "parentSpanId": "6f7eafee7d68115c", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.259891200Z", "endTime": "2021-04-20T20:33:46.260595456Z", "durationInNanos": 704256, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': 1}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "203faf4d95696dc4"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "203faf4d95696dc4", "traceState": "", "parentSpanId": "01e2845682343300", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:46.239240960Z", "endTime": "2021-04-20T20:33:46.270526720Z", "durationInNanos": 31285760, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58726, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "30652f6f8b511470"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "30652f6f8b511470", "traceState": "", "parentSpanId": "6abbf17273b9d804", "name": "update_inventory", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:46.151000320Z", "endTime": "2021-04-20T20:33:46.280569856Z", "durationInNanos": 129569536, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8082, "span.attributes.http@status_text": "Update inventory response contains failed items.", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 48470, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_inventory", "span.attributes.http@host": "localhost:8082", "span.attributes.http@target": "/update_inventory", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "6abbf17273b9d804"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "6abbf17273b9d804", "traceState": "", "parentSpanId": "cadc045e30deb39c", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.148769024Z", "endTime": "2021-04-20T20:33:46.285116928Z", "durationInNanos": 136347904, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8082/update_inventory", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "Update inventory response contains failed items.", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "86582d579095a4b2"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "86582d579095a4b2", "traceState": "", "parentSpanId": "", "name": "client_checkout", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:46.145158144Z", "endTime": "2021-04-20T20:33:46.297544448Z", "durationInNanos": 152386304, "serviceName": "frontend-client", "events": [ { "time": "2021-04-20T20:33:46.297516032Z", "name": "exception", "attributes": { "exception@message": "", "exception@type": "AssertionError", "exception@stacktrace": """Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py", line 804, in use_span yield span File "/app/client.py", line 179, in checkout assert checkoutAPIRequest.status_code == 200 AssertionError """ }, "droppedAttributesCount": 0 } ], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_checkout", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "status.message": "AssertionError: ", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 2, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "733fc257ce126bd9"}} +{ "traceId": "ba5a69d5dfd1eaa4077451d452ba473b", "spanId": "733fc257ce126bd9", "traceState": "", "parentSpanId": "e270a32c23bb3d64", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.530245888Z", "endTime": "2021-04-20T20:33:46.552403200Z", "durationInNanos": 22157312, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "d3e652fe39797f07"}} +{ "traceId": "ba5a69d5dfd1eaa4077451d452ba473b", "spanId": "d3e652fe39797f07", "traceState": "", "parentSpanId": "e35c1a3d860c70aa", "name": "HTTP PUT", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.501878016Z", "endTime": "2021-04-20T20:33:46.563703296Z", "durationInNanos": 61825280, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/cart_empty", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "PUT", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "93a311e112248f38"}} +{ "traceId": "ba5a69d5dfd1eaa4077451d452ba473b", "spanId": "93a311e112248f38", "traceState": "", "parentSpanId": "7d9e1df2e1915cb1", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.498651904Z", "endTime": "2021-04-20T20:33:46.581459456Z", "durationInNanos": 82807552, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/clear_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "13738600ae869fe9"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "13738600ae869fe9", "traceState": "", "parentSpanId": "7c37927033d44c5c", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.905734912Z", "endTime": "2021-04-20T20:33:46.906381056Z", "durationInNanos": 646144, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': '2'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "7c37927033d44c5c"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "7c37927033d44c5c", "traceState": "", "parentSpanId": "704ecef0adc44ed2", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:46.885713920Z", "endTime": "2021-04-20T20:33:46.910141696Z", "durationInNanos": 24427776, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "4bac6e5bfd5892b4"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "4bac6e5bfd5892b4", "traceState": "", "parentSpanId": "51c0b6f4525f8ce7", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.921752064Z", "endTime": "2021-04-20T20:33:46.926354688Z", "durationInNanos": 4602624, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "ceb7f50ca3f6e4d8"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "ceb7f50ca3f6e4d8", "traceState": "", "parentSpanId": "5f0f95a6e744be7f", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:47.191190528Z", "endTime": "2021-04-20T20:33:47.221020672Z", "durationInNanos": 29830144, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "Not enough storage for itemId banana", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58764, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "5f0f95a6e744be7f"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "5f0f95a6e744be7f", "traceState": "", "parentSpanId": "3e1ca23a1316a089", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:47.188976640Z", "endTime": "2021-04-20T20:33:47.225834496Z", "durationInNanos": 36857856, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "Not enough storage for itemId banana", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "c321930cea7a01b8"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "c321930cea7a01b8", "traceState": "", "parentSpanId": "45b57a8187c98ac7", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:47.285538560Z", "endTime": "2021-04-20T20:33:47.310507008Z", "durationInNanos": 24968448, "serviceName": "database", "events": [ { "time": "2021-04-20T20:33:47.310474496Z", "name": "exception", "attributes": { "exception@message": "", "exception@type": "InvalidItemUpdate", "exception@stacktrace": """Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py", line 804, in use_span yield span File "databaseService.py", line 162, in updateItem raise InvalidItemUpdate("Not enough storage for itemId {}".format(data[ "ItemId" ])) InvalidItemUpdate """ }, "droppedAttributesCount": 0 } ], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "status.message": "InvalidItemUpdate: ", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 2, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "f707df9bafaf7974"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "f707df9bafaf7974", "traceState": "", "parentSpanId": "1d9787eae41fc84d", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:47.182018048Z", "endTime": "2021-04-20T20:33:47.339902976Z", "durationInNanos": 157884928, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8084/checkout", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "PARTIAL CONTENT", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "1d9787eae41fc84d"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "1d9787eae41fc84d", "traceState": "", "parentSpanId": "", "name": "client_checkout", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:47.181764352Z", "endTime": "2021-04-20T20:33:47.342982400Z", "durationInNanos": 161218048, "serviceName": "frontend-client", "events": [ { "time": "2021-04-20T20:33:47.342953472Z", "name": "exception", "attributes": { "exception@message": "", "exception@type": "AssertionError", "exception@stacktrace": """Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py", line 804, in use_span yield span File "/app/client.py", line 179, in checkout assert checkoutAPIRequest.status_code == 200 AssertionError """ }, "droppedAttributesCount": 0 } ], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_checkout", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "status.message": "AssertionError: ", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 2, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "ad97f94c920dd63a"}} +{ "traceId": "e48a85b3dc34426059aa1347ea4171a5", "spanId": "ad97f94c920dd63a", "traceState": "", "parentSpanId": "5b03c5aa49169de7", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:47.481642240Z", "endTime": "2021-04-20T20:33:47.486791168Z", "durationInNanos": 5148928, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "526236d61de39741"}} +{ "traceId": "16f5176887289baa94c27f12604b5163", "spanId": "526236d61de39741", "traceState": "", "parentSpanId": "556b9dbb760a1f55", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:47.798135808Z", "endTime": "2021-04-20T20:33:47.798772480Z", "durationInNanos": 636672, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': '1'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "556b9dbb760a1f55"}} +{ "traceId": "16f5176887289baa94c27f12604b5163", "spanId": "556b9dbb760a1f55", "traceState": "", "parentSpanId": "a0333ab0c0fb425e", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:47.778251008Z", "endTime": "2021-04-20T20:33:47.802673152Z", "durationInNanos": 24422144, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "48c5f132edd1dce1"}} +{ "traceId": "16f5176887289baa94c27f12604b5163", "spanId": "48c5f132edd1dce1", "traceState": "", "parentSpanId": "8d13c5fb5cb910ab", "name": "update_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:47.773860864Z", "endTime": "2021-04-20T20:33:47.903245568Z", "durationInNanos": 129384704, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32932, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/update_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "f4fb15e340c39da3"}} +{ "traceId": "2aa556a9a859155d7f578aacf259588f", "spanId": "f4fb15e340c39da3", "traceState": "", "parentSpanId": "36362df397ac500d", "name": "getCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:48.095176192Z", "endTime": "2021-04-20T20:33:48.123719936Z", "durationInNanos": 28543744, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58806, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/get_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "9a8427df12be8522"}} +{ "traceId": "2aa556a9a859155d7f578aacf259588f", "spanId": "9a8427df12be8522", "traceState": "", "parentSpanId": "60b801fae48abf9b", "name": "get_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:48.091967488Z", "endTime": "2021-04-20T20:33:48.140747776Z", "durationInNanos": 48780288, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32950, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/get_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "a23201e2aa2bf778"}} +{ "traceId": "ecfe3ff116a31b4c5ec107289b615ff3", "spanId": "a23201e2aa2bf778", "traceState": "", "parentSpanId": "e2ce196e32791fa8", "name": "cartSold", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:48.390765568Z", "endTime": "2021-04-20T20:33:48.446376192Z", "durationInNanos": 55610624, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58816, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/cart_sold", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/cart_sold", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e2ce196e32791fa8"}} +{ "traceId": "ecfe3ff116a31b4c5ec107289b615ff3", "spanId": "e2ce196e32791fa8", "traceState": "", "parentSpanId": "33de151285a224b8", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:48.388591104Z", "endTime": "2021-04-20T20:33:48.451160064Z", "durationInNanos": 62568960, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/cart_sold", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "5d15d016d2efc520"}} +{ "traceId": "a7e35e333fe32a4fa0448bf258fff8e9", "spanId": "5d15d016d2efc520", "traceState": "", "parentSpanId": "", "name": "client_delivery_status", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:48.724736768Z", "endTime": "2021-04-20T20:33:48.783604992Z", "durationInNanos": 58868224, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_delivery_status", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "1ceb1ee0c0c5a3d7"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "1ceb1ee0c0c5a3d7", "traceState": "", "parentSpanId": "81de5d2c6aa0859e", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:49.042982400Z", "endTime": "2021-04-20T20:33:49.067498752Z", "durationInNanos": 24516352, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "8397412a4368c536"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "8397412a4368c536", "traceState": "", "parentSpanId": "b3e2c3a351f4d833", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:44.322510254Z", "endTime": "2021-04-20T20:33:44.323607252Z", "durationInNanos": 1096998, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-8", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "1b7829585cbc0b01"}} +{ "traceId": "c0ef65e0d991727dbe26a071fd10e407", "spanId": "1b7829585cbc0b01", "traceState": "", "parentSpanId": "552e8512fb52ccb5", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:44.596480225Z", "endTime": "2021-04-20T20:33:44.597655556Z", "durationInNanos": 1175331, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-10", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 140, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "5610211164d655f6"}} +{ "traceId": "70a3f615a998b76cd973d87710572913", "spanId": "5610211164d655f6", "traceState": "", "parentSpanId": "d2025fa5bde68d4c", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:45.006493344Z", "endTime": "2021-04-20T20:33:45.007802848Z", "durationInNanos": 1309504, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-3", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 133, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "e8af87596517f6bf"}} +{ "traceId": "e48a85b3dc34426059aa1347ea4171a5", "spanId": "e8af87596517f6bf", "traceState": "", "parentSpanId": "934a3522bd05ed13", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:47.484509396Z", "endTime": "2021-04-20T20:33:47.485676993Z", "durationInNanos": 1167597, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-4", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "d2025fa5bde68d4c"}} +{ "traceId": "70a3f615a998b76cd973d87710572913", "spanId": "d2025fa5bde68d4c", "traceState": "", "parentSpanId": "5ce9b5237f2b2bbd", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:45.006001630Z", "endTime": "2021-04-20T20:33:45.007923360Z", "durationInNanos": 1921730, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-3", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 133, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57912, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "fec494ea1cd015e3"}} +{ "traceId": "65e793c50b861f00c1534090639dd7c3", "spanId": "fec494ea1cd015e3", "traceState": "", "parentSpanId": "04f07ddda2ec832d", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:45.301002074Z", "endTime": "2021-04-20T20:33:45.302720699Z", "durationInNanos": 1718625, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-4", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57922, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "2ac8b4cda3c0f1f9"}} +{ "traceId": "02feb3a4f611abd81f2a53244d1278ae", "spanId": "2ac8b4cda3c0f1f9", "traceState": "", "parentSpanId": "d7ae88514a0b9617", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:45.711001942Z", "endTime": "2021-04-20T20:33:45.712721718Z", "durationInNanos": 1719776, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-6", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57940, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "e4f2d38e4f128be7"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "e4f2d38e4f128be7", "traceState": "", "parentSpanId": "4bac6e5bfd5892b4", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:46.924001969Z", "endTime": "2021-04-20T20:33:46.925747176Z", "durationInNanos": 1745207, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-3", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 133, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57996, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "74dbc2be658b50d8"}} +{ "traceId": "ecfe3ff116a31b4c5ec107289b615ff3", "spanId": "74dbc2be658b50d8", "traceState": "", "parentSpanId": "d3bce0f9acda8b4e", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:48.456001869Z", "endTime": "2021-04-20T20:33:48.457554150Z", "durationInNanos": 1552281, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-10", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 140, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58060, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "0c1e1c234af592e4"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "0c1e1c234af592e4", "traceState": "", "parentSpanId": "c6c238ba3d8255f4", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.039726592Z", "endTime": "2021-04-20T20:33:49.077204224Z", "durationInNanos": 37477632, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c6c238ba3d8255f4"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "c6c238ba3d8255f4", "traceState": "", "parentSpanId": "27d4fe07134ea308", "name": "update_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:49.000050176Z", "endTime": "2021-04-20T20:33:49.130614784Z", "durationInNanos": 130564608, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "fb628320c3bd92c1"}} +{ "traceId": "da0666d73c1645d392576e56619d8c6e", "spanId": "fb628320c3bd92c1", "traceState": "", "parentSpanId": "c7c175f4366ce130", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.312768512Z", "endTime": "2021-04-20T20:33:49.313572864Z", "durationInNanos": 804352, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT ItemId, TotalQty FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "d03fde256c0d5e87"}} +{ "traceId": "da0666d73c1645d392576e56619d8c6e", "spanId": "d03fde256c0d5e87", "traceState": "", "parentSpanId": "1e3aecf00776002e", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.354710528Z", "endTime": "2021-04-20T20:33:49.359258880Z", "durationInNanos": 4548352, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "8979ca2f03690516"}} +{ "traceId": "da0666d73c1645d392576e56619d8c6e", "spanId": "8979ca2f03690516", "traceState": "", "parentSpanId": "f79bee55c88da9dd", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.282687488Z", "endTime": "2021-04-20T20:33:49.369189632Z", "durationInNanos": 86502144, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/clear_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "b5e9c2df83b5c950"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "b5e9c2df83b5c950", "traceState": "", "parentSpanId": "28991f1d3a174ce4", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.604470016Z", "endTime": "2021-04-20T20:33:49.642110208Z", "durationInNanos": 37640192, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "Not enough storage for itemId apple", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "4167f155e728b1bf"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "4167f155e728b1bf", "traceState": "", "parentSpanId": "bb41f245f32492e4", "name": "payment", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:49.519380224Z", "endTime": "2021-04-20T20:33:49.656816384Z", "durationInNanos": 137436160, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8084, "span.attributes.http@status_text": "PARTIAL CONTENT", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60116, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/checkout", "span.attributes.http@host": "localhost:8084", "span.attributes.http@target": "/checkout", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "5175f8f67d791920"}} +{ "traceId": "7a3182e62d533fa1e0617f21f5681a37", "spanId": "5175f8f67d791920", "traceState": "", "parentSpanId": "cc39a5b2d98e4127", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.871913728Z", "endTime": "2021-04-20T20:33:49.873131008Z", "durationInNanos": 1217280, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT ItemId, TotalQty FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "ecc02e73350ce790"}} +{ "traceId": "7a3182e62d533fa1e0617f21f5681a37", "spanId": "ecc02e73350ce790", "traceState": "", "parentSpanId": "de9f1128bf12b7b9", "name": "HTTP PUT", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.848557312Z", "endTime": "2021-04-20T20:33:49.907510272Z", "durationInNanos": 58952960, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/cart_empty", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "PUT", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "1861602b0fed74c0"}} +{ "traceId": "7a3182e62d533fa1e0617f21f5681a37", "spanId": "1861602b0fed74c0", "traceState": "", "parentSpanId": "a9019c51b85c9ac6", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:49.847567872Z", "endTime": "2021-04-20T20:33:49.920374784Z", "durationInNanos": 72806912, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 33026, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "a9019c51b85c9ac6"}} +{ "traceId": "7a3182e62d533fa1e0617f21f5681a37", "spanId": "a9019c51b85c9ac6", "traceState": "", "parentSpanId": "034ed8cfb8ba682a", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.845530624Z", "endTime": "2021-04-20T20:33:49.925377792Z", "durationInNanos": 79847168, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/clear_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "d6737261234573e3"}} +{ "traceId": "247d610dcbd05da1c7902081b6bec1f6", "spanId": "d6737261234573e3", "traceState": "", "parentSpanId": "0fa03fca5ea8c051", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:50.143993600Z", "endTime": "2021-04-20T20:33:50.172754688Z", "durationInNanos": 28761088, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58892, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e684414d71481506"}} +{ "traceId": "247d610dcbd05da1c7902081b6bec1f6", "spanId": "e684414d71481506", "traceState": "", "parentSpanId": "55b6879fed1f14b7", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:50.242910208Z", "endTime": "2021-04-20T20:33:50.243621632Z", "durationInNanos": 711424, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': '2'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "25d2d59e3e627ee7"}} +{ "traceId": "eef4554373e188267b38928e2dabeab4", "spanId": "25d2d59e3e627ee7", "traceState": "", "parentSpanId": "6a539e36635daed1", "name": "get_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:50.481526016Z", "endTime": "2021-04-20T20:33:50.506380544Z", "durationInNanos": 24854528, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "13bed71d66dcc038"}} +{ "traceId": "eef4554373e188267b38928e2dabeab4", "spanId": "13bed71d66dcc038", "traceState": "", "parentSpanId": "9232ae83ea33fee8", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:50.478371840Z", "endTime": "2021-04-20T20:33:50.514467584Z", "durationInNanos": 36095744, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/get_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c29268a1fd31d7d1"}} +{ "traceId": "eef4554373e188267b38928e2dabeab4", "spanId": "c29268a1fd31d7d1", "traceState": "", "parentSpanId": "9232ae83ea33fee8", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:50.517328128Z", "endTime": "2021-04-20T20:33:50.522111488Z", "durationInNanos": 4783360, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "7ca71ea50061e17a"}} +{ "traceId": "20eabd650f3a068d9f590786f56885e7", "spanId": "7ca71ea50061e17a", "traceState": "", "parentSpanId": "2e36371a9ffe2dc0", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:50.751403008Z", "endTime": "2021-04-20T20:33:50.752038912Z", "durationInNanos": 635904, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': '1'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "c7c7d4012d81b142"}} +{ "traceId": "20eabd650f3a068d9f590786f56885e7", "spanId": "c7c7d4012d81b142", "traceState": "", "parentSpanId": "e7287e116f07049d", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:50.792653056Z", "endTime": "2021-04-20T20:33:50.793349632Z", "durationInNanos": 696576, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': '3'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "ecc0e3f8be5250dd"}} +{ "traceId": "20eabd650f3a068d9f590786f56885e7", "spanId": "ecc0e3f8be5250dd", "traceState": "", "parentSpanId": "cebaa948cfa4cc19", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:50.811156480Z", "endTime": "2021-04-20T20:33:50.840189440Z", "durationInNanos": 29032960, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58930, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "534023ef492ea75d"}} +{ "traceId": "c48260d3774d6c2d4ba77c9e813eadec", "spanId": "534023ef492ea75d", "traceState": "", "parentSpanId": "c5ab512bce3105ef", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:51.158956032Z", "endTime": "2021-04-20T20:33:51.159533568Z", "durationInNanos": 577536, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT * FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "e9893407bba95bf0"}} +{ "traceId": "c48260d3774d6c2d4ba77c9e813eadec", "spanId": "e9893407bba95bf0", "traceState": "", "parentSpanId": "76dfb45c3ba7873f", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:51.136340992Z", "endTime": "2021-04-20T20:33:51.171475200Z", "durationInNanos": 35134208, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/get_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "608bd5e547e88e3e"}} +{ "traceId": "56127a0a4f362cfb605a907e6c419c6e", "spanId": "608bd5e547e88e3e", "traceState": "", "parentSpanId": "2b7af871bd8cd43f", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:51.475266048Z", "endTime": "2021-04-20T20:33:51.480210688Z", "durationInNanos": 4944640, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "bd638d2bf13e4f41"}} +{ "traceId": "56127a0a4f362cfb605a907e6c419c6e", "spanId": "bd638d2bf13e4f41", "traceState": "", "parentSpanId": "8defb053817ab655", "name": "pay_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:51.412930816Z", "endTime": "2021-04-20T20:33:51.485616640Z", "durationInNanos": 72685824, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 33094, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/pay_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/pay_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "dcab66f931f7fc5b"}} +{ "traceId": "56127a0a4f362cfb605a907e6c419c6e", "spanId": "dcab66f931f7fc5b", "traceState": "", "parentSpanId": "", "name": "client_pay_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:51.410483968Z", "endTime": "2021-04-20T20:33:51.493332480Z", "durationInNanos": 82848512, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_pay_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "9b81a0201a53b84c"}} +{ "traceId": "7f63958e2172b12500e40eed557a31c7", "spanId": "9b81a0201a53b84c", "traceState": "", "parentSpanId": "de85f1e0d746da28", "name": "getCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:51.682416128Z", "endTime": "2021-04-20T20:33:51.712218624Z", "durationInNanos": 29802496, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58960, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/get_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e2a28bb8e6bf64ca"}} +{ "traceId": "7f63958e2172b12500e40eed557a31c7", "spanId": "e2a28bb8e6bf64ca", "traceState": "", "parentSpanId": "3301dd384d83dc66", "name": "get_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:51.680000512Z", "endTime": "2021-04-20T20:33:51.727677440Z", "durationInNanos": 47676928, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "9de35fba7cb7c4a3"}} +{ "traceId": "7f63958e2172b12500e40eed557a31c7", "spanId": "9de35fba7cb7c4a3", "traceState": "", "parentSpanId": "637cedb12aa88454", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:51.677016320Z", "endTime": "2021-04-20T20:33:51.734535680Z", "durationInNanos": 57519360, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/get_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "637cedb12aa88454"}} +{ "traceId": "7f63958e2172b12500e40eed557a31c7", "spanId": "637cedb12aa88454", "traceState": "", "parentSpanId": "", "name": "client_delivery_status", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:51.676719872Z", "endTime": "2021-04-20T20:33:51.737385984Z", "durationInNanos": 60666112, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_delivery_status", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "06f27e83cdad4af6"}} +{ "traceId": "340a6c6f70a21d1bc8456dbbe5c79929", "spanId": "06f27e83cdad4af6", "traceState": "", "parentSpanId": "439eff3f753e8e67", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:51.995934208Z", "endTime": "2021-04-20T20:33:52.024369152Z", "durationInNanos": 28434944, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58974, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "1fdfb0d6a0c76960"}} +{ "traceId": "261f4f9f6d49c04588ddfc0b22d167c6", "spanId": "1fdfb0d6a0c76960", "traceState": "", "parentSpanId": "a748c29eeb1d7e59", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.231162624Z", "endTime": "2021-04-20T20:33:52.231785216Z", "durationInNanos": 622592, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT ItemId, TotalQty FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "18172e3a91f55d39"}} +{ "traceId": "261f4f9f6d49c04588ddfc0b22d167c6", "spanId": "18172e3a91f55d39", "traceState": "", "parentSpanId": "a748c29eeb1d7e59", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.235772416Z", "endTime": "2021-04-20T20:33:52.256177152Z", "durationInNanos": 20404736, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "a748c29eeb1d7e59"}} +{ "traceId": "261f4f9f6d49c04588ddfc0b22d167c6", "spanId": "a748c29eeb1d7e59", "traceState": "", "parentSpanId": "adbedfaf38a87985", "name": "cart_empty", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.211242240Z", "endTime": "2021-04-20T20:33:52.259230720Z", "durationInNanos": 47988480, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "adbedfaf38a87985"}} +{ "traceId": "261f4f9f6d49c04588ddfc0b22d167c6", "spanId": "adbedfaf38a87985", "traceState": "", "parentSpanId": "ba003d4618b074f7", "name": "cartEmpty", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:52.210340352Z", "endTime": "2021-04-20T20:33:52.262700032Z", "durationInNanos": 52359680, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "PUT", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58988, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/cart_empty", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/cart_empty", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "66dd3959b912162c"}} +{ "traceId": "261f4f9f6d49c04588ddfc0b22d167c6", "spanId": "66dd3959b912162c", "traceState": "", "parentSpanId": "", "name": "client_cancel_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.204713472Z", "endTime": "2021-04-20T20:33:52.288004096Z", "durationInNanos": 83290624, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_cancel_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "4543b1bfbb5964c3"}} +{ "traceId": "5be8370207cbb002a165d369fbc57b57", "spanId": "4543b1bfbb5964c3", "traceState": "", "parentSpanId": "702250f453a02be6", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.497326080Z", "endTime": "2021-04-20T20:33:52.532990720Z", "durationInNanos": 35664640, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "45c65220620defaf"}} +{ "traceId": "5be8370207cbb002a165d369fbc57b57", "spanId": "45c65220620defaf", "traceState": "", "parentSpanId": "b4e1a6127d470651", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.539106304Z", "endTime": "2021-04-20T20:33:52.563575552Z", "durationInNanos": 24469248, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "179c014a060ab428"}} +{ "traceId": "5be8370207cbb002a165d369fbc57b57", "spanId": "179c014a060ab428", "traceState": "", "parentSpanId": "f6691ab391b0e350", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.598380800Z", "endTime": "2021-04-20T20:33:52.599080704Z", "durationInNanos": 699904, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': '2'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "f6691ab391b0e350"}} +{ "traceId": "5be8370207cbb002a165d369fbc57b57", "spanId": "f6691ab391b0e350", "traceState": "", "parentSpanId": "f3dc908cffab10fe", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.578200832Z", "endTime": "2021-04-20T20:33:52.603235328Z", "durationInNanos": 25034496, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "6a8149f2f3269df9"}} +{ "traceId": "5be8370207cbb002a165d369fbc57b57", "spanId": "6a8149f2f3269df9", "traceState": "", "parentSpanId": "702250f453a02be6", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.614755328Z", "endTime": "2021-04-20T20:33:52.619177472Z", "durationInNanos": 4422144, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c52d1f54270c1a88"}} +{ "traceId": "5be8370207cbb002a165d369fbc57b57", "spanId": "c52d1f54270c1a88", "traceState": "", "parentSpanId": "", "name": "client_create_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.493635840Z", "endTime": "2021-04-20T20:33:52.632568064Z", "durationInNanos": 138932224, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_create_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "5b1ed6116a19ebcc"}} +{ "traceId": "4216a647a4396e50fc12cc78d571557e", "spanId": "5b1ed6116a19ebcc", "traceState": "", "parentSpanId": "14148032cdebd6e5", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.698918400Z", "endTime": "2021-04-20T20:33:52.699564800Z", "durationInNanos": 646400, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': '1'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "680639d2b7681a2a"}} +{ "traceId": "4216a647a4396e50fc12cc78d571557e", "spanId": "680639d2b7681a2a", "traceState": "", "parentSpanId": "d85ef60c6b05ea1e", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.675642368Z", "endTime": "2021-04-20T20:33:52.711814144Z", "durationInNanos": 36171776, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "f30e9c92926901d9"}} +{ "traceId": "4216a647a4396e50fc12cc78d571557e", "spanId": "f30e9c92926901d9", "traceState": "", "parentSpanId": "70e7adcb0023b919", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:52.756263936Z", "endTime": "2021-04-20T20:33:52.785140224Z", "durationInNanos": 28876288, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 59024, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "1aa4ab0af82bbbb2"}} +{ "traceId": "e447ed617aa651a7593c720d7e976625", "spanId": "1aa4ab0af82bbbb2", "traceState": "", "parentSpanId": "b6b76ad0ea7a18e0", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.954985472Z", "endTime": "2021-04-20T20:33:52.978256896Z", "durationInNanos": 23271424, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "b6b76ad0ea7a18e0"}} +{ "traceId": "e447ed617aa651a7593c720d7e976625", "spanId": "b6b76ad0ea7a18e0", "traceState": "", "parentSpanId": "bffbe84728e92b6d", "name": "cart_empty", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.930167040Z", "endTime": "2021-04-20T20:33:52.981641472Z", "durationInNanos": 51474432, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "68f6536a0523f7f3"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "68f6536a0523f7f3", "traceState": "", "parentSpanId": "2badcc8448bd5c5b", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:53.215277568Z", "endTime": "2021-04-20T20:33:53.253143808Z", "durationInNanos": 37866240, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "Not enough storage for itemId banana", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "a4030e9ad85b2a92"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "a4030e9ad85b2a92", "traceState": "", "parentSpanId": "057ca06095200357", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:53.259318272Z", "endTime": "2021-04-20T20:33:53.284444928Z", "durationInNanos": 25126656, "serviceName": "database", "events": [ { "time": "2021-04-20T20:33:53.284412416Z", "name": "exception", "attributes": { "exception@message": "", "exception@type": "InvalidItemUpdate", "exception@stacktrace": """Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py", line 804, in use_span yield span File "databaseService.py", line 162, in updateItem raise InvalidItemUpdate("Not enough storage for itemId {}".format(data[ "ItemId" ])) InvalidItemUpdate """ }, "droppedAttributesCount": 0 } ], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "status.message": "InvalidItemUpdate: ", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 2, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "4244f688b5a95a26"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "4244f688b5a95a26", "traceState": "", "parentSpanId": "49bd0e3a571e477d", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:53.301197056Z", "endTime": "2021-04-20T20:33:53.326327296Z", "durationInNanos": 25130240, "serviceName": "database", "events": [ { "time": "2021-04-20T20:33:53.326294016Z", "name": "exception", "attributes": { "exception@message": "", "exception@type": "InvalidItemUpdate", "exception@stacktrace": """Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py", line 804, in use_span yield span File "databaseService.py", line 162, in updateItem raise InvalidItemUpdate("Not enough storage for itemId {}".format(data[ "ItemId" ])) InvalidItemUpdate """ }, "droppedAttributesCount": 0 } ], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "status.message": "InvalidItemUpdate: ", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 2, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "49bd0e3a571e477d"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "49bd0e3a571e477d", "traceState": "", "parentSpanId": "06d1242a51405187", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:53.300201216Z", "endTime": "2021-04-20T20:33:53.330773248Z", "durationInNanos": 30572032, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "Not enough storage for itemId apple", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 59056, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "a03d0ff09010abc3"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "a03d0ff09010abc3", "traceState": "", "parentSpanId": "66a2144a58008463", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:53.211857408Z", "endTime": "2021-04-20T20:33:53.345646848Z", "durationInNanos": 133789440, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8082/update_inventory", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "Update inventory response contains failed items.", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "1baf1e42d2eaae2a"}} +{ "traceId": "d5bc99166e521eec173bcb7f9b0d3c43", "spanId": "1baf1e42d2eaae2a", "traceState": "", "parentSpanId": "cefea796ccf54813", "name": "HTTP PUT", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:53.429764096Z", "endTime": "2021-04-20T20:33:53.493248256Z", "durationInNanos": 63484160, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/cart_empty", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "PUT", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "1dc7b46c2357c388"}} +{ "traceId": "d5bc99166e521eec173bcb7f9b0d3c43", "spanId": "1dc7b46c2357c388", "traceState": "", "parentSpanId": "2aec9c6345d7c6b3", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:53.426487808Z", "endTime": "2021-04-20T20:33:53.509910016Z", "durationInNanos": 83422208, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/clear_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "86b490f5558fa709"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "86b490f5558fa709", "traceState": "", "parentSpanId": "32c7b65db72d6298", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:49.125418594Z", "endTime": "2021-04-20T20:33:49.126411716Z", "durationInNanos": 993122, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-4", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "f8d135e17dd59043"}} +{ "traceId": "7f63958e2172b12500e40eed557a31c7", "spanId": "f8d135e17dd59043", "traceState": "", "parentSpanId": "1fe046d4f9f3bd13", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:51.722447259Z", "endTime": "2021-04-20T20:33:51.723605629Z", "durationInNanos": 1158370, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-10", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 140, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "32c7b65db72d6298"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "32c7b65db72d6298", "traceState": "", "parentSpanId": "d74d48bf3431c487", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:49.125001550Z", "endTime": "2021-04-20T20:33:49.126513995Z", "durationInNanos": 1512445, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-4", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58088, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "50347b6be84490e4"}} +{ "traceId": "da0666d73c1645d392576e56619d8c6e", "spanId": "50347b6be84490e4", "traceState": "", "parentSpanId": "d03fde256c0d5e87", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:49.356001691Z", "endTime": "2021-04-20T20:33:49.357803832Z", "durationInNanos": 1802141, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-6", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58098, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "d0c7228a8eb81715"}} +{ "traceId": "20eabd650f3a068d9f590786f56885e7", "spanId": "d0c7228a8eb81715", "traceState": "", "parentSpanId": "268c00835c4cc7ac", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:50.850001822Z", "endTime": "2021-04-20T20:33:50.851659846Z", "durationInNanos": 1658024, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-4", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58174, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "0f929cd09feb717a"}} +{ "traceId": "4216a647a4396e50fc12cc78d571557e", "spanId": "0f929cd09feb717a", "traceState": "", "parentSpanId": "84584d9e50950ea5", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:52.818001824Z", "endTime": "2021-04-20T20:33:52.819591628Z", "durationInNanos": 1589804, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-8", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58268, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "b272143e732a91e9"}} +{ "traceId": "e447ed617aa651a7593c720d7e976625", "spanId": "b272143e732a91e9", "traceState": "", "parentSpanId": "477408f3368f28af", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:52.995002208Z", "endTime": "2021-04-20T20:33:52.996554316Z", "durationInNanos": 1552108, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-10", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 140, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58278, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "06e4387a53eec8ae"}} +{ "traceId": "4626b16656c8131c17bef721f94f39d0", "spanId": "06e4387a53eec8ae", "traceState": "", "parentSpanId": "", "name": "HTTP GET", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:19.541728768Z", "endTime": "2021-04-20T20:33:19.544739584Z", "durationInNanos": 3010816, "serviceName": "recommendation", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "HTTP GET", "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8086, "span.attributes.http@status_text": "NOT FOUND", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140018306314192", "resource.attributes.service@name": "recommendation", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "curl/7.61.1", "span.attributes.net@peer@port": 42362, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@host": "localhost:8086", "span.attributes.http@target": "/", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 404 } +{ "index":{"_id": "60393741cd2ba5da"}} +{ "traceId": "5a551c574ba60b0fddee0a98150ad7c6", "spanId": "60393741cd2ba5da", "traceState": "", "parentSpanId": "", "name": "HTTP GET", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:20.558674688Z", "endTime": "2021-04-20T20:33:20.561958656Z", "durationInNanos": 3283968, "serviceName": "authentication", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "HTTP GET", "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8085, "span.attributes.http@status_text": "NOT FOUND", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139949516139040", "resource.attributes.service@name": "authentication", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "curl/7.61.1", "span.attributes.net@peer@port": 37624, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@host": "localhost:8085", "span.attributes.http@target": "/", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 404 } +{ "index":{"_id": "840eaf798fcd7d6a"}} +{ "traceId": "513e4f752e4411aa6d4b6b35878172f3", "spanId": "840eaf798fcd7d6a", "traceState": "", "parentSpanId": "d3c888f442bdf005", "name": "payment", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:29.225169408Z", "endTime": "2021-04-20T20:33:29.237534464Z", "durationInNanos": 12365056, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8084, "span.attributes.http@status_text": "SERVICE UNAVAILABLE", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 59546, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/checkout", "span.attributes.http@host": "localhost:8084", "span.attributes.http@target": "/checkout", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 503 } +{ "index":{"_id": "647e42f1b60baba6"}} +{ "traceId": "d37d709d5695f213e4ca41ac874c00bc", "spanId": "647e42f1b60baba6", "traceState": "", "parentSpanId": "8e7e103a2e3a040f", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:32.582873344Z", "endTime": "2021-04-20T20:33:32.583549440Z", "durationInNanos": 676096, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT * FROM Inventory_Items", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "519baeb3e108614d"}} +{ "traceId": "d37d709d5695f213e4ca41ac874c00bc", "spanId": "519baeb3e108614d", "traceState": "", "parentSpanId": "65bcaf9c16235fec", "name": "getIntentory", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:32.557999360Z", "endTime": "2021-04-20T20:33:32.590999808Z", "durationInNanos": 33000448, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58316, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_inventory", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/get_inventory", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "caed30931d6c8826"}} +{ "traceId": "d37d709d5695f213e4ca41ac874c00bc", "spanId": "caed30931d6c8826", "traceState": "", "parentSpanId": "88484a1ee3c170cd", "name": "recommend", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:32.547260416Z", "endTime": "2021-04-20T20:33:32.628968960Z", "durationInNanos": 81708544, "serviceName": "recommendation", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8086, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140018306314192", "resource.attributes.service@name": "recommendation", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 42416, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/recommend", "span.attributes.http@host": "localhost:8086", "span.attributes.http@target": "/recommend", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "40c037eaae087000"}} +{ "traceId": "509da2ddfc1a3d9fc88ed4b62f3cd079", "spanId": "40c037eaae087000", "traceState": "", "parentSpanId": "55d7f80c6aff4ec7", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:34.314483968Z", "endTime": "2021-04-20T20:33:34.349315328Z", "durationInNanos": 34831360, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58344, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "ec44bfc9b38f6faf"}} +{ "traceId": "c17023ed734d4daa5f97bb7972f0c935", "spanId": "ec44bfc9b38f6faf", "traceState": "", "parentSpanId": "ab460c6800da22bf", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:34.727146240Z", "endTime": "2021-04-20T20:33:34.727824384Z", "durationInNanos": 678144, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT * FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "ab460c6800da22bf"}} +{ "traceId": "c17023ed734d4daa5f97bb7972f0c935", "spanId": "ab460c6800da22bf", "traceState": "", "parentSpanId": "066eee06004804d5", "name": "get_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:34.707429632Z", "endTime": "2021-04-20T20:33:34.731620608Z", "durationInNanos": 24190976, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "066eee06004804d5"}} +{ "traceId": "c17023ed734d4daa5f97bb7972f0c935", "spanId": "066eee06004804d5", "traceState": "", "parentSpanId": "bb8e3a8935263a0e", "name": "getCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:34.706544640Z", "endTime": "2021-04-20T20:33:34.734942208Z", "durationInNanos": 28397568, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58354, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/get_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "bb8e3a8935263a0e"}} +{ "traceId": "c17023ed734d4daa5f97bb7972f0c935", "spanId": "bb8e3a8935263a0e", "traceState": "", "parentSpanId": "60845ba7d8c2aaf0", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:34.704376320Z", "endTime": "2021-04-20T20:33:34.739784704Z", "durationInNanos": 35408384, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/get_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "99d7b8673d19932d"}} +{ "traceId": "c17023ed734d4daa5f97bb7972f0c935", "spanId": "99d7b8673d19932d", "traceState": "", "parentSpanId": "60845ba7d8c2aaf0", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:34.742878464Z", "endTime": "2021-04-20T20:33:34.748727296Z", "durationInNanos": 5848832, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "174b6e4f69dd2d18"}} +{ "traceId": "9cc5c0acce9b9acc05b1c8d082709609", "spanId": "174b6e4f69dd2d18", "traceState": "", "parentSpanId": "9b3c0b3ed5c876e6", "name": "cart_sold", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:35.171959296Z", "endTime": "2021-04-20T20:33:35.219812352Z", "durationInNanos": 47853056, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "6f9eca809cfd10f4"}} +{ "traceId": "7df67f7205abe19319bad85babb04ca9", "spanId": "6f9eca809cfd10f4", "traceState": "", "parentSpanId": "1cfde34b0e64708d", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:35.738551040Z", "endTime": "2021-04-20T20:33:35.739376640Z", "durationInNanos": 825600, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': '3'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "cc1bd6dba046b476"}} +{ "traceId": "7df67f7205abe19319bad85babb04ca9", "spanId": "cc1bd6dba046b476", "traceState": "", "parentSpanId": "bb9e8ac613f9c314", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:35.783496704Z", "endTime": "2021-04-20T20:33:35.784163328Z", "durationInNanos": 666624, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': '2'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "17573d14a639e1d1"}} +{ "traceId": "7df67f7205abe19319bad85babb04ca9", "spanId": "17573d14a639e1d1", "traceState": "", "parentSpanId": "285b2f9d476d9a6f", "name": "update_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:35.663353600Z", "endTime": "2021-04-20T20:33:35.810676480Z", "durationInNanos": 147322880, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60752, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/update_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c2340bad2c8d7620"}} +{ "traceId": "7df67f7205abe19319bad85babb04ca9", "spanId": "c2340bad2c8d7620", "traceState": "", "parentSpanId": "", "name": "client_create_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:35.660813824Z", "endTime": "2021-04-20T20:33:35.818663168Z", "durationInNanos": 157849344, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_create_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "7fe759e9e512c8ff"}} +{ "traceId": "19b592faebd7e10a4824b919bcd3bd89", "spanId": "7fe759e9e512c8ff", "traceState": "", "parentSpanId": "42b721754a8f6168", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.099666432Z", "endTime": "2021-04-20T20:33:36.100590592Z", "durationInNanos": 924160, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': 1}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "INSERT INTO Inventory_Items (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "3c71472fb76ad5e6"}} +{ "traceId": "19b592faebd7e10a4824b919bcd3bd89", "spanId": "3c71472fb76ad5e6", "traceState": "", "parentSpanId": "42b721754a8f6168", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.107451904Z", "endTime": "2021-04-20T20:33:36.108079616Z", "durationInNanos": 627712, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': 3}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "INSERT INTO Inventory_Items (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "8e2e0e3da163fc3b"}} +{ "traceId": "19b592faebd7e10a4824b919bcd3bd89", "spanId": "8e2e0e3da163fc3b", "traceState": "", "parentSpanId": "42b721754a8f6168", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.113731328Z", "endTime": "2021-04-20T20:33:36.139224064Z", "durationInNanos": 25492736, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "42b721754a8f6168"}} +{ "traceId": "19b592faebd7e10a4824b919bcd3bd89", "spanId": "42b721754a8f6168", "traceState": "", "parentSpanId": "cb2b82acca479730", "name": "cart_empty", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:36.074103296Z", "endTime": "2021-04-20T20:33:36.142439680Z", "durationInNanos": 68336384, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "ad7845eabc7145cd"}} +{ "traceId": "19b592faebd7e10a4824b919bcd3bd89", "spanId": "ad7845eabc7145cd", "traceState": "", "parentSpanId": "db173bc10299861f", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.155145984Z", "endTime": "2021-04-20T20:33:36.160770816Z", "durationInNanos": 5624832, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "ac0d61f7be00cc09"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "ac0d61f7be00cc09", "traceState": "", "parentSpanId": "4f70367bf3c97d0e", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:36.574601472Z", "endTime": "2021-04-20T20:33:36.606697728Z", "durationInNanos": 32096256, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58414, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "4f70367bf3c97d0e"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "4f70367bf3c97d0e", "traceState": "", "parentSpanId": "b5eb104616d427e5", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.572322816Z", "endTime": "2021-04-20T20:33:36.611627264Z", "durationInNanos": 39304448, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "375cb3ef27c46997"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "375cb3ef27c46997", "traceState": "", "parentSpanId": "b5ef9ef1ecddda5e", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.485675264Z", "endTime": "2021-04-20T20:33:36.629994496Z", "durationInNanos": 144319232, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8082/update_inventory", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "60019ca1c2f5ab8e"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "60019ca1c2f5ab8e", "traceState": "", "parentSpanId": "d3911d8b057539bb", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.481851648Z", "endTime": "2021-04-20T20:33:36.647876864Z", "durationInNanos": 166025216, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8084/checkout", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "a7fcdbe2bf6d6d75"}} +{ "traceId": "ec830c13f81efb5082f6e40b4dedce71", "spanId": "a7fcdbe2bf6d6d75", "traceState": "", "parentSpanId": "7c058c08a86fc5a8", "name": "clear_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:36.996497920Z", "endTime": "2021-04-20T20:33:37.070610176Z", "durationInNanos": 74112256, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "7c058c08a86fc5a8"}} +{ "traceId": "ec830c13f81efb5082f6e40b4dedce71", "spanId": "7c058c08a86fc5a8", "traceState": "", "parentSpanId": "68cf95323b3af152", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:36.995693312Z", "endTime": "2021-04-20T20:33:37.072949248Z", "durationInNanos": 77255936, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60802, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "68cf95323b3af152"}} +{ "traceId": "ec830c13f81efb5082f6e40b4dedce71", "spanId": "68cf95323b3af152", "traceState": "", "parentSpanId": "bfcda24f22004149", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.993572608Z", "endTime": "2021-04-20T20:33:37.077576704Z", "durationInNanos": 84004096, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/clear_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "bfcda24f22004149"}} +{ "traceId": "ec830c13f81efb5082f6e40b4dedce71", "spanId": "bfcda24f22004149", "traceState": "", "parentSpanId": "", "name": "client_cancel_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:36.993322752Z", "endTime": "2021-04-20T20:33:37.080295680Z", "durationInNanos": 86972928, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_cancel_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "8fd6fd77a11f4983"}} +{ "traceId": "1730cc8687cb4b504cd934560111d5a1", "spanId": "8fd6fd77a11f4983", "traceState": "", "parentSpanId": "b4f529ee6fed4e49", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:37.408389376Z", "endTime": "2021-04-20T20:33:37.443986176Z", "durationInNanos": 35596800, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58436, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "71529953e9aa20e1"}} +{ "traceId": "1730cc8687cb4b504cd934560111d5a1", "spanId": "71529953e9aa20e1", "traceState": "", "parentSpanId": "67a615bb3d2aef86", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:37.544745216Z", "endTime": "2021-04-20T20:33:37.549624064Z", "durationInNanos": 4878848, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "523a0808d6e0be58"}} +{ "traceId": "c9f83a98e8f1826c3a822eeb7b85a9d6", "spanId": "523a0808d6e0be58", "traceState": "", "parentSpanId": "", "name": "client_cancel_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:37.780772864Z", "endTime": "2021-04-20T20:33:37.882267392Z", "durationInNanos": 101494528, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_cancel_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "aaa95e9f50a4baa3"}} +{ "traceId": "22bdfd493901782340e7eea9e077acb9", "spanId": "aaa95e9f50a4baa3", "traceState": "", "parentSpanId": "7bc2fe0a60e01dba", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:38.200260352Z", "endTime": "2021-04-20T20:33:38.226785024Z", "durationInNanos": 26524672, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "56925faca063f848"}} +{ "traceId": "22bdfd493901782340e7eea9e077acb9", "spanId": "56925faca063f848", "traceState": "", "parentSpanId": "1b26c8058d3cd7b6", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:38.240576512Z", "endTime": "2021-04-20T20:33:38.272510720Z", "durationInNanos": 31934208, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58474, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "36883585e85d1b73"}} +{ "traceId": "82c7cf3d3540450a3acc00c41b7a9562", "spanId": "36883585e85d1b73", "traceState": "", "parentSpanId": "0f425b86cb459271", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:38.619970304Z", "endTime": "2021-04-20T20:33:38.653283072Z", "durationInNanos": 33312768, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58498, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e8365c37ca6c41a9"}} +{ "traceId": "82c7cf3d3540450a3acc00c41b7a9562", "spanId": "e8365c37ca6c41a9", "traceState": "", "parentSpanId": "95441fc1d382e48d", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:38.702615040Z", "endTime": "2021-04-20T20:33:38.707414784Z", "durationInNanos": 4799744, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "cc87be09db83951c"}} +{ "traceId": "82c7cf3d3540450a3acc00c41b7a9562", "spanId": "cc87be09db83951c", "traceState": "", "parentSpanId": "eb63409f597c3607", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:38.557328128Z", "endTime": "2021-04-20T20:33:38.718940928Z", "durationInNanos": 161612800, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8082/update_inventory", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "eb63409f597c3607"}} +{ "traceId": "82c7cf3d3540450a3acc00c41b7a9562", "spanId": "eb63409f597c3607", "traceState": "", "parentSpanId": "07b4d48cb660e9cc", "name": "checkout", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:38.556882688Z", "endTime": "2021-04-20T20:33:38.734543616Z", "durationInNanos": 177660928, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "d250018f35242056"}} +{ "traceId": "ec830c13f81efb5082f6e40b4dedce71", "spanId": "d250018f35242056", "traceState": "", "parentSpanId": "c9b6a51576561f98", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:37.065582317Z", "endTime": "2021-04-20T20:33:37.066913Z", "durationInNanos": 1330683, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-8", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "7b78d2bea411b2fe"}} +{ "traceId": "509da2ddfc1a3d9fc88ed4b62f3cd079", "spanId": "7b78d2bea411b2fe", "traceState": "", "parentSpanId": "0a9ab07c9f5e7d29", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:34.359002058Z", "endTime": "2021-04-20T20:33:34.361727904Z", "durationInNanos": 2725846, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-4", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57588, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "7145d5e8e15acfb7"}} +{ "traceId": "c17023ed734d4daa5f97bb7972f0c935", "spanId": "7145d5e8e15acfb7", "traceState": "", "parentSpanId": "99d7b8673d19932d", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:34.745001766Z", "endTime": "2021-04-20T20:33:34.747694532Z", "durationInNanos": 2692766, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-6", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57598, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "474039eb574aec04"}} +{ "traceId": "19b592faebd7e10a4824b919bcd3bd89", "spanId": "474039eb574aec04", "traceState": "", "parentSpanId": "ad7845eabc7145cd", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:36.157001583Z", "endTime": "2021-04-20T20:33:36.159234806Z", "durationInNanos": 2233223, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-3", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 133, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57638, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "77243c434c2fcb1f"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "77243c434c2fcb1f", "traceState": "", "parentSpanId": "937fb8345b252adb", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:36.617002014Z", "endTime": "2021-04-20T20:33:36.619561838Z", "durationInNanos": 2559824, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-4", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57658, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "fd955727cb8de558"}} +{ "traceId": "22bdfd493901782340e7eea9e077acb9", "spanId": "fd955727cb8de558", "traceState": "", "parentSpanId": "f211085459dee231", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:38.284002091Z", "endTime": "2021-04-20T20:33:38.286466012Z", "durationInNanos": 2463921, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-4", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57720, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "c1e60aa906af446c"}} +{ "traceId": "22bdfd493901782340e7eea9e077acb9", "spanId": "c1e60aa906af446c", "traceState": "", "parentSpanId": "c5280d05b1704e38", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:38.302001808Z", "endTime": "2021-04-20T20:33:38.303866754Z", "durationInNanos": 1864946, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-6", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57722, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "f251b6b23136a553"}} +{ "traceId": "82c7cf3d3540450a3acc00c41b7a9562", "spanId": "f251b6b23136a553", "traceState": "", "parentSpanId": "76ac0909a315d25c", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:38.726001732Z", "endTime": "2021-04-20T20:33:38.728225906Z", "durationInNanos": 2224174, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-3", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 133, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57748, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "3746bae316ced457"}} +{ "traceId": "17af7b8dee49e8258b8b5ab82dd0235a", "spanId": "3746bae316ced457", "traceState": "", "parentSpanId": "8eafdbb08ef33fac", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:39.773298688Z", "endTime": "2021-04-20T20:33:39.775022848Z", "durationInNanos": 1724160, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT * FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "0afb5a2b1848c74b"}} +{ "traceId": "17af7b8dee49e8258b8b5ab82dd0235a", "spanId": "0afb5a2b1848c74b", "traceState": "", "parentSpanId": "", "name": "client_delivery_status", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:39.747136Z", "endTime": "2021-04-20T20:33:39.807513856Z", "durationInNanos": 60377856, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_delivery_status", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "669d2b7892e6854c"}} +{ "traceId": "10b1ec1196741c85609a43ce435cdece", "spanId": "669d2b7892e6854c", "traceState": "", "parentSpanId": "9253cd2f27e55a6f", "name": "clear_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:40.228339200Z", "endTime": "2021-04-20T20:33:40.299048192Z", "durationInNanos": 70708992, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "59443367c68e77d9"}} +{ "traceId": "259a8226fae090c7dff75784fc8c7b17", "spanId": "59443367c68e77d9", "traceState": "", "parentSpanId": "c3bb9b0cacfb19ea", "name": "cart_sold", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:41.185568512Z", "endTime": "2021-04-20T20:33:41.234750208Z", "durationInNanos": 49181696, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "3d3423c981805776"}} +{ "traceId": "259a8226fae090c7dff75784fc8c7b17", "spanId": "3d3423c981805776", "traceState": "", "parentSpanId": "a4ba523cda11d1d3", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:41.246229760Z", "endTime": "2021-04-20T20:33:41.251002880Z", "durationInNanos": 4773120, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e3496923e8587b46"}} +{ "traceId": "5bf7f62e1215df5526664ec45dd9ad63", "spanId": "e3496923e8587b46", "traceState": "", "parentSpanId": "6b60bf20aca25776", "name": "getCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:41.625234688Z", "endTime": "2021-04-20T20:33:41.654554624Z", "durationInNanos": 29319936, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58576, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/get_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "18af310c32c71ea5"}} +{ "traceId": "5bf7f62e1215df5526664ec45dd9ad63", "spanId": "18af310c32c71ea5", "traceState": "", "parentSpanId": "915cceedf89bd5f3", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:41.619891200Z", "endTime": "2021-04-20T20:33:41.677285120Z", "durationInNanos": 57393920, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/get_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "7a5994c2d61252d8"}} +{ "traceId": "552aa3363bf275a248b131406edf735d", "spanId": "7a5994c2d61252d8", "traceState": "", "parentSpanId": "903ebe485e8ce58d", "name": "cartSold", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:42.001465600Z", "endTime": "2021-04-20T20:33:42.054217216Z", "durationInNanos": 52751616, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58586, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/cart_sold", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/cart_sold", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "2786ea5cfba1d51c"}} +{ "traceId": "552aa3363bf275a248b131406edf735d", "spanId": "2786ea5cfba1d51c", "traceState": "", "parentSpanId": "e8aeb63bfa118068", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:41.996101888Z", "endTime": "2021-04-20T20:33:42.080325120Z", "durationInNanos": 84223232, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/pay_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "694e40f773666591"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "694e40f773666591", "traceState": "", "parentSpanId": "de34ef4183a4705b", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:42.522945280Z", "endTime": "2021-04-20T20:33:42.523687680Z", "durationInNanos": 742400, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': 2}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "7cd34262856a4d72"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "7cd34262856a4d72", "traceState": "", "parentSpanId": "d2b2b41a16075705", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:42.604768512Z", "endTime": "2021-04-20T20:33:42.605615360Z", "durationInNanos": 846848, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': 1}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "5bd2b2161742dcd5"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "5bd2b2161742dcd5", "traceState": "", "parentSpanId": "0791aa225a461844", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:42.623602688Z", "endTime": "2021-04-20T20:33:42.628299008Z", "durationInNanos": 4696320, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "4eaffcf10b0ddc1b"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "4eaffcf10b0ddc1b", "traceState": "", "parentSpanId": "5204fe33a94fc5e5", "name": "payment", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:42.495094784Z", "endTime": "2021-04-20T20:33:42.651653888Z", "durationInNanos": 156559104, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8084, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 59848, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/checkout", "span.attributes.http@host": "localhost:8084", "span.attributes.http@target": "/checkout", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "9645c99068238c29"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "9645c99068238c29", "traceState": "", "parentSpanId": "", "name": "client_checkout", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:42.492572416Z", "endTime": "2021-04-20T20:33:42.660122112Z", "durationInNanos": 167549696, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_checkout", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "080f360f30d5f04d"}} +{ "traceId": "c5eabf09201ab4df116e1881d0756035", "spanId": "080f360f30d5f04d", "traceState": "", "parentSpanId": "01b11afabc7fdc7f", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:43.411759104Z", "endTime": "2021-04-20T20:33:43.413591296Z", "durationInNanos": 1832192, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT ItemId, TotalQty FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "01b11afabc7fdc7f"}} +{ "traceId": "c5eabf09201ab4df116e1881d0756035", "spanId": "01b11afabc7fdc7f", "traceState": "", "parentSpanId": "54419fc75e901eee", "name": "cart_empty", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:43.391958528Z", "endTime": "2021-04-20T20:33:43.440197888Z", "durationInNanos": 48239360, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "54419fc75e901eee"}} +{ "traceId": "c5eabf09201ab4df116e1881d0756035", "spanId": "54419fc75e901eee", "traceState": "", "parentSpanId": "85fb245e31172689", "name": "cartEmpty", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:43.391038976Z", "endTime": "2021-04-20T20:33:43.443544064Z", "durationInNanos": 52505088, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "PUT", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58618, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/cart_empty", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/cart_empty", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "85fb245e31172689"}} +{ "traceId": "c5eabf09201ab4df116e1881d0756035", "spanId": "85fb245e31172689", "traceState": "", "parentSpanId": "a0bed7d434593b60", "name": "HTTP PUT", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:43.388828416Z", "endTime": "2021-04-20T20:33:43.448487936Z", "durationInNanos": 59659520, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/cart_empty", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "PUT", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "36695d818f9b4e9a"}} +{ "traceId": "c5eabf09201ab4df116e1881d0756035", "spanId": "36695d818f9b4e9a", "traceState": "", "parentSpanId": "5268497625ace4e0", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:43.387825664Z", "endTime": "2021-04-20T20:33:43.460932608Z", "durationInNanos": 73106944, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60994, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "2bacaf900ae368c7"}} +{ "traceId": "1ca5c1d52ca730f16872553cde6933c0", "spanId": "2bacaf900ae368c7", "traceState": "", "parentSpanId": "5d8912365e6688f3", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:43.845935616Z", "endTime": "2021-04-20T20:33:43.847112448Z", "durationInNanos": 1176832, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT ItemId, TotalQty FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "cf38f810fff59bb3"}} +{ "traceId": "1ca5c1d52ca730f16872553cde6933c0", "spanId": "cf38f810fff59bb3", "traceState": "", "parentSpanId": "5d8912365e6688f3", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:43.850872832Z", "endTime": "2021-04-20T20:33:43.871734272Z", "durationInNanos": 20861440, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "37628f7fdcf79dbb"}} +{ "traceId": "17af7b8dee49e8258b8b5ab82dd0235a", "spanId": "37628f7fdcf79dbb", "traceState": "", "parentSpanId": "cf2a67c23dc23bab", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:39.791471041Z", "endTime": "2021-04-20T20:33:39.792596934Z", "durationInNanos": 1125893, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-8", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "dd0a9b2bcbdcdbb6"}} +{ "traceId": "259a8226fae090c7dff75784fc8c7b17", "spanId": "dd0a9b2bcbdcdbb6", "traceState": "", "parentSpanId": "a981fd033e3a7491", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:41.248690371Z", "endTime": "2021-04-20T20:33:41.249957195Z", "durationInNanos": 1266824, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-4", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "3230880363166a80"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "3230880363166a80", "traceState": "", "parentSpanId": "f405f62e61d4181f", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:42.643464807Z", "endTime": "2021-04-20T20:33:42.644564500Z", "durationInNanos": 1099693, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-3", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 133, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "1fbcd1691508fa92"}} +{ "traceId": "56280de557e9fa891bb6289d2fd53c8d", "spanId": "1fbcd1691508fa92", "traceState": "", "parentSpanId": "c519a467435258a0", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:40.859001828Z", "endTime": "2021-04-20T20:33:40.860862299Z", "durationInNanos": 1860471, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-3", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 133, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57798, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "570073e77e68be9d"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "570073e77e68be9d", "traceState": "", "parentSpanId": "72fd9aa427e26550", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:44.185529088Z", "endTime": "2021-04-20T20:33:44.218529024Z", "durationInNanos": 32999936, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "2311bcf70d68331c"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "2311bcf70d68331c", "traceState": "", "parentSpanId": "c63088be2f211cf7", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:44.277222400Z", "endTime": "2021-04-20T20:33:44.312690432Z", "durationInNanos": 35468032, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58648, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "885e54cf2034b9f4"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "885e54cf2034b9f4", "traceState": "", "parentSpanId": "104a8f2719108aaf", "name": "update_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:44.181856512Z", "endTime": "2021-04-20T20:33:44.328167424Z", "durationInNanos": 146310912, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "104a8f2719108aaf"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "104a8f2719108aaf", "traceState": "", "parentSpanId": "c85e5dec4106a06a", "name": "update_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:44.181052672Z", "endTime": "2021-04-20T20:33:44.330511104Z", "durationInNanos": 149458432, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32782, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/update_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "504e26f11e5bb1ae"}} +{ "traceId": "c0ef65e0d991727dbe26a071fd10e407", "spanId": "504e26f11e5bb1ae", "traceState": "", "parentSpanId": "0ee38170cee8fb5c", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.594721792Z", "endTime": "2021-04-20T20:33:44.599331328Z", "durationInNanos": 4609536, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "93047965b18da903"}} +{ "traceId": "70a3f615a998b76cd973d87710572913", "spanId": "93047965b18da903", "traceState": "", "parentSpanId": "7359981596903c3f", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.966868736Z", "endTime": "2021-04-20T20:33:44.989101312Z", "durationInNanos": 22232576, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "9ca0bf86196899bc"}} +{ "traceId": "70a3f615a998b76cd973d87710572913", "spanId": "9ca0bf86196899bc", "traceState": "", "parentSpanId": "ead17a7f0d4e34ed", "name": "pay_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:44.943505664Z", "endTime": "2021-04-20T20:33:45.011987456Z", "durationInNanos": 68481792, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "92e84113ddc59da5"}} +{ "traceId": "02feb3a4f611abd81f2a53244d1278ae", "spanId": "92e84113ddc59da5", "traceState": "", "parentSpanId": "dcf70445f2a2cd40", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:45.654626048Z", "endTime": "2021-04-20T20:33:45.655334912Z", "durationInNanos": 708864, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': '3'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "dcf70445f2a2cd40"}} +{ "traceId": "02feb3a4f611abd81f2a53244d1278ae", "spanId": "dcf70445f2a2cd40", "traceState": "", "parentSpanId": "0c64ae315abfd656", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:45.634566144Z", "endTime": "2021-04-20T20:33:45.659138816Z", "durationInNanos": 24572672, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "0c64ae315abfd656"}} +{ "traceId": "02feb3a4f611abd81f2a53244d1278ae", "spanId": "0c64ae315abfd656", "traceState": "", "parentSpanId": "cf25277706dc2439", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:45.633674752Z", "endTime": "2021-04-20T20:33:45.662507776Z", "durationInNanos": 28833024, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58692, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "9bdbac7482af31f3"}} +{ "traceId": "02feb3a4f611abd81f2a53244d1278ae", "spanId": "9bdbac7482af31f3", "traceState": "", "parentSpanId": "ded3687b9758bf59", "name": "update_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:45.584570112Z", "endTime": "2021-04-20T20:33:45.719764480Z", "durationInNanos": 135194368, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32832, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/update_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "8e8e5e8bd88c11b5"}} +{ "traceId": "97551ce4600c334d4ab8fb8725ac1e67", "spanId": "8e8e5e8bd88c11b5", "traceState": "", "parentSpanId": "69af53e3494bca1c", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:45.943921408Z", "endTime": "2021-04-20T20:33:45.965064192Z", "durationInNanos": 21142784, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "69af53e3494bca1c"}} +{ "traceId": "97551ce4600c334d4ab8fb8725ac1e67", "spanId": "69af53e3494bca1c", "traceState": "", "parentSpanId": "3a025025e0a3b1fa", "name": "cart_empty", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:45.913632256Z", "endTime": "2021-04-20T20:33:45.968429568Z", "durationInNanos": 54797312, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "ea4bcbaf2a9a6fa3"}} +{ "traceId": "97551ce4600c334d4ab8fb8725ac1e67", "spanId": "ea4bcbaf2a9a6fa3", "traceState": "", "parentSpanId": "", "name": "client_cancel_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:45.907184128Z", "endTime": "2021-04-20T20:33:45.997188352Z", "durationInNanos": 90004224, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_cancel_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "5edd047783ce31e6"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "5edd047783ce31e6", "traceState": "", "parentSpanId": "9a880188bcb44cda", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:46.196210944Z", "endTime": "2021-04-20T20:33:46.228526592Z", "durationInNanos": 32315648, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "Not enough storage for itemId orange", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58722, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "6f7eafee7d68115c"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "6f7eafee7d68115c", "traceState": "", "parentSpanId": "203faf4d95696dc4", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:46.240107008Z", "endTime": "2021-04-20T20:33:46.267194368Z", "durationInNanos": 27087360, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "22b1d496a103d5d4"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "22b1d496a103d5d4", "traceState": "", "parentSpanId": "30652f6f8b511470", "name": "update_inventory", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:46.151774720Z", "endTime": "2021-04-20T20:33:46.278444288Z", "durationInNanos": 126669568, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "e270a32c23bb3d64"}} +{ "traceId": "ba5a69d5dfd1eaa4077451d452ba473b", "spanId": "e270a32c23bb3d64", "traceState": "", "parentSpanId": "b9eb99e7f12a273f", "name": "cart_empty", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:46.505004800Z", "endTime": "2021-04-20T20:33:46.555533056Z", "durationInNanos": 50528256, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "a3ff3a8683434406"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "a3ff3a8683434406", "traceState": "", "parentSpanId": "c78ae9d1aa24d379", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.821765888Z", "endTime": "2021-04-20T20:33:46.822455808Z", "durationInNanos": 689920, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': '1'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "63f9d7eb1b86d29a"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "63f9d7eb1b86d29a", "traceState": "", "parentSpanId": "43dc7bc2e05bfa0f", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:46.800928512Z", "endTime": "2021-04-20T20:33:46.835864064Z", "durationInNanos": 34935552, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58744, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "43dc7bc2e05bfa0f"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "43dc7bc2e05bfa0f", "traceState": "", "parentSpanId": "51c0b6f4525f8ce7", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.798465280Z", "endTime": "2021-04-20T20:33:46.840932096Z", "durationInNanos": 42466816, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "fddac8b6501344bf"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "fddac8b6501344bf", "traceState": "", "parentSpanId": "3b2b065511029f95", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.866892288Z", "endTime": "2021-04-20T20:33:46.867537408Z", "durationInNanos": 645120, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': '3'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "759ba13f98ab3fc6"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "759ba13f98ab3fc6", "traceState": "", "parentSpanId": "fa4a423fd5b1089d", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:46.846178304Z", "endTime": "2021-04-20T20:33:46.874823424Z", "durationInNanos": 28645120, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58748, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "fa4a423fd5b1089d"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "fa4a423fd5b1089d", "traceState": "", "parentSpanId": "51c0b6f4525f8ce7", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.843851264Z", "endTime": "2021-04-20T20:33:46.879571200Z", "durationInNanos": 35719936, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "f0aeb9700f457880"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "f0aeb9700f457880", "traceState": "", "parentSpanId": "51c0b6f4525f8ce7", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.882574848Z", "endTime": "2021-04-20T20:33:46.918776576Z", "durationInNanos": 36201728, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "51c0b6f4525f8ce7"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "51c0b6f4525f8ce7", "traceState": "", "parentSpanId": "46804b074d510e22", "name": "update_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:46.798070016Z", "endTime": "2021-04-20T20:33:46.929501952Z", "durationInNanos": 131431936, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "4fb9849a6b80b6f2"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "4fb9849a6b80b6f2", "traceState": "", "parentSpanId": "8d4b7a48cb7ee8e9", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:47.263351552Z", "endTime": "2021-04-20T20:33:47.264209664Z", "durationInNanos": 858112, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': 3}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "f78dbd14cda8862e"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "f78dbd14cda8862e", "traceState": "", "parentSpanId": "b974c6840493462f", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:47.230816768Z", "endTime": "2021-04-20T20:33:47.274358784Z", "durationInNanos": 43542016, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "Not enough storage for itemId orange", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58768, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "3e1ca23a1316a089"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "3e1ca23a1316a089", "traceState": "", "parentSpanId": "9995da51cebe7887", "name": "update_inventory", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:47.188528128Z", "endTime": "2021-04-20T20:33:47.323207424Z", "durationInNanos": 134679296, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "35a5641a51a07620"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "35a5641a51a07620", "traceState": "", "parentSpanId": "f707df9bafaf7974", "name": "payment", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:47.184227840Z", "endTime": "2021-04-20T20:33:47.335330816Z", "durationInNanos": 151102976, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8084, "span.attributes.http@status_text": "PARTIAL CONTENT", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60014, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/checkout", "span.attributes.http@host": "localhost:8084", "span.attributes.http@target": "/checkout", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "5b03c5aa49169de7"}} +{ "traceId": "e48a85b3dc34426059aa1347ea4171a5", "spanId": "5b03c5aa49169de7", "traceState": "", "parentSpanId": "153b191f5bba208f", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:47.480588800Z", "endTime": "2021-04-20T20:33:47.490298112Z", "durationInNanos": 9709312, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "SERVICE UNAVAILABLE", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32926, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 503 } +{ "index":{"_id": "a0333ab0c0fb425e"}} +{ "traceId": "16f5176887289baa94c27f12604b5163", "spanId": "a0333ab0c0fb425e", "traceState": "", "parentSpanId": "e36a01c310db6537", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:47.777365760Z", "endTime": "2021-04-20T20:33:47.806075648Z", "durationInNanos": 28709888, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58788, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e36a01c310db6537"}} +{ "traceId": "16f5176887289baa94c27f12604b5163", "spanId": "e36a01c310db6537", "traceState": "", "parentSpanId": "b7db1195f7777f37", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:47.775088640Z", "endTime": "2021-04-20T20:33:47.810972160Z", "durationInNanos": 35883520, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "246d5a128abc0323"}} +{ "traceId": "16f5176887289baa94c27f12604b5163", "spanId": "246d5a128abc0323", "traceState": "", "parentSpanId": "0adbc627a3ff01db", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:47.856003328Z", "endTime": "2021-04-20T20:33:47.880837376Z", "durationInNanos": 24834048, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "b7db1195f7777f37"}} +{ "traceId": "16f5176887289baa94c27f12604b5163", "spanId": "b7db1195f7777f37", "traceState": "", "parentSpanId": "48c5f132edd1dce1", "name": "update_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:47.774677248Z", "endTime": "2021-04-20T20:33:47.900943872Z", "durationInNanos": 126266624, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "8d13c5fb5cb910ab"}} +{ "traceId": "16f5176887289baa94c27f12604b5163", "spanId": "8d13c5fb5cb910ab", "traceState": "", "parentSpanId": "ebfe1ad9b112ca2a", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:47.771634688Z", "endTime": "2021-04-20T20:33:47.907790080Z", "durationInNanos": 136155392, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/update_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "36362df397ac500d"}} +{ "traceId": "2aa556a9a859155d7f578aacf259588f", "spanId": "36362df397ac500d", "traceState": "", "parentSpanId": "29749eb615c7cf76", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:48.093012480Z", "endTime": "2021-04-20T20:33:48.128655104Z", "durationInNanos": 35642624, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/get_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "29749eb615c7cf76"}} +{ "traceId": "2aa556a9a859155d7f578aacf259588f", "spanId": "29749eb615c7cf76", "traceState": "", "parentSpanId": "9a8427df12be8522", "name": "get_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:48.092771840Z", "endTime": "2021-04-20T20:33:48.138572032Z", "durationInNanos": 45800192, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "60b801fae48abf9b"}} +{ "traceId": "2aa556a9a859155d7f578aacf259588f", "spanId": "60b801fae48abf9b", "traceState": "", "parentSpanId": "3e916e70241c5f31", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:48.089861120Z", "endTime": "2021-04-20T20:33:48.145265920Z", "durationInNanos": 55404800, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/get_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "fc52a63dddb6c78e"}} +{ "traceId": "a7e35e333fe32a4fa0448bf258fff8e9", "spanId": "fc52a63dddb6c78e", "traceState": "", "parentSpanId": "a7ef8140aea6adc9", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:48.767165440Z", "endTime": "2021-04-20T20:33:48.771305728Z", "durationInNanos": 4140288, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "a7ef8140aea6adc9"}} +{ "traceId": "a7e35e333fe32a4fa0448bf258fff8e9", "spanId": "a7ef8140aea6adc9", "traceState": "", "parentSpanId": "f0839669f041b029", "name": "get_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:48.727941632Z", "endTime": "2021-04-20T20:33:48.774041600Z", "durationInNanos": 46099968, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "e038c5aba828ea58"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "e038c5aba828ea58", "traceState": "", "parentSpanId": "658da2faba59acd9", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.023798016Z", "endTime": "2021-04-20T20:33:49.024448256Z", "durationInNanos": 650240, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': '1'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "81de5d2c6aa0859e"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "81de5d2c6aa0859e", "traceState": "", "parentSpanId": "0c1e1c234af592e4", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:49.042136064Z", "endTime": "2021-04-20T20:33:49.071018496Z", "durationInNanos": 28882432, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58840, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e25b39ceacb30b75"}} +{ "traceId": "65e793c50b861f00c1534090639dd7c3", "spanId": "e25b39ceacb30b75", "traceState": "", "parentSpanId": "fec494ea1cd015e3", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:45.301444832Z", "endTime": "2021-04-20T20:33:45.302604111Z", "durationInNanos": 1159279, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-4", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "a1339d62f81ccd32"}} +{ "traceId": "02feb3a4f611abd81f2a53244d1278ae", "spanId": "a1339d62f81ccd32", "traceState": "", "parentSpanId": "2ac8b4cda3c0f1f9", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:45.711423559Z", "endTime": "2021-04-20T20:33:45.712615012Z", "durationInNanos": 1191453, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-6", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "fdbb1f2f7b488e87"}} +{ "traceId": "97551ce4600c334d4ab8fb8725ac1e67", "spanId": "fdbb1f2f7b488e87", "traceState": "", "parentSpanId": "75432a4e251c77c6", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:45.982518483Z", "endTime": "2021-04-20T20:33:45.983665774Z", "durationInNanos": 1147291, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-8", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "3ee4a8601f798b23"}} +{ "traceId": "ecfe3ff116a31b4c5ec107289b615ff3", "spanId": "3ee4a8601f798b23", "traceState": "", "parentSpanId": "74dbc2be658b50d8", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:48.456438616Z", "endTime": "2021-04-20T20:33:48.457460497Z", "durationInNanos": 1021881, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-10", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 140, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "552e8512fb52ccb5"}} +{ "traceId": "c0ef65e0d991727dbe26a071fd10e407", "spanId": "552e8512fb52ccb5", "traceState": "", "parentSpanId": "504e26f11e5bb1ae", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:44.596001537Z", "endTime": "2021-04-20T20:33:44.597771774Z", "durationInNanos": 1770237, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-10", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 140, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57902, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "11f0fc7fd6fc8ef7"}} +{ "traceId": "2aa556a9a859155d7f578aacf259588f", "spanId": "11f0fc7fd6fc8ef7", "traceState": "", "parentSpanId": "b45e32302ccd4555", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:48.133001853Z", "endTime": "2021-04-20T20:33:48.134747430Z", "durationInNanos": 1745577, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-8", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58050, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "6436b12426e22058"}} +{ "traceId": "a7e35e333fe32a4fa0448bf258fff8e9", "spanId": "6436b12426e22058", "traceState": "", "parentSpanId": "fc52a63dddb6c78e", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:48.769001550Z", "endTime": "2021-04-20T20:33:48.770509554Z", "durationInNanos": 1508004, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-3", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 133, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58070, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "be8803ab43db27ca"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "be8803ab43db27ca", "traceState": "", "parentSpanId": "1ca472e346ee563d", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:49.084217344Z", "endTime": "2021-04-20T20:33:49.111971584Z", "durationInNanos": 27754240, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "27d4fe07134ea308"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "27d4fe07134ea308", "traceState": "", "parentSpanId": "6de234553c12cdd0", "name": "update_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:48.999261952Z", "endTime": "2021-04-20T20:33:49.132644864Z", "durationInNanos": 133382912, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32980, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/update_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "7ab01768aa773b1c"}} +{ "traceId": "da0666d73c1645d392576e56619d8c6e", "spanId": "7ab01768aa773b1c", "traceState": "", "parentSpanId": "c7c175f4366ce130", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.318971392Z", "endTime": "2021-04-20T20:33:49.340009216Z", "durationInNanos": 21037824, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "1e69961f46e59586"}} +{ "traceId": "da0666d73c1645d392576e56619d8c6e", "spanId": "1e69961f46e59586", "traceState": "", "parentSpanId": "73d85e6251f927f6", "name": "cartEmpty", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:49.288094720Z", "endTime": "2021-04-20T20:33:49.346589952Z", "durationInNanos": 58495232, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "PUT", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58854, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/cart_empty", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/cart_empty", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "a4790e6461fa0d5d"}} +{ "traceId": "da0666d73c1645d392576e56619d8c6e", "spanId": "a4790e6461fa0d5d", "traceState": "", "parentSpanId": "8979ca2f03690516", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:49.284838912Z", "endTime": "2021-04-20T20:33:49.364374528Z", "durationInNanos": 79535616, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32998, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c4eb12c87b56bbaf"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "c4eb12c87b56bbaf", "traceState": "", "parentSpanId": "b7362733de8bfa9c", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:49.527205120Z", "endTime": "2021-04-20T20:33:49.551947008Z", "durationInNanos": 24741888, "serviceName": "database", "events": [ { "time": "2021-04-20T20:33:49.551908096Z", "name": "exception", "attributes": { "exception@message": "", "exception@type": "InvalidItemUpdate", "exception@stacktrace": """Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py", line 804, in use_span yield span File "databaseService.py", line 162, in updateItem raise InvalidItemUpdate("Not enough storage for itemId {}".format(data[ "ItemId" ])) InvalidItemUpdate """ }, "droppedAttributesCount": 0 } ], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "status.message": "InvalidItemUpdate: ", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 2, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "b7362733de8bfa9c"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "b7362733de8bfa9c", "traceState": "", "parentSpanId": "9be2ff98ca6d0261", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:49.526326272Z", "endTime": "2021-04-20T20:33:49.556307200Z", "durationInNanos": 29980928, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "Not enough storage for itemId banana", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58866, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "9be2ff98ca6d0261"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "9be2ff98ca6d0261", "traceState": "", "parentSpanId": "28991f1d3a174ce4", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.523984384Z", "endTime": "2021-04-20T20:33:49.561157120Z", "durationInNanos": 37172736, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "Not enough storage for itemId banana", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "bb41f245f32492e4"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "bb41f245f32492e4", "traceState": "", "parentSpanId": "6025c3c1f9ee5054", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.517226496Z", "endTime": "2021-04-20T20:33:49.661549056Z", "durationInNanos": 144322560, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8084/checkout", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "PARTIAL CONTENT", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "2c3fe2ecd7602e0b"}} +{ "traceId": "7a3182e62d533fa1e0617f21f5681a37", "spanId": "2c3fe2ecd7602e0b", "traceState": "", "parentSpanId": "ecc02e73350ce790", "name": "cartEmpty", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:49.850896896Z", "endTime": "2021-04-20T20:33:49.902683392Z", "durationInNanos": 51786496, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "PUT", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58882, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/cart_empty", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/cart_empty", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "3b0e8b5888901f7b"}} +{ "traceId": "7a3182e62d533fa1e0617f21f5681a37", "spanId": "3b0e8b5888901f7b", "traceState": "", "parentSpanId": "de9f1128bf12b7b9", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.910390784Z", "endTime": "2021-04-20T20:33:49.915180544Z", "durationInNanos": 4789760, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c6621138316a73b8"}} +{ "traceId": "247d610dcbd05da1c7902081b6bec1f6", "spanId": "c6621138316a73b8", "traceState": "", "parentSpanId": "6f5a1a55f4c950f0", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:50.221707008Z", "endTime": "2021-04-20T20:33:50.250929920Z", "durationInNanos": 29222912, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58900, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "6f5a1a55f4c950f0"}} +{ "traceId": "247d610dcbd05da1c7902081b6bec1f6", "spanId": "6f5a1a55f4c950f0", "traceState": "", "parentSpanId": "d18bdbb97967e206", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:50.219329024Z", "endTime": "2021-04-20T20:33:50.255876352Z", "durationInNanos": 36547328, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "d18bdbb97967e206"}} +{ "traceId": "247d610dcbd05da1c7902081b6bec1f6", "spanId": "d18bdbb97967e206", "traceState": "", "parentSpanId": "3b639def2d6ec40f", "name": "update_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:50.141257984Z", "endTime": "2021-04-20T20:33:50.267165184Z", "durationInNanos": 125907200, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "6a539e36635daed1"}} +{ "traceId": "eef4554373e188267b38928e2dabeab4", "spanId": "6a539e36635daed1", "traceState": "", "parentSpanId": "13bed71d66dcc038", "name": "getCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:50.480547328Z", "endTime": "2021-04-20T20:33:50.509742080Z", "durationInNanos": 29194752, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58912, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/get_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e282094546b98e61"}} +{ "traceId": "eef4554373e188267b38928e2dabeab4", "spanId": "e282094546b98e61", "traceState": "", "parentSpanId": "3a565f7129913c17", "name": "get_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:50.477368832Z", "endTime": "2021-04-20T20:33:50.527277568Z", "durationInNanos": 49908736, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 33056, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/get_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c80dc4c948d060d2"}} +{ "traceId": "20eabd650f3a068d9f590786f56885e7", "spanId": "c80dc4c948d060d2", "traceState": "", "parentSpanId": "7e0f8516534902ba", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:50.727715584Z", "endTime": "2021-04-20T20:33:50.764667904Z", "durationInNanos": 36952320, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e6af061aa53f5621"}} +{ "traceId": "20eabd650f3a068d9f590786f56885e7", "spanId": "e6af061aa53f5621", "traceState": "", "parentSpanId": "ecc0e3f8be5250dd", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:50.812071936Z", "endTime": "2021-04-20T20:33:50.836778496Z", "durationInNanos": 24706560, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "268c00835c4cc7ac"}} +{ "traceId": "20eabd650f3a068d9f590786f56885e7", "spanId": "268c00835c4cc7ac", "traceState": "", "parentSpanId": "7e0f8516534902ba", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:50.848304640Z", "endTime": "2021-04-20T20:33:50.852795392Z", "durationInNanos": 4490752, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "aaa75101bed92d1a"}} +{ "traceId": "c48260d3774d6c2d4ba77c9e813eadec", "spanId": "aaa75101bed92d1a", "traceState": "", "parentSpanId": "e9893407bba95bf0", "name": "getCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:51.138495232Z", "endTime": "2021-04-20T20:33:51.166544384Z", "durationInNanos": 28049152, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58940, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/get_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "bf2482df930950bb"}} +{ "traceId": "c48260d3774d6c2d4ba77c9e813eadec", "spanId": "bf2482df930950bb", "traceState": "", "parentSpanId": "0068b98ffc99f9ea", "name": "get_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:51.135342336Z", "endTime": "2021-04-20T20:33:51.183588864Z", "durationInNanos": 48246528, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 33084, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/get_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "93330439f7f89167"}} +{ "traceId": "7f63958e2172b12500e40eed557a31c7", "spanId": "93330439f7f89167", "traceState": "", "parentSpanId": "9b81a0201a53b84c", "name": "get_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:51.683300864Z", "endTime": "2021-04-20T20:33:51.708692992Z", "durationInNanos": 25392128, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "a9ed253bbf36e70e"}} +{ "traceId": "340a6c6f70a21d1bc8456dbbe5c79929", "spanId": "a9ed253bbf36e70e", "traceState": "", "parentSpanId": "a5a0c83096c8fa20", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.016589056Z", "endTime": "2021-04-20T20:33:52.017283328Z", "durationInNanos": 694272, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': '3'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "6576e80159aee6b8"}} +{ "traceId": "340a6c6f70a21d1bc8456dbbe5c79929", "spanId": "6576e80159aee6b8", "traceState": "", "parentSpanId": "71e8453fb0ed5faf", "name": "update_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:51.953919744Z", "endTime": "2021-04-20T20:33:52.078983680Z", "durationInNanos": 125063936, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "f8aedbcbab807a78"}} +{ "traceId": "261f4f9f6d49c04588ddfc0b22d167c6", "spanId": "f8aedbcbab807a78", "traceState": "", "parentSpanId": "ed7415d8c9c25969", "name": "clear_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.207869440Z", "endTime": "2021-04-20T20:33:52.278209280Z", "durationInNanos": 70339840, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "ed7415d8c9c25969"}} +{ "traceId": "261f4f9f6d49c04588ddfc0b22d167c6", "spanId": "ed7415d8c9c25969", "traceState": "", "parentSpanId": "0db04213ba31cb79", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:52.207073792Z", "endTime": "2021-04-20T20:33:52.280379136Z", "durationInNanos": 73305344, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 33132, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "702250f453a02be6"}} +{ "traceId": "5be8370207cbb002a165d369fbc57b57", "spanId": "702250f453a02be6", "traceState": "", "parentSpanId": "4acae5e4234f52f8", "name": "update_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.496930560Z", "endTime": "2021-04-20T20:33:52.623046656Z", "durationInNanos": 126116096, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "84584d9e50950ea5"}} +{ "traceId": "4216a647a4396e50fc12cc78d571557e", "spanId": "84584d9e50950ea5", "traceState": "", "parentSpanId": "d85ef60c6b05ea1e", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.815784192Z", "endTime": "2021-04-20T20:33:52.820143872Z", "durationInNanos": 4359680, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e0514a47c90c0ead"}} +{ "traceId": "4216a647a4396e50fc12cc78d571557e", "spanId": "e0514a47c90c0ead", "traceState": "", "parentSpanId": "d620278613ba1273", "name": "update_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:52.674479616Z", "endTime": "2021-04-20T20:33:52.825445632Z", "durationInNanos": 150966016, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 33160, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/update_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "dfd4cc33b9f49d74"}} +{ "traceId": "4216a647a4396e50fc12cc78d571557e", "spanId": "dfd4cc33b9f49d74", "traceState": "", "parentSpanId": "", "name": "client_create_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.672014080Z", "endTime": "2021-04-20T20:33:52.833018624Z", "durationInNanos": 161004544, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_create_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "84e395f144998c01"}} +{ "traceId": "e447ed617aa651a7593c720d7e976625", "spanId": "84e395f144998c01", "traceState": "", "parentSpanId": "b6b76ad0ea7a18e0", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.949800192Z", "endTime": "2021-04-20T20:33:52.951031040Z", "durationInNanos": 1230848, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT ItemId, TotalQty FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "7e35a93ae1f1d3dc"}} +{ "traceId": "e447ed617aa651a7593c720d7e976625", "spanId": "7e35a93ae1f1d3dc", "traceState": "", "parentSpanId": "a77612b8a846894a", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:52.926126336Z", "endTime": "2021-04-20T20:33:53.003924224Z", "durationInNanos": 77797888, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 33178, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "a77612b8a846894a"}} +{ "traceId": "e447ed617aa651a7593c720d7e976625", "spanId": "a77612b8a846894a", "traceState": "", "parentSpanId": "36bf8ffe6bfab949", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.923979776Z", "endTime": "2021-04-20T20:33:53.008655360Z", "durationInNanos": 84675584, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/clear_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "36bf8ffe6bfab949"}} +{ "traceId": "e447ed617aa651a7593c720d7e976625", "spanId": "36bf8ffe6bfab949", "traceState": "", "parentSpanId": "", "name": "client_cancel_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.923733504Z", "endTime": "2021-04-20T20:33:53.011512832Z", "durationInNanos": 87779328, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_cancel_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "057ca06095200357"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "057ca06095200357", "traceState": "", "parentSpanId": "ab2cfda3f66cd29a", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:53.258444032Z", "endTime": "2021-04-20T20:33:53.288954112Z", "durationInNanos": 30510080, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "Not enough storage for itemId orange", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 59050, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "66a2144a58008463"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "66a2144a58008463", "traceState": "", "parentSpanId": "79e7e8f4a6b9cfd6", "name": "checkout", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:53.211445504Z", "endTime": "2021-04-20T20:33:53.348402432Z", "durationInNanos": 136956928, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "7c1551bf8ecff1e9"}} +{ "traceId": "d5bc99166e521eec173bcb7f9b0d3c43", "spanId": "7c1551bf8ecff1e9", "traceState": "", "parentSpanId": "1baf1e42d2eaae2a", "name": "cartEmpty", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:53.432177920Z", "endTime": "2021-04-20T20:33:53.488074240Z", "durationInNanos": 55896320, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "PUT", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 59064, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/cart_empty", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/cart_empty", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "d074c89b98685510"}} +{ "traceId": "7a3182e62d533fa1e0617f21f5681a37", "spanId": "d074c89b98685510", "traceState": "", "parentSpanId": "7b337ab41060959b", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:49.912560857Z", "endTime": "2021-04-20T20:33:49.913841981Z", "durationInNanos": 1281124, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-8", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "8d1a3be816dc5afe"}} +{ "traceId": "340a6c6f70a21d1bc8456dbbe5c79929", "spanId": "8d1a3be816dc5afe", "traceState": "", "parentSpanId": "391c448e02ace429", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.073446568Z", "endTime": "2021-04-20T20:33:52.074477704Z", "durationInNanos": 1031136, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-3", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 133, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "92b74f59ddd54783"}} +{ "traceId": "588f0d3438674277899b1f0bf2f2ebf2", "spanId": "92b74f59ddd54783", "traceState": "", "parentSpanId": "", "name": "mysql", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:15.007993856Z", "endTime": "2021-04-20T20:33:15.024957696Z", "durationInNanos": 16963840, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "mysql", "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "", "span.attributes.db@statement": "CREATE TABLE `User_Carts` ( `ItemId` varchar(16) NOT NULL, `TotalQty` int(11) NOT NULL, PRIMARY KEY (`ItemId`)) ENGINE=InnoDB", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "25af21b469c032b3"}} +{ "traceId": "64398afff83d4ce40feb342b493d03cf", "spanId": "25af21b469c032b3", "traceState": "", "parentSpanId": "", "name": "HTTP GET", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:17.441215232Z", "endTime": "2021-04-20T20:33:17.444359680Z", "durationInNanos": 3144448, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "HTTP GET", "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8082, "span.attributes.http@status_text": "NOT FOUND", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "curl/7.61.1", "span.attributes.net@peer@port": 47996, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@host": "localhost:8082", "span.attributes.http@target": "/", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 404 } +{ "index":{"_id": "6c89443d5e23abf3"}} +{ "traceId": "df5948afbb8aa0bdd587a5b81d7589da", "spanId": "6c89443d5e23abf3", "traceState": "", "parentSpanId": "c9ffe4c0af278e39", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:28.392941824Z", "endTime": "2021-04-20T20:33:28.467089152Z", "durationInNanos": 74147328, "serviceName": "authentication", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139949516139040", "resource.attributes.service@name": "authentication", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "96e7fdedd82ab53c"}} +{ "traceId": "d37d709d5695f213e4ca41ac874c00bc", "spanId": "96e7fdedd82ab53c", "traceState": "", "parentSpanId": "2c122c9d8977d38d", "name": "verify_login", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:32.542609152Z", "endTime": "2021-04-20T20:33:32.542644224Z", "durationInNanos": 35072, "serviceName": "authentication", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139949516139040", "resource.attributes.service@name": "authentication", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "71869e6acbd9b84e"}} +{ "traceId": "d37d709d5695f213e4ca41ac874c00bc", "spanId": "71869e6acbd9b84e", "traceState": "", "parentSpanId": "6921db03f367dc79", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:32.548511744Z", "endTime": "2021-04-20T20:33:32.614019584Z", "durationInNanos": 65507840, "serviceName": "recommendation", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8082/read_inventory", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140018306314192", "resource.attributes.service@name": "recommendation", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "39d9f21d9865f9e6"}} +{ "traceId": "d37d709d5695f213e4ca41ac874c00bc", "spanId": "39d9f21d9865f9e6", "traceState": "", "parentSpanId": "", "name": "load_main_screen", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:32.538752Z", "endTime": "2021-04-20T20:33:32.652837376Z", "durationInNanos": 114085376, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "load_main_screen", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "2a1b45c16eaad09c"}} +{ "traceId": "a80cb852f0c27762cfa923836bc5fe88", "spanId": "2a1b45c16eaad09c", "traceState": "", "parentSpanId": "9ba40f97c2ae86a7", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:33.447434240Z", "endTime": "2021-04-20T20:33:33.454592512Z", "durationInNanos": 7158272, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "9ba40f97c2ae86a7"}} +{ "traceId": "a80cb852f0c27762cfa923836bc5fe88", "spanId": "9ba40f97c2ae86a7", "traceState": "", "parentSpanId": "daf5a14650228970", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:33.446325504Z", "endTime": "2021-04-20T20:33:33.457898240Z", "durationInNanos": 11572736, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "SERVICE UNAVAILABLE", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60706, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 503 } +{ "index":{"_id": "84fe46385d17b02c"}} +{ "traceId": "d37d709d5695f213e4ca41ac874c00bc", "spanId": "84fe46385d17b02c", "traceState": "", "parentSpanId": "e1bc8cfc3ceb0aaf", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:32.601002072Z", "endTime": "2021-04-20T20:33:32.603410081Z", "durationInNanos": 2408009, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-6", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57560, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "2a5ae161952463e2"}} +{ "traceId": "d37d709d5695f213e4ca41ac874c00bc", "spanId": "2a5ae161952463e2", "traceState": "", "parentSpanId": "ff013ccfd9d58cec", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:32.638002124Z", "endTime": "2021-04-20T20:33:32.640473313Z", "durationInNanos": 2471189, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-10", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 140, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57564, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "d4255abf68ac0402"}} +{ "traceId": "509da2ddfc1a3d9fc88ed4b62f3cd079", "spanId": "d4255abf68ac0402", "traceState": "", "parentSpanId": "31a0c82890fa754b", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:34.222288128Z", "endTime": "2021-04-20T20:33:34.254911488Z", "durationInNanos": 32623360, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "be5b2f7a197c64cf"}} +{ "traceId": "509da2ddfc1a3d9fc88ed4b62f3cd079", "spanId": "be5b2f7a197c64cf", "traceState": "", "parentSpanId": "97aa186489e038e0", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:34.219140864Z", "endTime": "2021-04-20T20:33:34.263220992Z", "durationInNanos": 44080128, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e46a02e7b9ed8ecf"}} +{ "traceId": "509da2ddfc1a3d9fc88ed4b62f3cd079", "spanId": "e46a02e7b9ed8ecf", "traceState": "", "parentSpanId": "c17b37664943c0a0", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:34.269251584Z", "endTime": "2021-04-20T20:33:34.300863232Z", "durationInNanos": 31611648, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "c17b37664943c0a0"}} +{ "traceId": "509da2ddfc1a3d9fc88ed4b62f3cd079", "spanId": "c17b37664943c0a0", "traceState": "", "parentSpanId": "e5fd4823e84df1a0", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:34.268306688Z", "endTime": "2021-04-20T20:33:34.304210944Z", "durationInNanos": 35904256, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58340, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "55d7f80c6aff4ec7"}} +{ "traceId": "509da2ddfc1a3d9fc88ed4b62f3cd079", "spanId": "55d7f80c6aff4ec7", "traceState": "", "parentSpanId": "97aa186489e038e0", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:34.312219392Z", "endTime": "2021-04-20T20:33:34.354283520Z", "durationInNanos": 42064128, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c0cb4dc5b7b1db59"}} +{ "traceId": "9cc5c0acce9b9acc05b1c8d082709609", "spanId": "c0cb4dc5b7b1db59", "traceState": "", "parentSpanId": "16d6fb920c980921", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:35.231047680Z", "endTime": "2021-04-20T20:33:35.236322816Z", "durationInNanos": 5275136, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "6f3b8af3574d67d8"}} +{ "traceId": "7df67f7205abe19319bad85babb04ca9", "spanId": "6f3b8af3574d67d8", "traceState": "", "parentSpanId": "d7d09b29635c42d0", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:35.667787520Z", "endTime": "2021-04-20T20:33:35.699713792Z", "durationInNanos": 31926272, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "1cfde34b0e64708d"}} +{ "traceId": "7df67f7205abe19319bad85babb04ca9", "spanId": "1cfde34b0e64708d", "traceState": "", "parentSpanId": "16a087ca75a1c1ae", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:35.714154496Z", "endTime": "2021-04-20T20:33:35.744516352Z", "durationInNanos": 30361856, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "c607c3f259c8a65b"}} +{ "traceId": "7df67f7205abe19319bad85babb04ca9", "spanId": "c607c3f259c8a65b", "traceState": "", "parentSpanId": "bb9e8ac613f9c314", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:35.778753792Z", "endTime": "2021-04-20T20:33:35.779580160Z", "durationInNanos": 826368, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': '2'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "bb9e8ac613f9c314"}} +{ "traceId": "7df67f7205abe19319bad85babb04ca9", "spanId": "bb9e8ac613f9c314", "traceState": "", "parentSpanId": "f756b2ab52d63952", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:35.758739968Z", "endTime": "2021-04-20T20:33:35.789022208Z", "durationInNanos": 30282240, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "f19d16050494663f"}} +{ "traceId": "7df67f7205abe19319bad85babb04ca9", "spanId": "f19d16050494663f", "traceState": "", "parentSpanId": "7d7dc4421190f8f1", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:35.755664896Z", "endTime": "2021-04-20T20:33:35.797313792Z", "durationInNanos": 41648896, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "4d9ad162398612ca"}} +{ "traceId": "19b592faebd7e10a4824b919bcd3bd89", "spanId": "4d9ad162398612ca", "traceState": "", "parentSpanId": "db173bc10299861f", "name": "HTTP PUT", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.071021056Z", "endTime": "2021-04-20T20:33:36.151107328Z", "durationInNanos": 80086272, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/cart_empty", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "PUT", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "de9f05334009f30f"}} +{ "traceId": "19b592faebd7e10a4824b919bcd3bd89", "spanId": "de9f05334009f30f", "traceState": "", "parentSpanId": "9e8cf0411a1b61f8", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:36.069997312Z", "endTime": "2021-04-20T20:33:36.166950656Z", "durationInNanos": 96953344, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60770, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "7aa2821664832544"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "7aa2821664832544", "traceState": "", "parentSpanId": "bb004c0fd4fe0458", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.512588032Z", "endTime": "2021-04-20T20:33:36.513520384Z", "durationInNanos": 932352, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': 2}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "b515153fd36d853a"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "b515153fd36d853a", "traceState": "", "parentSpanId": "b5eb104616d427e5", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.489266944Z", "endTime": "2021-04-20T20:33:36.528014080Z", "durationInNanos": 38747136, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "41b5cf2346593387"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "41b5cf2346593387", "traceState": "", "parentSpanId": "9835a28e768c1334", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:36.533314304Z", "endTime": "2021-04-20T20:33:36.564330496Z", "durationInNanos": 31016192, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58410, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "937fb8345b252adb"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "937fb8345b252adb", "traceState": "", "parentSpanId": "b5eb104616d427e5", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:36.614607616Z", "endTime": "2021-04-20T20:33:36.620131584Z", "durationInNanos": 5523968, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "b5eb104616d427e5"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "b5eb104616d427e5", "traceState": "", "parentSpanId": "702b587891032394", "name": "update_inventory", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:36.488680960Z", "endTime": "2021-04-20T20:33:36.622967040Z", "durationInNanos": 134286080, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "702b587891032394"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "702b587891032394", "traceState": "", "parentSpanId": "375cb3ef27c46997", "name": "update_inventory", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:36.487866112Z", "endTime": "2021-04-20T20:33:36.625204992Z", "durationInNanos": 137338880, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8082, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 48158, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_inventory", "span.attributes.http@host": "localhost:8082", "span.attributes.http@target": "/update_inventory", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "d3911d8b057539bb"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "d3911d8b057539bb", "traceState": "", "parentSpanId": "", "name": "client_checkout", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:36.481575424Z", "endTime": "2021-04-20T20:33:36.650631936Z", "durationInNanos": 169056512, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_checkout", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "e71642d4deaf046a"}} +{ "traceId": "ec830c13f81efb5082f6e40b4dedce71", "spanId": "e71642d4deaf046a", "traceState": "", "parentSpanId": "3d1fe27819634f95", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:37.024145664Z", "endTime": "2021-04-20T20:33:37.047470592Z", "durationInNanos": 23324928, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "c978b33c59a54196"}} +{ "traceId": "ec830c13f81efb5082f6e40b4dedce71", "spanId": "c978b33c59a54196", "traceState": "", "parentSpanId": "a7fcdbe2bf6d6d75", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:37.062592256Z", "endTime": "2021-04-20T20:33:37.067854080Z", "durationInNanos": 5261824, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "a00565be802b54b4"}} +{ "traceId": "1730cc8687cb4b504cd934560111d5a1", "spanId": "a00565be802b54b4", "traceState": "", "parentSpanId": "dfbc0ecddf9324b7", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:37.480550912Z", "endTime": "2021-04-20T20:33:37.481288960Z", "durationInNanos": 738048, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': '3'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "67e273104da42d94"}} +{ "traceId": "1730cc8687cb4b504cd934560111d5a1", "spanId": "67e273104da42d94", "traceState": "", "parentSpanId": "e1f71dfda83b894c", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:37.527881984Z", "endTime": "2021-04-20T20:33:37.528583168Z", "durationInNanos": 701184, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': '2'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "INSERT INTO User_Carts (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "965c5d8b0b6276c0"}} +{ "traceId": "1730cc8687cb4b504cd934560111d5a1", "spanId": "965c5d8b0b6276c0", "traceState": "", "parentSpanId": "67a615bb3d2aef86", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:37.500228096Z", "endTime": "2021-04-20T20:33:37.541810176Z", "durationInNanos": 41582080, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "6bf6fc5237230c42"}} +{ "traceId": "1730cc8687cb4b504cd934560111d5a1", "spanId": "6bf6fc5237230c42", "traceState": "", "parentSpanId": "1eda1c86b53778f8", "name": "update_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:37.404817152Z", "endTime": "2021-04-20T20:33:37.554722304Z", "durationInNanos": 149905152, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60812, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/update_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "91921c51d51c884f"}} +{ "traceId": "c9f83a98e8f1826c3a822eeb7b85a9d6", "spanId": "91921c51d51c884f", "traceState": "", "parentSpanId": "fa65816f2428a950", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:37.806868480Z", "endTime": "2021-04-20T20:33:37.807457792Z", "durationInNanos": 589312, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT ItemId, TotalQty FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "8aa7fc60f5c7d6b9"}} +{ "traceId": "c9f83a98e8f1826c3a822eeb7b85a9d6", "spanId": "8aa7fc60f5c7d6b9", "traceState": "", "parentSpanId": "fa65816f2428a950", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:37.810970624Z", "endTime": "2021-04-20T20:33:37.811611392Z", "durationInNanos": 640768, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': 1}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "INSERT INTO Inventory_Items (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "6e1dcac7d59fac91"}} +{ "traceId": "c9f83a98e8f1826c3a822eeb7b85a9d6", "spanId": "6e1dcac7d59fac91", "traceState": "", "parentSpanId": "fa65816f2428a950", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:37.823713280Z", "endTime": "2021-04-20T20:33:37.843032832Z", "durationInNanos": 19319552, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "921202e7eca9c5be"}} +{ "traceId": "c9f83a98e8f1826c3a822eeb7b85a9d6", "spanId": "921202e7eca9c5be", "traceState": "", "parentSpanId": "3b8fd25db26f6336", "name": "HTTP PUT", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:37.784199936Z", "endTime": "2021-04-20T20:33:37.854919424Z", "durationInNanos": 70719488, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/cart_empty", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "PUT", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "d65f4119e3d35c6f"}} +{ "traceId": "22bdfd493901782340e7eea9e077acb9", "spanId": "d65f4119e3d35c6f", "traceState": "", "parentSpanId": "b8440d5b592650f2", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:38.157860352Z", "endTime": "2021-04-20T20:33:38.185885952Z", "durationInNanos": 28025600, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "1b26c8058d3cd7b6"}} +{ "traceId": "22bdfd493901782340e7eea9e077acb9", "spanId": "1b26c8058d3cd7b6", "traceState": "", "parentSpanId": "2fa45786a2e85af4", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:38.238149632Z", "endTime": "2021-04-20T20:33:38.277396480Z", "durationInNanos": 39246848, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "952b9f3e06ee5533"}} +{ "traceId": "22bdfd493901782340e7eea9e077acb9", "spanId": "952b9f3e06ee5533", "traceState": "", "parentSpanId": "45ff7de69dace1d6", "name": "update_inventory", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:38.153484288Z", "endTime": "2021-04-20T20:33:38.292515584Z", "durationInNanos": 139031296, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8082, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 48218, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_inventory", "span.attributes.http@host": "localhost:8082", "span.attributes.http@target": "/update_inventory", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "45ff7de69dace1d6"}} +{ "traceId": "22bdfd493901782340e7eea9e077acb9", "spanId": "45ff7de69dace1d6", "traceState": "", "parentSpanId": "67c3240b15bfc41a", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:38.151339520Z", "endTime": "2021-04-20T20:33:38.297237504Z", "durationInNanos": 145897984, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8082/update_inventory", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "03699d100410017f"}} +{ "traceId": "82c7cf3d3540450a3acc00c41b7a9562", "spanId": "03699d100410017f", "traceState": "", "parentSpanId": "e65cbb55e80306bb", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:38.578456320Z", "endTime": "2021-04-20T20:33:38.605642496Z", "durationInNanos": 27186176, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "7d1c23fc87c00b35"}} +{ "traceId": "82c7cf3d3540450a3acc00c41b7a9562", "spanId": "7d1c23fc87c00b35", "traceState": "", "parentSpanId": "d3449d96433ef65b", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:38.641069568Z", "endTime": "2021-04-20T20:33:38.641892096Z", "durationInNanos": 822528, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': 3}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "07b4d48cb660e9cc"}} +{ "traceId": "82c7cf3d3540450a3acc00c41b7a9562", "spanId": "07b4d48cb660e9cc", "traceState": "", "parentSpanId": "bde992160f31f631", "name": "payment", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:38.556106240Z", "endTime": "2021-04-20T20:33:38.737072384Z", "durationInNanos": 180966144, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8084, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 59740, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/checkout", "span.attributes.http@host": "localhost:8084", "span.attributes.http@target": "/checkout", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "9aa1509f5e191508"}} +{ "traceId": "509da2ddfc1a3d9fc88ed4b62f3cd079", "spanId": "9aa1509f5e191508", "traceState": "", "parentSpanId": "7b78d2bea411b2fe", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:34.359700428Z", "endTime": "2021-04-20T20:33:34.361556108Z", "durationInNanos": 1855680, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-4", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "e1dfd31ab1a2b193"}} +{ "traceId": "c17023ed734d4daa5f97bb7972f0c935", "spanId": "e1dfd31ab1a2b193", "traceState": "", "parentSpanId": "7145d5e8e15acfb7", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:34.745707353Z", "endTime": "2021-04-20T20:33:34.747566050Z", "durationInNanos": 1858697, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-6", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "2751e720b71a60a4"}} +{ "traceId": "1730cc8687cb4b504cd934560111d5a1", "spanId": "2751e720b71a60a4", "traceState": "", "parentSpanId": "31f5aad7d2ea1fcb", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:37.547512262Z", "endTime": "2021-04-20T20:33:37.548630086Z", "durationInNanos": 1117824, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-10", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 140, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "4b7e5e41b0e7fd04"}} +{ "traceId": "7df67f7205abe19319bad85babb04ca9", "spanId": "4b7e5e41b0e7fd04", "traceState": "", "parentSpanId": "d11da5c9c394bde8", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:35.802002385Z", "endTime": "2021-04-20T20:33:35.804283108Z", "durationInNanos": 2280723, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-10", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 140, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57628, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "74e54ea9fdbf735f"}} +{ "traceId": "cb077f0c195ce825befded0fb71c76f1", "spanId": "74e54ea9fdbf735f", "traceState": "", "parentSpanId": "900fb4b6271869ab", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:36.635002138Z", "endTime": "2021-04-20T20:33:36.637319816Z", "durationInNanos": 2317678, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-6", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57660, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "75b7e359c49acf55"}} +{ "traceId": "82c7cf3d3540450a3acc00c41b7a9562", "spanId": "75b7e359c49acf55", "traceState": "", "parentSpanId": "02d508caf899367c", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:38.562002009Z", "endTime": "2021-04-20T20:33:38.563741689Z", "durationInNanos": 1739680, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-8", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57730, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "e1300ec1802ecc3c"}} +{ "traceId": "b23c2f42f054fd2e3bd6602318e609ed", "spanId": "e1300ec1802ecc3c", "traceState": "", "parentSpanId": "913de07418b7eed7", "name": "cart_empty", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:38.931558144Z", "endTime": "2021-04-20T20:33:38.984496640Z", "durationInNanos": 52938496, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "8c03b29267586319"}} +{ "traceId": "b23c2f42f054fd2e3bd6602318e609ed", "spanId": "8c03b29267586319", "traceState": "", "parentSpanId": "a03543bce133747e", "name": "clear_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:38.927511808Z", "endTime": "2021-04-20T20:33:39.006228736Z", "durationInNanos": 78716928, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "f5fe5f65731875d1"}} +{ "traceId": "a371f923b4967cb722e563725cc2a91d", "spanId": "f5fe5f65731875d1", "traceState": "", "parentSpanId": "3ed24d73086e3a5c", "name": "cartSold", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:39.432419840Z", "endTime": "2021-04-20T20:33:39.482711808Z", "durationInNanos": 50291968, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58524, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/cart_sold", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/cart_sold", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "3ed24d73086e3a5c"}} +{ "traceId": "a371f923b4967cb722e563725cc2a91d", "spanId": "3ed24d73086e3a5c", "traceState": "", "parentSpanId": "e2ca5dbb18427bbc", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:39.430222336Z", "endTime": "2021-04-20T20:33:39.487606272Z", "durationInNanos": 57383936, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/cart_sold", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "8eafdbb08ef33fac"}} +{ "traceId": "17af7b8dee49e8258b8b5ab82dd0235a", "spanId": "8eafdbb08ef33fac", "traceState": "", "parentSpanId": "f69d6486408d5ceb", "name": "get_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:39.753607936Z", "endTime": "2021-04-20T20:33:39.778727168Z", "durationInNanos": 25119232, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "6f9b9156dc914a59"}} +{ "traceId": "10b1ec1196741c85609a43ce435cdece", "spanId": "6f9b9156dc914a59", "traceState": "", "parentSpanId": "027e1f4686076d5e", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:40.251508736Z", "endTime": "2021-04-20T20:33:40.252164096Z", "durationInNanos": 655360, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT ItemId, TotalQty FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "7052b8e18f95d355"}} +{ "traceId": "10b1ec1196741c85609a43ce435cdece", "spanId": "7052b8e18f95d355", "traceState": "", "parentSpanId": "669d2b7892e6854c", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:40.291585280Z", "endTime": "2021-04-20T20:33:40.296150784Z", "durationInNanos": 4565504, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "9253cd2f27e55a6f"}} +{ "traceId": "10b1ec1196741c85609a43ce435cdece", "spanId": "9253cd2f27e55a6f", "traceState": "", "parentSpanId": "517b250c6b019d50", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:40.227543040Z", "endTime": "2021-04-20T20:33:40.301341184Z", "durationInNanos": 73798144, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60920, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "517b250c6b019d50"}} +{ "traceId": "10b1ec1196741c85609a43ce435cdece", "spanId": "517b250c6b019d50", "traceState": "", "parentSpanId": "883dff4473fb6cb2", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:40.225460992Z", "endTime": "2021-04-20T20:33:40.305951232Z", "durationInNanos": 80490240, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/clear_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "883dff4473fb6cb2"}} +{ "traceId": "10b1ec1196741c85609a43ce435cdece", "spanId": "883dff4473fb6cb2", "traceState": "", "parentSpanId": "", "name": "client_cancel_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:40.225210368Z", "endTime": "2021-04-20T20:33:40.308697600Z", "durationInNanos": 83487232, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_cancel_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "1bf5449206413fa6"}} +{ "traceId": "56280de557e9fa891bb6289d2fd53c8d", "spanId": "1bf5449206413fa6", "traceState": "", "parentSpanId": "8ac46543c6308b05", "name": "pay_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:40.794464Z", "endTime": "2021-04-20T20:33:40.866789376Z", "durationInNanos": 72325376, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60930, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/pay_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/pay_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "a4ba523cda11d1d3"}} +{ "traceId": "259a8226fae090c7dff75784fc8c7b17", "spanId": "a4ba523cda11d1d3", "traceState": "", "parentSpanId": "d10b1e24cdce1630", "name": "pay_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:41.182262528Z", "endTime": "2021-04-20T20:33:41.253643520Z", "durationInNanos": 71380992, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "1c5f7bbfcfc2fd9c"}} +{ "traceId": "259a8226fae090c7dff75784fc8c7b17", "spanId": "1c5f7bbfcfc2fd9c", "traceState": "", "parentSpanId": "", "name": "client_pay_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:41.179067136Z", "endTime": "2021-04-20T20:33:41.262793216Z", "durationInNanos": 83726080, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_pay_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "83033b37b8934e4d"}} +{ "traceId": "5bf7f62e1215df5526664ec45dd9ad63", "spanId": "83033b37b8934e4d", "traceState": "", "parentSpanId": "74ac44c4e08e204b", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:41.646461440Z", "endTime": "2021-04-20T20:33:41.647615744Z", "durationInNanos": 1154304, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT * FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "6b60bf20aca25776"}} +{ "traceId": "5bf7f62e1215df5526664ec45dd9ad63", "spanId": "6b60bf20aca25776", "traceState": "", "parentSpanId": "7b17041367225c99", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:41.623079680Z", "endTime": "2021-04-20T20:33:41.659422720Z", "durationInNanos": 36343040, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/get_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "b88a8903d68855ac"}} +{ "traceId": "5bf7f62e1215df5526664ec45dd9ad63", "spanId": "b88a8903d68855ac", "traceState": "", "parentSpanId": "7b17041367225c99", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:41.662379264Z", "endTime": "2021-04-20T20:33:41.667096576Z", "durationInNanos": 4717312, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "7b17041367225c99"}} +{ "traceId": "5bf7f62e1215df5526664ec45dd9ad63", "spanId": "7b17041367225c99", "traceState": "", "parentSpanId": "1abf21fef72f18ff", "name": "get_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:41.622877440Z", "endTime": "2021-04-20T20:33:41.669995776Z", "durationInNanos": 47118336, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "1e0ea651a120db7b"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "1e0ea651a120db7b", "traceState": "", "parentSpanId": "46c91104e47a2a43", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:42.501964032Z", "endTime": "2021-04-20T20:33:42.533108224Z", "durationInNanos": 31144192, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58598, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "46c91104e47a2a43"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "46c91104e47a2a43", "traceState": "", "parentSpanId": "0791aa225a461844", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:42.499654144Z", "endTime": "2021-04-20T20:33:42.538212352Z", "durationInNanos": 38558208, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "b1622ef608acbe07"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "b1622ef608acbe07", "traceState": "", "parentSpanId": "0c5d67b81c5daaa1", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:42.564037120Z", "endTime": "2021-04-20T20:33:42.564826880Z", "durationInNanos": 789760, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': 3}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "48ab22a6aa9ead3d"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "48ab22a6aa9ead3d", "traceState": "", "parentSpanId": "0791aa225a461844", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:42.581447424Z", "endTime": "2021-04-20T20:33:42.620536064Z", "durationInNanos": 39088640, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "0791aa225a461844"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "0791aa225a461844", "traceState": "", "parentSpanId": "dd10a56f977e819c", "name": "update_inventory", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:42.499253760Z", "endTime": "2021-04-20T20:33:42.631327232Z", "durationInNanos": 132073472, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "dd10a56f977e819c"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "dd10a56f977e819c", "traceState": "", "parentSpanId": "868f60191f3524c9", "name": "update_inventory", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:42.498470144Z", "endTime": "2021-04-20T20:33:42.633447680Z", "durationInNanos": 134977536, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8082, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 48350, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_inventory", "span.attributes.http@host": "localhost:8082", "span.attributes.http@target": "/update_inventory", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "3121ff83a994e9da"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "3121ff83a994e9da", "traceState": "", "parentSpanId": "007459ff1ddd5dfb", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:42.640867584Z", "endTime": "2021-04-20T20:33:42.645658112Z", "durationInNanos": 4790528, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "007459ff1ddd5dfb"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "007459ff1ddd5dfb", "traceState": "", "parentSpanId": "4eaffcf10b0ddc1b", "name": "checkout", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:42.495881472Z", "endTime": "2021-04-20T20:33:42.649110784Z", "durationInNanos": 153229312, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "11538c0100bd4160"}} +{ "traceId": "c5eabf09201ab4df116e1881d0756035", "spanId": "11538c0100bd4160", "traceState": "", "parentSpanId": "a0bed7d434593b60", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:43.451381504Z", "endTime": "2021-04-20T20:33:43.455993600Z", "durationInNanos": 4612096, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "a0bed7d434593b60"}} +{ "traceId": "c5eabf09201ab4df116e1881d0756035", "spanId": "a0bed7d434593b60", "traceState": "", "parentSpanId": "36695d818f9b4e9a", "name": "clear_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:43.388621312Z", "endTime": "2021-04-20T20:33:43.458705664Z", "durationInNanos": 70084352, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "5268497625ace4e0"}} +{ "traceId": "c5eabf09201ab4df116e1881d0756035", "spanId": "5268497625ace4e0", "traceState": "", "parentSpanId": "5e7bc4f9aae01a8f", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:43.385700864Z", "endTime": "2021-04-20T20:33:43.466258432Z", "durationInNanos": 80557568, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/clear_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e272f67b8738c361"}} +{ "traceId": "1ca5c1d52ca730f16872553cde6933c0", "spanId": "e272f67b8738c361", "traceState": "", "parentSpanId": "f9e3a2177bd81a72", "name": "cartEmpty", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:43.825311744Z", "endTime": "2021-04-20T20:33:43.878611712Z", "durationInNanos": 53299968, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "PUT", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58628, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/cart_empty", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/cart_empty", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c173a5ab72d12cca"}} +{ "traceId": "5bf7f62e1215df5526664ec45dd9ad63", "spanId": "c173a5ab72d12cca", "traceState": "", "parentSpanId": "4dc028a0167c3cf2", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:41.664562550Z", "endTime": "2021-04-20T20:33:41.665701036Z", "durationInNanos": 1138486, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-6", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "1d6646d320f46f92"}} +{ "traceId": "1ca5c1d52ca730f16872553cde6933c0", "spanId": "1d6646d320f46f92", "traceState": "", "parentSpanId": "7d14b353b41504e2", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:43.888482916Z", "endTime": "2021-04-20T20:33:43.889715232Z", "durationInNanos": 1232316, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-6", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "cf2a67c23dc23bab"}} +{ "traceId": "17af7b8dee49e8258b8b5ab82dd0235a", "spanId": "cf2a67c23dc23bab", "traceState": "", "parentSpanId": "652bc8d3182b25df", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:39.791001724Z", "endTime": "2021-04-20T20:33:39.792709638Z", "durationInNanos": 1707914, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-8", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57778, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "f405f62e61d4181f"}} +{ "traceId": "52190817d7eb1b6d71e66cc9b0b14124", "spanId": "f405f62e61d4181f", "traceState": "", "parentSpanId": "3121ff83a994e9da", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:42.643002265Z", "endTime": "2021-04-20T20:33:42.644751821Z", "durationInNanos": 1749556, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-3", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 133, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57852, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "87af24ccbde5bc6b"}} +{ "traceId": "c5eabf09201ab4df116e1881d0756035", "spanId": "87af24ccbde5bc6b", "traceState": "", "parentSpanId": "11538c0100bd4160", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:43.453001888Z", "endTime": "2021-04-20T20:33:43.454676059Z", "durationInNanos": 1674171, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-4", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57862, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "4a2d7a09233223ec"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "4a2d7a09233223ec", "traceState": "", "parentSpanId": "570073e77e68be9d", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.206169856Z", "endTime": "2021-04-20T20:33:44.206994688Z", "durationInNanos": 824832, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': '1'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "c1ae726e0fb621b3"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "c1ae726e0fb621b3", "traceState": "", "parentSpanId": "24d81987a47f33dc", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.252928256Z", "endTime": "2021-04-20T20:33:44.253720576Z", "durationInNanos": 792320, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': '3'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "d87a0a46511625fb"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "d87a0a46511625fb", "traceState": "", "parentSpanId": "7696d367503845f7", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:44.232229376Z", "endTime": "2021-04-20T20:33:44.266917888Z", "durationInNanos": 34688512, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58642, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "7696d367503845f7"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "7696d367503845f7", "traceState": "", "parentSpanId": "885e54cf2034b9f4", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.229940992Z", "endTime": "2021-04-20T20:33:44.272091648Z", "durationInNanos": 42150656, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "01b449260ce334f8"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "01b449260ce334f8", "traceState": "", "parentSpanId": "885e54cf2034b9f4", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.320410368Z", "endTime": "2021-04-20T20:33:44.324994048Z", "durationInNanos": 4583680, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c85e5dec4106a06a"}} +{ "traceId": "96db5f125cb54111f2a95d7419df8a15", "spanId": "c85e5dec4106a06a", "traceState": "", "parentSpanId": "0b957c5bc548b795", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.178796544Z", "endTime": "2021-04-20T20:33:44.335090176Z", "durationInNanos": 156293632, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/update_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "bd67ffd1aca8ebd9"}} +{ "traceId": "c0ef65e0d991727dbe26a071fd10e407", "spanId": "bd67ffd1aca8ebd9", "traceState": "", "parentSpanId": "0ee38170cee8fb5c", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.555993344Z", "endTime": "2021-04-20T20:33:44.591705344Z", "durationInNanos": 35712000, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/get_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "0ee38170cee8fb5c"}} +{ "traceId": "c0ef65e0d991727dbe26a071fd10e407", "spanId": "0ee38170cee8fb5c", "traceState": "", "parentSpanId": "afcb84a35556aad5", "name": "get_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:44.555788544Z", "endTime": "2021-04-20T20:33:44.602074368Z", "durationInNanos": 46285824, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "afcb84a35556aad5"}} +{ "traceId": "c0ef65e0d991727dbe26a071fd10e407", "spanId": "afcb84a35556aad5", "traceState": "", "parentSpanId": "e53a0ddf08ca7fe4", "name": "get_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:44.554990592Z", "endTime": "2021-04-20T20:33:44.604317184Z", "durationInNanos": 49326592, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32802, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/get_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "2131bd5f7b2bb426"}} +{ "traceId": "70a3f615a998b76cd973d87710572913", "spanId": "2131bd5f7b2bb426", "traceState": "", "parentSpanId": "d6ed9d2f16247916", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:44.940555776Z", "endTime": "2021-04-20T20:33:45.019118848Z", "durationInNanos": 78563072, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/pay_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "83e66a83f1a293d1"}} +{ "traceId": "65e793c50b861f00c1534090639dd7c3", "spanId": "83e66a83f1a293d1", "traceState": "", "parentSpanId": "5205b0912292faea", "name": "get_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:45.263542528Z", "endTime": "2021-04-20T20:33:45.287819520Z", "durationInNanos": 24276992, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "61e11870abc59f27"}} +{ "traceId": "65e793c50b861f00c1534090639dd7c3", "spanId": "61e11870abc59f27", "traceState": "", "parentSpanId": "3cf94093fb7bea7c", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:45.260458752Z", "endTime": "2021-04-20T20:33:45.295847168Z", "durationInNanos": 35388416, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/get_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "80e3c195c1e1eb31"}} +{ "traceId": "02feb3a4f611abd81f2a53244d1278ae", "spanId": "80e3c195c1e1eb31", "traceState": "", "parentSpanId": "9e64d04e62cd7e86", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:45.693580544Z", "endTime": "2021-04-20T20:33:45.694361344Z", "durationInNanos": 780800, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': '2'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "3f748306070acb27"}} +{ "traceId": "97551ce4600c334d4ab8fb8725ac1e67", "spanId": "3f748306070acb27", "traceState": "", "parentSpanId": "69af53e3494bca1c", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:45.937683456Z", "endTime": "2021-04-20T20:33:45.938361344Z", "durationInNanos": 677888, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': 1}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "INSERT INTO Inventory_Items (ItemId, TotalQty) VALUES (%(ItemId)s, %(Qty)s) ON DUPLICATE KEY UPDATE TotalQty = TotalQty + %(Qty)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "3a025025e0a3b1fa"}} +{ "traceId": "97551ce4600c334d4ab8fb8725ac1e67", "spanId": "3a025025e0a3b1fa", "traceState": "", "parentSpanId": "093bfc1b96f299dd", "name": "cartEmpty", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:45.912724480Z", "endTime": "2021-04-20T20:33:45.971964416Z", "durationInNanos": 59239936, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "PUT", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58706, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/cart_empty", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/cart_empty", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "093bfc1b96f299dd"}} +{ "traceId": "97551ce4600c334d4ab8fb8725ac1e67", "spanId": "093bfc1b96f299dd", "traceState": "", "parentSpanId": "b5ad0d70c2c4c7d6", "name": "HTTP PUT", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:45.910498560Z", "endTime": "2021-04-20T20:33:45.977039104Z", "durationInNanos": 66540544, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/cart_empty", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "PUT", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "b5ad0d70c2c4c7d6"}} +{ "traceId": "97551ce4600c334d4ab8fb8725ac1e67", "spanId": "b5ad0d70c2c4c7d6", "traceState": "", "parentSpanId": "04f5292ec03f47ff", "name": "clear_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:45.910301952Z", "endTime": "2021-04-20T20:33:45.987429632Z", "durationInNanos": 77127680, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "1abb073eb56f2eea"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "1abb073eb56f2eea", "traceState": "", "parentSpanId": "b2c126fb125a3ec0", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:46.155314688Z", "endTime": "2021-04-20T20:33:46.180148224Z", "durationInNanos": 24833536, "serviceName": "database", "events": [ { "time": "2021-04-20T20:33:46.180106752Z", "name": "exception", "attributes": { "exception@message": "", "exception@type": "InvalidItemUpdate", "exception@stacktrace": """Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py", line 804, in use_span yield span File "databaseService.py", line 162, in updateItem raise InvalidItemUpdate("Not enough storage for itemId {}".format(data[ "ItemId" ])) InvalidItemUpdate """ }, "droppedAttributesCount": 0 } ], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "status.message": "InvalidItemUpdate: ", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 2, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "140b1c6e07ac7569"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "140b1c6e07ac7569", "traceState": "", "parentSpanId": "5edd047783ce31e6", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:46.197120Z", "endTime": "2021-04-20T20:33:46.223479808Z", "durationInNanos": 26359808, "serviceName": "database", "events": [ { "time": "2021-04-20T20:33:46.223439872Z", "name": "exception", "attributes": { "exception@message": "", "exception@type": "InvalidItemUpdate", "exception@stacktrace": """Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py", line 804, in use_span yield span File "databaseService.py", line 162, in updateItem raise InvalidItemUpdate("Not enough storage for itemId {}".format(data[ "ItemId" ])) InvalidItemUpdate """ }, "droppedAttributesCount": 0 } ], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "status.message": "InvalidItemUpdate: ", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 2, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "c220b54c4e5447d7"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "c220b54c4e5447d7", "traceState": "", "parentSpanId": "33c6e729ae31cf8e", "name": "payment", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:46.147583744Z", "endTime": "2021-04-20T20:33:46.289920512Z", "durationInNanos": 142336768, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8084, "span.attributes.http@status_text": "PARTIAL CONTENT", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 59968, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/checkout", "span.attributes.http@host": "localhost:8084", "span.attributes.http@target": "/checkout", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "33c6e729ae31cf8e"}} +{ "traceId": "b450e7770b6bf942d91f238f77311fbe", "spanId": "33c6e729ae31cf8e", "traceState": "", "parentSpanId": "86582d579095a4b2", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.145408256Z", "endTime": "2021-04-20T20:33:46.294403840Z", "durationInNanos": 148995584, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8084/checkout", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "PARTIAL CONTENT", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "cfd7fff669823fd7"}} +{ "traceId": "ba5a69d5dfd1eaa4077451d452ba473b", "spanId": "cfd7fff669823fd7", "traceState": "", "parentSpanId": "e270a32c23bb3d64", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.524823808Z", "endTime": "2021-04-20T20:33:46.526560Z", "durationInNanos": 1736192, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT ItemId, TotalQty FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "3b2b065511029f95"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "3b2b065511029f95", "traceState": "", "parentSpanId": "759ba13f98ab3fc6", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:46.847089408Z", "endTime": "2021-04-20T20:33:46.871549696Z", "durationInNanos": 24460288, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "3f5318f871490765"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "3f5318f871490765", "traceState": "", "parentSpanId": "b2e9f99896086ca7", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:46.795104512Z", "endTime": "2021-04-20T20:33:46.936029952Z", "durationInNanos": 140925440, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/update_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "b2e9f99896086ca7"}} +{ "traceId": "95b27b5462c0dccc7e08126a25e64d3f", "spanId": "b2e9f99896086ca7", "traceState": "", "parentSpanId": "", "name": "client_create_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:46.794855168Z", "endTime": "2021-04-20T20:33:46.938890240Z", "durationInNanos": 144035072, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_create_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "ad657e844f30d14a"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "ad657e844f30d14a", "traceState": "", "parentSpanId": "e0e2f20d2c1b7308", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:47.212077312Z", "endTime": "2021-04-20T20:33:47.212736768Z", "durationInNanos": 659456, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': 2}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "8d4b7a48cb7ee8e9"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "8d4b7a48cb7ee8e9", "traceState": "", "parentSpanId": "f78dbd14cda8862e", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:47.231710720Z", "endTime": "2021-04-20T20:33:47.269911552Z", "durationInNanos": 38200832, "serviceName": "database", "events": [ { "time": "2021-04-20T20:33:47.269875456Z", "name": "exception", "attributes": { "exception@message": "", "exception@type": "InvalidItemUpdate", "exception@stacktrace": """Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py", line 804, in use_span yield span File "databaseService.py", line 162, in updateItem raise InvalidItemUpdate("Not enough storage for itemId {}".format(data[ "ItemId" ])) InvalidItemUpdate """ }, "droppedAttributesCount": 0 } ], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "status.message": "InvalidItemUpdate: ", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 2, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "6b10877e5ed07c99"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "6b10877e5ed07c99", "traceState": "", "parentSpanId": "c321930cea7a01b8", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:47.305689344Z", "endTime": "2021-04-20T20:33:47.306357248Z", "durationInNanos": 667904, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': 1}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "c36ca0e19d93a20e"}} +{ "traceId": "c0d5be4cfded4677b472caeb6dced6eb", "spanId": "c36ca0e19d93a20e", "traceState": "", "parentSpanId": "1e21d6eba3353211", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:47.185514752Z", "endTime": "2021-04-20T20:33:47.329954560Z", "durationInNanos": 144439808, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8082/update_inventory", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "Update inventory response contains failed items.", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "385cdc02dfbd5f9c"}} +{ "traceId": "16f5176887289baa94c27f12604b5163", "spanId": "385cdc02dfbd5f9c", "traceState": "", "parentSpanId": "b7db1195f7777f37", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:47.813824Z", "endTime": "2021-04-20T20:33:47.849940480Z", "durationInNanos": 36116480, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "728745836581a137"}} +{ "traceId": "2aa556a9a859155d7f578aacf259588f", "spanId": "728745836581a137", "traceState": "", "parentSpanId": "f4fb15e340c39da3", "name": "get_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:48.096090880Z", "endTime": "2021-04-20T20:33:48.120184832Z", "durationInNanos": 24093952, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "30bde1e6725bc066"}} +{ "traceId": "ecfe3ff116a31b4c5ec107289b615ff3", "spanId": "30bde1e6725bc066", "traceState": "", "parentSpanId": "2a4047a9b194cba8", "name": "pay_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:48.387603456Z", "endTime": "2021-04-20T20:33:48.463539712Z", "durationInNanos": 75936256, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32960, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/pay_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/pay_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "f0839669f041b029"}} +{ "traceId": "a7e35e333fe32a4fa0448bf258fff8e9", "spanId": "f0839669f041b029", "traceState": "", "parentSpanId": "8b858870f3946a12", "name": "get_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:48.727124224Z", "endTime": "2021-04-20T20:33:48.776144128Z", "durationInNanos": 49019904, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 32970, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/get_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "8b858870f3946a12"}} +{ "traceId": "a7e35e333fe32a4fa0448bf258fff8e9", "spanId": "8b858870f3946a12", "traceState": "", "parentSpanId": "5d15d016d2efc520", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:48.725030144Z", "endTime": "2021-04-20T20:33:48.780702464Z", "durationInNanos": 55672320, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/get_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "7ff60cf452880953"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "7ff60cf452880953", "traceState": "", "parentSpanId": "c6c238ba3d8255f4", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.000432896Z", "endTime": "2021-04-20T20:33:49.036928768Z", "durationInNanos": 36495872, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "17ba287b7e0a55a5"}} +{ "traceId": "2aa556a9a859155d7f578aacf259588f", "spanId": "17ba287b7e0a55a5", "traceState": "", "parentSpanId": "11f0fc7fd6fc8ef7", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:48.133449435Z", "endTime": "2021-04-20T20:33:48.134655277Z", "durationInNanos": 1205842, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-8", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "75432a4e251c77c6"}} +{ "traceId": "97551ce4600c334d4ab8fb8725ac1e67", "spanId": "75432a4e251c77c6", "traceState": "", "parentSpanId": "3922ee10e2a02211", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:45.982001755Z", "endTime": "2021-04-20T20:33:45.983769151Z", "durationInNanos": 1767396, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-8", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 57950, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "934a3522bd05ed13"}} +{ "traceId": "e48a85b3dc34426059aa1347ea4171a5", "spanId": "934a3522bd05ed13", "traceState": "", "parentSpanId": "ad97f94c920dd63a", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:47.484001785Z", "endTime": "2021-04-20T20:33:47.485831317Z", "durationInNanos": 1829532, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-4", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 134, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58022, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "ee28b3abcaca75b1"}} +{ "traceId": "16f5176887289baa94c27f12604b5163", "spanId": "ee28b3abcaca75b1", "traceState": "", "parentSpanId": "4eeed8358a7d5d30", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:47.894001979Z", "endTime": "2021-04-20T20:33:47.895816736Z", "durationInNanos": 1814757, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-6", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58040, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "362c0d7748107d8f"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "362c0d7748107d8f", "traceState": "", "parentSpanId": "c6c238ba3d8255f4", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.080640768Z", "endTime": "2021-04-20T20:33:49.120250368Z", "durationInNanos": 39609600, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "6de234553c12cdd0"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "6de234553c12cdd0", "traceState": "", "parentSpanId": "7559e66e65139dc8", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:48.997068544Z", "endTime": "2021-04-20T20:33:49.137304320Z", "durationInNanos": 140235776, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/update_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "7559e66e65139dc8"}} +{ "traceId": "25af475f804ec5edbfab9d1ba4018ce5", "spanId": "7559e66e65139dc8", "traceState": "", "parentSpanId": "", "name": "client_create_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:48.996784896Z", "endTime": "2021-04-20T20:33:49.140167168Z", "durationInNanos": 143382272, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_create_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "fd57eface760a3c2"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "fd57eface760a3c2", "traceState": "", "parentSpanId": "c4eb12c87b56bbaf", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.547070976Z", "endTime": "2021-04-20T20:33:49.547717376Z", "durationInNanos": 646400, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': 2}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "797a61c1556157d8"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "797a61c1556157d8", "traceState": "", "parentSpanId": "5e65bb1294c655ad", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.586952448Z", "endTime": "2021-04-20T20:33:49.587582464Z", "durationInNanos": 630016, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': 3}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "5e65bb1294c655ad"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "5e65bb1294c655ad", "traceState": "", "parentSpanId": "4111fb00ec1efd77", "name": "update_item", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:49.567184128Z", "endTime": "2021-04-20T20:33:49.591741696Z", "durationInNanos": 24557568, "serviceName": "database", "events": [ { "time": "2021-04-20T20:33:49.591707904Z", "name": "exception", "attributes": { "exception@message": "", "exception@type": "InvalidItemUpdate", "exception@stacktrace": """Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/opentelemetry/sdk/trace/__init__.py", line 804, in use_span yield span File "databaseService.py", line 162, in updateItem raise InvalidItemUpdate("Not enough storage for itemId {}".format(data[ "ItemId" ])) InvalidItemUpdate """ }, "droppedAttributesCount": 0 } ], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "status.message": "InvalidItemUpdate: ", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 2, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "4111fb00ec1efd77"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "4111fb00ec1efd77", "traceState": "", "parentSpanId": "977b8ddb69c6d9a7", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:49.566329344Z", "endTime": "2021-04-20T20:33:49.596302592Z", "durationInNanos": 29973248, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "Not enough storage for itemId orange", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58870, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "977b8ddb69c6d9a7"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "977b8ddb69c6d9a7", "traceState": "", "parentSpanId": "28991f1d3a174ce4", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.564026112Z", "endTime": "2021-04-20T20:33:49.601558016Z", "durationInNanos": 37531904, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/update_item", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "Not enough storage for itemId orange", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "704f4cab0d9b5606"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "704f4cab0d9b5606", "traceState": "", "parentSpanId": "bd73a71f8d9cc289", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.627682304Z", "endTime": "2021-04-20T20:33:49.628331008Z", "durationInNanos": 648704, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': 1}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "28991f1d3a174ce4"}} +{ "traceId": "c1bd83b99e3992292daa0888489e618c", "spanId": "28991f1d3a174ce4", "traceState": "", "parentSpanId": "d0f5f8f6a9167a1c", "name": "update_inventory", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:49.523589632Z", "endTime": "2021-04-20T20:33:49.645100288Z", "durationInNanos": 121510656, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "79a8b5b769a8af40"}} +{ "traceId": "7a3182e62d533fa1e0617f21f5681a37", "spanId": "79a8b5b769a8af40", "traceState": "", "parentSpanId": "cc39a5b2d98e4127", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:49.876797696Z", "endTime": "2021-04-20T20:33:49.896148736Z", "durationInNanos": 19351040, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "TRUNCATE TABLE User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "cc39a5b2d98e4127"}} +{ "traceId": "7a3182e62d533fa1e0617f21f5681a37", "spanId": "cc39a5b2d98e4127", "traceState": "", "parentSpanId": "2c3fe2ecd7602e0b", "name": "cart_empty", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:49.851799296Z", "endTime": "2021-04-20T20:33:49.899272448Z", "durationInNanos": 47473152, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "de9f1128bf12b7b9"}} +{ "traceId": "7a3182e62d533fa1e0617f21f5681a37", "spanId": "de9f1128bf12b7b9", "traceState": "", "parentSpanId": "1861602b0fed74c0", "name": "clear_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:49.848355584Z", "endTime": "2021-04-20T20:33:49.917926400Z", "durationInNanos": 69570816, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "0d15e0e38cc75348"}} +{ "traceId": "247d610dcbd05da1c7902081b6bec1f6", "spanId": "0d15e0e38cc75348", "traceState": "", "parentSpanId": "0b9642ed51dc4523", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:50.183780864Z", "endTime": "2021-04-20T20:33:50.208142848Z", "durationInNanos": 24361984, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "3b639def2d6ec40f"}} +{ "traceId": "247d610dcbd05da1c7902081b6bec1f6", "spanId": "3b639def2d6ec40f", "traceState": "", "parentSpanId": "f53b324dd57c0a67", "name": "update_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:50.140426496Z", "endTime": "2021-04-20T20:33:50.269464320Z", "durationInNanos": 129037824, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 33036, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/update_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "f53b324dd57c0a67"}} +{ "traceId": "247d610dcbd05da1c7902081b6bec1f6", "spanId": "f53b324dd57c0a67", "traceState": "", "parentSpanId": "0721e6662945f8c1", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:50.138248960Z", "endTime": "2021-04-20T20:33:50.274230272Z", "durationInNanos": 135981312, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/update_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "0721e6662945f8c1"}} +{ "traceId": "247d610dcbd05da1c7902081b6bec1f6", "spanId": "0721e6662945f8c1", "traceState": "", "parentSpanId": "", "name": "client_create_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:50.137996544Z", "endTime": "2021-04-20T20:33:50.276978688Z", "durationInNanos": 138982144, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_create_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "3a565f7129913c17"}} +{ "traceId": "eef4554373e188267b38928e2dabeab4", "spanId": "3a565f7129913c17", "traceState": "", "parentSpanId": "59ff85f342e07d43", "name": "HTTP GET", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:50.475230464Z", "endTime": "2021-04-20T20:33:50.531948288Z", "durationInNanos": 56717824, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/get_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "GET", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "76d4028a33aa32d4"}} +{ "traceId": "20eabd650f3a068d9f590786f56885e7", "spanId": "76d4028a33aa32d4", "traceState": "", "parentSpanId": "c80dc4c948d060d2", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:50.730701312Z", "endTime": "2021-04-20T20:33:50.759436800Z", "durationInNanos": 28735488, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58922, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "7e0f8516534902ba"}} +{ "traceId": "20eabd650f3a068d9f590786f56885e7", "spanId": "7e0f8516534902ba", "traceState": "", "parentSpanId": "815628d64969d668", "name": "update_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:50.727141632Z", "endTime": "2021-04-20T20:33:50.855739904Z", "durationInNanos": 128598272, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "815628d64969d668"}} +{ "traceId": "20eabd650f3a068d9f590786f56885e7", "spanId": "815628d64969d668", "traceState": "", "parentSpanId": "f16d32410e946012", "name": "update_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:50.725899008Z", "endTime": "2021-04-20T20:33:50.857993472Z", "durationInNanos": 132094464, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 33066, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/update_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "06838c62d1f8fc52"}} +{ "traceId": "c48260d3774d6c2d4ba77c9e813eadec", "spanId": "06838c62d1f8fc52", "traceState": "", "parentSpanId": "", "name": "client_delivery_status", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:51.133010176Z", "endTime": "2021-04-20T20:33:51.191095040Z", "durationInNanos": 58084864, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_delivery_status", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "c2c0543fe0270e38"}} +{ "traceId": "56127a0a4f362cfb605a907e6c419c6e", "spanId": "c2c0543fe0270e38", "traceState": "", "parentSpanId": "eb593b21c00b38c7", "name": "cart_sold", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:51.416972800Z", "endTime": "2021-04-20T20:33:51.463561472Z", "durationInNanos": 46588672, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "d9dd1b7eed5760a0"}} +{ "traceId": "56127a0a4f362cfb605a907e6c419c6e", "spanId": "d9dd1b7eed5760a0", "traceState": "", "parentSpanId": "2b7af871bd8cd43f", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:51.413930240Z", "endTime": "2021-04-20T20:33:51.472114688Z", "durationInNanos": 58184448, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/cart_sold", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "3301dd384d83dc66"}} +{ "traceId": "7f63958e2172b12500e40eed557a31c7", "spanId": "3301dd384d83dc66", "traceState": "", "parentSpanId": "9de35fba7cb7c4a3", "name": "get_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:51.679142400Z", "endTime": "2021-04-20T20:33:51.729883904Z", "durationInNanos": 50741504, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "GET", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 33104, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/get_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/get_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "c5e70373eb296aff"}} +{ "traceId": "340a6c6f70a21d1bc8456dbbe5c79929", "spanId": "c5e70373eb296aff", "traceState": "", "parentSpanId": "49bf3ba4725523ca", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:51.977397248Z", "endTime": "2021-04-20T20:33:51.978067200Z", "durationInNanos": 669952, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': '1'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "91b0beabefca51d0"}} +{ "traceId": "340a6c6f70a21d1bc8456dbbe5c79929", "spanId": "91b0beabefca51d0", "traceState": "", "parentSpanId": "a7accb6ac082369d", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:51.956622336Z", "endTime": "2021-04-20T20:33:51.985689344Z", "durationInNanos": 29067008, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58970, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "a7accb6ac082369d"}} +{ "traceId": "340a6c6f70a21d1bc8456dbbe5c79929", "spanId": "a7accb6ac082369d", "traceState": "", "parentSpanId": "6576e80159aee6b8", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:51.954316288Z", "endTime": "2021-04-20T20:33:51.990446336Z", "durationInNanos": 36130048, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "439eff3f753e8e67"}} +{ "traceId": "340a6c6f70a21d1bc8456dbbe5c79929", "spanId": "439eff3f753e8e67", "traceState": "", "parentSpanId": "6576e80159aee6b8", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:51.993564672Z", "endTime": "2021-04-20T20:33:52.029644544Z", "durationInNanos": 36079872, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "e0f5b0c6a6b1bbc2"}} +{ "traceId": "340a6c6f70a21d1bc8456dbbe5c79929", "spanId": "e0f5b0c6a6b1bbc2", "traceState": "", "parentSpanId": "7b8507bd4a5a909f", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.055813888Z", "endTime": "2021-04-20T20:33:52.056485632Z", "durationInNanos": 671744, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': '2'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "ab4ac8bcf7351137"}} +{ "traceId": "340a6c6f70a21d1bc8456dbbe5c79929", "spanId": "ab4ac8bcf7351137", "traceState": "", "parentSpanId": "1717b0bbc49c8b5c", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:52.034881024Z", "endTime": "2021-04-20T20:33:52.063697664Z", "durationInNanos": 28816640, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58978, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "0124ac48730385cc"}} +{ "traceId": "340a6c6f70a21d1bc8456dbbe5c79929", "spanId": "0124ac48730385cc", "traceState": "", "parentSpanId": "", "name": "client_create_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:51.950673408Z", "endTime": "2021-04-20T20:33:52.088491264Z", "durationInNanos": 137817856, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": "client_create_order", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "e978fe4781c7212b"}} +{ "traceId": "261f4f9f6d49c04588ddfc0b22d167c6", "spanId": "e978fe4781c7212b", "traceState": "", "parentSpanId": "f8aedbcbab807a78", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.270512128Z", "endTime": "2021-04-20T20:33:52.275296512Z", "durationInNanos": 4784384, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "0db04213ba31cb79"}} +{ "traceId": "261f4f9f6d49c04588ddfc0b22d167c6", "spanId": "0db04213ba31cb79", "traceState": "", "parentSpanId": "66dd3959b912162c", "name": "HTTP DELETE", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.205003776Z", "endTime": "2021-04-20T20:33:52.284966144Z", "durationInNanos": 79962368, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8088/clear_order", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "DELETE", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "f14b6b57d7079a58"}} +{ "traceId": "5be8370207cbb002a165d369fbc57b57", "spanId": "f14b6b57d7079a58", "traceState": "", "parentSpanId": "9e4947190e28b8f7", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.520363008Z", "endTime": "2021-04-20T20:33:52.521067776Z", "durationInNanos": 704768, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'apple', 'Qty': '1'}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "2c37405ee8325196"}} +{ "traceId": "5be8370207cbb002a165d369fbc57b57", "spanId": "2c37405ee8325196", "traceState": "", "parentSpanId": "702250f453a02be6", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.535895296Z", "endTime": "2021-04-20T20:33:52.571971584Z", "durationInNanos": 36076288, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/add_item_to_cart", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "14148032cdebd6e5"}} +{ "traceId": "4216a647a4396e50fc12cc78d571557e", "spanId": "14148032cdebd6e5", "traceState": "", "parentSpanId": "d985b5239c10d8bf", "name": "add_item_to_cart", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.678805504Z", "endTime": "2021-04-20T20:33:52.703546112Z", "durationInNanos": 24740608, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "ec48acd974e4f4ef"}} +{ "traceId": "4216a647a4396e50fc12cc78d571557e", "spanId": "ec48acd974e4f4ef", "traceState": "", "parentSpanId": "8873f17b55cf568a", "name": "addItemToCart", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:52.717049088Z", "endTime": "2021-04-20T20:33:52.745951744Z", "durationInNanos": 28902656, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 59020, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/add_item_to_cart", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/add_item_to_cart", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "d85ef60c6b05ea1e"}} +{ "traceId": "4216a647a4396e50fc12cc78d571557e", "spanId": "d85ef60c6b05ea1e", "traceState": "", "parentSpanId": "e0514a47c90c0ead", "name": "update_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.675259392Z", "endTime": "2021-04-20T20:33:52.823244288Z", "durationInNanos": 147984896, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "a9ae73162186cc7f"}} +{ "traceId": "e447ed617aa651a7593c720d7e976625", "spanId": "a9ae73162186cc7f", "traceState": "", "parentSpanId": "ff285f4458209cf3", "name": "HTTP PUT", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.927145216Z", "endTime": "2021-04-20T20:33:52.990285312Z", "durationInNanos": 63140096, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8083/cart_empty", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "PUT", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "477408f3368f28af"}} +{ "traceId": "e447ed617aa651a7593c720d7e976625", "spanId": "477408f3368f28af", "traceState": "", "parentSpanId": "ff285f4458209cf3", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:52.993329920Z", "endTime": "2021-04-20T20:33:52.997798144Z", "durationInNanos": 4468224, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8087/logs", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "f45a94f980605697"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "f45a94f980605697", "traceState": "", "parentSpanId": "470ef7b1b1e8c06c", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:53.238649856Z", "endTime": "2021-04-20T20:33:53.239367680Z", "durationInNanos": 717824, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'banana', 'Qty': 2}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "c07900555826d95f"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "c07900555826d95f", "traceState": "", "parentSpanId": "68f6536a0523f7f3", "name": "updateItem", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:53.217669120Z", "endTime": "2021-04-20T20:33:53.248192768Z", "durationInNanos": 30523648, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8083, "span.attributes.http@status_text": "Not enough storage for itemId banana", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "http", "status.code": 2, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 59046, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/update_item", "span.attributes.http@host": "localhost:8083", "span.attributes.http@target": "/update_item", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 422 } +{ "index":{"_id": "854e04d060d378a8"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "854e04d060d378a8", "traceState": "", "parentSpanId": "a4030e9ad85b2a92", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:53.279769344Z", "endTime": "2021-04-20T20:33:53.280431360Z", "durationInNanos": 662016, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.db@statement@parameters": "{'ItemId': 'orange', 'Qty': 3}", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "UPDATE Inventory_Items SET TotalQty=IF(TotalQty >= %(Qty)s, TotalQty - %(Qty)s, TotalQty) WHERE ItemId=%(ItemId)s", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "2badcc8448bd5c5b"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "2badcc8448bd5c5b", "traceState": "", "parentSpanId": "6dcb9bfdeb68bef1", "name": "update_inventory", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:53.214871808Z", "endTime": "2021-04-20T20:33:53.338653184Z", "durationInNanos": 123781376, "serviceName": "inventory", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140491849416656", "resource.attributes.service@name": "inventory", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "79e7e8f4a6b9cfd6"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "79e7e8f4a6b9cfd6", "traceState": "", "parentSpanId": "b52867ccd766e67b", "name": "payment", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:53.210643200Z", "endTime": "2021-04-20T20:33:53.350407680Z", "durationInNanos": 139764480, "serviceName": "payment", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8084, "span.attributes.http@status_text": "PARTIAL CONTENT", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "139782029922256", "resource.attributes.service@name": "payment", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 60296, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/checkout", "span.attributes.http@host": "localhost:8084", "span.attributes.http@target": "/checkout", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "b52867ccd766e67b"}} +{ "traceId": "0bda4f69a15675f56069fa7b677f1c74", "spanId": "b52867ccd766e67b", "traceState": "", "parentSpanId": "4c7ff265c1e0c9dc", "name": "HTTP POST", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:53.208381952Z", "endTime": "2021-04-20T20:33:53.354845184Z", "durationInNanos": 146463232, "serviceName": "frontend-client", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.http@url": "http://localhost:8084/checkout", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.http@status_text": "PARTIAL CONTENT", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@name": "frontend-client", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.requests", "span.attributes.http@method": "POST", "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@status_code": 206 } +{ "index":{"_id": "7745e3605083e150"}} +{ "traceId": "d5bc99166e521eec173bcb7f9b0d3c43", "spanId": "7745e3605083e150", "traceState": "", "parentSpanId": "f6b9b0130d0a7765", "name": "mysql.APM", "kind": "SPAN_KIND_CLIENT", "startTime": "2021-04-20T20:33:53.454045184Z", "endTime": "2021-04-20T20:33:53.455569152Z", "durationInNanos": 1523968, "serviceName": "database", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.db@user": "root", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.net@peer@name": "localhost", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140009019686864", "resource.attributes.service@name": "database", "span.attributes.component": "mysql", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.mysql", "span.attributes.db@type": "sql", "span.attributes.net@peer@port": 3306, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.db@instance": "APM", "span.attributes.db@statement": "SELECT ItemId, TotalQty FROM User_Carts", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal" } +{ "index":{"_id": "cefea796ccf54813"}} +{ "traceId": "d5bc99166e521eec173bcb7f9b0d3c43", "spanId": "cefea796ccf54813", "traceState": "", "parentSpanId": "28b54e1dd64fcf7d", "name": "clear_order", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:53.429565696Z", "endTime": "2021-04-20T20:33:53.503151872Z", "durationInNanos": 73586176, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@sdk@language": "python", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "status.code": 0, "instrumentationLibrary.name": "__main__" } +{ "index":{"_id": "28b54e1dd64fcf7d"}} +{ "traceId": "d5bc99166e521eec173bcb7f9b0d3c43", "spanId": "28b54e1dd64fcf7d", "traceState": "", "parentSpanId": "1dc7b46c2357c388", "name": "clear_order", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:53.428727808Z", "endTime": "2021-04-20T20:33:53.505276160Z", "durationInNanos": 76548352, "serviceName": "order", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "instrumentationLibrary.version": "0.14b0", "resource.attributes.telemetry@sdk@language": "python", "span.attributes.host@port": 8088, "span.attributes.http@status_text": "OK", "resource.attributes.telemetry@sdk@version": "0.14b0", "resource.attributes.service@instance@id": "140034008389000", "resource.attributes.service@name": "order", "span.attributes.component": "http", "status.code": 0, "instrumentationLibrary.name": "opentelemetry.instrumentation.flask", "span.attributes.http@method": "DELETE", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 33208, "resource.attributes.telemetry@sdk@name": "opentelemetry", "span.attributes.http@server_name": "0.0.0.0", "span.attributes.http@route": "/clear_order", "span.attributes.http@host": "localhost:8088", "span.attributes.http@target": "/clear_order", "span.attributes.http@scheme": "http", "resource.attributes.host@hostname": "ip-172-31-68-90.ec2.internal", "span.attributes.http@flavor": "1.1", "span.attributes.http@status_code": 200 } +{ "index":{"_id": "fc1d1ffce95a27aa"}} +{ "traceId": "4216a647a4396e50fc12cc78d571557e", "spanId": "fc1d1ffce95a27aa", "traceState": "", "parentSpanId": "0f929cd09feb717a", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.818457432Z", "endTime": "2021-04-20T20:33:52.819488855Z", "durationInNanos": 1031423, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-8", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "f44426165fbba4d0"}} +{ "traceId": "e447ed617aa651a7593c720d7e976625", "spanId": "f44426165fbba4d0", "traceState": "", "parentSpanId": "b272143e732a91e9", "name": "LoggingController.save", "kind": "SPAN_KIND_INTERNAL", "startTime": "2021-04-20T20:33:52.995465166Z", "endTime": "2021-04-20T20:33:52.996460896Z", "durationInNanos": 995730, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.thread@name": "http-nio-8087-exec-10", "resource.attributes.telemetry@sdk@name": "opentelemetry", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 140, "resource.attributes.telemetry@auto@version": "0.10.1", "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.spring-webmvc" } +{ "index":{"_id": "9fd37843dd616fab"}} +{ "traceId": "c48260d3774d6c2d4ba77c9e813eadec", "spanId": "9fd37843dd616fab", "traceState": "", "parentSpanId": "3ed06551056e1fa6", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:51.176001692Z", "endTime": "2021-04-20T20:33:51.177560735Z", "durationInNanos": 1559043, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-6", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 136, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58184, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } +{ "index":{"_id": "fce44d7569908ba7"}} +{ "traceId": "56127a0a4f362cfb605a907e6c419c6e", "spanId": "fce44d7569908ba7", "traceState": "", "parentSpanId": "608bd5e547e88e3e", "name": "/logs", "kind": "SPAN_KIND_SERVER", "startTime": "2021-04-20T20:33:51.477002352Z", "endTime": "2021-04-20T20:33:51.478943130Z", "durationInNanos": 1940778, "serviceName": "analytics-service", "events": [], "links": [], "droppedAttributesCount": 0, "droppedEventsCount": 0, "droppedLinksCount": 0, "traceGroup": null, "span.attributes.net@peer@ip": "127.0.0.1", "span.attributes.http@url": "http://localhost:8087/logs", "span.attributes.thread@name": "http-nio-8087-exec-8", "instrumentationLibrary.version": "0.10.1", "resource.attributes.telemetry@sdk@language": "java", "span.attributes.thread@id": 138, "resource.attributes.telemetry@sdk@version": "0.10.0", "resource.attributes.service@name": "analytics-service", "status.code": 0, "instrumentationLibrary.name": "io.opentelemetry.auto.servlet", "span.attributes.http@method": "POST", "span.attributes.http@user_agent": "python-requests/2.25.1", "span.attributes.net@peer@port": 58194, "resource.attributes.telemetry@sdk@name": "opentelemetry", "resource.attributes.telemetry@auto@version": "0.10.1", "span.attributes.http@flavor": "HTTP/1.1", "span.attributes.http@status_code": 200, "span.attributes.http@client_ip": "127.0.0.1" } diff --git a/public/components/trace_analytics/components/common/__tests__/__snapshots__/helper_functions.test.tsx.snap b/public/components/trace_analytics/components/common/__tests__/__snapshots__/helper_functions.test.tsx.snap new file mode 100644 index 000000000..0d6dad1ca --- /dev/null +++ b/public/components/trace_analytics/components/common/__tests__/__snapshots__/helper_functions.test.tsx.snap @@ -0,0 +1,146 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Helper functions renders benchmark 1`] = ` + +
+ 50% â–´ +
+
+`; + +exports[`Helper functions renders benchmark 2`] = ` + +
+ 50% â–¾ +
+
+`; + +exports[`Helper functions renders benchmark 3`] = ` + +
+ 0% - +
+
+`; + +exports[`Helper functions renders no match and missing configuration messages 1`] = ` + + + + No data matches the selected filter. Clear the filter and/or increase the time range to see more results. + + } + title={ +

+ No matches +

+ } + /> + +
+`; + +exports[`Helper functions renders no match and missing configuration messages 2`] = ` + + + Learn more + + } + body={ + + The indices required for trace analytics (otel-v1-apm-span-* and otel-v1-apm-service-map*) do not exist or you do not have permission to access them. + + } + title={ +

+ Trace Analytics not set up +

+ } + /> +
+`; + +exports[`Helper functions renders panel title 1`] = ` + + + test + + + (10) + + +`; + +exports[`Helper functions renders panel title 2`] = ` + + + test + + +`; diff --git a/public/components/trace_analytics/components/common/__tests__/__snapshots__/search_bar.test.tsx.snap b/public/components/trace_analytics/components/common/__tests__/__snapshots__/search_bar.test.tsx.snap new file mode 100644 index 000000000..d8be845df --- /dev/null +++ b/public/components/trace_analytics/components/common/__tests__/__snapshots__/search_bar.test.tsx.snap @@ -0,0 +1,1166 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Search bar components renders date picker 1`] = ` + + +
+ +
+ + } + > +
+ + + + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + id="QuickSelectPopover" + isOpen={false} + ownFocus={true} + panelPaddingSize="m" + > + +
+
+ + + +
+
+
+
+
+
+ } + iconType={false} + isCustom={true} + startDateControl={
} + > +
+ +
+ + +
+
+ +
+ +
+ + +`; + +exports[`Search bar components renders search bar 1`] = ` + + +
+ +
+ + +
+
+ + + + +
+ + + + + +
+
+
+
+
+
+
+
+ +
+ + +
+ +
+ + } + > +
+ + + + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + id="QuickSelectPopover" + isOpen={false} + ownFocus={true} + panelPaddingSize="m" + > + +
+
+ + + +
+
+
+
+
+
+ } + iconType={false} + isCustom={true} + startDateControl={
} + > +
+ +
+ + +
+
+ +
+ +
+ + +
+ + +
+ + + + + +
+
+
+ + +
+ + + +
+ +
+ + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="none" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+ +
+ + + + Add filter + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="m" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+
+
+
+ +`; diff --git a/public/components/trace_analytics/components/common/__tests__/__snapshots__/side_nav.test.tsx.snap b/public/components/trace_analytics/components/common/__tests__/__snapshots__/side_nav.test.tsx.snap new file mode 100644 index 000000000..6db2c2956 --- /dev/null +++ b/public/components/trace_analytics/components/common/__tests__/__snapshots__/side_nav.test.tsx.snap @@ -0,0 +1,266 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Side nav component renders side nav 1`] = ` + +
+ +
+ + + + + +
+
+ +
+
+
+
+
+
+`; diff --git a/public/components/trace_analytics/components/common/__tests__/helper_functions.test.tsx b/public/components/trace_analytics/components/common/__tests__/helper_functions.test.tsx new file mode 100644 index 000000000..62e68313d --- /dev/null +++ b/public/components/trace_analytics/components/common/__tests__/helper_functions.test.tsx @@ -0,0 +1,184 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { NoMatchMessage, PanelTitle } from '..'; +import { + calculateTicks, + filtersToDsl, + fixedIntervalToMilli, + fixedIntervalToTickFormat, + getPercentileFilter, + getServiceMapGraph, + getServiceMapScaleColor, + getServiceMapTargetResources, + milliToNanoSec, + minFixedInterval, + MissingConfigurationMessage, + nanoToMilliSec, + renderBenchmark, +} from '../helper_functions'; +import { TEST_SERVICE_MAP, TEST_SERVICE_MAP_GRAPH } from '../../../../test/constants'; + +describe('Helper functions', () => { + configure({ adapter: new Adapter() }); + + it('renders panel title', () => { + const title = shallow(); + const titleZeroCount = shallow(); + expect(title).toMatchSnapshot(); + expect(titleZeroCount).toMatchSnapshot(); + }); + + it('renders no match and missing configuration messages', () => { + const noMatchMessage = shallow(); + const missingConfigurationMessage = shallow(); + expect(noMatchMessage).toMatchSnapshot(); + expect(missingConfigurationMessage).toMatchSnapshot(); + }); + + it('renders benchmark', () => { + const benchmarkPositive = mount(renderBenchmark(50)); + const benchmarkNegative = mount(renderBenchmark(-50)); + const benchmarkZero = mount(renderBenchmark(0)); + expect(benchmarkPositive).toMatchSnapshot(); + expect(benchmarkNegative).toMatchSnapshot(); + expect(benchmarkZero).toMatchSnapshot(); + }); + + it('converts nanoseconds and milliseconds', () => { + const ms = nanoToMilliSec(123456789); + expect(ms).toEqual(123.456789); + const ns = milliToNanoSec(123.456789); + expect(ns).toEqual(123456789); + const invalidMs = nanoToMilliSec('abc'); + expect(invalidMs).toEqual(0); + const invalidNs = milliToNanoSec('abc'); + expect(invalidNs).toEqual(0); + }); + + it('returns service map scale color', () => { + const color = getServiceMapScaleColor(0.5, 'latency'); + expect(color).toEqual('134, 105, 173'); + }); + + it('returns service map graph', () => { + const serviceMapGraph = getServiceMapGraph(TEST_SERVICE_MAP, 'latency', [ + 0, + 50, + 100, + 150, + 200, + 250, + ]); + expect(serviceMapGraph).toEqual(TEST_SERVICE_MAP_GRAPH); + }); + + it('returns target resources by service name', () => { + const targetResources = getServiceMapTargetResources(TEST_SERVICE_MAP, 'order'); + expect(targetResources).toEqual(['clear_order', 'update_order', 'get_order', 'pay_order']); + }); + + it('calculates ticks', () => { + const ticks = calculateTicks(500, 200); + const ticks2 = calculateTicks(0, 200, 10); + expect(ticks).toEqual([0, 50, 100, 150, 200]); + expect(ticks2).toEqual([0, 20, 40, 60, 80, 100, 120, 140, 160, 180, 200]); + }); + + it('calculates fixed_interval for date_histograms', () => { + const fixedInterval = minFixedInterval('now-5y', 'now'); + expect(fixedInterval).toEqual('365d'); + const ms = fixedIntervalToMilli('1h'); + expect(ms).toEqual(3600000); + const tickFormat = fixedIntervalToTickFormat('1h'); + expect(tickFormat).toEqual(''); + }); + + it('returns percentile filter DSL', () => { + const DSL = getPercentileFilter( + [{ traceGroupName: 'order', durationFilter: { gte: 1000 } }], + '>= 95th' + ); + expect(DSL).toEqual( + JSON.parse( + `{"field":"Latency percentile within trace group","operator":"","value":">= 95th","inverted":false,"disabled":false,"custom":{"query":{"bool":{"must":[],"filter":[],"should":[{"bool":{"must":[{"term":{"traceGroup":{"value":"order"}}},{"range":{"traceGroupFields.durationInNanos":{"gte":1000}}}]}}],"must_not":[],"minimum_should_match":1}}}}` + ) + ); + }); + + it('converts filters to DSL', () => { + const getTestFilters = (field = 'traceGroup', operator = 'exists') => [ + [ + { + field, + operator, + value: { from: '100', to: '\u221E' }, + inverted: false, + disabled: false, + }, + ], + 'order', + 'now-5m', + 'now', + ]; + const existsDSL = filtersToDsl(...getTestFilters()); + expect(JSON.stringify(existsDSL)).toEqual( + "{\"query\":{\"bool\":{\"must\":[{\"range\":{\"startTime\":{\"gte\":\"now-5m\",\"lte\":\"now\"}}},{\"query_string\":{\"query\":\"order\"}},{\"exists\":{\"field\":\"traceGroup\"}}],\"filter\":[],\"should\":[],\"must_not\":[]}},\"custom\":{\"timeFilter\":[{\"range\":{\"startTime\":{\"gte\":\"now-5m\",\"lte\":\"now\"}}}],\"serviceNames\":[],\"serviceNamesExclude\":[],\"traceGroup\":[],\"traceGroupExclude\":[],\"percentiles\":{\"query\":{\"bool\":{\"should\":[]}}}}}" + ); + + const isDSL = filtersToDsl(...getTestFilters('traceGroup', 'is')); + expect(JSON.stringify(isDSL)).toEqual( + "{\"query\":{\"bool\":{\"must\":[{\"range\":{\"startTime\":{\"gte\":\"now-5m\",\"lte\":\"now\"}}},{\"query_string\":{\"query\":\"order\"}},{\"term\":{\"traceGroup\":{\"from\":\"100\",\"to\":\"∞\"}}}],\"filter\":[],\"should\":[],\"must_not\":[]}},\"custom\":{\"timeFilter\":[{\"range\":{\"startTime\":{\"gte\":\"now-5m\",\"lte\":\"now\"}}}],\"serviceNames\":[],\"serviceNamesExclude\":[],\"traceGroup\":[],\"traceGroupExclude\":[],\"percentiles\":{\"query\":{\"bool\":{\"should\":[]}}}}}" + ); + const isBetweenDSL = filtersToDsl(...getTestFilters('durationInNanos', 'is between')); + expect(JSON.stringify(isBetweenDSL)).toEqual( + `{"query":{"bool":{"must":[{"range":{"startTime":{"gte":"now-5m","lte":"now"}}},{"query_string":{"query":"order"}},{"range":{"durationInNanos":{"gte":"100"}}}],"filter":[],"should":[],"must_not":[]}},"custom":{"timeFilter":[{"range":{"startTime":{"gte":"now-5m","lte":"now"}}}],"serviceNames":[],"serviceNamesExclude":[],"traceGroup":[],"traceGroupExclude":[],"percentiles":{"query":{"bool":{"should":[]}}}}}` + ); + + const customDSL = filtersToDsl( + [ + { + field: 'serviceName', + operator: 'is', + value: 'order', + inverted: false, + disabled: false, + custom: { query: { bool: { should: ['test'], minimum_should_match: 1 } } }, + }, + ], + 'order', + 'now-5m', + 'now' + ); + expect(JSON.stringify(customDSL)).toEqual( + `{"query":{"bool":{"must":[{"range":{"startTime":{"gte":"now-5m","lte":"now"}}},{"query_string":{"query":"order"}}],"filter":[],"should":["test"],"must_not":[],"minimum_should_match":1}},"custom":{"timeFilter":[{"range":{"startTime":{"gte":"now-5m","lte":"now"}}}],"serviceNames":[],"serviceNamesExclude":[],"traceGroup":[],"traceGroupExclude":[],"percentiles":{"query":{"bool":{"should":["test"],"minimum_should_match":1}}}}}` + ); + }); +}); diff --git a/public/components/trace_analytics/components/common/__tests__/search_bar.test.tsx b/public/components/trace_analytics/components/common/__tests__/search_bar.test.tsx new file mode 100644 index 000000000..79bf43698 --- /dev/null +++ b/public/components/trace_analytics/components/common/__tests__/search_bar.test.tsx @@ -0,0 +1,75 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { renderDatePicker, SearchBar } from '..'; +import sinon from 'sinon'; + +describe('Search bar components', () => { + configure({ adapter: new Adapter() }); + + it('renders date picker', () => { + const setStartTime = jest.fn(); + const setEndTime = jest.fn(); + const wrapper = mount(renderDatePicker('now-5m', setStartTime, 'now', setEndTime)); + expect(wrapper).toMatchSnapshot(); + }); + + it('renders search bar', () => { + const clock = sinon.useFakeTimers(); + + const refresh = jest.fn(); + const setQuery = jest.fn(); + const setStartTime = jest.fn(); + const setEndTime = jest.fn(); + const setFilters = jest.fn(); + const wrapper = mount( + + ); + expect(wrapper).toMatchSnapshot(); + + wrapper + .find('input[data-test-subj="search-bar-input-box"]') + .simulate('change', { target: { value: 'queryTest' } }); + + clock.tick(100); + expect(setQuery).toBeCalledWith('queryTest'); + }); +}); diff --git a/public/components/trace_analytics/components/common/color_palette.ts b/public/components/trace_analytics/components/common/color_palette.ts new file mode 100644 index 000000000..cebaeeb26 --- /dev/null +++ b/public/components/trace_analytics/components/common/color_palette.ts @@ -0,0 +1,335 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +export const serviceMapColorPalette = { + latency: [ + '218, 214, 227', + '216, 212, 226', + '215, 209, 226', + '213, 207, 225', + '212, 205, 224', + '210, 202, 224', + '208, 200, 223', + '207, 198, 222', + '205, 195, 222', + '203, 193, 221', + '202, 191, 220', + '200, 189, 219', + '198, 186, 218', + '197, 184, 217', + '195, 182, 216', + '193, 180, 216', + '192, 177, 215', + '190, 175, 214', + '188, 173, 213', + '187, 171, 212', + '185, 169, 211', + '183, 166, 210', + '182, 164, 209', + '180, 162, 207', + '178, 160, 206', + '177, 158, 205', + '175, 155, 204', + '173, 153, 203', + '171, 151, 202', + '170, 149, 201', + '168, 147, 200', + '166, 145, 198', + '165, 143, 197', + '163, 140, 196', + '161, 138, 195', + '160, 136, 193', + '158, 134, 192', + '156, 132, 191', + '154, 130, 190', + '153, 128, 188', + '151, 126, 187', + '149, 124, 186', + '148, 122, 184', + '146, 120, 183', + '144, 118, 182', + '142, 116, 180', + '141, 114, 179', + '139, 111, 177', + '137, 109, 176', + '136, 107, 175', + '134, 105, 173', + '132, 103, 172', + '131, 101, 170', + '129, 99, 169', + '127, 97, 167', + '125, 95, 166', + '124, 93, 164', + '122, 91, 163', + '120, 90, 161', + '119, 88, 160', + '117, 86, 158', + '115, 84, 157', + '113, 82, 155', + '112, 80, 154', + '110, 78, 152', + '108, 76, 151', + '107, 74, 149', + '105, 72, 148', + '103, 70, 146', + '102, 68, 144', + '100, 66, 143', + '98, 64, 141', + '97, 63, 140', + '95, 61, 138', + '93, 59, 136', + '91, 57, 135', + '90, 55, 133', + '88, 53, 132', + '86, 51, 130', + '85, 49, 128', + '83, 47, 127', + '81, 46, 125', + '80, 44, 123', + '78, 42, 122', + '76, 40, 120', + '75, 38, 119', + '73, 36, 117', + '71, 34, 115', + '70, 32, 114', + '68, 31, 112', + '66, 29, 110', + '65, 27, 108', + '63, 25, 107', + '61, 23, 105', + '59, 21, 103', + '58, 19, 102', + '56, 17, 100', + '54, 15, 98', + '53, 12, 97', + '51, 10, 95', + ], + error_rate: [ + '239, 224, 230', + '239, 222, 228', + '240, 219, 226', + '240, 217, 224', + '240, 214, 222', + '240, 212, 221', + '240, 209, 219', + '240, 207, 217', + '240, 204, 215', + '240, 202, 213', + '240, 200, 211', + '240, 197, 209', + '240, 195, 208', + '239, 192, 206', + '239, 190, 204', + '239, 188, 202', + '238, 185, 200', + '238, 183, 198', + '238, 181, 196', + '237, 178, 195', + '237, 176, 193', + '236, 174, 191', + '236, 172, 189', + '235, 169, 187', + '234, 167, 185', + '234, 165, 184', + '233, 163, 182', + '232, 160, 180', + '232, 158, 178', + '231, 156, 176', + '230, 154, 174', + '229, 151, 173', + '228, 149, 171', + '227, 147, 169', + '226, 145, 167', + '225, 143, 165', + '224, 141, 164', + '223, 139, 162', + '222, 136, 160', + '221, 134, 158', + '220, 132, 156', + '219, 130, 155', + '218, 128, 153', + '217, 126, 151', + '216, 124, 149', + '214, 122, 147', + '213, 120, 146', + '212, 118, 144', + '211, 116, 142', + '209, 114, 140', + '208, 112, 139', + '207, 110, 137', + '205, 108, 135', + '204, 106, 133', + '202, 104, 132', + '201, 102, 130', + '199, 100, 128', + '198, 98, 126', + '196, 96, 125', + '195, 95, 123', + '193, 93, 121', + '192, 91, 119', + '190, 89, 118', + '189, 87, 116', + '187, 85, 114', + '186, 84, 113', + '184, 82, 111', + '182, 80, 109', + '181, 78, 107', + '179, 76, 106', + '177, 75, 104', + '175, 73, 102', + '174, 71, 101', + '172, 70, 99', + '170, 68, 97', + '168, 66, 96', + '167, 65, 94', + '165, 63, 92', + '163, 61, 91', + '161, 60, 89', + '159, 58, 87', + '157, 56, 86', + '156, 55, 84', + '154, 53, 83', + '152, 52, 81', + '150, 50, 79', + '148, 49, 78', + '146, 47, 76', + '144, 46, 74', + '142, 44, 73', + '140, 43, 71', + '138, 41, 70', + '136, 40, 68', + '134, 38, 66', + '132, 37, 65', + '130, 35, 63', + '128, 34, 62', + '126, 33, 60', + '124, 31, 59', + '122, 30, 57', + ], + throughput: [ + '216, 218, 225', + '214, 216, 225', + '211, 214, 226', + '209, 212, 226', + '206, 210, 226', + '204, 208, 226', + '202, 206, 226', + '199, 204, 226', + '197, 202, 226', + '195, 199, 226', + '193, 197, 226', + '190, 195, 225', + '188, 193, 225', + '186, 191, 225', + '184, 189, 224', + '181, 187, 224', + '179, 185, 223', + '177, 183, 223', + '175, 181, 222', + '173, 179, 221', + '171, 177, 221', + '168, 175, 220', + '166, 173, 219', + '164, 171, 218', + '162, 169, 218', + '160, 167, 217', + '158, 165, 216', + '156, 164, 215', + '154, 162, 214', + '152, 160, 213', + '150, 158, 212', + '148, 156, 211', + '146, 154, 210', + '144, 152, 209', + '142, 150, 208', + '140, 148, 207', + '138, 146, 206', + '136, 144, 205', + '134, 142, 204', + '132, 140, 203', + '130, 138, 202', + '128, 137, 200', + '126, 135, 199', + '124, 133, 198', + '122, 131, 197', + '120, 129, 196', + '118, 127, 194', + '116, 125, 193', + '114, 123, 192', + '112, 122, 191', + '110, 120, 189', + '108, 118, 188', + '106, 116, 187', + '105, 114, 186', + '103, 112, 184', + '101, 110, 183', + '99, 109, 182', + '97, 107, 180', + '95, 105, 179', + '93, 103, 178', + '91, 101, 176', + '89, 100, 175', + '88, 98, 173', + '86, 96, 172', + '84, 94, 171', + '82, 92, 169', + '80, 91, 168', + '78, 89, 166', + '76, 87, 165', + '74, 85, 163', + '72, 84, 162', + '70, 82, 161', + '68, 80, 159', + '67, 78, 158', + '65, 77, 156', + '63, 75, 155', + '61, 73, 153', + '59, 72, 152', + '57, 70, 150', + '55, 68, 149', + '53, 66, 147', + '51, 65, 146', + '49, 63, 144', + '47, 61, 143', + '45, 60, 141', + '42, 58, 140', + '40, 56, 138', + '38, 55, 137', + '36, 53, 135', + '34, 51, 134', + '31, 50, 132', + '29, 48, 130', + '26, 47, 129', + '23, 45, 127', + '20, 43, 126', + '17, 42, 124', + '14, 40, 123', + '9, 39, 121', + '5, 37, 120', + '1, 36, 118', + + ], +}; diff --git a/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filter_edit_popover.test.tsx.snap b/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filter_edit_popover.test.tsx.snap new file mode 100644 index 000000000..30c60dba1 --- /dev/null +++ b/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filter_edit_popover.test.tsx.snap @@ -0,0 +1,697 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Filter popover component renders filter popover 1`] = ` + +
+ + +
+ +
+
+ + +
+ + + + + + + +
+ +
+
+ + + +
+
+ +
+ + +
+
+
+

+ Waiting +

+ +
+ +
+
+ +
+ +
+ + + +
+
+
+
+ + +
+ +
+
+ +
+ +
+
+ +
+ + +
+ +
+ + + +
+
+ +
+ + + + + +
+
+
+
+
+ +`; diff --git a/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filter_helpers.test.tsx.snap b/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filter_helpers.test.tsx.snap new file mode 100644 index 000000000..48b5ff946 --- /dev/null +++ b/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filter_helpers.test.tsx.snap @@ -0,0 +1,209 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Filter helper functions renders range field filter 1`] = ` +Array [ + +
+ , + +
+
+ + + +
+
+ + } + id="random_html_id" + onBlur={[Function]} + onFocus={[Function]} + startControl={ + + } + > + +
+
+ + +
+ +
+ → +
+
+
+
+ + +
+
+
+
+
+
+
, +] +`; + +exports[`Filter helper functions renders textfield filter 1`] = ` +Array [ + +
+ , + +
+
+ + + +
+
+ + +
+
+ + + + +
+
+
+
+
+
+
, +] +`; diff --git a/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filters.test.tsx.snap b/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filters.test.tsx.snap new file mode 100644 index 000000000..d21333e17 --- /dev/null +++ b/public/components/trace_analytics/components/common/filters/__tests__/__snapshots__/filters.test.tsx.snap @@ -0,0 +1,197 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Filter component renders filters 1`] = ` + + +
+ +
+ + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="none" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+ +
+ + + + Add filter + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="m" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+
+
+
+`; diff --git a/public/components/trace_analytics/components/common/filters/__tests__/filter_edit_popover.test.tsx b/public/components/trace_analytics/components/common/filters/__tests__/filter_edit_popover.test.tsx new file mode 100644 index 000000000..b67d3c9b5 --- /dev/null +++ b/public/components/trace_analytics/components/common/filters/__tests__/filter_edit_popover.test.tsx @@ -0,0 +1,65 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { FilterEditPopover } from '../filter_edit_popover'; +import { getFilterFields } from '../filter_helpers'; + +describe('Filter popover component', () => { + configure({ adapter: new Adapter() }); + + it('renders filter popover', () => { + const setFilter = jest.fn(); + const closePopover = jest.fn(); + const filterFieldOptions = getFilterFields('dashboard').map((field) => ({ label: field })); + const wrapper = mount( + + ); + expect(wrapper).toMatchSnapshot(); + + wrapper + .find('input') + .at(0) + .simulate('change', [{ label: 'traceGroup' }]); + wrapper + .find('input') + .at(1) + .simulate('change', [{ label: 'exists' }]); + wrapper.find('button[data-test-subj="filter-popover-cancel-button"]').simulate('click'); + + expect(closePopover).toBeCalled(); + + wrapper.find('button[data-test-subj="comboBoxToggleListButton"]').at(0).simulate('click'); + }); +}); diff --git a/public/components/trace_analytics/components/common/filters/__tests__/filter_helpers.test.tsx b/public/components/trace_analytics/components/common/filters/__tests__/filter_helpers.test.tsx new file mode 100644 index 000000000..bf7c6b604 --- /dev/null +++ b/public/components/trace_analytics/components/common/filters/__tests__/filter_helpers.test.tsx @@ -0,0 +1,132 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { configure, mount } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { + getFilterFields, + getInvertedOperator, + getOperatorOptions, + getValidFilterFields, + getValueComponent, +} from '../filter_helpers'; + +describe('Filter helper functions', () => { + configure({ adapter: new Adapter() }); + + it('returns fields by page', () => { + const fields = getFilterFields('dashboard'); + expect(fields).toEqual([ + 'traceGroup', + 'serviceName', + 'error', + 'status.message', + 'latency', + ]); + }); + + it('returns valid fields by page', () => { + const dashboardFields = getValidFilterFields('dashboard'); + const servicesFields = getValidFilterFields('services'); + expect(dashboardFields).toEqual([ + 'traceGroup', + 'serviceName', + 'error', + 'status.message', + 'latency', + 'Latency percentile within trace group', + ]); + expect(servicesFields).toEqual([ + 'traceGroup', + 'serviceName', + 'error', + 'status.message', + 'latency', + ]); + }); + + it('returns inverted operators', () => { + const invertedBetween = getInvertedOperator('is between', true); + const invertedExist = getInvertedOperator('exists', true); + const invertedIs = getInvertedOperator('is', true); + expect(invertedBetween).toEqual('is not between'); + expect(invertedExist).toEqual('does not exist'); + expect(invertedIs).toEqual('is not'); + }); + + it('returns operator options by field', () => { + const options = getOperatorOptions('durationInNanos'); + expect(options).toEqual([ + { + label: 'is', + }, + { + label: 'is not', + }, + { + label: 'is between', + }, + { + label: 'is not between', + }, + { + label: 'exists', + }, + { + label: 'does not exist', + }, + ]); + }); + + it('renders textfield filter', () => { + const setValue = jest.fn((v) => {}); + const wrapper = mount(getValueComponent('serviceName', 'is', 0, setValue)); + expect(wrapper).toMatchSnapshot(); + + wrapper.find('input').simulate('change', { target: { value: '100' } }); + expect(setValue).toBeCalledWith('100'); + }); + + it('renders range field filter', () => { + const setValue = jest.fn((v) => {}); + const wrapper = mount( + getValueComponent('latency', 'is not between', { from: '0', to: '100' }, setValue) + ); + expect(wrapper).toMatchSnapshot(); + + wrapper + .find('input') + .at(0) + .simulate('change', { target: { value: '50' } }); + expect(setValue).toBeCalledWith({ from: '50', to: '100' }); + + wrapper + .find('input') + .at(1) + .simulate('change', { target: { value: '200' } }); + expect(setValue).toBeCalledWith({ from: '0', to: '200' }); + }); +}); diff --git a/public/components/trace_analytics/components/common/filters/__tests__/filters.test.tsx b/public/components/trace_analytics/components/common/filters/__tests__/filters.test.tsx new file mode 100644 index 000000000..2cc11b437 --- /dev/null +++ b/public/components/trace_analytics/components/common/filters/__tests__/filters.test.tsx @@ -0,0 +1,41 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { Filters } from '../filters'; + +describe('Filter component', () => { + configure({ adapter: new Adapter() }); + + it('renders filters', () => { + const setFilters = jest.fn(); + const wrapper = mount(); + expect(wrapper).toMatchSnapshot(); + }); +}); diff --git a/public/components/trace_analytics/components/common/filters/filter_edit_popover.tsx b/public/components/trace_analytics/components/common/filters/filter_edit_popover.tsx new file mode 100644 index 000000000..7959bf170 --- /dev/null +++ b/public/components/trace_analytics/components/common/filters/filter_edit_popover.tsx @@ -0,0 +1,149 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { + EuiButton, + EuiButtonEmpty, + EuiComboBox, + EuiComboBoxOptionOption, + EuiFlexGroup, + EuiFlexItem, + EuiFormRow, + EuiSpacer, +} from '@elastic/eui'; +import React, { useState } from 'react'; +import { FilterType } from './filters'; +import { getInvertedOperator, getOperatorOptions, getValueComponent } from './filter_helpers'; + +export function FilterEditPopover(props: { + filter?: FilterType; + index: number; + setFilter: (newFilter: FilterType, index: number) => void; + closePopover: () => void; + filterFieldOptions: Array<{ label: string }>; +}) { + const [selectedFieldOptions, setSelectedFieldOptions] = useState< + Array> + >(props.filter ? [{ label: props.filter.field }] : []); + const [selectedOperatorOptions, setSelectedOperatorOptions] = useState< + Array> + >( + props.filter + ? [{ label: getInvertedOperator(props.filter.operator, props.filter.inverted) }] + : [] + ); + const [filterValue, setFilterValue] = useState(props.filter?.value || ''); + + return ( +
+ {/* invisible button workaround to prevent auto focus on context menu panel switch */} +
+ ); +} diff --git a/public/components/trace_analytics/components/common/filters/filter_helpers.tsx b/public/components/trace_analytics/components/common/filters/filter_helpers.tsx new file mode 100644 index 000000000..e9397315d --- /dev/null +++ b/public/components/trace_analytics/components/common/filters/filter_helpers.tsx @@ -0,0 +1,241 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { + EuiComboBox, + EuiFieldText, + EuiFormControlLayoutDelimited, + EuiFormRow, + EuiSpacer, +} from '@elastic/eui'; +import _ from 'lodash'; +import React from 'react'; + +const getFields = (page: 'dashboard' | 'traces' | 'services') => + ({ + dashboard: ['traceGroup', 'serviceName', 'error', 'status.message', 'latency'], + traces: ['traceId', 'traceGroup', 'serviceName', 'error', 'status.message', 'latency'], + services: ['traceGroup', 'serviceName', 'error', 'status.message', 'latency'], + }[page]); +// filters will take effect and can be manually added +export const getFilterFields = (page: 'dashboard' | 'traces' | 'services') => getFields(page); +// filters will take effect +export const getValidFilterFields = (page: 'dashboard' | 'traces' | 'services') => { + const fields = getFields(page); + if (page !== 'services') return [...fields, 'Latency percentile within trace group']; + return fields; +}; + +const getType = (field: string): string => { + const typeMapping = { + attributes: { + host: { + port: 'long', + }, + http: { + response_content_length: 'long', + status_code: 'long', + }, + net: { + port: 'long', + }, + }, + attributes_host: { + port: 'long', + }, + attributes_http: { + response_content_length: 'long', + status_code: 'long', + }, + attributes_net: { + port: 'long', + }, + durationInNanos: 'long', + latency: 'long', + endTime: 'date_nanos', + startTime: 'date_nanos', + }; + const type = _.get(typeMapping, field, 'keyword'); + return typeof type === 'string' ? type : null; +}; + +export const getInvertedOperator = (operator: string, inverted: boolean) => { + if (operator.includes('between')) return inverted ? 'is not between' : 'is between'; + else if (operator.includes('exist')) return inverted ? 'does not exist' : 'exists'; + else if (operator === 'is' || operator === 'is not') return inverted ? 'is not' : 'is'; +}; + +export const getOperatorOptions = (field: string) => { + const type = getType(field); + const operatorMapping = { + long: [ + { + label: 'is between', + }, + { + label: 'is not between', + }, + ], + date_nanos: [ + { + label: 'is between', + }, + { + label: 'is not between', + }, + ], + keyword: [], + default_first: [ + { + label: 'is', + }, + { + label: 'is not', + }, + ], + default_last: [ + { + label: 'exists', + }, + { + label: 'does not exist', + }, + ], + }; + const operators = [ + ...operatorMapping.default_first, + ...operatorMapping[type], + ...operatorMapping.default_last, + ]; + return operators; +}; + +export const getValueComponent = ( + field: string, + operator: string, + value: any, + setValue: (v: any) => void +) => { + const textField = ( + <> + + + setValue(e.target.value)} + /> + + + ); + + const getRangeField = () => { + const getFromValue = () => { + if (value?.from) { + return value.from.includes('\u221E') ? '' : value.from; + } + return ''; + }; + const getToValue = () => { + if (value?.to) { + return value.to.includes('\u221E') ? '' : value.to; + } + return ''; + }; + const setFromValue = (from: string) => { + setValue({ from: from || '-\u221E', to: getToValue() || '\u221E' }); + }; + const setToValue = (to: string) => { + setValue({ from: getFromValue() || '-\u221E', to: to || '\u221E' }); + }; + return ( + <> + + + setFromValue(e.target.value)} + /> + } + endControl={ + setToValue(e.target.value)} + /> + } + /> + + + ); + }; + + const getComboBoxField = () => { + return ( + <> + + + + + + ); + }; + + if (field === 'error' && (operator === 'is' || operator === 'is not')) { + return getComboBoxField(); + } + + const valueMapping = { + is: textField, + 'is not': textField, + 'is between': getRangeField(), + 'is not between': getRangeField(), + exists: null, + 'does not exist': null, + }; + + return valueMapping[operator]; +}; diff --git a/public/components/trace_analytics/components/common/filters/filters.tsx b/public/components/trace_analytics/components/common/filters/filters.tsx new file mode 100644 index 000000000..1886407b0 --- /dev/null +++ b/public/components/trace_analytics/components/common/filters/filters.tsx @@ -0,0 +1,338 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { + EuiBadge, + EuiButtonEmpty, + EuiButtonIcon, + EuiContextMenu, + EuiContextMenuPanelDescriptor, + EuiFlexGroup, + EuiFlexItem, + EuiIcon, + EuiPopover, + EuiPopoverTitle, + EuiTextColor, +} from '@elastic/eui'; +import React, { Dispatch, SetStateAction, useMemo, useState } from 'react'; +import { FilterEditPopover } from './filter_edit_popover'; +import { getFilterFields, getValidFilterFields } from './filter_helpers'; + +export interface FilterType { + field: string; + operator: string; + value: any; + inverted: boolean; + disabled: boolean; + custom?: any; + locked?: boolean; +} + +export interface FiltersProps { + filters: FilterType[]; + setFilters: (filters: FilterType[]) => void; +} + +interface FiltersOwnProps extends FiltersProps { + page: 'dashboard' | 'traces' | 'services'; +} + +export function Filters(props: FiltersOwnProps) { + // set a filter at an index. if newFilter doesn't exist, remove filter at the index + // if index doesn't exist, append newFilter to the end + const setFilter = (newFilter: FilterType, index: number) => { + const newFilters = [...props.filters]; + if (newFilter) newFilters.splice(index, 1, newFilter); + else newFilters.splice(index, 1); + props.setFilters(newFilters); + }; + + const validFilterFields = useMemo(() => getValidFilterFields(props.page), [props.page]); + const filterFieldOptions = useMemo( + () => getFilterFields(props.page).map((field) => ({ label: field })), + [props.page] + ); + + const globalPopoverPanels = [ + { + id: 0, + title: 'Change all filters', + items: [ + { + name: 'Enable all', + icon: , + onClick: () => { + props.setFilters( + props.filters.map((filter) => ({ + ...filter, + disabled: filter.locked ? filter.disabled : false, + })) + ); + }, + }, + { + name: 'Disable all', + icon: , + onClick: () => { + props.setFilters( + props.filters.map((filter) => ({ + ...filter, + disabled: filter.locked ? filter.disabled : true, + })) + ); + }, + }, + { + name: 'Invert inclusion', + icon: , + onClick: () => { + props.setFilters( + // if filter.custom.query exists, it's a customized filter and "inverted" is alwasy false + props.filters.map((filter) => ({ + ...filter, + inverted: filter.locked + ? filter.inverted + : filter.custom?.query + ? false + : !filter.inverted, + })) + ); + }, + }, + { + name: 'Invert enabled/disabled', + icon: , + onClick: () => { + props.setFilters( + props.filters.map((filter) => ({ + ...filter, + disabled: filter.locked ? filter.disabled : !filter.disabled, + })) + ); + }, + }, + { + name: 'Remove all', + icon: , + onClick: () => { + props.setFilters([]); + }, + }, + ], + }, + ]; + + const getFilterPopoverPanels = ( + filter: FilterType, + index: number, + closePopover: () => void + ): EuiContextMenuPanelDescriptor[] => [ + { + id: 0, + items: [ + { + name: 'Edit filter', + icon: , + disabled: !!filter.custom?.query || validFilterFields.indexOf(filter.field) === -1, + panel: 1, + }, + { + name: `${filter.inverted ? 'Include' : 'Exclude'} results`, + icon: , + disabled: !!filter.custom?.query || validFilterFields.indexOf(filter.field) === -1, + onClick: () => { + filter.inverted = !filter.inverted; + setFilter(filter, index); + }, + }, + { + name: filter.disabled ? 'Re-enable' : 'Temporarily disable', + icon: , + disabled: validFilterFields.indexOf(filter.field) === -1, + onClick: () => { + filter.disabled = !filter.disabled; + setFilter(filter, index); + }, + }, + { + name: 'Delete', + icon: , + onClick: () => setFilter(null, index), + }, + ], + }, + { + id: 1, + width: 430, + title: 'Edit filter', + content: ( +
+ +
+ ), + }, + ]; + + const GlobalFilterButton = () => { + const [isPopoverOpen, setIsPopoverOpen] = useState(false); + return ( + setIsPopoverOpen(false)} + button={ + setIsPopoverOpen(true)} + iconType="filter" + title="Change all filters" + aria-label="Change all filters" + /> + } + anchorPosition="rightUp" + panelPaddingSize="none" + withTitle + > + + + ); + }; + + const AddFilterButton = () => { + const [isPopoverOpen, setIsPopoverOpen] = useState(false); + const button = ( + { + setIsPopoverOpen(true); + }} + > + + Add filter + + ); + + return ( + setIsPopoverOpen(false)} + anchorPosition="downLeft" + withTitle + > + {'Add filter'} + setIsPopoverOpen(false)} + /> + + ); + }; + + const renderFilters = () => { + const FilterBadge = ({ filter, index }: { filter: FilterType; index: number }) => { + const [isPopoverOpen, setIsPopoverOpen] = useState(false); + const disabled = filter.locked || filter.disabled; + const className = + 'globalFilterItem' + + (disabled ? ' globalFilterItem-isDisabled' : '') + + (filter.inverted ? ' globalFilterItem-isExcluded' : ''); + const value = + typeof filter.value === 'string' + ? filter.value + : Array.isArray(filter.value) // combo box + ? filter.value[0].label + : `${filter.value.from} to ${filter.value.to}`; // range selector + const filterLabel = filter.inverted ? ( + <> + {'NOT '} + {`${filter.field}: ${value}`} + + ) : ( + `${filter.field}: ${value}` + ); + + const badge = ( + setIsPopoverOpen(true)} + onClickAriaLabel="Open filter settings" + color={disabled ? '#e7e9f0' : 'hollow'} + iconType="cross" + iconSide="right" + iconOnClick={() => { + setFilter(null, index); + }} + iconOnClickAriaLabel="Remove filter" + > + {filterLabel} + + ); + return ( + + setIsPopoverOpen(false)} + panelPaddingSize="none" + button={badge} + > + setIsPopoverOpen(false))} + /> + + + ); + }; + + return ( + <> + {props.filters.length > 0 + ? props.filters.map((filter, i) => ) + : null} + + ); + }; + + const filterComponents = useMemo(() => renderFilters(), [props.filters]); + + return ( + + + + + {filterComponents} + + + + + ); +} diff --git a/public/components/trace_analytics/components/common/helper_functions.tsx b/public/components/trace_analytics/components/common/helper_functions.tsx new file mode 100644 index 000000000..713698657 --- /dev/null +++ b/public/components/trace_analytics/components/common/helper_functions.tsx @@ -0,0 +1,419 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import dateMath from '@elastic/datemath'; +import { EuiButton, EuiEmptyPrompt, EuiSpacer, EuiText } from '@elastic/eui'; +import { SpacerSize } from '@elastic/eui/src/components/spacer/spacer'; +import React from 'react'; +import { + DATA_PREPPER_INDEX_NAME, + DATA_PREPPER_SERVICE_INDEX_NAME, + TRACE_ANALYTICS_DOCUMENTATION_LINK, +} from '../../../../../common/constants/trace_analytics'; +import { serviceMapColorPalette } from './color_palette'; +import { FilterType } from './filters/filters'; +import { ServiceObject } from './plots/service_map'; + +export function PanelTitle({ title, totalItems }: { title: string; totalItems?: number }) { + return ( + + {title} + {totalItems === 0 || totalItems ? ( + {` (${totalItems})`} + ) : null} + + ); +} + +export function NoMatchMessage(props: { size: SpacerSize }) { + return ( + <> + + No matches} + body={ + + No data matches the selected filter. Clear the filter and/or increase the time range to + see more results. + + } + /> + + + ); +} + +export function MissingConfigurationMessage() { + return ( + <> + Trace Analytics not set up} + body={ + + {`The indices required for trace analytics (${DATA_PREPPER_INDEX_NAME} and ${DATA_PREPPER_SERVICE_INDEX_NAME}) do not exist or you do not have permission to access them.`} + + } + actions={ + window.open(TRACE_ANALYTICS_DOCUMENTATION_LINK, '_blank')} + > + Learn more + + } + /> + + ); +} + +export function renderBenchmark(value: number) { + if (typeof value !== 'number') return null; + const benchmarkColor = value === 0 ? '#9ea8a9' : value > 0 ? '#c23f25' : '#3f7e23'; + const benchmarkArrow = value === 0 ? '-' : value > 0 ? '\u25B4' : '\u25BE'; + return ( + + {`${Math.abs(value)}% ${benchmarkArrow}`} + + ); +} + +export function nanoToMilliSec(nano: number) { + if (typeof nano !== 'number') return 0; + return nano / 1000000; +} + +export function milliToNanoSec(ms: number) { + if (typeof ms !== 'number') return 0; + return ms * 1000000; +} + +export function getServiceMapScaleColor( + percent: number, + idSelected: 'latency' | 'error_rate' | 'throughput' +) { + return serviceMapColorPalette[idSelected][Math.min(99, Math.max(0, Math.floor(percent * 100)))]; +} + +// construct vis-js graph from ServiceObject +export function getServiceMapGraph( + map: ServiceObject, + idSelected: 'latency' | 'error_rate' | 'throughput', + ticks: number[], + currService?: string, + relatedServices?: string[] +) { + if (!relatedServices) relatedServices = Object.keys(map); + + const nodes = Object.keys(map).map((service) => { + const value = map[service][idSelected]; + let styleOptions; + if (value || value === 0) { + const percent = (value - ticks[0]) / (ticks[ticks.length - 1] - ticks[0]); + const color = getServiceMapScaleColor(percent, idSelected); + styleOptions = { + borderWidth: 0, + color: relatedServices!.indexOf(service) >= 0 ? `rgba(${color}, 1)` : `rgba(${color}, 0.3)`, + }; + } else { + // service nodes that are not matched under traceGroup filter + styleOptions = { + borderWidth: 1.5, + chosen: false, + color: { + border: '#DADADC', + background: '#FFFFFF', + }, + shapeProperties: { + borderDashes: [2, 2], + }, + }; + } + + const message = + { latency: 'Average latency: ', error_rate: 'Error rate: ', throughput: 'Throughput: ' }[ + idSelected + ] + + (value! >= 0 + ? value + (idSelected === 'latency' ? 'ms' : idSelected === 'error_rate' ? '%' : '') + : 'N/A'); + + return { + id: map[service].id, + label: service, + size: service === currService ? 30 : 15, + title: `

${service}

${message}

`, + ...styleOptions, + }; + }); + const edges: Array<{ from: number; to: number; color: string }> = []; + Object.keys(map).map((service) => { + map[service].targetServices.map((target) => { + edges.push({ + from: map[service].id, + to: map[target].id, + color: + relatedServices!.indexOf(service) >= 0 && relatedServices!.indexOf(target) >= 0 + ? 'rgba(0, 0, 0, 1)' + : 'rgba(0, 0, 0, 0.3)', + }); + }); + }); + return { graph: { nodes, edges } }; +} + +// returns flattened targetResource as an array for all traceGroups +export function getServiceMapTargetResources(map: ServiceObject, serviceName: string) { + return ([] as string[]).concat.apply( + [], + [...map[serviceName].traceGroups.map((traceGroup) => [...traceGroup.targetResource])] + ); +} + +export function calculateTicks(min: number, max: number, numTicks = 5): number[] { + if (min >= max) return calculateTicks(0, Math.max(1, max), numTicks); + min = Math.floor(min); + max = Math.ceil(max); + + const range = max - min; + const minInterval = range / numTicks; + const magnitude = Math.pow(10, Math.floor(Math.log10(minInterval))); + const residue = Math.ceil(minInterval / magnitude); + + let tick = magnitude; + if (residue > 5) tick *= 10; + else if (residue > 2) tick *= 5; + else if (residue > 1) tick *= 2; + + let curr = Math.max(0, Math.floor((min - 1) / tick) * tick); + const ticks = [curr]; + while (curr < max) { + curr += tick; + ticks.push(curr); + } + + return ticks; +} + +// calculates the minimum fixed_interval for date_histogram from time filter +export const minFixedInterval = (startTime: string, endTime: string) => { + if (startTime?.length === 0 || endTime?.length === 0 || startTime === endTime) return '1d'; + const momentStart = dateMath.parse(startTime)!; + const momentEnd = dateMath.parse(endTime)!; + const diffSeconds = momentEnd.unix() - momentStart.unix(); + + if (diffSeconds <= 1) return '1ms'; // less than 1 second + if (diffSeconds <= 60 * 2) return '1s'; // less than 2 minutes + if (diffSeconds <= 3600 * 2) return '1m'; // less than 2 hours + if (diffSeconds <= 86400 * 2) return '1h'; // less than 2 days + if (diffSeconds <= 86400 * 62) return '1d'; // less than 2 months + if (diffSeconds <= 86400 * 366) return '30d'; // less than 1 year + return '365d'; +}; + +export const fixedIntervalToMilli = (fixedInterval: string) => { + return { + '1ms': 1, + '1s': 1000, + '1m': 60000, + '1h': 3600000, + '1d': 86400000, + '30d': 86400000 * 30, + '365d': 86400000 * 365, + }[fixedInterval]; +}; + +export const fixedIntervalToTickFormat = (fixedInterval: string) => { + if (fixedInterval === '1d') return '%b %e, %Y'; + if (fixedInterval === '30d') return '%b %Y'; + if (fixedInterval === '365d') return '%Y'; + return ''; +}; + +export const getPercentileFilter = ( + percentileMaps: Array<{ traceGroupName: string; durationFilter: { gte?: number; lte?: number } }>, + conditionString: string // >= 95th, < 95th +): FilterType => { + const DSL: any = { + query: { + bool: { + must: [], + filter: [], + should: [], + must_not: [], + minimum_should_match: 1, + }, + }, + }; + percentileMaps.forEach((map) => { + DSL.query.bool.should.push({ + bool: { + must: [ + { + term: { + traceGroup: { + value: map.traceGroupName, + }, + }, + }, + { + range: { + 'traceGroupFields.durationInNanos': map.durationFilter, + }, + }, + ], + }, + }); + }); + return { + field: 'Latency percentile within trace group', + operator: '', + value: conditionString, + inverted: false, + disabled: false, + custom: DSL, + }; +}; + +export const filtersToDsl = ( + filters: FilterType[], + query: string, + startTime: string, + endTime: string +) => { + const DSL: any = { + query: { + bool: { + must: [], + filter: [], + should: [], + must_not: [], + }, + }, + custom: { + timeFilter: [], + serviceNames: [], + serviceNamesExclude: [], + traceGroup: [], + traceGroupExclude: [], + percentiles: { + query: { + bool: { + should: [], + }, + }, + }, + }, + }; + const timeFilter = { + range: { + startTime: { + gte: startTime, + lte: endTime, + }, + }, + }; + DSL.query.bool.must.push(timeFilter); + DSL.custom.timeFilter.push(timeFilter); + if (query.length > 0) { + DSL.query.bool.must.push({ + query_string: { + query, + }, + }); + } + + filters + .filter((filter) => !filter.disabled && !filter.locked) + .forEach((filter) => { + if (filter.custom?.query) { + // add percentile filter + DSL.query.bool.should.push(...filter.custom.query.bool.should); + DSL.custom.percentiles.query.bool.should.push(...filter.custom.query.bool.should); + DSL.query.bool.minimum_should_match = filter.custom.query.bool.minimum_should_match; + DSL.custom.percentiles.query.bool.minimum_should_match = + filter.custom.query.bool.minimum_should_match; + return; + } + + let filterQuery = {}; + let field = filter.field; + if (field === 'latency') field = 'traceGroupFields.durationInNanos'; + else if (field === 'error') field = 'traceGroupFields.statusCode'; + let value; + + switch (filter.operator) { + case 'exists': + case 'does not exist': + filterQuery = { + exists: { + field, + }, + }; + break; + + case 'is': + case 'is not': + value = filter.value; + // latency and error are not actual fields, need to convert first + if (field === 'traceGroupFields.durationInNanos') { + value = milliToNanoSec(value); + } else if (field === 'traceGroupFields.statusCode') { + value = value[0].label === 'true' ? '2' : '0'; + } + + filterQuery = { + term: { + [field]: value, + }, + }; + break; + + case 'is between': + case 'is not between': + const range: { gte?: string; lte?: string } = {}; + if (!filter.value.from.includes('\u221E')) range.gte = filter.value.from; + if (!filter.value.to.includes('\u221E')) range.lte = filter.value.to; + if (field === 'traceGroupFields.durationInNanos') { + if (range.lte) range.lte = milliToNanoSec(parseInt(range.lte || '')).toString(); + if (range.gte) range.gte = milliToNanoSec(parseInt(range.gte || '')).toString(); + } + filterQuery = { + range: { + [field]: range, + }, + }; + break; + + default: + break; + } + DSL.query.bool[filter.inverted ? 'must_not' : 'must'].push(filterQuery); + }); + + return DSL; +}; diff --git a/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/box_plt.test.tsx.snap b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/box_plt.test.tsx.snap new file mode 100644 index 000000000..7d7595e66 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/box_plt.test.tsx.snap @@ -0,0 +1,169 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Box plot component renders box plot 1`] = ` + + + + +

+ Latency <95 percentile +

+
+
+ + +

+ 20ms - 50ms +

+
+
+ + +

+ Latency >=95 percentile +

+
+
+ + +

+ 50ms - 80ms +

+
+
+ + } + delay="regular" + onMouseOut={[Function]} + position="bottom" + > + +
+
+`; diff --git a/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/error_rate_plt_.test.tsx.snap b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/error_rate_plt_.test.tsx.snap new file mode 100644 index 000000000..a996b2543 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/error_rate_plt_.test.tsx.snap @@ -0,0 +1,102 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Error rate plot component renders error rate plot 1`] = ` + + + + + Error rate: %{y}", + "marker": Object { + "color": "#fad963", + }, + "text": Array [ + "Dec 19, 2019 16:00:00 - Dec 18, 2020 16:00:00", + ], + "type": "bar", + "x": Array [ + 1576800000000, + ], + "y": Array [ + 22.22, + ], + }, + ] + } + layout={ + Object { + "annotations": Array [ + Object { + "arrowhead": 0, + "arrowwidth": 0.7, + "ax": 0, + "ay": -160, + "borderpad": 10, + "showarrow": true, + "text": "Now: 22.22%", + "x": 1576800000000, + "xref": "x", + "y": 0, + "yref": "y", + }, + ], + "height": 217, + "margin": Object { + "b": 50, + "l": 57, + "pad": 4, + "r": 5, + "t": 30, + }, + "showlegend": false, + "xaxis": Object { + "color": "#899195", + "fixedrange": true, + "showgrid": false, + "tickformat": "%Y", + "type": "date", + "visible": true, + }, + "yaxis": Object { + "color": "#899195", + "fixedrange": true, + "gridcolor": "#d9d9d9", + "range": Array [ + 0, + 26.663999999999998, + ], + "showgrid": true, + "ticksuffix": "%", + "title": Object { + "font": Object { + "size": 12, + }, + "standoff": 10, + "text": "Error rate (%)", + }, + "visible": true, + }, + } + } + onClickHandler={[Function]} + /> + + +`; diff --git a/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/latency_trend_plt.test.tsx.snap b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/latency_trend_plt.test.tsx.snap new file mode 100644 index 000000000..0acd3301f --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/latency_trend_plt.test.tsx.snap @@ -0,0 +1,138 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Latency trend plot component renders dash 1`] = ` +
+ - +
+`; + +exports[`Latency trend plot component renders latency plot 1`] = ` + + Average latency: %{y}", + "line": Object { + "color": "#987dcb", + }, + "marker": Object { + "color": "#987dcb", + "size": 8, + }, + "mode": "lines+markers", + "type": "scatter", + "x": Array [ + 1605027600000, + ], + "y": Array [ + 284.47, + ], + }, + ] + } + layout={ + Object { + "annotations": Array [ + Object { + "arrowhead": 0, + "arrowwidth": 0.7, + "ax": 0, + "ay": -140, + "borderpad": 10, + "showarrow": true, + "text": "Now: 284.47ms", + "x": 1605027600000, + "xref": "x", + "y": 0, + "yref": "y", + }, + ], + "height": 200, + "margin": Object { + "b": 50, + "l": 50, + "pad": 0, + "r": 30, + "t": 30, + }, + "width": 400, + "xaxis": Object { + "color": "#899195", + "showgrid": false, + "tickmode": "auto", + "type": "date", + }, + "yaxis": Object { + "color": "#899195", + "gridcolor": "#d9d9d9", + "title": Object { + "font": Object { + "size": 12, + }, + "text": "Hourly latency (ms)", + }, + }, + } + } + /> + +`; + +exports[`Latency trend plot component renders line plot 1`] = ` + +`; diff --git a/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/plt.test.tsx.snap b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/plt.test.tsx.snap new file mode 100644 index 000000000..6eced5275 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/plt.test.tsx.snap @@ -0,0 +1,107 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Plotly component renders plot 1`] = ` +Throughput: %{y:,}", + "marker": Object { + "color": "rgb(171, 211, 240)", + }, + "text": Array [ + "Dec 19, 2019 16:00:00 - Dec 18, 2020 16:00:00", + ], + "type": "bar", + "x": Array [ + 1576800000000, + ], + "y": Array [ + 36, + ], + }, + ] + } + layout={Object {}} +> + Throughput: %{y:,}", + "marker": Object { + "color": "rgb(171, 211, 240)", + }, + "text": Array [ + "Dec 19, 2019 16:00:00 - Dec 18, 2020 16:00:00", + ], + "type": "bar", + "x": Array [ + 1576800000000, + ], + "y": Array [ + 36, + ], + }, + ] + } + debug={false} + layout={ + Object { + "autosize": true, + "barmode": "stack", + "hovermode": "closest", + "legend": Object { + "orientation": "h", + "traceorder": "normal", + }, + "margin": Object { + "b": 30, + "l": 30, + "pad": 4, + "r": 5, + "t": 5, + }, + "showlegend": false, + "xaxis": Object { + "rangemode": "normal", + "showgrid": true, + "zeroline": false, + }, + "yaxis": Object { + "rangemode": "normal", + "showgrid": true, + "zeroline": false, + }, + } + } + style={ + Object { + "height": "100%", + "width": "100%", + } + } + useResizeHandler={true} + > +
+ + +`; diff --git a/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/service_map.test.tsx.snap b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/service_map.test.tsx.snap new file mode 100644 index 000000000..ec80b8296 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/service_map.test.tsx.snap @@ -0,0 +1,361 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Service map component renders service map 1`] = ` + + + + + + + + + + Focus on + + + + + + + + + + + + + + + +`; diff --git a/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/service_map_scale.test.tsx.snap b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/service_map_scale.test.tsx.snap new file mode 100644 index 000000000..6223a3d6e --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/service_map_scale.test.tsx.snap @@ -0,0 +1,326 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Service map scale component renders service map scale plot 1`] = ` + +
+ + +
+ + + +
+ + +
+ +
+ unmatched-node-legend +
+
+ +
+ +
+ No match +
+
+
+
+
+
+
+ +`; diff --git a/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/throughput_plt.test.tsx.snap b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/throughput_plt.test.tsx.snap new file mode 100644 index 000000000..49b00d65e --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/__snapshots__/throughput_plt.test.tsx.snap @@ -0,0 +1,95 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Throughput plot component renders throughput plot 1`] = ` + + + + + Error rate: %{y}", + "marker": Object { + "color": "#fad963", + }, + "text": Array [ + "Dec 19, 2019 16:00:00 - Dec 18, 2020 16:00:00", + ], + "type": "bar", + "x": Array [ + 1576800000000, + ], + "y": Array [ + 22.22, + ], + }, + ] + } + layout={ + Object { + "annotations": Array [ + Object { + "arrowhead": 0, + "arrowwidth": 0.7, + "ax": 0, + "ay": -160, + "borderpad": 10, + "showarrow": true, + "text": "Now: 22.22", + "x": 1576800000000, + "xref": "x", + "y": 0, + "yref": "y", + }, + ], + "height": 217, + "margin": Object { + "b": 50, + "l": 50, + "pad": 4, + "r": 5, + "t": 30, + }, + "xaxis": Object { + "color": "#899195", + "fixedrange": true, + "showgrid": false, + "tickformat": "%Y", + "type": "date", + "visible": true, + }, + "yaxis": Object { + "color": "#899195", + "fixedrange": true, + "gridcolor": "#d9d9d9", + "showgrid": true, + "title": Object { + "font": Object { + "size": 12, + }, + "text": "Throughput (n)", + }, + "visible": true, + }, + } + } + onClickHandler={[Function]} + /> + + +`; diff --git a/public/components/trace_analytics/components/common/plots/__tests__/box_plt.test.tsx b/public/components/trace_analytics/components/common/plots/__tests__/box_plt.test.tsx new file mode 100644 index 000000000..0cf319374 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/box_plt.test.tsx @@ -0,0 +1,53 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { BoxPlt } from '../box_plt'; + +describe('Box plot component', () => { + configure({ adapter: new Adapter() }); + + it('renders box plot', () => { + const addFilter = jest.fn(); + const wrapper = shallow( + + ); + expect(wrapper).toMatchSnapshot(); + }); +}); diff --git a/public/components/trace_analytics/components/common/plots/__tests__/error_rate_plt_.test.tsx b/public/components/trace_analytics/components/common/plots/__tests__/error_rate_plt_.test.tsx new file mode 100644 index 000000000..a12dc3cd3 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/error_rate_plt_.test.tsx @@ -0,0 +1,63 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { ErrorRatePlt } from '../error_rate_plt'; + +describe('Error rate plot component', () => { + configure({ adapter: new Adapter() }); + + it('renders error rate plot', () => { + const setStartTime = jest.fn(); + const setEndTime = jest.fn(); + const items = { + items: [ + { + x: [1576800000000], + y: [22.22], + marker: { + color: '#fad963', + }, + type: 'bar', + text: ['Dec 19, 2019 16:00:00 - Dec 18, 2020 16:00:00'], + hoverlabel: { + align: 'left', + }, + hovertemplate: '%{text}
Error rate: %{y}', + }, + ] as Plotly.Data[], + fixedInterval: '365d', + }; + const wrapper = shallow( + + ); + + expect(wrapper).toMatchSnapshot(); + }); +}); diff --git a/public/components/trace_analytics/components/common/plots/__tests__/latency_trend_plt.test.tsx b/public/components/trace_analytics/components/common/plots/__tests__/latency_trend_plt.test.tsx new file mode 100644 index 000000000..967ade894 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/latency_trend_plt.test.tsx @@ -0,0 +1,99 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { ErrorRatePlt } from '../error_rate_plt'; +import { LatencyPlt, LinePlt } from '../latency_trend_plt'; + +describe('Latency trend plot component', () => { + configure({ adapter: new Adapter() }); + + it('renders line plot', () => { + const data = [ + { + x: [1605027600000, 1605027700000], + y: [78.16, 100], + type: 'scatter', + mode: 'lines', + hoverinfo: 'none', + line: { + color: '#000000', + width: 1, + }, + }, + ] as Plotly.Data[]; + const wrapper = shallow(); + + expect(wrapper).toMatchSnapshot(); + }); + + it('renders dash', () => { + const data = [ + { + x: [1605027600000], + y: [78.16], + type: 'scatter', + mode: 'lines', + hoverinfo: 'none', + line: { + color: '#000000', + width: 1, + }, + }, + ] as Plotly.Data[]; + const wrapper = shallow(); + + expect(wrapper).toMatchSnapshot(); + }); + + it('renders latency plot', () => { + const data = [ + { + x: [1605027600000], + y: [284.47], + type: 'scatter', + mode: 'lines+markers', + hovertemplate: '%{x}
Average latency: %{y}', + hoverlabel: { + bgcolor: '#d7c2ff', + }, + marker: { + color: '#987dcb', + size: 8, + }, + line: { + color: '#987dcb', + }, + }, + ] as Plotly.Data[]; + const wrapper = shallow(); + + expect(wrapper).toMatchSnapshot(); + }); +}); diff --git a/public/components/trace_analytics/components/common/plots/__tests__/service_map.test.tsx b/public/components/trace_analytics/components/common/plots/__tests__/service_map.test.tsx new file mode 100644 index 000000000..dba5172d7 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/service_map.test.tsx @@ -0,0 +1,49 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render, fireEvent, waitFor, screen } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import renderer from 'react-test-renderer'; +import { ServiceMap } from '../service_map'; +import { TEST_SERVICE_MAP } from '../../../../../test/constants'; + +describe('Service map component', () => { + configure({ adapter: new Adapter() }); + + it('renders service map', async () => { + const setServiceMapIdSelected = jest.fn((e) => {}); + const wrapper = shallow( + + ); + expect(wrapper).toMatchSnapshot(); + }); +}); diff --git a/public/components/trace_analytics/components/common/plots/__tests__/service_map_scale.test.tsx b/public/components/trace_analytics/components/common/plots/__tests__/service_map_scale.test.tsx new file mode 100644 index 000000000..c43918e40 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/service_map_scale.test.tsx @@ -0,0 +1,47 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { ServiceMapScale } from '../service_map_scale'; + +describe('Service map scale component', () => { + configure({ adapter: new Adapter() }); + + it('renders service map scale plot', () => { + const wrapper = mount( + + ); + + expect(wrapper).toMatchSnapshot(); + }); +}); diff --git a/public/components/trace_analytics/components/common/plots/__tests__/throughput_plt.test.tsx b/public/components/trace_analytics/components/common/plots/__tests__/throughput_plt.test.tsx new file mode 100644 index 000000000..1c693cd26 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/__tests__/throughput_plt.test.tsx @@ -0,0 +1,62 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { ThroughputPlt } from '../throughput_plt'; + +describe('Throughput plot component', () => { + configure({ adapter: new Adapter() }); + + it('renders throughput plot', () => { + const setStartTime = jest.fn(); + const setEndTime = jest.fn(); + const items = { + items: [ + { + x: [1576800000000], + y: [22.22], + marker: { + color: '#fad963', + }, + type: 'bar', + text: ['Dec 19, 2019 16:00:00 - Dec 18, 2020 16:00:00'], + hoverlabel: { + align: 'left', + }, + hovertemplate: '%{text}
Error rate: %{y}', + }, + ] as Plotly.Data[], + fixedInterval: '365d', + }; + const wrapper = shallow( + + ); + expect(wrapper).toMatchSnapshot(); + }); +}); diff --git a/public/components/trace_analytics/components/common/plots/box_plt.tsx b/public/components/trace_analytics/components/common/plots/box_plt.tsx new file mode 100644 index 000000000..fde2d5a07 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/box_plt.tsx @@ -0,0 +1,175 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { EuiFlexGrid, EuiFlexItem, EuiText, EuiToolTip } from '@elastic/eui'; +import React, { useMemo, useState } from 'react'; +import { Plt } from '../../../../visualizations/plotly/plot'; + +interface PlotParamsType { + min: number; + max: number; + left: number; + mid: number; + right: number; + currPercentileFilter: string; + addFilter: (condition: 'gte' | 'lte') => void; +} + +export function BoxPlt({ plotParams }: { plotParams: PlotParamsType }) { + const [hovered, setHovered] = useState(''); + + const getLayout = () => + ({ + plot_bgcolor: 'rgba(0, 0, 0, 0)', + paper_bgcolor: 'rgba(0, 0, 0, 0)', + xaxis: { + range: [plotParams.min, plotParams.max], + fixedrange: true, + showgrid: false, + visible: false, + }, + yaxis: { + range: [-0.6, 0.6], + fixedrange: true, + showgrid: false, + visible: false, + }, + margin: { + l: 0, + r: 0, + b: 0, + t: 0, + pad: 0, + }, + height: 15, + width: 250, + } as Partial); + + const getData = () => + [ + { + x: [plotParams.left], + y: [0], + type: 'bar', + orientation: 'h', + width: 1, + marker: { color: 'rgba(0, 0, 0, 0)' }, + hoverinfo: 'none', + showlegend: false, + }, + { + x: [plotParams.mid - plotParams.left], + y: [0], + type: 'bar', + orientation: 'h', + width: 1, + marker: { + color: plotParams.currPercentileFilter === '< 95th' ? '#fcfcfc' : '#ffffff', + line: { + color: + plotParams.currPercentileFilter === '< 95th' + ? '#eceded' + : hovered === 'lower' + ? '#2e73b5' + : '#957ac9', + width: hovered === 'lower' ? 3 : 1, + }, + }, + }, + { + x: [plotParams.right - plotParams.mid], + y: [0], + type: 'bar', + orientation: 'h', + width: 1, + marker: { + color: plotParams.currPercentileFilter === '>= 95th' ? '#aea4d1' : '#957ac9', + line: { + color: hovered === 'upper' ? '#2e73b5' : '#957ac9', + width: hovered === 'upper' ? 3 : 1, + }, + }, + }, + ] as Plotly.Data[]; + + const renderTooltip = () => { + return ( + + + +

Latency <95 percentile

+
+
+ + +

{`${Math.round(plotParams.left)}ms - ${Math.round(plotParams.mid)}ms`}

+
+
+ + +

Latency >=95 percentile

+
+
+ + +

{`${Math.round(plotParams.mid)}ms - ${Math.round(plotParams.right)}ms`}

+
+
+
+ ); + }; + + const layout = useMemo(() => getLayout(), [plotParams]); + const data = useMemo(() => getData(), [plotParams, hovered]); + const tooltip = useMemo(() => renderTooltip(), [plotParams, hovered]); + + const onHoverHandler = (e) => { + if (plotParams.currPercentileFilter) return; + const mouseX = e.xvals[0]; + if (plotParams.left <= mouseX && mouseX <= plotParams.mid) setHovered('lower'); + else if (plotParams.mid <= mouseX && mouseX <= plotParams.right) setHovered('upper'); + else setHovered(''); + }; + + const onClickHandler = (e) => { + if (plotParams.currPercentileFilter) return; + if (e.points[0].fullData.index === 1) plotParams.addFilter('lte'); + else if (e.points[0].fullData.index === 2) plotParams.addFilter('gte'); + }; + + return ( + <> + setHovered('')}> + + + + ); +} diff --git a/public/components/trace_analytics/components/common/plots/error_rate_plt.tsx b/public/components/trace_analytics/components/common/plots/error_rate_plt.tsx new file mode 100644 index 000000000..0f26a7230 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/error_rate_plt.tsx @@ -0,0 +1,123 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { EuiHorizontalRule, EuiPanel } from '@elastic/eui'; +import moment from 'moment'; +import React, { useMemo } from 'react'; +import { Plt } from '../../../../visualizations/plotly/plot'; +import { + fixedIntervalToMilli, + fixedIntervalToTickFormat, + NoMatchMessage, + PanelTitle, +} from '../helper_functions'; + +export function ErrorRatePlt(props: { + items: { items: Plotly.Data[]; fixedInterval: string }; + setStartTime: (startTime: string) => void; + setEndTime: (endTime: string) => void; +}) { + const getLayout = () => + ({ + height: 217, + margin: { + l: 57, + r: 5, + b: 50, + t: 30, + pad: 4, + }, + annotations: props.items.items.length > 0 && [ + { + x: props.items.items[0]?.x[props.items.items[0]?.x.length - 1], + y: 0, + showarrow: true, + arrowhead: 0, + xref: 'x', + yref: 'y', + text: `Now: ${props.items.items[0]?.y[props.items.items[0]?.y.length - 1]}%`, + ax: 0, + ay: -160, + borderpad: 10, + arrowwidth: 0.7, + }, + ], + showlegend: false, + xaxis: { + fixedrange: true, + showgrid: false, + visible: true, + type: 'date', + tickformat: fixedIntervalToTickFormat(props.items.fixedInterval), + color: '#899195', + }, + yaxis: { + title: { + text: 'Error rate (%)', + font: { + size: 12, + }, + standoff: 10, + }, + range: [ + 0, + Math.min(100, Math.max(...(props.items.items[0]?.y.map((y) => y * 1.2) || []), 1)), + ], + fixedrange: true, + ticksuffix: '%', + gridcolor: '#d9d9d9', + showgrid: true, + visible: true, + color: '#899195', + }, + } as Partial); + + const layout = useMemo(() => getLayout(), [props.items]); + + const onClick = (event: any) => { + if (!event?.points) return; + const point = event.points[0]; + const start = point.data.x[point.pointNumber]; + const end = start + fixedIntervalToMilli(props.items.fixedInterval); + props.setStartTime(moment(start).toISOString()); + props.setEndTime(moment(end).toISOString()); + window.scrollTo({ left: 0, top: 0, behavior: 'smooth' }); + }; + + return ( + <> + + + + {props.items?.items?.length > 0 ? ( + + ) : ( + + )} + + + ); +} diff --git a/public/components/trace_analytics/components/common/plots/latency_trend_plt.tsx b/public/components/trace_analytics/components/common/plots/latency_trend_plt.tsx new file mode 100644 index 000000000..388e427d2 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/latency_trend_plt.tsx @@ -0,0 +1,115 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import _ from 'lodash'; +import React, { useMemo } from 'react'; +import { Plt } from '../../../../visualizations/plotly/plot'; + +export function LinePlt(props: { data: Plotly.Data[] }) { + const maxY = props.data[0]?.y ? Math.max(...props.data[0].y) : 0; + const layout = useMemo( + () => ({ + plot_bgcolor: 'rgba(0, 0, 0, 0)', + paper_bgcolor: 'rgba(0, 0, 0, 0)', + xaxis: { + fixedrange: true, + showgrid: false, + visible: false, + }, + yaxis: { + fixedrange: true, + showgrid: false, + visible: false, + range: [0, maxY * 1.1], + }, + margin: { + l: 0, + r: 0, + b: 0, + t: 0, + pad: 0, + }, + height: 20, + width: 60, + }), + [props.data] + ); + return props.data[0].x.length > 1 ? :
-
; +} + +export function LatencyPlt(props: { data: Plotly.Data[] }) { + const layout = useMemo( + () => + ({ + xaxis: { + showgrid: false, + type: 'date', + tickmode: 'auto', + color: '#899195', + }, + yaxis: { + title: { + text: 'Hourly latency (ms)', + font: { + size: 12, + }, + }, + gridcolor: '#d9d9d9', + color: '#899195', + }, + annotations: [ + { + x: props.data[0].x[props.data[0].x.length - 1], + y: 0, + showarrow: true, + arrowhead: 0, + xref: 'x', + yref: 'y', + text: `Now: ${_.round(props.data[0].y[props.data[0].y.length - 1] as number, 2)}ms`, + ax: 0, + ay: -140, + borderpad: 10, + arrowwidth: 0.7, + }, + ], + margin: { + l: 50, + r: 30, + b: 50, + t: 30, + pad: 0, + }, + height: 200, + width: 400, + } as Partial), + [props.data] + ); + return ( + <> + + + ); +} diff --git a/public/components/trace_analytics/components/common/plots/service_map.tsx b/public/components/trace_analytics/components/common/plots/service_map.tsx new file mode 100644 index 000000000..78f1e743d --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/service_map.tsx @@ -0,0 +1,237 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { + EuiButtonGroup, + EuiFieldSearch, + EuiFlexGroup, + EuiFlexItem, + EuiHorizontalRule, + EuiPanel, + EuiSpacer, + EuiText, +} from '@elastic/eui'; +import React, { useEffect, useState } from 'react'; +// @ts-ignore +import Graph from 'react-graph-vis'; +import { FilterType } from '../filters/filters'; +import { + calculateTicks, + getServiceMapGraph, + NoMatchMessage, + PanelTitle, +} from '../helper_functions'; +import { ServiceMapScale } from './service_map_scale'; + +export interface ServiceObject { + [key: string]: { + serviceName: string; + id: number; + traceGroups: Array<{ traceGroup: string; targetResource: string[] }>; + targetServices: string[]; + destServices: string[]; + latency?: number; + error_rate?: number; + throughput?: number; + relatedServices?: string[]; // services appear in the same traces this service appears + }; +} + +export function ServiceMap({ + serviceMap, + idSelected, + setIdSelected, + addFilter, + currService, +}: { + serviceMap: ServiceObject; + idSelected: 'latency' | 'error_rate' | 'throughput'; + setIdSelected: (newId: 'latency' | 'error_rate' | 'throughput') => void; + addFilter?: (filter: FilterType) => void; + currService?: string; +}) { + const [invalid, setInvalid] = useState(false); + const [network, setNetwork] = useState(null); + const [ticks, setTicks] = useState([]); + const [items, setItems] = useState({}); + const [query, setQuery] = useState(''); + const toggleButtons = [ + { + id: 'latency', + label: 'Latency', + }, + { + id: 'error_rate', + label: 'Error rate', + }, + { + id: 'throughput', + label: 'Throughput', + }, + ]; + + const options = { + layout: { + hierarchical: false, + }, + edges: { + arrows: { + to: { + enabled: false, + }, + }, + physics: false, + }, + nodes: { + shape: 'dot', + color: '#adadad', + borderWidth: 0, + font: { + size: 17, + color: '#387ab9', + }, + }, + interaction: { + hover: true, + tooltipDelay: 30, + selectable: true, + }, + manipulation: { + enabled: false, + }, + height: '434px', + width: '100%', + autoResize: true, + }; + + const events = { + select: (event: any) => { + const { nodes, edges } = event; + if (!addFilter || !nodes) return; + const serviceName = items?.graph.nodes.find((node: any) => node.id === nodes[0])?.label; + if (serviceName) { + addFilter({ + field: 'serviceName', + operator: 'is', + value: serviceName, + inverted: false, + disabled: false, + }); + window.scrollTo({ left: 0, top: 0, behavior: 'smooth' }); + } + }, + hoverNode: (event: any) => {}, + }; + + const onFocus = (service: string, networkInstance?: any) => { + if (service.length === 0) { + setInvalid(false); + } else if (serviceMap[service]) { + if (!networkInstance) networkInstance = network; + networkInstance.focus(serviceMap[service].id, { animation: true }); + setInvalid(false); + } else { + setInvalid(true); + } + }; + + useEffect(() => { + if (Object.keys(serviceMap).length === 0) return; + const values = Object.keys(serviceMap) + .filter((service) => serviceMap[service][idSelected]) + .map((service) => serviceMap[service][idSelected]!); + const min = Math.min(...values); + const max = Math.max(...values); + const calculatedTicks = calculateTicks(min, max); + setTicks(calculatedTicks); + setItems( + getServiceMapGraph( + serviceMap, + idSelected, + calculatedTicks, + currService, + serviceMap[currService!]?.relatedServices + ) + ); + }, [serviceMap, idSelected]); + + return ( + <> + + + + setIdSelected(id as 'latency' | 'error_rate' | 'throughput')} + buttonSize="s" + color="text" + /> + + + + Focus on + + + setQuery(e.target.value)} + onSearch={(service) => onFocus(service)} + isInvalid={query.length > 0 && invalid} + /> + + + + + {Object.keys(serviceMap).length > 0 ? ( + + + {items?.graph && ( + { + setNetwork(networkInstance); + if (currService) onFocus(currService, networkInstance); + }} + /> + )} + + + + + + ) : ( +
+ +
+ )} +
+ + ); +} diff --git a/public/components/trace_analytics/components/common/plots/service_map_scale.tsx b/public/components/trace_analytics/components/common/plots/service_map_scale.tsx new file mode 100644 index 000000000..205787215 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/service_map_scale.tsx @@ -0,0 +1,153 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiText } from '@elastic/eui'; +import _ from 'lodash'; +import React, { useEffect, useState } from 'react'; +import { Plt } from '../../../../visualizations/plotly/plot'; +import unmatchedNode from '../../../images/unmatched_node.png'; +import { getServiceMapScaleColor } from '../helper_functions'; +import { ServiceObject } from './service_map'; + +export function ServiceMapScale(props: { + idSelected: 'latency' | 'error_rate' | 'throughput'; + serviceMap: ServiceObject; + ticks: number[]; +}) { + const [scaleProps, setScaleProps] = useState({}); + const getScaleData = () => { + const ticks = props.ticks; + const delta = ticks[1] - ticks[0]; + const title = { latency: 'Latency (ms)', error_rate: 'Error rate', throughput: 'Throughput' }[ + props.idSelected + ]; + const percentInterval = 1 / Math.max(ticks.length - 1, 1); + const percents = Array.from({ length: ticks.length - 1 }, (v, i) => percentInterval * i); + const color = percents + .map((percent) => getServiceMapScaleColor(percent, props.idSelected)) + .map((rgb) => `rgb(${rgb})`); + + const result = { + data: { + y: [delta + ticks[0], ...Array.from({ length: ticks.length - 1 }, () => delta)], + marker: { + color, + }, + }, + layout: { + yaxis: { + range: [ticks[0], ticks[ticks.length - 1]], + ticksuffix: props.idSelected === 'error_rate' ? '%' : '', + title: { + text: title, + standoff: 15, + }, + }, + }, + }; + return result; + }; + + const getScaleProps = () => { + const result = getScaleData(); + const data = [ + { + x: Array.from({ length: result.data.y.length }, () => 0), + type: 'bar', + orientation: 'v', + width: 0.4, + hoverinfo: 'none', + showlegend: false, + ...result.data, + }, + ] as Plotly.Data; + + const layout = _.merge( + { + plot_bgcolor: 'rgba(0, 0, 0, 0)', + paper_bgcolor: 'rgba(0, 0, 0, 0)', + xaxis: { + range: [-0.35, 0.35], + fixedrange: true, + showgrid: false, + showline: false, + zeroline: false, + showticklabels: false, + }, + yaxis: { + side: 'right', + fixedrange: true, + showgrid: false, + showline: false, + zeroline: false, + showticklabels: true, + tickvals: props.ticks, + ticktexts: props.ticks, + }, + margin: { + l: 0, + r: 60, + b: 10, + t: 10, + pad: 0, + }, + height: 270, + width: 77, + }, + result.layout + ) as Partial; + return { data, layout }; + }; + + useEffect(() => { + if (Object.keys(props.ticks).length > 0) setScaleProps(getScaleProps()); + }, [props.idSelected, props.serviceMap, props.ticks]); + + return ( +
+ {Object.keys(props.ticks).length > 0 && ( + <> + + + + + unmatched-node-legend + + + + No match + + + + + )} +
+ ); +} diff --git a/public/components/trace_analytics/components/common/plots/throughput_plt.tsx b/public/components/trace_analytics/components/common/plots/throughput_plt.tsx new file mode 100644 index 000000000..6ddd29a40 --- /dev/null +++ b/public/components/trace_analytics/components/common/plots/throughput_plt.tsx @@ -0,0 +1,119 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { EuiHorizontalRule, EuiPanel } from '@elastic/eui'; +import moment from 'moment'; +import React, { useMemo } from 'react'; +import { Plt } from '../../../../visualizations/plotly/plot'; +import { + fixedIntervalToMilli, + fixedIntervalToTickFormat, + NoMatchMessage, + PanelTitle, +} from '../helper_functions'; + +export function ThroughputPlt(props: { + items: { items: Plotly.Data[]; fixedInterval: string }; + setStartTime: (startTime: string) => void; + setEndTime: (endTime: string) => void; +}) { + const layout = useMemo( + () => + ({ + height: 217, + margin: { + l: 50, + r: 5, + b: 50, + t: 30, + pad: 4, + }, + annotations: props.items.items.length > 0 && [ + { + x: props.items.items[0].x[props.items.items[0].x.length - 1], + y: 0, + showarrow: true, + arrowhead: 0, + xref: 'x', + yref: 'y', + text: `Now: ${props.items.items[0].y[props.items.items[0].y.length - 1]?.toLocaleString( + undefined + )}`, + ax: 0, + ay: -160, + borderpad: 10, + arrowwidth: 0.7, + }, + ], + xaxis: { + fixedrange: true, + showgrid: false, + visible: true, + type: 'date', + tickformat: fixedIntervalToTickFormat(props.items.fixedInterval), + color: '#899195', + }, + yaxis: { + title: { + text: 'Throughput (n)', + font: { + size: 12, + }, + }, + fixedrange: true, + gridcolor: '#d9d9d9', + showgrid: true, + visible: true, + color: '#899195', + }, + } as Partial), + [props.items] + ); + + const onClick = (event) => { + if (!event?.points) return; + const point = event.points[0]; + const start = point.data.x[point.pointNumber]; + const end = start + fixedIntervalToMilli(props.items.fixedInterval); + props.setStartTime(moment(start).toISOString()); + props.setEndTime(moment(end).toISOString()); + window.scrollTo({ left: 0, top: 0, behavior: 'smooth' }); + }; + + return ( + <> + + + + {props.items?.items?.length > 0 ? ( + + ) : ( + + )} + + + ); +} diff --git a/public/components/trace_analytics/components/common/search_bar.tsx b/public/components/trace_analytics/components/common/search_bar.tsx new file mode 100644 index 000000000..9969119ca --- /dev/null +++ b/public/components/trace_analytics/components/common/search_bar.tsx @@ -0,0 +1,120 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { + EuiButton, + EuiFieldSearch, + EuiFlexGroup, + EuiFlexItem, + EuiSpacer, + EuiSuperDatePicker, +} from '@elastic/eui'; +import _ from 'lodash'; +import React, { useState } from 'react'; +import { Filters, FiltersProps } from './filters/filters'; + +export const renderDatePicker = ( + startTime: string, + setStartTime: (startTime: string) => void, + endTime: string, + setEndTime: (endTime: string) => void +) => { + return ( + { + setStartTime(e.start); + setEndTime(e.end); + }} + /> + ); +}; + +export interface SearchBarProps extends FiltersProps { + query: string; + setQuery: (query: string) => void; + startTime: string; + setStartTime: (startTime: string) => void; + endTime: string; + setEndTime: (endTime: string) => void; +} + +interface SearchBarOwnProps extends SearchBarProps { + refresh: () => void; + page: 'dashboard' | 'traces' | 'services'; + datepickerOnly?: boolean; +} + +export function SearchBar(props: SearchBarOwnProps) { + // use another query state to avoid typing delay + const [query, setQuery] = useState(props.query); + const setGlobalQuery = _.debounce((q) => props.setQuery(q), 50); + + return ( + <> + + {!props.datepickerOnly && ( + + { + setQuery(e.target.value); + setGlobalQuery(e.target.value); + }} + onSearch={props.refresh} + /> + + )} + + {renderDatePicker(props.startTime, props.setStartTime, props.endTime, props.setEndTime)} + + + + Refresh + + + + + {!props.datepickerOnly && ( + <> + + + + )} + + ); +} diff --git a/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/dashboard.test.tsx.snap b/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/dashboard.test.tsx.snap new file mode 100644 index 000000000..84dbb4031 --- /dev/null +++ b/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/dashboard.test.tsx.snap @@ -0,0 +1,2988 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Dashboard component renders dashboard 1`] = ` + + +

+ Dashboard +

+
+ + +
+ +
+ + +
+
+ + + + +
+ + + + + +
+
+
+
+
+
+
+
+ +
+ + +
+ +
+ + } + > +
+ + + + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + id="QuickSelectPopover" + isOpen={false} + ownFocus={true} + panelPaddingSize="m" + > + +
+
+ + + +
+
+
+
+
+
+ } + iconType={false} + isCustom={true} + startDateControl={
} + > +
+ +
+ + +
+
+ +
+ +
+ + +
+ + +
+ + + + + +
+
+
+ + +
+ + + +
+ +
+ + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="none" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+ +
+ + + + Add filter + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="m" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+
+
+
+ + +
+ + + +
+ +
+ +
+ + +
+ + Latency by trace group + + + (0) + +
+
+
+
+
+ +
+ + + +
+
+ +
+ + +
+ + + +
+
+ +
+ +
+ + +
+ + +
+
+ + +
+ + + No data matches the selected filter. Clear the filter and/or increase the time range to see more results. + + } + title={ +

+ No matches +

+ } + > +
+ + + +

+ No matches +

+
+ +
+ + +
+ +
+ No data matches the selected filter. Clear the filter and/or increase the time range to see more results. +
+
+
+
+ + +
+ + +
+ + +
+ + + +
+ + +
+ +
+ + +
+ + +
+ + Service map + +
+
+
+ +
+ + +
+
+ + +
+ + + + + + +
+
+
+ + +
+ + + + + + +
+
+
+ + +
+ + + + + + +
+
+
+
+
+
+ +
+
+ +
+ +
+ +
+ Focus on +
+
+
+
+ +
+ + +
+
+ + + + +
+ + + + + +
+
+
+
+
+
+
+
+
+
+ +
+ +
+ + +
+ + + No data matches the selected filter. Clear the filter and/or increase the time range to see more results. + + } + title={ +

+ No matches +

+ } + > +
+ + + +

+ No matches +

+
+ +
+ + +
+ +
+ No data matches the selected filter. Clear the filter and/or increase the time range to see more results. +
+
+
+
+ + +
+ + +
+ + +
+
+ + +
+ + +
+ +
+ +
+ + +
+ + +
+ + Trace error rate over time + +
+
+
+ +
+
+ + +
+ + + No data matches the selected filter. Clear the filter and/or increase the time range to see more results. + + } + title={ +

+ No matches +

+ } + > +
+ + + +

+ No matches +

+
+ +
+ + +
+ +
+ No data matches the selected filter. Clear the filter and/or increase the time range to see more results. +
+
+
+
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + Traces over time + +
+
+
+ +
+
+ + +
+ + + No data matches the selected filter. Clear the filter and/or increase the time range to see more results. + + } + title={ +

+ No matches +

+ } + > +
+ + + +

+ No matches +

+
+ +
+ + +
+ +
+ No data matches the selected filter. Clear the filter and/or increase the time range to see more results. +
+
+
+
+ + +
+ + +
+ + +
+ + +
+ +
+ +
+ +
+ + +`; + +exports[`Dashboard component renders empty dashboard 1`] = ` + + +

+ Dashboard +

+
+ + +
+ +
+ + +
+
+ + + + +
+ + + + + +
+
+
+
+
+
+
+
+ +
+ + +
+ +
+ + } + > +
+ + + + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + id="QuickSelectPopover" + isOpen={false} + ownFocus={true} + panelPaddingSize="m" + > + +
+
+ + + +
+
+
+
+
+
+ } + iconType={false} + isCustom={true} + startDateControl={
} + > +
+ +
+ + +
+
+ +
+ +
+ + +
+ + +
+ + + + + +
+
+
+ + +
+ + + +
+ +
+ + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="none" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+ +
+ + + + Add filter + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="m" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+
+
+
+ + +
+ + + + Learn more + + } + body={ + + The indices required for trace analytics (otel-v1-apm-span-* and otel-v1-apm-service-map*) do not exist or you do not have permission to access them. + + } + title={ +

+ Trace Analytics not set up +

+ } + > +
+ + + +

+ Trace Analytics not set up +

+
+ +
+ + +
+ +
+ The indices required for trace analytics (otel-v1-apm-span-* and otel-v1-apm-service-map*) do not exist or you do not have permission to access them. +
+
+
+
+ + + +
+ + +
+ + + + + + +
+ + + +`; diff --git a/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/dashboard_table.test.tsx.snap b/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/dashboard_table.test.tsx.snap new file mode 100644 index 000000000..26f30e846 --- /dev/null +++ b/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/dashboard_table.test.tsx.snap @@ -0,0 +1,3468 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Dashboard table component renders dashboard table 1`] = ` + + +
+ +
+ +
+ + +
+ + Latency by trace group + + + (1) + +
+
+
+
+
+ +
+ + + +
+
+ +
+ + +
+ + + +
+
+ +
+ +
+ + +
+ + +
+
+ + Traces of all requests that share a common API and operation at the start of distributed tracing instrumentation. + + } + delay="regular" + position="top" + > + +
+ Trace group name + + +
+
+   +
+
+ , + "render": [Function], + "sortable": true, + }, + Object { + "align": "center", + "field": "dashboard_latency_variance", + "name": + + Range of latencies for traces within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + + Latency variance (ms) + + + + + + 0                100            200            300            400 + + , + "render": [Function], + "sortable": [Function], + "width": "300px", + }, + Object { + "align": "right", + "dataType": "number", + "field": "dashboard_average_latency", + "name": + Average latency of traces within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Average latency (ms) + + +
+
+   +
+
+
, + "render": [Function], + "sortable": true, + }, + Object { + "align": "right", + "field": "24_hour_latency_trend", + "name": + 24 hour time series view of hourly average, hourly percentile, and hourly range of latency for traces within a trace group. + + } + delay="regular" + position="top" + > + +
+ 24-hour latency trend + + +
+
+   +
+
+
, + "render": [Function], + "sortable": false, + }, + Object { + "align": "right", + "field": "dashboard_error_rate", + "name": + Error rate based on count of trace errors within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Error rate + + +
+
+   +
+
+
, + "render": [Function], + "sortable": true, + }, + Object { + "align": "right", + "field": "dashboard_traces", + "name": + Count of traces with unique trace identifiers in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Traces + + +
+
+   +
+
+
, + "render": [Function], + "sortable": true, + }, + ] + } + items={ + Array [ + Object { + "24_hour_latency_trend": null, + "dashboard_average_latency": 187.27, + "dashboard_error_rate": 14.285714285714285, + "dashboard_latency_variance": Array [ + 26.43, + 325.4, + 325.4, + ], + "dashboard_trace_group_name": "client_create_order", + "dashboard_traces": 7, + }, + ] + } + onTableChange={[Function]} + pagination={ + Object { + "initialPageSize": 10, + "pageSizeOptions": Array [ + 5, + 10, + 15, + ], + } + } + responsive={true} + sorting={ + Object { + "sort": Object { + "direction": "desc", + "field": "dashboard_latency_variance", + }, + } + } + tableLayout="auto" + > + + Traces of all requests that share a common API and operation at the start of distributed tracing instrumentation. + + } + delay="regular" + position="top" + > + +
+ Trace group name + + +
+
+   +
+
+ , + "render": [Function], + "sortable": true, + }, + Object { + "align": "center", + "field": "dashboard_latency_variance", + "name": + + Range of latencies for traces within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + + Latency variance (ms) + + + + + + 0                100            200            300            400 + + , + "render": [Function], + "sortable": [Function], + "width": "300px", + }, + Object { + "align": "right", + "dataType": "number", + "field": "dashboard_average_latency", + "name": + Average latency of traces within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Average latency (ms) + + +
+
+   +
+
+
, + "render": [Function], + "sortable": true, + }, + Object { + "align": "right", + "field": "24_hour_latency_trend", + "name": + 24 hour time series view of hourly average, hourly percentile, and hourly range of latency for traces within a trace group. + + } + delay="regular" + position="top" + > + +
+ 24-hour latency trend + + +
+
+   +
+
+
, + "render": [Function], + "sortable": false, + }, + Object { + "align": "right", + "field": "dashboard_error_rate", + "name": + Error rate based on count of trace errors within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Error rate + + +
+
+   +
+
+
, + "render": [Function], + "sortable": true, + }, + Object { + "align": "right", + "field": "dashboard_traces", + "name": + Count of traces with unique trace identifiers in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Traces + + +
+
+   +
+
+
, + "render": [Function], + "sortable": true, + }, + ] + } + items={ + Array [ + Object { + "24_hour_latency_trend": null, + "dashboard_average_latency": 187.27, + "dashboard_error_rate": 14.285714285714285, + "dashboard_latency_variance": Array [ + 26.43, + 325.4, + 325.4, + ], + "dashboard_trace_group_name": "client_create_order", + "dashboard_traces": 7, + }, + ] + } + noItemsMessage="No items found" + onChange={[Function]} + pagination={ + Object { + "hidePerPageOptions": undefined, + "pageIndex": 0, + "pageSize": 10, + "pageSizeOptions": Array [ + 5, + 10, + 15, + ], + "totalItemCount": 1, + } + } + responsive={true} + sorting={ + Object { + "allowNeutralSort": true, + "sort": Object { + "direction": "desc", + "field": + + Range of latencies for traces within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + + Latency variance (ms) + + + + + + 0                100            200            300            400 + + , + }, + } + } + tableLayout="auto" + > +
+
+ +
+ +
+ +
+ + +
+ + Traces of all requests that share a common API and operation at the start of distributed tracing instrumentation. + + } + delay="regular" + position="top" + > + +
+ Trace group name + + +
+
+   +
+
+ , + "onSort": [Function], + }, + Object { + "isSortAscending": false, + "isSorted": true, + "key": "_data_s_dashboard_latency_variance_1", + "name": + + Range of latencies for traces within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + + Latency variance (ms) + + + + + + 0                100            200            300            400 + + , + "onSort": [Function], + }, + Object { + "isSortAscending": undefined, + "isSorted": false, + "key": "_data_s_dashboard_average_latency_2", + "name": + Average latency of traces within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Average latency (ms) + + +
+
+   +
+
+
, + "onSort": [Function], + }, + Object { + "isSortAscending": undefined, + "isSorted": false, + "key": "_data_s_dashboard_error_rate_4", + "name": + Error rate based on count of trace errors within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Error rate + + +
+
+   +
+
+
, + "onSort": [Function], + }, + Object { + "isSortAscending": undefined, + "isSorted": false, + "key": "_data_s_dashboard_traces_5", + "name": + Count of traces with unique trace identifiers in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Traces + + +
+
+   +
+
+
, + "onSort": [Function], + }, + ] + } + > +
+ + + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={true} + panelPaddingSize="none" + > + +
+
+ + + +
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Traces of all requests that share a common API and operation at the start of distributed tracing instrumentation. + + } + delay="regular" + position="top" + > + +
+ Trace group name + + +
+
+   +
+
+ , + "render": undefined, + } + } + setScopeRow={false} + textOnly={false} + > +
+ + + + Range of latencies for traces within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + + Latency variance (ms) + + + + + + 0                100            200            300            400 + + , + "render": undefined, + } + } + setScopeRow={false} + textOnly={false} + width="300px" + > + + + + Average latency of traces within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Average latency (ms) + + +
+
+   +
+
+ , + "render": undefined, + } + } + setScopeRow={false} + textOnly={false} + > +
+ + + 24 hour time series view of hourly average, hourly percentile, and hourly range of latency for traces within a trace group. + + } + delay="regular" + position="top" + > + +
+ 24-hour latency trend + + +
+
+   +
+
+ , + "render": undefined, + } + } + setScopeRow={false} + textOnly={false} + > +
+ + + Error rate based on count of trace errors within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Error rate + + +
+
+   +
+
+ , + "render": undefined, + } + } + setScopeRow={false} + textOnly={false} + > +
+ + + Count of traces with unique trace identifiers in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Traces + + +
+
+   +
+
+ , + "render": undefined, + } + } + setScopeRow={false} + textOnly={false} + > +
+ + + + + +
+ +
+ + + + + + +
+ + + + 24 hour time series view of hourly average, hourly percentile, and hourly range of latency for traces within a trace group. + + } + delay="regular" + position="top" + > + +
+ 24-hour latency trend + + + + + + +
+
+   +
+
+
+
+
+
+
+ + + +
+
+ + Traces of all requests that share a common API and operation at the start of distributed tracing instrumentation. + + } + delay="regular" + position="top" + > + +
+ Trace group name + + + + + + +
+
+   +
+
+
+
+
+ + + +
+
+
+ + Range of latencies for traces within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + + + Latency variance (ms) + + + + + + + + + + +
+ +
+ 0                100            200            300            400 +
+
+
+
+
+
+ + + + +

+ Latency <95 percentile +

+
+
+ + +

+ 26ms - 325ms +

+
+
+ + +

+ Latency >=95 percentile +

+
+
+ + +

+ 325ms - 325ms +

+
+
+ + } + delay="regular" + onMouseOut={[Function]} + position="bottom" + > + + + +
+ + + + + +
+
+
+ + Average latency of traces within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Average latency (ms) + + + + + + +
+
+   +
+
+
+
+
+ 187.27 +
+
+
+ + 24 hour time series view of hourly average, hourly percentile, and hourly range of latency for traces within a trace group. + + } + delay="regular" + position="top" + > + +
+ 24-hour latency trend + + + + + + +
+
+   +
+
+
+
+
+ - +
+
+
+ + Error rate based on count of trace errors within a trace group in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Error rate + + + + + + +
+
+   +
+
+
+
+
+ +
+ 14.29% +
+
+
+
+
+ + Count of traces with unique trace identifiers in the selected time range. + + } + delay="regular" + position="top" + > + +
+ Traces + + + + + + +
+
+   +
+
+
+
+
+ + + +
+
+
+
+ +
+ +
+ + + +
+ +
+ + + : + 10 + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="none" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+ +
+ + + +
+
+
+
+
+
+ +
+ + +
+ + +`; + +exports[`Dashboard table component renders empty dashboard table message 1`] = ` + + +
+ +
+ +
+ + +
+ + Latency by trace group + + + (0) + +
+
+
+
+
+ +
+ + + +
+
+ +
+ + +
+ + + +
+
+ +
+ +
+ + +
+ + +
+
+ + +
+ + + No data matches the selected filter. Clear the filter and/or increase the time range to see more results. + + } + title={ +

+ No matches +

+ } + > +
+ + + +

+ No matches +

+
+ +
+ + +
+ +
+ No data matches the selected filter. Clear the filter and/or increase the time range to see more results. +
+
+
+
+ + +
+ + +
+ + +
+ + +`; diff --git a/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/latency_trend_cell.test.tsx.snap b/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/latency_trend_cell.test.tsx.snap new file mode 100644 index 000000000..4cd62867a --- /dev/null +++ b/public/components/trace_analytics/components/dashboard/__tests__/__snapshots__/latency_trend_cell.test.tsx.snap @@ -0,0 +1,185 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Latency trend cell component renders latency trend cell 1`] = ` +Average latency: %{y}", + "line": Object { + "color": "#987dcb", + "size": 2, + }, + "marker": Object { + "color": "#987dcb", + "size": 8, + }, + "mode": "lines+markers", + "type": "scatter", + "x": Array [ + 1605027600000, + ], + "y": Array [ + 154.71, + ], + }, + ], + "trendData": Array [ + Object { + "hoverinfo": "none", + "line": Object { + "color": "#000000", + "width": 1, + }, + "mode": "lines", + "type": "scatter", + "x": Array [ + 1605027600000, + ], + "y": Array [ + 154.71, + ], + }, + ], + } + } + traceGroupName="order" +> + +
+ +
+ + +
+ +
+ - +
+
+
+
+ +
+ + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={true} + panelPaddingSize="m" + > + +
+
+ + + +
+
+
+
+
+
+
+ + +`; diff --git a/public/components/trace_analytics/components/dashboard/__tests__/dashboard.test.tsx b/public/components/trace_analytics/components/dashboard/__tests__/dashboard.test.tsx new file mode 100644 index 000000000..dc59a20bc --- /dev/null +++ b/public/components/trace_analytics/components/dashboard/__tests__/dashboard.test.tsx @@ -0,0 +1,92 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { Dashboard } from '..'; + +describe('Dashboard component', () => { + configure({ adapter: new Adapter() }); + + it('renders empty dashboard', () => { + const http = jest.fn(); + const setBreadcrumbs = jest.fn(); + const setQuery = jest.fn(); + const setFilters = jest.fn(); + const setStartTime = jest.fn(); + const setEndTime = jest.fn(); + const wrapper = mount( + + ); + + expect(wrapper).toMatchSnapshot(); + }); + + it('renders dashboard', () => { + const http = jest.fn(); + const setBreadcrumbs = jest.fn(); + const setQuery = jest.fn(); + const setFilters = jest.fn(); + const setStartTime = jest.fn(); + const setEndTime = jest.fn(); + const wrapper = mount( + + ); + + expect(wrapper).toMatchSnapshot(); + + wrapper.find('button[data-test-subj="dashboard-table-percentile-button-1"]').simulate('click'); + wrapper.find('button[data-test-subj="dashboard-table-percentile-button-2"]').simulate('click'); + }); +}); diff --git a/public/components/trace_analytics/components/dashboard/__tests__/dashboard_table.test.tsx b/public/components/trace_analytics/components/dashboard/__tests__/dashboard_table.test.tsx new file mode 100644 index 000000000..efb5855d3 --- /dev/null +++ b/public/components/trace_analytics/components/dashboard/__tests__/dashboard_table.test.tsx @@ -0,0 +1,95 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { DashboardTable } from '../dashboard_table'; + +describe('Dashboard table component', () => { + configure({ adapter: new Adapter() }); + + it('renders empty dashboard table message', () => { + const addFilter = jest.fn(); + const addPercentileFilter = jest.fn(); + const setRedirect = jest.fn(); + const wrapper = mount( + + ); + + expect(wrapper).toMatchSnapshot(); + }); + + it('renders dashboard table', () => { + const tableItems = [ + { + dashboard_trace_group_name: 'client_create_order', + dashboard_average_latency: 187.27, + dashboard_traces: 7, + dashboard_latency_variance: [26.43, 325.4, 325.4], + dashboard_error_rate: 14.285714285714285, + '24_hour_latency_trend': null, + }, + ]; + const addFilter = jest.fn(); + const addPercentileFilter = jest.fn(); + const setRedirect = jest.fn(); + const wrapper = mount( + + ); + + expect(wrapper).toMatchSnapshot(); + + wrapper.find('button[data-test-subj="dashboard-table-percentile-button-1"]').simulate('click'); + wrapper.find('button[data-test-subj="dashboard-table-percentile-button-2"]').simulate('click'); + expect(addPercentileFilter).toBeCalledTimes(2); + wrapper.find('button[data-test-subj="dashboard-table-trace-group-name-button"]').simulate('click'); + expect(addFilter).toBeCalled(); + wrapper.find('button[data-test-subj="dashboard-table-traces-button"]').simulate('click'); + expect(setRedirect).toBeCalledWith(true); + }); +}); diff --git a/public/components/trace_analytics/components/dashboard/__tests__/latency_trend_cell.test.tsx b/public/components/trace_analytics/components/dashboard/__tests__/latency_trend_cell.test.tsx new file mode 100644 index 000000000..d8231b44f --- /dev/null +++ b/public/components/trace_analytics/components/dashboard/__tests__/latency_trend_cell.test.tsx @@ -0,0 +1,46 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { LatencyTrendCell } from '../latency_trend_cell'; + +describe('Latency trend cell component', () => { + configure({ adapter: new Adapter() }); + + it('renders latency trend cell', () => { + const item = JSON.parse( + `{"trendData":[{"x":[1605027600000],"y":[154.71],"type":"scatter","mode":"lines","hoverinfo":"none","line":{"color":"#000000","width":1}}],"popoverData":[{"x":[1605027600000],"y":[154.71],"type":"scatter","mode":"lines+markers","hovertemplate":"%{x}
Average latency: %{y}","hoverlabel":{"bgcolor":"#d7c2ff"},"marker":{"color":"#987dcb","size":8},"line":{"color":"#987dcb","size":2}}]}` + ); + const wrapper = mount(); + expect(wrapper).toMatchSnapshot(); + + wrapper.find('button[aria-label="Open popover"]').simulate('click') + wrapper.find('button[aria-label="Close popover"]').simulate('click') + }); +}); diff --git a/public/components/trace_analytics/components/dashboard/dashboard.tsx b/public/components/trace_analytics/components/dashboard/dashboard.tsx new file mode 100644 index 000000000..477d43e17 --- /dev/null +++ b/public/components/trace_analytics/components/dashboard/dashboard.tsx @@ -0,0 +1,238 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import dateMath from '@elastic/datemath'; +import { EuiFlexGroup, EuiFlexItem, EuiSpacer, EuiTitle } from '@elastic/eui'; +import React, { useEffect, useState } from 'react'; +import { TraceAnalyticsComponentDeps } from '../../home'; +import { + handleDashboardErrorRatePltRequest, + handleDashboardRequest, + handleDashboardThroughputPltRequest +} from '../../requests/dashboard_request_handler'; +import { handleServiceMapRequest } from '../../requests/services_request_handler'; +import { FilterType } from '../common/filters/filters'; +import { getValidFilterFields } from '../common/filters/filter_helpers'; +import { filtersToDsl, getPercentileFilter, milliToNanoSec, minFixedInterval, MissingConfigurationMessage } from '../common/helper_functions'; +import { ErrorRatePlt } from '../common/plots/error_rate_plt'; +import { ServiceMap, ServiceObject } from '../common/plots/service_map'; +import { ThroughputPlt } from '../common/plots/throughput_plt'; +import { SearchBar } from '../common/search_bar'; +import { DashboardTable } from './dashboard_table'; + +interface DashboardProps extends TraceAnalyticsComponentDeps {} + +export function Dashboard(props: DashboardProps) { + const [tableItems, setTableItems] = useState([]); + const [throughputPltItems, setThroughputPltItems] = useState({ items: [], fixedInterval: '1h' }); + const [errorRatePltItems, setErrorRatePltItems] = useState({ items: [], fixedInterval: '1h' }); + const [serviceMap, setServiceMap] = useState({}); + const [serviceMapIdSelected, setServiceMapIdSelected] = useState<'latency' | 'error_rate' | 'throughput'>('latency'); + const [percentileMap, setPercentileMap] = useState<{ [traceGroup: string]: number[] }>({}); + const [redirect, setRedirect] = useState(true); + + useEffect(() => { + props.chrome.setBreadcrumbs([ + props.parentBreadcrumb, + { + text: 'Trace analytics', + href: '#/trace_analytics/home', + }, + { + text: 'Dashboards', + href: '#/trace_analytics/home', + }, + ]); + const validFilters = getValidFilterFields('dashboard'); + props.setFilters([ + ...props.filters.map((filter) => ({ + ...filter, + locked: validFilters.indexOf(filter.field) === -1, + })), + ]); + setRedirect(false); + }, []); + + useEffect(() => { + if (!redirect && props.indicesExist) refresh(); + }, [props.filters, props.startTime, props.endTime]); + + const refresh = async () => { + const DSL = filtersToDsl(props.filters, props.query, props.startTime, props.endTime); + const timeFilterDSL = filtersToDsl([], '', props.startTime, props.endTime); + const latencyTrendStartTime = dateMath + .parse(props.endTime) + ?.subtract(24, 'hours') + .toISOString()!; + const latencyTrendDSL = filtersToDsl( + props.filters, + props.query, + latencyTrendStartTime, + props.endTime + ); + const fixedInterval = minFixedInterval(props.startTime, props.endTime); + + handleDashboardRequest( + props.http, + DSL, + timeFilterDSL, + latencyTrendDSL, + tableItems, + setTableItems, + setPercentileMap + ); + handleDashboardThroughputPltRequest( + props.http, + DSL, + fixedInterval, + throughputPltItems, + setThroughputPltItems + ); + handleDashboardErrorRatePltRequest( + props.http, + DSL, + fixedInterval, + errorRatePltItems, + setErrorRatePltItems + ); + handleServiceMapRequest(props.http, DSL, serviceMap, setServiceMap); + }; + + const addFilter = (filter: FilterType) => { + for (const addedFilter of props.filters) { + if ( + addedFilter.field === filter.field && + addedFilter.operator === filter.operator && + addedFilter.value === filter.value + ) { + return; + } + } + const newFilters = [...props.filters, filter]; + props.setFilters(newFilters); + }; + + const addPercentileFilter = (condition = 'gte', additionalFilters = [] as FilterType[]) => { + if (tableItems.length === 0 || Object.keys(percentileMap).length === 0) return; + for (let i = 0; i < props.filters.length; i++) { + if (props.filters[i].custom) { + const newFilter = JSON.parse(JSON.stringify(props.filters[i])); + newFilter.custom.query.bool.should.forEach((should: any) => + should.bool.must.forEach((must: any) => { + const range = must?.range?.['traceGroupFields.durationInNanos']; + if (range) { + const duration = range.lt || range.lte || range.gt || range.gte; + if (duration || duration === 0) { + must.range['traceGroupFields.durationInNanos'] = { + [condition]: duration, + }; + } + } + }) + ); + newFilter.value = condition === 'gte' ? '>= 95th' : '< 95th'; + const newFilters = [...props.filters, ...additionalFilters]; + newFilters.splice(i, 1, newFilter); + props.setFilters(newFilters); + return; + } + } + + const percentileMaps = Object.keys(percentileMap).map((traceGroup) => ({ + traceGroupName: traceGroup, + durationFilter: { [condition]: milliToNanoSec(percentileMap[traceGroup][1]) }, + })); + const percentileFilter = getPercentileFilter( + percentileMaps, + condition === 'gte' ? '>= 95th' : '< 95th' + ); + const newFilters = [...props.filters, percentileFilter, ...additionalFilters]; + props.setFilters(newFilters); + }; + + return ( + <> + +

Dashboard

+
+ + + {props.indicesExist ? ( + <> + + + + + + + + + + + + + + + + + + + ) : ( + + )} + + ); +} diff --git a/public/components/trace_analytics/components/dashboard/dashboard_table.tsx b/public/components/trace_analytics/components/dashboard/dashboard_table.tsx new file mode 100644 index 000000000..97431b6b4 --- /dev/null +++ b/public/components/trace_analytics/components/dashboard/dashboard_table.tsx @@ -0,0 +1,433 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { + EuiFlexGroup, + EuiFlexItem, + EuiHorizontalRule, + EuiI18nNumber, + EuiIcon, + EuiInMemoryTable, + EuiLink, + EuiPanel, + EuiSpacer, + EuiTableFieldDataColumnType, + EuiText, + EuiToolTip, + PropertySort, +} from '@elastic/eui'; +import { CriteriaWithPagination } from '@elastic/eui/src/components/basic_table/basic_table'; +import _ from 'lodash'; +import React, { useMemo, useState } from 'react'; +import { FilterType } from '../common/filters/filters'; +import { calculateTicks, NoMatchMessage, PanelTitle } from '../common/helper_functions'; +import { BoxPlt } from '../common/plots/box_plt'; +import { LatencyTrendCell } from './latency_trend_cell'; + +export function DashboardTable(props: { + items: any[]; + filters: FilterType[]; + addFilter: (filter: FilterType) => void; + addPercentileFilter: (condition?: 'gte' | 'lte', additionalFilters?: FilterType[]) => void; + setRedirect: (redirect: boolean) => void; +}) { + const getVarianceProps = (items: any[]) => { + if (items.length === 0) { + return { minRange: 0, maxRange: 0, ticks: [0, 0], scale: '' }; + } + const variances = [].concat( + ...items + .filter((item) => item.dashboard_latency_variance) + .map((item) => item.dashboard_latency_variance) + ); + const minRange = Math.min(...variances); + const maxRange = Math.max(...variances); + const ticks = calculateTicks(minRange, maxRange); + + const maxDigits = ticks[ticks.length - 1].toString().length; + + // pads spaces (\u00A0) in between ticks to construct a scale + // width of a character equals the width of two spaces, maximum 39 characters in a scale + const scale = ticks + .map((tick) => { + const tickStr = tick.toString(); + return tickStr.padEnd(tickStr.length + 2 * (maxDigits - tickStr.length), '\u00A0'); + }) + .join( + '\u00A0'.repeat( + Math.max( + 1, + Math.floor((2 * (39 - ticks.length * maxDigits)) / Math.max(1, ticks.length - 1)) + ) + ) + ); + + return { minRange, maxRange, ticks, scale }; + }; + + const getColumns = () => + [ + { + field: 'dashboard_trace_group_name', + name: ( + + Traces of all requests that share a common API and operation at the start of + distributed tracing instrumentation. + + } + > + <> +
+ Trace group name{' '} + +
+
 
+ +
+ ), + align: 'left', + sortable: true, + render: (item) => + item ? ( + + props.addFilter({ + field: 'traceGroup', + operator: 'is', + value: item, + inverted: false, + disabled: false, + }) + } + > + {item.length < 48 ? item :
{_.truncate(item, { length: 48 })}
} +
+ ) : ( + '-' + ), + }, + { + field: 'dashboard_latency_variance', + name: ( + <> + + Range of latencies for traces within a trace group in the selected time range. + + } + > + + Latency variance (ms){' '} + + + + {varianceProps && ( + + {varianceProps.scale} + + )} + + ), + align: 'center', + sortable: ({ dashboard_latency_variance }) => + dashboard_latency_variance?.length > 0 + ? dashboard_latency_variance[2] - dashboard_latency_variance[0] + : 0, + width: '300px', + render: (item, row) => { + const filter = props.filters.find( + (f) => f.field === 'Latency percentile within trace group' + ); + const currPercentileFilter = filter ? filter.value : ''; + return item ? ( + // expand plot ranges to accommodate scale + 1 + ? varianceProps.ticks[0] + : varianceProps.ticks[0] / 1.03, + max: varianceProps.ticks[varianceProps.ticks.length - 1] * 1.03, + left: item[0], + mid: item[1], + right: item[2], + currPercentileFilter, + addFilter: (condition?: 'lte' | 'gte') => { + const traceGroupFilter = { + field: 'traceGroup', + operator: 'is', + value: row.dashboard_trace_group_name, + inverted: false, + disabled: false, + }; + const additionalFilters = [traceGroupFilter]; + for (const addedFilter of props.filters) { + if ( + addedFilter.field === traceGroupFilter.field && + addedFilter.operator === traceGroupFilter.operator && + addedFilter.value === traceGroupFilter.value + ) { + additionalFilters.pop(); + } + } + props.addPercentileFilter(condition, additionalFilters); + }, + }} + /> + ) : ( + '-' + ); + }, + }, + { + field: 'dashboard_average_latency', + name: ( + + Average latency of traces within a trace group in the selected time range. + + } + > + <> + {/*
Average
*/} +
+ Average latency (ms){' '} + +
+
 
+ +
+ ), + align: 'right', + sortable: true, + dataType: 'number', + render: (item) => (item === 0 || item ? _.round(item, 2) : '-'), + }, + { + field: '24_hour_latency_trend', + name: ( + + 24 hour time series view of hourly average, hourly percentile, and hourly range of + latency for traces within a trace group. + + } + > + <> + {/*
24-hour
*/} +
+ 24-hour latency trend{' '} + +
+
 
+ +
+ ), + align: 'right', + sortable: false, + render: (item, row) => + item ? ( + + ) : ( + '-' + ), + }, + { + field: 'dashboard_error_rate', + name: ( + + Error rate based on count of trace errors within a trace group in the selected time + range. + + } + > + <> +
+ Error rate{' '} + +
+
 
+ +
+ ), + align: 'right', + sortable: true, + render: (item) => + item === 0 || item ? {`${_.round(item, 2)}%`} : '-', + }, + { + field: 'dashboard_traces', + name: ( + + Count of traces with unique trace identifiers in the selected time range. + + } + > + <> +
+ Traces{' '} + +
+
 
+ +
+ ), + align: 'right', + sortable: true, + render: (item, row) => ( + { + props.setRedirect(true); + props.addFilter({ + field: 'traceGroup', + operator: 'is', + value: row.dashboard_trace_group_name, + inverted: false, + disabled: false, + }); + location.assign('#/trace_analytics/traces'); + }} + > + + + ), + }, + ] as Array>; + + const renderTitleBar = (totalItems: number) => { + return ( + + + + + + props.addPercentileFilter('lte')} + > + + < 95 percentile + + + + + + props.addPercentileFilter('gte')} + > + + >= 95 percentile + + + + + + ); + }; + + const varianceProps = useMemo(() => getVarianceProps(props.items), [props.items]); + const columns = useMemo(() => getColumns(), [props.items]); + const titleBar = useMemo(() => renderTitleBar(props.items?.length), [props.items]); + + const [sorting, setSorting] = useState<{ sort: PropertySort }>({ + sort: { + field: 'dashboard_latency_variance', + direction: 'desc', + }, + }); + + const onTableChange = async ({ page, sort }: CriteriaWithPagination) => { + if (typeof sort?.field !== 'string') return; + setSorting({ sort } as { sort: PropertySort }); + }; + + return ( + <> + + {titleBar} + + + {props.items?.length > 0 ? ( + + ) : ( + + )} + + + ); +} diff --git a/public/components/trace_analytics/components/dashboard/index.ts b/public/components/trace_analytics/components/dashboard/index.ts new file mode 100644 index 000000000..9eaca92ba --- /dev/null +++ b/public/components/trace_analytics/components/dashboard/index.ts @@ -0,0 +1,27 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +export { Dashboard } from './dashboard'; diff --git a/public/components/trace_analytics/components/dashboard/latency_trend_cell.tsx b/public/components/trace_analytics/components/dashboard/latency_trend_cell.tsx new file mode 100644 index 000000000..ebd9e5d17 --- /dev/null +++ b/public/components/trace_analytics/components/dashboard/latency_trend_cell.tsx @@ -0,0 +1,83 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { EuiButtonIcon, EuiFlexGroup, EuiFlexItem, EuiPopover, EuiText } from '@elastic/eui'; +import _ from 'lodash'; +import React, { useState } from 'react'; +import { LatencyPlt, LinePlt } from '../common/plots/latency_trend_plt'; + +export function LatencyTrendCell({ + item, + traceGroupName, +}: { + item: { + popoverData: Plotly.Data[]; + trendData: Plotly.Data[]; + }; + traceGroupName: string; +}) { + const [isPopoverOpen, setIsPopoverOpen] = useState(false); + return ( + + + + + + + setIsPopoverOpen(true)} + iconType="magnifyWithPlus" + size="s" + /> + } + isOpen={isPopoverOpen} + closePopover={() => setIsPopoverOpen(false)} + > + + + 24-hour latency trend + {traceGroupName} + + + setIsPopoverOpen(false)} + /> + + + + + + + ); +} diff --git a/public/components/trace_analytics/components/services/__tests__/__snapshots__/service_view.test.tsx.snap b/public/components/trace_analytics/components/services/__tests__/__snapshots__/service_view.test.tsx.snap new file mode 100644 index 000000000..7c2fc4439 --- /dev/null +++ b/public/components/trace_analytics/components/services/__tests__/__snapshots__/service_view.test.tsx.snap @@ -0,0 +1,251 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Service view component renders service view 1`] = ` + + + + + + +

+ order +

+
+
+ + + + +
+ + + + + + + + + + Name + + + order + + + + + Number of connected services + + + 0 + + + + + Connected services + + + - + + + + + + + + + Average latency (ms) + + + - + + + + + Error rate + + + - + + + + + Throughput + + + - + + + + + Traces + + + - + + + + + + + + + + + + + +
+ +
+
+
+
+
+`; diff --git a/public/components/trace_analytics/components/services/__tests__/__snapshots__/services.test.tsx.snap b/public/components/trace_analytics/components/services/__tests__/__snapshots__/services.test.tsx.snap new file mode 100644 index 000000000..1915c7ad6 --- /dev/null +++ b/public/components/trace_analytics/components/services/__tests__/__snapshots__/services.test.tsx.snap @@ -0,0 +1,2134 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Services component renders empty services page 1`] = ` + + +

+ Services +

+
+ + +
+ +
+ + +
+
+ + + + +
+ + + + + +
+
+
+
+
+
+
+
+ +
+ + +
+ +
+ + } + > +
+ + + + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + id="QuickSelectPopover" + isOpen={false} + ownFocus={true} + panelPaddingSize="m" + > + +
+
+ + + +
+
+
+
+
+
+ } + iconType={false} + isCustom={true} + startDateControl={
} + > +
+ +
+ + +
+
+ +
+ +
+ + +
+ + +
+ + + + + +
+
+
+ + +
+ + + +
+ +
+ + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="none" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+ +
+ + + + Add filter + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="m" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+
+
+
+ + +
+ + + +
+ +
+ +
+ + +
+ + Services + + + (0) + +
+
+
+
+
+
+
+ +
+ + +
+
+ + + Learn more + + } + body={ + + The indices required for trace analytics (otel-v1-apm-span-* and otel-v1-apm-service-map*) do not exist or you do not have permission to access them. + + } + title={ +

+ Trace Analytics not set up +

+ } + > +
+ + + +

+ Trace Analytics not set up +

+
+ +
+ + +
+ +
+ The indices required for trace analytics (otel-v1-apm-span-* and otel-v1-apm-service-map*) do not exist or you do not have permission to access them. +
+
+
+
+ + + +
+ + +
+ + + + + + +
+ + +
+ + + +`; + +exports[`Services component renders services page 1`] = ` + + +

+ Services +

+
+ + +
+ +
+ + +
+
+ + + + +
+ + + + + +
+
+
+
+
+
+
+
+ +
+ + +
+ +
+ + } + > +
+ + + + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + id="QuickSelectPopover" + isOpen={false} + ownFocus={true} + panelPaddingSize="m" + > + +
+
+ + + +
+
+
+
+
+
+ } + iconType={false} + isCustom={true} + startDateControl={
} + > +
+ +
+ + +
+
+ +
+ +
+ + +
+ + +
+ + + + + +
+
+
+ + +
+ + + +
+ +
+ + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="none" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+ +
+ + + + Add filter + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="m" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+
+
+
+
+ + +
+ + + +
+ +
+ +
+ + +
+ + Services + + + (0) + +
+
+
+
+
+
+
+ +
+ + +
+
+ + +
+ + + No data matches the selected filter. Clear the filter and/or increase the time range to see more results. + + } + title={ +

+ No matches +

+ } + > +
+ + + +

+ No matches +

+
+ +
+ + +
+ +
+ No data matches the selected filter. Clear the filter and/or increase the time range to see more results. +
+
+
+
+ + +
+ + +
+ + +
+ + + +`; diff --git a/public/components/trace_analytics/components/services/__tests__/__snapshots__/services_table.test.tsx.snap b/public/components/trace_analytics/components/services/__tests__/__snapshots__/services_table.test.tsx.snap new file mode 100644 index 000000000..654630d5a --- /dev/null +++ b/public/components/trace_analytics/components/services/__tests__/__snapshots__/services_table.test.tsx.snap @@ -0,0 +1,1856 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Services table component renders empty services table message 1`] = ` + + +
+ +
+ +
+ + +
+ + Services + + + (0) + +
+
+
+
+
+
+
+ +
+ + +
+
+ + +
+ + + No data matches the selected filter. Clear the filter and/or increase the time range to see more results. + + } + title={ +

+ No matches +

+ } + > +
+ + + +

+ No matches +

+
+ +
+ + +
+ +
+ No data matches the selected filter. Clear the filter and/or increase the time range to see more results. +
+
+
+
+ + +
+ + +
+ + +
+ + +`; + +exports[`Services table component renders services table 1`] = ` + + +
+ +
+ +
+ + +
+ + Services + + + (1) + +
+
+
+
+
+
+
+ +
+ + +
+
+ + +
+
+ +
+ +
+ +
+ + +
+ +
+ + + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={true} + panelPaddingSize="none" + > + +
+
+ + + +
+
+
+
+
+
+
+
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + +
+
+ Name +
+ +
+
+ Average latency (ms) +
+
+ 49.54 +
+
+
+ Error rate +
+
+ +
+ 3.77% +
+
+
+
+
+ Throughput +
+
+ + 53 + +
+
+
+ No. of connected services +
+
+ 2 +
+
+
+ Connected services +
+
+ +
+ order, inventory +
+
+
+
+
+ Traces +
+
+ + + +
+
+
+
+ +
+ +
+ + + +
+ +
+ + + : + 10 + + } + closePopover={[Function]} + display="inlineBlock" + hasArrow={true} + isOpen={false} + ownFocus={false} + panelPaddingSize="none" + withTitle={true} + > + +
+
+ + + +
+
+
+
+
+
+ +
+ + + +
+
+
+
+
+
+ +
+ + +
+ + +`; diff --git a/public/components/trace_analytics/components/services/__tests__/service_view.test.tsx b/public/components/trace_analytics/components/services/__tests__/service_view.test.tsx new file mode 100644 index 000000000..fc792057a --- /dev/null +++ b/public/components/trace_analytics/components/services/__tests__/service_view.test.tsx @@ -0,0 +1,65 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { ServiceView } from '..'; +import httpClientMock from '../../../../test/httpClientMock'; + +describe('Service view component', () => { + configure({ adapter: new Adapter() }); + + it('renders service view', () => { + const setBreadcrumbs = jest.fn(); + const setQuery = jest.fn(); + const setFilters = jest.fn(); + const setStartTime = jest.fn(); + const setEndTime = jest.fn(); + const addFilter = jest.fn(); + const wrapper = shallow( + + ); + + expect(wrapper).toMatchSnapshot(); + }); +}); diff --git a/public/components/trace_analytics/components/services/__tests__/services.test.tsx b/public/components/trace_analytics/components/services/__tests__/services.test.tsx new file mode 100644 index 000000000..c2821d9fa --- /dev/null +++ b/public/components/trace_analytics/components/services/__tests__/services.test.tsx @@ -0,0 +1,90 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { Services } from '..'; + +describe('Services component', () => { + configure({ adapter: new Adapter() }); + + it('renders empty services page', () => { + const http = jest.fn(); + const setBreadcrumbs = jest.fn(); + const setQuery = jest.fn(); + const setFilters = jest.fn(); + const setStartTime = jest.fn(); + const setEndTime = jest.fn(); + const wrapper = mount( + + ); + + expect(wrapper).toMatchSnapshot(); + }); + + it('renders services page', () => { + const http = jest.fn(); + const setBreadcrumbs = jest.fn(); + const setQuery = jest.fn(); + const setFilters = jest.fn(); + const setStartTime = jest.fn(); + const setEndTime = jest.fn(); + const wrapper = mount( + + ); + + expect(wrapper).toMatchSnapshot(); + }); +}); + diff --git a/public/components/trace_analytics/components/services/__tests__/services_table.test.tsx b/public/components/trace_analytics/components/services/__tests__/services_table.test.tsx new file mode 100644 index 000000000..ecd088d85 --- /dev/null +++ b/public/components/trace_analytics/components/services/__tests__/services_table.test.tsx @@ -0,0 +1,86 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import React from 'react'; +import { render } from '@testing-library/react'; +import { configure, mount, shallow } from 'enzyme'; +import Adapter from 'enzyme-adapter-react-16'; +import { ServicesTable } from '../services_table'; + +describe('Services table component', () => { + configure({ adapter: new Adapter() }); + + it('renders empty services table message', () => { + const addFilter = jest.fn(); + const setServiceQuery = jest.fn(); + const setRedirect = jest.fn(); + const refresh = jest.fn(); + const wrapper = mount( + + ); + + expect(wrapper).toMatchSnapshot(); + }); + + it('renders services table', () => { + const tableItems = [ + { + name: 'database', + average_latency: 49.54, + error_rate: 3.77, + throughput: 53, + traces: 31, + connected_services: ['order', 'inventory'], + number_of_connected_services: 2, + }, + ]; + const addFilter = jest.fn(); + const setServiceQuery = jest.fn(); + const setRedirect = jest.fn(); + const refresh = jest.fn(); + const wrapper = mount( + + ); + + expect(wrapper).toMatchSnapshot(); + }); +}); diff --git a/public/components/trace_analytics/components/services/index.ts b/public/components/trace_analytics/components/services/index.ts new file mode 100644 index 000000000..ff871fde7 --- /dev/null +++ b/public/components/trace_analytics/components/services/index.ts @@ -0,0 +1,29 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +export { Services } from './services'; +export { ServiceView } from './service_view'; +export { ServiceMap } from '../common/plots/service_map'; diff --git a/public/components/trace_analytics/components/services/service_view.tsx b/public/components/trace_analytics/components/services/service_view.tsx new file mode 100644 index 000000000..31037f7d9 --- /dev/null +++ b/public/components/trace_analytics/components/services/service_view.tsx @@ -0,0 +1,364 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { + EuiBadge, + EuiFlexGroup, + EuiFlexItem, + EuiHorizontalRule, + EuiI18nNumber, + EuiLink, + EuiPage, + EuiPageBody, + EuiPanel, + EuiSpacer, + EuiText, + EuiTitle, +} from '@elastic/eui'; +import _ from 'lodash'; +import React, { useEffect, useMemo, useState } from 'react'; +import { TraceAnalyticsComponentDeps } from '../../home'; +import { + handleServiceMapRequest, + handleServiceViewRequest, +} from '../../requests/services_request_handler'; +import { FilterType } from '../common/filters/filters'; +import { filtersToDsl, PanelTitle } from '../common/helper_functions'; +import { ServiceMap, ServiceObject } from '../common/plots/service_map'; +import { renderDatePicker, SearchBarProps } from '../common/search_bar'; +import { SpanDetailFlyout } from '../traces/span_detail_flyout'; +import { SpanDetailTable } from '../traces/span_detail_table'; + +interface ServiceViewProps extends TraceAnalyticsComponentDeps { + serviceName: string; + addFilter: (filter: FilterType) => void; +} + +export function ServiceView(props: ServiceViewProps) { + const [fields, setFields] = useState({}); + const [serviceMap, setServiceMap] = useState({}); + const [serviceMapIdSelected, setServiceMapIdSelected] = useState< + 'latency' | 'error_rate' | 'throughput' + >('latency'); + const [redirect, setRedirect] = useState(false); + + useEffect(() => { + props.chrome.setBreadcrumbs([ + props.parentBreadcrumb, + { + text: 'Trace analytics', + href: '#/trace_analytics/home', + }, + { + text: 'Services', + href: '#/trace_analytics/services', + }, + { + text: props.serviceName, + href: `#/trace_analytics/services/${encodeURIComponent(props.serviceName)}`, + }, + ]); + }, []); + + useEffect(() => { + if (!redirect) refresh(); + }, [props.startTime, props.endTime, props.serviceName]); + + const refresh = () => { + const DSL = filtersToDsl(props.filters, props.query, props.startTime, props.endTime); + handleServiceViewRequest(props.serviceName, props.http, DSL, fields, setFields); + handleServiceMapRequest(props.http, DSL, serviceMap, setServiceMap, props.serviceName); + }; + + const renderTitle = ( + serviceName: string, + startTime: SearchBarProps['startTime'], + setStartTime: SearchBarProps['setStartTime'], + endTime: SearchBarProps['endTime'], + setEndTime: SearchBarProps['setEndTime'], + addFilter: (filter: FilterType) => void + ) => { + return ( + <> + + +

{serviceName}

+
+
+ + {renderDatePicker(startTime, setStartTime, endTime, setEndTime)} + + + + ); + }; + + const renderOverview = () => { + return ( + + + + + + + + Name + + {props.serviceName || '-'} + + + + Number of connected services + + {fields.number_of_connected_services !== undefined + ? fields.number_of_connected_services + : 0} + + + + Connected services + + {fields.connected_services + ? fields.connected_services + .map((service: string) => ( + + {service} + + )) + .reduce((prev: React.ReactNode, curr: React.ReactNode) => { + return [prev, ', ', curr]; + }) + : '-'} + + + + + + + + Average latency (ms) + + {fields.average_latency !== undefined ? fields.average_latency : '-'} + + + + Error rate + + {fields.error_rate !== undefined + ? _.round(fields.error_rate, 2).toString() + '%' + : '-'} + + + + Throughput + + {fields.throughput !== undefined ? ( + + ) : ( + '-' + )} + + + + Traces + + {fields.traces === 0 || fields.traces ? ( + { + props.addFilter({ + field: 'serviceName', + operator: 'is', + value: props.serviceName, + inverted: false, + disabled: false, + }); + location.assign('#/trace_analytics/traces'); + }} + > + + + ) : ( + '-' + )} + + + + + + + + ); + }; + + const overview = useMemo(() => renderOverview(), [fields, props.serviceName]); + + const title = useMemo( + () => + renderTitle( + props.serviceName, + props.startTime, + props.setStartTime, + props.endTime, + props.setEndTime, + props.addFilter + ), + [props.serviceName, props.startTime, props.endTime] + ); + + const activeFilters = useMemo( + () => props.filters.filter((filter) => !filter.locked && !filter.disabled), + [props.filters] + ); + + const [currentSpan, setCurrentSpan] = useState(''); + const storedFilters = sessionStorage.getItem('TraceAnalyticsSpanFilters'); + const [spanFilters, setSpanFilters] = useState>( + storedFilters ? JSON.parse(storedFilters) : [] + ); + const [DSL, setDSL] = useState({}); + + const setSpanFiltersWithStorage = (newFilters: Array<{ field: string; value: any }>) => { + setSpanFilters(newFilters); + sessionStorage.setItem('TraceAnalyticsSpanFilters', JSON.stringify(newFilters)); + }; + + useEffect(() => { + const DSL = filtersToDsl(props.filters, props.query, props.startTime, props.endTime); + DSL.query.bool.must.push({ + term: { + serviceName: props.serviceName, + }, + }); + spanFilters.map(({ field, value }) => { + if (value != null) { + DSL.query.bool.must.push({ + term: { + [field]: value, + }, + }); + } + }); + setDSL(DSL); + }, [props.startTime, props.endTime, props.serviceName, spanFilters]); + + const addSpanFilter = (field: string, value: any) => { + const newFilters = [...spanFilters]; + const index = newFilters.findIndex(({ field: filterField }) => field === filterField); + if (index === -1) { + newFilters.push({ field, value }); + } else { + newFilters.splice(index, 1, { field, value }); + } + setSpanFiltersWithStorage(newFilters); + }; + + const removeSpanFilter = (field: string) => { + const newFilters = [...spanFilters]; + const index = newFilters.findIndex(({ field: filterField }) => field === filterField); + if (index !== -1) { + newFilters.splice(index, 1); + setSpanFiltersWithStorage(newFilters); + } + }; + + const renderFilters = useMemo(() => { + return spanFilters.map(({ field, value }) => ( + + removeSpanFilter(field)} + iconOnClickAriaLabel="remove current filter" + > + {`${field}: ${value}`} + + + )); + }, [spanFilters]); + + const [total, setTotal] = useState(0); + const spanDetailTable = useMemo( + () => ( + setCurrentSpan(spanId)} + setTotal={setTotal} + /> + ), + [DSL, setCurrentSpan] + ); + + return ( + <> + + + + {title} + + {activeFilters.length > 0 && ( + + results are filtered by {activeFilters.map((filter) => filter.field).join(', ')} + + )} + + {overview} + + + + + + {spanFilters.length > 0 && ( + <> + + + {renderFilters} + + + )} + +
{spanDetailTable}
+
+ {!!currentSpan && ( + setCurrentSpan('')} + addSpanFilter={addSpanFilter} + /> + )} +
+
+ + ); +} diff --git a/public/components/trace_analytics/components/services/services.tsx b/public/components/trace_analytics/components/services/services.tsx new file mode 100644 index 000000000..453f6f528 --- /dev/null +++ b/public/components/trace_analytics/components/services/services.tsx @@ -0,0 +1,118 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { EuiSpacer, EuiTitle } from '@elastic/eui'; +import React, { useEffect, useState } from 'react'; +import { TraceAnalyticsComponentDeps } from '../../home'; +import { handleServicesRequest } from '../../requests/services_request_handler'; +import { FilterType } from '../common/filters/filters'; +import { getValidFilterFields } from '../common/filters/filter_helpers'; +import { filtersToDsl } from '../common/helper_functions'; +import { SearchBar } from '../common/search_bar'; +import { ServicesTable } from './services_table'; + +interface ServicesProps extends TraceAnalyticsComponentDeps {} + +export function Services(props: ServicesProps) { + const [tableItems, setTableItems] = useState([]); + const [redirect, setRedirect] = useState(true); + useEffect(() => { + props.chrome.setBreadcrumbs([ + props.parentBreadcrumb, + { + text: 'Trace analytics', + href: '#/trace_analytics/home', + }, + { + text: 'Services', + href: '#/trace_analytics/services', + }, + ]); + const validFilters = getValidFilterFields('services'); + props.setFilters([ + ...props.filters.map((filter) => ({ + ...filter, + locked: validFilters.indexOf(filter.field) === -1, + })), + ]); + setRedirect(false); + }, []); + + useEffect(() => { + if (!redirect && props.indicesExist) refresh(); + }, [props.filters]); + + const refresh = () => { + const DSL = filtersToDsl(props.filters, props.query, props.startTime, props.endTime); + handleServicesRequest(props.http, DSL, tableItems, setTableItems, null, serviceQuery); + }; + + const addFilter = (filter: FilterType) => { + for (const addedFilter of props.filters) { + if ( + addedFilter.field === filter.field && + addedFilter.operator === filter.operator && + addedFilter.value === filter.value + ) { + return; + } + } + const newFilters = [...props.filters, filter]; + props.setFilters(newFilters); + }; + + const [serviceQuery, setServiceQuery] = useState(''); + + return ( + <> + +

Services

+
+ + + + + ); +} diff --git a/public/components/trace_analytics/components/services/services_table.tsx b/public/components/trace_analytics/components/services/services_table.tsx new file mode 100644 index 000000000..67dc700e8 --- /dev/null +++ b/public/components/trace_analytics/components/services/services_table.tsx @@ -0,0 +1,188 @@ +/* + * SPDX-License-Identifier: Apache-2.0 + * + * The OpenSearch Contributors require contributions made to + * this file be licensed under the Apache-2.0 license or a + * compatible open source license. + * + * Modifications Copyright OpenSearch Contributors. See + * GitHub history for details. + */ + +/* + * Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"). + * You may not use this file except in compliance with the License. + * A copy of the License is located at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * or in the "license" file accompanying this file. This file is distributed + * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either + * express or implied. See the License for the specific language governing + * permissions and limitations under the License. + */ + +import { + EuiFlexGroup, + EuiFlexItem, + EuiHorizontalRule, + EuiI18nNumber, + EuiInMemoryTable, + EuiLink, + EuiPanel, + EuiSpacer, + EuiTableFieldDataColumnType, + EuiText, +} from '@elastic/eui'; +import _ from 'lodash'; +import React, { useMemo } from 'react'; +import { FilterType } from '../common/filters/filters'; +import { MissingConfigurationMessage, NoMatchMessage, PanelTitle } from '../common/helper_functions'; + +export function ServicesTable(props: { + items: any[]; + addFilter: (filter: FilterType) => void; + setRedirect: (redirect: boolean) => void; + serviceQuery: string; + setServiceQuery: (query: string) => void; + refresh: () => void; + indicesExist: boolean; +}) { + const renderTitleBar = (totalItems?: number) => { + return ( + + + + + + ); + }; + + const columns = useMemo( + () => + [ + { + field: 'name', + name: 'Name', + align: 'left', + sortable: true, + render: (item) => ( + + {item.length < 24 ? item :
{_.truncate(item, { length: 24 })}
} +
+ ), + }, + { + field: 'average_latency', + name: 'Average latency (ms)', + align: 'right', + sortable: true, + render: (item) => (item === 0 || item ? _.round(item, 2) : '-'), + }, + { + field: 'error_rate', + name: 'Error rate', + align: 'right', + sortable: true, + render: (item) => + item === 0 || item ? {`${_.round(item, 2)}%`} : '-', + }, + { + field: 'throughput', + name: 'Throughput', + align: 'right', + sortable: true, + truncateText: true, + render: (item) => (item === 0 || item ? : '-'), + }, + { + field: 'number_of_connected_services', + name: 'No. of connected services', + align: 'right', + sortable: true, + truncateText: true, + width: '80px', + render: (item) => (item === 0 || item ? item : '-'), + }, + { + field: 'connected_services', + name: 'Connected services', + align: 'left', + sortable: true, + truncateText: true, + render: (items) => + items ? ( + {_.truncate(items.join(', '), { length: 50 })} + ) : ( + '-' + ), + }, + { + field: 'traces', + name: 'Traces', + align: 'right', + sortable: true, + truncateText: true, + render: (item, row) => ( + <> + {item === 0 || item ? ( + { + props.setRedirect(true); + props.addFilter({ + field: 'serviceName', + operator: 'is', + value: row.name, + inverted: false, + disabled: false, + }); + location.assign('#/trace_analytics/traces'); + }} + > + + + ) : ( + '-' + )} + + ), + }, + ] as Array>, + [props.items] + ); + + const titleBar = useMemo(() => renderTitleBar(props.items?.length), [props.items]); + + return ( + <> + + {titleBar} + + + {props.items?.length > 0 ? ( + + ) : props.indicesExist ? ( + + ) : ( + + )} + + + ); +} diff --git a/public/components/trace_analytics/components/traces/__tests__/__snapshots__/flyout_list_item.test.tsx.snap b/public/components/trace_analytics/components/traces/__tests__/__snapshots__/flyout_list_item.test.tsx.snap new file mode 100644 index 000000000..38f14fa31 --- /dev/null +++ b/public/components/trace_analytics/components/traces/__tests__/__snapshots__/flyout_list_item.test.tsx.snap @@ -0,0 +1,47 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[` spec renders the component 1`] = ` +
+
+
+
+
+ Span ID +
+
+
+
+
+
+
+ + test-span-id + +
+
+
+
+
+
+
+`; diff --git a/public/components/trace_analytics/components/traces/__tests__/__snapshots__/service_breakdown_panel.test.tsx.snap b/public/components/trace_analytics/components/traces/__tests__/__snapshots__/service_breakdown_panel.test.tsx.snap new file mode 100644 index 000000000..2e530b68d --- /dev/null +++ b/public/components/trace_analytics/components/traces/__tests__/__snapshots__/service_breakdown_panel.test.tsx.snap @@ -0,0 +1,429 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Service breakdown panel component renders empty service breakdown panel 1`] = ` + + +
+ + +
+ + Time spent by service + +
+
+
+ +
+
+ +
+ +
+ + +
+ + +
+ +
+ + +
+ +
+ + +`; + +exports[`Service breakdown panel component renders service breakdown panel 1`] = ` +%{value:.2f}%", + "labels": Array [ + "inventory", + ], + "marker": Object { + "colors": Array [ + "#7492e7", + ], + }, + "textinfo": "none", + "type": "pie", + "values": Array [ + 100, + ], + }, + ] + } +> + +
+ + +
+ + Time spent by service + +
+
+
+ +
+
+ +
+ +
+ %{value:.2f}%", + "labels": Array [ + "inventory", + ], + "marker": Object { + "colors": Array [ + "#7492e7", + ], + }, + "textinfo": "none", + "type": "pie", + "values": Array [ + 100, + ], + }, + ] + } + layout={ + Object { + "height": 200, + "margin": Object { + "b": 5, + "l": 5, + "r": 5, + "t": 5, + }, + "showlegend": false, + "width": 200, + } + } + > + %{value:.2f}%", + "labels": Array [ + "inventory", + ], + "marker": Object { + "colors": Array [ + "#7492e7", + ], + }, + "textinfo": "none", + "type": "pie", + "values": Array [ + 100, + ], + }, + ] + } + debug={false} + layout={ + Object { + "autosize": true, + "barmode": "stack", + "height": 200, + "hovermode": "closest", + "legend": Object { + "orientation": "h", + "traceorder": "normal", + }, + "margin": Object { + "b": 5, + "l": 5, + "r": 5, + "t": 5, + }, + "showlegend": false, + "width": 200, + "xaxis": Object { + "rangemode": "normal", + "showgrid": true, + "zeroline": false, + }, + "yaxis": Object { + "rangemode": "normal", + "showgrid": true, + "zeroline": false, + }, + } + } + style={ + Object { + "height": "100%", + "width": "100%", + } + } + useResizeHandler={true} + > +
+ + +
+ + +
+ + +
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+ + + + + +
+
+ +
+
+ inventory +
+
+
+
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ + +
+ +
+ +
+ +
+ 100 + % +
+
+
+
+
+
+
+
+
+ +
+
+
+
+ +
+ +
+ + +`; diff --git a/public/components/trace_analytics/components/traces/__tests__/__snapshots__/span_detail_flyout.test.tsx.snap b/public/components/trace_analytics/components/traces/__tests__/__snapshots__/span_detail_flyout.test.tsx.snap new file mode 100644 index 000000000..4a12e0a44 --- /dev/null +++ b/public/components/trace_analytics/components/traces/__tests__/__snapshots__/span_detail_flyout.test.tsx.snap @@ -0,0 +1,2184 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[` spec renders the component with data 1`] = ` +
+
+
+
+
+