diff --git a/.babelrc b/.babelrc new file mode 100644 index 000000000..e21b3f2f2 --- /dev/null +++ b/.babelrc @@ -0,0 +1,18 @@ +{ + "presets": [ + [ + "@babel/preset-env", + { + "targets": { "node": "10" } + } + ], + "@babel/preset-react", + "@babel/preset-typescript" + ], + "plugins": [ + "@babel/plugin-transform-modules-commonjs", + ["@babel/plugin-transform-runtime", { "regenerator": true }], + "@babel/plugin-proposal-class-properties", + "@babel/plugin-proposal-object-rest-spread" + ] +} \ No newline at end of file diff --git a/.cypress/CYPRESS_TESTS.md b/.cypress/CYPRESS_TESTS.md new file mode 100644 index 000000000..bba2db259 --- /dev/null +++ b/.cypress/CYPRESS_TESTS.md @@ -0,0 +1,146 @@ +# Observability Cypress Test Cases +The observability plugin currently has 4 modules in it. Each of the modules have their own cypress tests [here](./integration). + +## 1. Event Analytics + +### Home + +* Query Search + * Type query in search bar then click ‘refresh’ button on date range picker to search would redirect user to explorer page, and display searching results in that page + * Click ‘refresh’ button directly without having a query in search bar would redirect user to explorer page with a new empty tab +* Actions - Event Explorer + * Click ‘Event explorer’ in the dropdown list of actions would redirect user to explorer page +* Actions - Delete + * Check saved queries and(or) saved visualizations then click delete in dropdown list of actions is expected to delete selected saved objects’ +* Actions - Add Samples + * Click ‘add samples’ in the dropdown list of actions is expected to add 9 sample saved queries and visualizations, the newly added samples is expected to shop up in Queries and Visualizations table + +### Explorer + +* Add new tabs + + * Click ’add new‘ button is expected to add top level tabs + * Redirections from clicking history links is expected to + * create new tab if there’s already tab with searched data + * populate the the first empty tab + * Redirections from clicking ‘new query’ in home page would always create new tab + +* Close tabs + + * Close unselected tab should close that tab only, and not change the current selected tab + * Click ‘add new’ to add new tabs and click on any tab before the last created tab, then close that tab. It is expected to close the current tab properly, and newly selected tab is expected to be one tab before it if there’s any existing tabs or the immediate tab comes after the deleted one + * It is expected to be not able to close a tab when there’s only one tab left, and user will be prompt with a toast message + +* Query Saving + + * Saves a query on event tab of explorer page is expected to create a new saved query. The user should see this new saved query in Queries and Visualizations table. + * Saves a visualization on visualization tab of explorer page is expected to create a new saved visualization. The user should see this new saved Visualization Queries and Visualizations table on event home should display this new saved visualization + * Saves a visualization to existing panels +* Sidebar + * Search fields + * Toggle fields between selected and available fields categories + * Override timestamp + * Click on a timestamp field to override timestamp is expected to create a new saved, default timestamp for this index +* Count distribution + * Change time interval + * Display event counts +* Visualization tab + * Switch visualizations from dropdown list +* Data Grid + * Expand/collapse a data entry + +## 2. Custom panels + +### Home Table + +* Check panel name validity +* Create and open a new panel +* Duplicate and rename a panel +* Search an existing panel +* Delete panels + +### Create Visualization + +* Create two visualizations in events explorer + +### Panel View + +* Move to test panel +* Duplicate using panel action +* Rename using panel action +* Change date filter +* Add existing visualizations +* Add ppl filter to the panel +* Drag and Drop Visualization in edit mode +* Resize a Visualization in edit mode +* Delete a Visualization in edit mode +* Duplicate a Visualization +* Replace a Visualization +* Create a new Visualization and directly add to an existing panel +* Edit a Visualization and check the change in panels + +### Clean Up + +* Add Samples +* Verify sample visualization names in sample panel +* Delete All Visualization from event analytics +* Delete all Panels + +## 3. Notebooks + +* Displays error toast for invalid notebook name +* Creates a notebook and redirects to the notebook +* Duplicates and renames a notebook +* Searches existing notebooks +* Deletes notebooks +* Create in-context PDF report from notebook +* Create in-context PNG report from notebook +* Create on-demand report definition from context menu +* Goes into a notebook and creates paragraphs +* Renders markdown +* Shows output message +* Renders input only mode +* Renders output only mode +* Duplicates paragraphs +* Adds a dashboards visualization paragraph +* Adds an observability visualization paragraph +* Adds a SQL query paragraph +* Adds a PPL query paragraph +* Clears outputs +* Runs all paragraphs +* Adds paragraph to top and bottom +* Moves paragraphs +* Duplicates and renames the notebook +* Deletes paragraphs +* Deletes notebook + +## 4. Trace analytics + +### Dashboard + +* Indexes test data +* Renders empty state +* Renders the dashboard table +* Adds the percentile filters +* Opens latency trend popover +* Redirects to traces table with filter +* Renders service map +* Renders plots + +### Service + +* Renders empty state +* Renders the services table +* Searches correctly +* Renders service view empty state +* Renders service view +* Renders spans data grid, flyout, filters + +### Trace + +* Renders empty state +* Renders the traces table +* Searches correctly +* Renders the trace view +* Renders data grid, flyout and filters + diff --git a/.cypress/integration/1_event_analytics.spec.js b/.cypress/integration/1_event_analytics.spec.js new file mode 100644 index 000000000..02e79b33f --- /dev/null +++ b/.cypress/integration/1_event_analytics.spec.js @@ -0,0 +1,460 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +/// +import { + delay, + TEST_QUERIES, + TESTING_PANEL, + SAVE_QUERY1, + SAVE_QUERY2, + SAVE_QUERY3, + SAVE_QUERY4, +} from '../utils/constants'; +import { supressResizeObserverIssue } from '../utils/constants'; + +const landOnEventHome = () => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/event_analytics`); + cy.wait(delay); +}; + +const landOnEventExplorer = () => { + cy.visit( + `${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/event_analytics/explorer` + ); + cy.wait(delay * 2); +}; + +const landOnPanels = () => { + cy.visit( + `${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/operational_panels` + ); + cy.wait(delay); +}; + +const querySearch = (query) => { + cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(query); + cy.get('[data-test-subj="superDatePickerToggleQuickMenuButton"]').click(); + cy.get('[data-test-subj="superDatePickerCommonlyUsed_This_year"]').click(); + cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click(); +}; + +describe('Adding sample data and visualization', () => { + it('Adds sample flights data for event analytics', () => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/home#/tutorial_directory/sampleData`); + cy.get('div[data-test-subj="sampleDataSetCardflights"]') + .contains(/(Add|View) data/) + .click(); + cy.wait(delay); + }); +}); + +describe('Has working breadcrumbs', () => { + it('Redirect to correct page on breadcrumb click', () => { + landOnEventExplorer(); + cy.wait(delay * 3); + cy.get('.euiBreadcrumb[href="#/event_analytics/explorer"]').contains('Explorer').click(); + cy.wait(delay); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('exist'); + cy.get('.euiBreadcrumb[href="#/event_analytics"]').contains('Event analytics').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Event analytics').should('exist'); + cy.get('.euiBreadcrumb[href="observability-dashboards#/"]').contains('Observability').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Event analytics').should('exist'); + }); +}); + +describe('Open flyout for a data row to see details', () => { + beforeEach(() => { + landOnEventExplorer(); + }); + + it('Should be able to open flyout and see data, json and traces', () => { + cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(TEST_QUERIES[0].query); + cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click(); + cy.wait(delay); + cy.get('[data-test-subj="docTable"] tbody tr button.euiButtonIcon').first().click(); + cy.get('.observability-flyout').should('exist'); + cy.get('.observability-flyout .osdDocViewer .euiTabs span.euiTab__content').contains('JSON').click(); + cy.get('.observability-flyout .osdDocViewer .euiTabs span.euiTab__content').contains('Traces').click(); + cy.get('.observability-flyout .osdDocViewer .euiTabs span.euiTab__content').contains('Table').click(); + }); + + it('Should be able to see srrounding docs', () => { + cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(TEST_QUERIES[0].query); + cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click(); + cy.wait(delay); + cy.get('[data-test-subj="docTable"] tbody tr button.euiButtonIcon').first().click(); + cy.get('.observability-flyout').should('exist'); + cy.get('.observability-flyout span.euiButton__text').contains('View surrounding events').click(); + cy.get('.observability-flyout #surroundingFyout').contains('View surrounding events').should('exist'); + }); +}); + +describe('Search a query on event home', () => { + it('Search a query and redirect to explorer to display result data', () => { + landOnEventHome(); + + cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(TEST_QUERIES[0].query); + cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click(); + cy.wait(delay); + + cy.url().should('contain', '#/event_analytics/explorer'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').contains(TEST_QUERIES[0].query); + }); +}); + +describe('Add/delete/switch explorer top level tabs', () => { + beforeEach(() => { + landOnEventExplorer(); + }); + + it('Add a new tab', () => { + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .then((lists) => { + const initialLength = Cypress.$(lists).length; + cy.get('[data-test-subj="eventExplorer__addNewTab"]').click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .should('have.length', initialLength + 1); + }); + }); + + it('Click to switch to anther tab', () => { + cy.get('[data-test-subj="eventExplorer__addNewTab"]').click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .first() + .click(); + cy.wait(delay); + + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .first() + .should('have.class', 'euiTab-isSelected'); + }); + + it('Close a tab', () => { + cy.get('[data-test-subj="eventExplorer__addNewTab"]').click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .then((lists) => { + const initialLength = Cypress.$(lists).length; + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"] button.euiTab') + .first() + .find('[data-test-subj="eventExplorer__tabClose"]') + .click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .should('have.length', initialLength - 1); + }); + }); + + it('Close current selected tab', () => { + cy.get('[data-test-subj="eventExplorer__addNewTab"]').click(); + cy.get('[data-test-subj="eventExplorer__addNewTab"]').click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .then((lists) => { + const initialLength = Cypress.$(lists).length; + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"] button.euiTab').eq(1).click(); + cy.get('button.euiTab-isSelected [data-test-subj="eventExplorer__tabClose"]').click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .should('have.length', initialLength - 1); + }); + }); + + it('Close another unselected tab', () => { + cy.get('[data-test-subj="eventExplorer__addNewTab"]').click(); + cy.get('[data-test-subj="eventExplorer__addNewTab"]').click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .then((lists) => { + const initialLength = Cypress.$(lists).length; + cy.get('button.euiTab').first().find('[data-test-subj="eventExplorer__tabClose"]').click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .should('have.length', initialLength - 1); + }); + }); +}); + +describe('Load a saved query from event home', () => { + it('Click on a saved query and redirect to explorer', () => { + landOnEventExplorer(); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(TEST_QUERIES[0].query); + cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click(); + cy.wait(delay); + + cy.get('.tab-title').contains('Events').click(); + cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click(); + cy.get('[data-test-subj="eventExplorer__querySaveName"]').type(SAVE_QUERY4); + cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click(); + cy.wait(delay); + + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + + landOnEventHome(); + + cy.get('[data-test-subj="eventHome__savedQueryTableName"]') + .first() + .contains(SAVE_QUERY4) + .click(); + cy.wait(delay); + + cy.url().should('contain', '#/event_analytics/explorer'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').contains(TEST_QUERIES[0].query); + }); +}); + +describe('Click actions', () => { + beforeEach(() => { + landOnEventHome(); + }); + + it('Actions - click event explorer', () => { + cy.get('[data-test-subj="eventHomeAction"]').click(); + cy.get('[data-test-subj="eventHomeAction__explorer"]').click(); + cy.wait(delay); + cy.url().should('contain', '#/event_analytics/explorer'); + }); + + it('Actions - add sample data', () => { + cy.get('[data-test-subj="eventHomeAction"]').click(); + cy.get('[data-test-subj="eventHomeAction__addSamples"]').click(); + cy.get('[data-test-subj="confirmModalConfirmButton"]').click(); + cy.wait(delay * 2); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + }); + + it('Actions - delete saved queries', () => { + cy.get('[data-test-subj^="checkboxSelectRow"]').first().check(); + cy.get('[data-test-subj="eventHomeAction"]').click(); + cy.get('[data-test-subj="eventHomeAction__delete"]').click(); + cy.get('[data-test-subj="popoverModal__deleteTextInput"]').type('delete'); + cy.get('[data-test-subj="popoverModal__deleteButton"').click(); + cy.wait(delay); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + }); +}); + +describe('Saves a query on explorer page', () => { + it('Saves a query on event tab of explorer page', () => { + landOnEventExplorer(); + + cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(TEST_QUERIES[0].query); + cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click(); + cy.wait(delay); + + cy.get('.tab-title').contains('Events').click(); + cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="eventExplorer__querySaveName"]').type(SAVE_QUERY1); + cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click(); + cy.wait(delay); + + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + + landOnEventHome(); + + cy.get('[data-test-subj="eventHome__savedQueryTableName"]').first().contains(SAVE_QUERY1); + }); + + it('Saves a visualization on visualization tab of explorer page', () => { + landOnEventExplorer(); + + cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(TEST_QUERIES[1].query); + cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click(); + cy.wait(delay); + supressResizeObserverIssue(); + cy.get('button[id="main-content-vis"]').contains('Visualizations').click(); + cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click(); + cy.get('[data-test-subj="eventExplorer__querySaveName"]').type(SAVE_QUERY2); + cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click(); + cy.wait(delay); + + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + + landOnEventHome(); + + cy.get('[data-test-subj="eventHome__savedQueryTableName"]').first().contains(SAVE_QUERY2); + }); + + it('Saves a visualization to an existing panel', () => { + landOnPanels(); + + cy.get('[data-test-subj="customPanels__createNewPanels"]').click(); + cy.get('input.euiFieldText').type(TESTING_PANEL); + cy.get('.euiButton__text') + .contains(/^Create$/) + .click(); + cy.wait(delay); + + landOnEventExplorer(); + + cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(TEST_QUERIES[1].query); + cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click(); + cy.wait(delay); + + supressResizeObserverIssue(); + cy.get('button[id="main-content-vis"]').contains('Visualizations').click(); + cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click(); + cy.get('[data-test-subj="eventExplorer__querySaveName"]').type(SAVE_QUERY3); + cy.get('[data-test-subj="eventExplorer__querySaveComboBox"]').type(TESTING_PANEL); + cy.get(`input[value="${TESTING_PANEL}"]`).click(); + cy.get('[data-test-subj="eventExplorer__querySaveComboBox"] [data-test-subj="comboBoxToggleListButton"]').click(); + cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click(); + cy.wait(delay); + + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + }); +}); + +describe('Override default timestamp for an index', () => { + it('Click override button to override default timestamp', () => { + landOnEventExplorer(); + + cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(TEST_QUERIES[2].query); + cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click(); + cy.get('.tab-title').contains('Events').click(); + cy.get('[data-test-subj="eventExplorer__overrideDefaultTimestamp"]').click(); + cy.wait(delay); + + cy.get('[data-attr-field="utc_time"] [data-test-subj="eventFields__default-timestamp-mark"') + .contains('Default Timestamp').should('exist'); + cy.get('[data-attr-field="timestamp"] [data-test-subj="eventFields__default-timestamp-mark"').should('not.exist'); + }); +}); + +describe('Toggle sidebar fields', () => { + it('Toggle fields between available and selected section', () => { + landOnEventExplorer(); + querySearch(TEST_QUERIES[0].query); + cy.wait(delay); + + cy.get('[data-test-subj="fieldToggle-AvgTicketPrice"]').click(); + cy.get('[data-test-subj="field-AvgTicketPrice"]').should('exist'); + cy.get('[data-test-subj="docTable"]').find('th').contains('_source').should('not.exist'); + cy.get('[data-test-subj="fieldToggle-AvgTicketPrice"]').click(); + cy.get('[data-test-subj="field-AvgTicketPrice"]').should('exist'); + cy.get('[data-test-subj="docTable"]').find('th').contains('_source').should('exist'); + }); +}); + +describe('Search fields in sidebar', () => { + it('Search a field', () => { + landOnEventExplorer(); + querySearch(TEST_QUERIES[0].query); + cy.wait(delay); + + cy.get('[data-test-subj="eventExplorer__sidebarSearch"]').type('A'); + cy.get('[data-test-subj="field-Cancelled"]').should('not.exist'); + cy.get('[data-test-subj="field-AvgTicketPrice"]').should('exist'); + cy.get('[data-test-subj="field-DestAirportID"]').should('exist'); + cy.get('[data-test-subj="field-OriginAirportID"]').should('exist'); + }); +}); + +describe('Delete saved objects', () => { + it('Delete visualizations/querys from event analytics', () => { + landOnEventHome(); + cy.get('[data-test-subj="tablePaginationPopoverButton"]').click(); + cy.get('.euiContextMenuItem__text').contains('50 rows').click(); + cy.get('.euiCheckbox__input[data-test-subj="checkboxSelectAll"]').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Delete').click(); + cy.wait(delay); + + cy.get('button.euiButton--danger').should('be.disabled'); + + cy.get('input.euiFieldText[placeholder="delete"]').type('delete'); + cy.get('button.euiButton--danger').should('not.be.disabled'); + cy.get('.euiButton__text').contains('Delete').click(); + cy.wait(delay); + cy.get('.euiTextAlign').contains('No Queries or Visualizations').should('exist'); + }); +}); + +describe('Switch on and off livetail', () => { + it('Switch on and off in live tail', () => { + landOnEventExplorer(); + cy.wait(delay); + + cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(TEST_QUERIES[1].query); + + cy.get('[data-test-subj=eventLiveTail]').click(); + cy.get('[data-test-subj=eventLiveTail__delay10s]').click(); + cy.wait(delay * 2); + cy.get('.euiToastHeader__title').contains('On').should('exist'); + + cy.get('[data-test-subj=eventLiveTail__off').click(); + cy.wait(delay * 2); + cy.get('.euiToastHeader__title').contains('Off').should('exist'); + }); +}); + +describe('Live tail stop automatically', () => { + it('Moving to other tab should stop live tail automatically', () => { + landOnEventExplorer(); + cy.wait(delay); + + cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(TEST_QUERIES[1].query); + + cy.get('[data-test-subj=eventLiveTail]').click(); + cy.get('[data-test-subj=eventLiveTail__delay10s]').click(); + cy.wait(delay * 2); + cy.get('.euiToastHeader__title').contains('On').should('exist'); + }); + + it('Add a new tab', () => { + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .then((lists) => { + const initialLength = Cypress.$(lists).length; + cy.get('[data-test-subj="eventExplorer__addNewTab"]').click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .should('have.length', initialLength + 1); + }); +}); + + it('Click to switch to another tab', () => { + cy.get('[data-test-subj="eventExplorer__addNewTab"]').click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .first() + .click(); + cy.wait(delay); + + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .first() + .should('have.class', 'euiTab-isSelected'); +}); + + it('Close current selected tab', () => { + cy.get('[data-test-subj="eventExplorer__addNewTab"]').click(); + cy.get('[data-test-subj="eventExplorer__addNewTab"]').click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .then((lists) => { + const initialLength = Cypress.$(lists).length; + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"] button.euiTab').eq(1).click(); + cy.get('button.euiTab-isSelected [data-test-subj="eventExplorer__tabClose"]').click(); + cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]') + .find('button.euiTab') + .should('have.length', initialLength - 1); + }); + }); + + it('Live tail should be stopped', () => { + cy.get('.euiButton__text').contains('Live'); + }); +}); \ No newline at end of file diff --git a/.cypress/integration/2_notebooks.spec.js b/.cypress/integration/2_notebooks.spec.js new file mode 100644 index 000000000..d15b922a7 --- /dev/null +++ b/.cypress/integration/2_notebooks.spec.js @@ -0,0 +1,463 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +/// + +import { + delay, + TEST_NOTEBOOK, + MARKDOWN_TEXT, + SAMPLE_URL, + SQL_QUERY_TEXT, + PPL_QUERY_TEXT, +} from '../utils/constants'; + +import { SAMPLE_PANEL } from '../utils/panel_constants'; + +import { skipOn } from '@cypress/skip-test'; + +describe('Adding sample data and visualization', () => { + it('Adds sample flights data for visualization paragraph', () => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/home#/tutorial_directory/sampleData`); + cy.get('div[data-test-subj="sampleDataSetCardflights"]') + .contains(/(Add|View) data/) + .click(); + }); + + it('Add sample observability data', () => { + cy.visit( + `${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/operational_panels/` + ); + cy.get('.euiButton__text').contains('Actions').click(); + cy.get('.euiContextMenuItem__text').contains('Add samples').click(); + cy.get('.euiModalHeader__title[data-test-subj="confirmModalTitleText"]') + .contains('Add samples') + .should('exist'); + cy.get('.euiButton__text').contains('Yes').click(); + cy.wait(delay * 5); + cy.get('.euiTableCellContent').contains(SAMPLE_PANEL).should('exist'); + }); +}); + +describe('Testing notebooks table', () => { + beforeEach(() => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/notebooks`); + }); + + it('Displays error toast for invalid notebook name', () => { + cy.get('.euiButton__text').contains('Create notebook').click(); + cy.wait(delay); + cy.get('.euiButton__text') + .contains(/^Create$/) + .click(); + cy.wait(delay); + + cy.get('.euiToastHeader__title').contains('Invalid notebook name').should('exist'); + }); + + it('Creates a notebook and redirects to the notebook', () => { + cy.get('.euiButton__text').contains('Create notebook').click(); + cy.wait(delay); + cy.get('input.euiFieldText').type(TEST_NOTEBOOK); + cy.get('.euiButton__text') + .contains(/^Create$/) + .click(); + cy.wait(delay); + + cy.contains(TEST_NOTEBOOK).should('exist'); + }); + + it('Duplicates and renames a notebook', () => { + cy.get('.euiCheckbox__input[title="Select this row"]').eq(0).click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Duplicate').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Duplicate').click(); + cy.wait(delay); + + cy.get('.euiCheckbox__input[title="Select this row"]').eq(1).click(); + cy.wait(delay); + cy.get('.euiCheckbox__input[title="Select this row"]').eq(0).click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Rename').click(); + cy.wait(delay); + cy.get('input.euiFieldText').type(' (rename)'); + cy.get('.euiButton__text').contains('Rename').click(); + cy.wait(delay); + }); + + it('Searches existing notebooks', () => { + cy.get('input.euiFieldSearch').type('this notebook should not exist'); + cy.wait(delay); + + cy.get('.euiTableCellContent__text').contains('No items found').should('exist'); + + cy.get('.euiFormControlLayoutClearButton').click(); + cy.wait(delay); + cy.get('input.euiFieldSearch').type(TEST_NOTEBOOK + ' (copy) (rename)'); + cy.wait(delay); + + cy.get('a.euiLink') + .contains(TEST_NOTEBOOK + ' (copy) (rename)') + .should('exist'); + }); + + it('Deletes notebooks', () => { + cy.get('.euiCheckbox__input[data-test-subj="checkboxSelectAll"]').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Delete').click(); + cy.wait(delay); + + cy.get('button.euiButton--danger').should('be.disabled'); + + cy.get('input.euiFieldText[placeholder="delete"]').type('delete'); + cy.get('button.euiButton--danger').should('not.be.disabled'); + cy.get('.euiButton__text').contains('Delete').click(); + + cy.get('.euiTextAlign').contains('No notebooks').should('exist'); + + // keep a notebook for testing + cy.get('.euiButton__text').contains('Create notebook').click(); + cy.wait(delay); + cy.get('input.euiFieldText').type(TEST_NOTEBOOK); + cy.get('.euiButton__text') + .contains(/^Create$/) + .click(); + cy.wait(delay * 2); + }); +}); + +describe('Test reporting integration if plugin installed', () => { + beforeEach(() => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/notebooks`); + cy.get('.euiTableCellContent').contains(TEST_NOTEBOOK).click(); + cy.wait(delay * 3); + cy.get('body').then(($body) => { + skipOn($body.find('#reportingActionsButton').length <= 0); + }); + }); + + it('Create in-context PDF report from notebook', () => { + cy.get('#reportingActionsButton').click(); + cy.wait(delay); + cy.get('button.euiContextMenuItem:nth-child(1)').contains('Download PDF').click(); + cy.get('#downloadInProgressLoadingModal').should('exist'); + }); + + it('Create in-context PNG report from notebook', () => { + cy.get('#reportingActionsButton').click(); + cy.wait(delay); + cy.get('button.euiContextMenuItem:nth-child(2)').contains('Download PNG').click(); + cy.get('#downloadInProgressLoadingModal').should('exist'); + }); + + it('Create on-demand report definition from context menu', () => { + cy.get('#reportingActionsButton').click(); + cy.wait(delay); + cy.get('button.euiContextMenuItem:nth-child(3)').contains('Create report definition').click(); + cy.wait(delay); + cy.location('pathname', { timeout: 60000 }).should('include', '/reports-dashboards'); + cy.wait(delay); + cy.get('#reportSettingsName').type('Create notebook on-demand report'); + cy.get('#createNewReportDefinition').click({ force: true }); + }); + + it('View reports homepage from context menu', () => { + cy.get('#reportingActionsButton').click(); + cy.wait(delay); + cy.get('button.euiContextMenuItem:nth-child(4)').contains('View reports').click(); + cy.wait(delay); + cy.location('pathname', { timeout: 60000 }).should('include', '/reports-dashboards'); + }); +}); + +describe('Testing paragraphs', () => { + beforeEach(() => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/notebooks`); + cy.get('.euiTableCellContent').contains(TEST_NOTEBOOK).click(); + }); + + it('Goes into a notebook and creates paragraphs', () => { + cy.get('.euiButton__text').contains('Add').click(); + cy.wait(delay); + + cy.get('.euiTextArea').should('exist'); + + cy.get('.euiButton__text').contains('Run').click(); + cy.wait(delay); + cy.get('.euiTextColor').contains('Input is required.').should('exist'); + cy.get('.euiTextArea').clear(); + cy.get('.euiTextArea').type(MARKDOWN_TEXT); + cy.wait(delay); + + cy.get('.euiButton__text').contains('Run').click(); + cy.wait(delay); + }); + + it('Has working breadcrumbs', () => { + cy.get('.euiBreadcrumb').contains(TEST_NOTEBOOK).click(); + cy.wait(delay); + cy.get('.euiTitle').contains(TEST_NOTEBOOK).should('exist'); + cy.get('.euiBreadcrumb').contains('Notebooks').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Notebooks').should('exist'); + cy.get('.euiBreadcrumb').contains('Observability').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Event analytics').should('exist'); + }); + + it('Renders markdown', () => { + cy.get('.euiTextArea').should('not.exist'); + cy.get(`a[href="${SAMPLE_URL}"]`).should('exist'); + cy.get('code').contains('POST').should('exist'); + cy.get('td').contains('b2').should('exist'); + }); + + it('Shows output message', () => { + cy.get('button[aria-label="Toggle show input"]').click(); + cy.wait(delay); + cy.get('.euiTextColor').contains('Last successful run').should('exist'); + + cy.get('pre.input').eq(0).click(); + cy.wait(delay); + cy.get('.euiTextArea').type('Another text'); + cy.wait(delay); + + cy.get('.euiTextColor').contains('Last successful run').should('exist'); + }); + + it('Renders input only mode', () => { + cy.get('.euiToggle__input[title="Input only"]').click(); + cy.wait(delay); + + cy.get('div.markdown-body').should('not.exist'); + cy.get('.euiLink').contains('View both').should('exist'); + cy.get('.euiLink').contains('View both').click(); + cy.wait(delay); + + cy.get('code').contains('POST').should('exist'); + cy.get('.euiLink').contains('View both').should('not.exist'); + }); + + it('Renders output only mode', () => { + cy.get('.euiToggle__input[title="Output only"]').click(); + cy.wait(delay); + + cy.get('button[aria-label="Open paragraph menu"]').should('not.exist'); + cy.get('button[aria-label="Toggle show input"]').should('not.exist'); + cy.get('code').contains('POST').should('exist'); + }); + + it('Duplicates paragraphs', () => { + cy.get('.euiButtonIcon[aria-label="Open paragraph menu"]').eq(0).click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Duplicate').eq(0).click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Run').click(); + cy.wait(delay); + + cy.get(`a[href="${SAMPLE_URL}"]`).should('have.length.gte', 2); + }); + + it('Adds a dashboards visualization paragraph', () => { + cy.contains('Add paragraph').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Visualization').click(); + cy.wait(delay); + + cy.get('.euiButton__text').contains('Run').click(); + cy.wait(delay); + cy.get('.euiTextColor').contains('Visualization is required.').should('exist'); + + cy.get('.euiButton__text').contains('Browse').click(); + cy.wait(delay); + cy.get('.euiFieldSearch').focus().type('[Flights] Flight Count and Average Ticket Price{enter}'); + cy.wait(delay); + cy.get('.euiButton__text').contains('Select').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Run').click(); + cy.wait(delay); + cy.get('div.visualization').should('exist'); + }); + + it('Adds a SQL query paragraph', () => { + cy.contains('Add paragraph').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Code block').click(); + cy.wait(delay); + + cy.get('.euiTextArea').type(SQL_QUERY_TEXT); + cy.wait(delay); + cy.get('.euiButton__text').contains('Run').click(); + cy.wait(delay * 5); + + cy.get('b').contains('select * from opensearch_dashboards_sample_data_flights limit 20'); + + cy.get('.euiDataGrid__overflow').should('exist'); + }); + + it('Adds an observability visualization paragraph', () => { + cy.contains('Add paragraph').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Visualization').click(); + cy.wait(delay); + + cy.get('.euiButton__text').contains('Run').click(); + cy.wait(delay); + cy.get('.euiTextColor').contains('Visualization is required.').should('exist'); + + cy.get('.euiButton__text').contains('Browse').click(); + cy.wait(delay); + cy.get('.euiFieldSearch').focus().type('[Logs] Count total requests by tags{enter}'); + cy.wait(delay); + cy.get('.euiButton__text').contains('Select').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Run').click(); + cy.wait(delay); + cy.get('h5').contains('[Logs] Count total requests by tags').should('exist'); + }); + + it('Adds a PPL query paragraph', () => { + cy.contains('Add paragraph').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Code block').click(); + cy.wait(delay); + + cy.get('.euiTextArea').type(PPL_QUERY_TEXT); + cy.wait(delay); + cy.get('.euiButton__text').contains('Run').click(); + cy.wait(delay * 5); + + cy.get('b').contains('source=opensearch_dashboards_sample_data_flights'); + + cy.get('.euiDataGrid__overflow').should('exist'); + }); + + it('Clears outputs', () => { + cy.wait(delay * 3); // need to wait for paragraphs to load first + cy.get('[data-test-subj="notebook-paragraph-actions-button"]').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Clear all outputs').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Clear').click(); + cy.wait(delay); + + cy.get(`a[href="${SAMPLE_URL}"]`).should('not.exist'); + }); + + it('Runs all paragraphs', () => { + cy.wait(delay * 3); // need to wait for paragraphs to load first + cy.get('[data-test-subj="notebook-paragraph-actions-button"]').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Run all paragraphs').click(); + cy.wait(delay); + + cy.get(`a[href="${SAMPLE_URL}"]`).should('exist'); + }); + + it('Adds paragraph to top and bottom', () => { + cy.wait(delay * 3); // need to wait for paragraphs to load first + cy.get('[data-test-subj="notebook-paragraph-actions-button"]').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Add paragraph to top').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Code block').click(); + cy.wait(delay); + cy.get('[data-test-subj="notebook-paragraph-actions-button"]').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Add paragraph to bottom').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Code block').click(); + cy.wait(delay); + + cy.get('.euiText').contains('[4] Visualization').should('exist'); + cy.get('.euiText').contains('[5] Code block').should('exist'); + }); + + it('Moves paragraphs', () => { + cy.get('.euiButtonIcon[aria-label="Open paragraph menu"').eq(0).click(); + cy.wait(delay); + cy.get('.euiContextMenuItem-isDisabled').should('have.length.gte', 2); + cy.get('.euiContextMenuItem__text').contains('Move to bottom').click(); + cy.wait(delay); + + cy.get('.euiText').contains('[3] Visualization').should('exist'); + }); + + it('Duplicates and renames the notebook', () => { + cy.get('[data-test-subj="notebook-notebook-actions-button"]').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Duplicate notebook').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Duplicate').click(); + cy.wait(delay * 3); + + cy.get('[data-test-subj="notebook-notebook-actions-button"]').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Rename notebook').click(); + cy.wait(delay); + cy.get('input.euiFieldText[data-autofocus="true"]').type(' (rename)'); + cy.wait(delay); + cy.get('.euiButton__text').last().contains('Rename').click(); + cy.wait(delay); + cy.reload(); + cy.wait(delay * 3); + + cy.get('.euiTitle') + .contains(TEST_NOTEBOOK + ' (copy) (rename)') + .should('exist'); + cy.get(`a[href="${SAMPLE_URL}"]`).should('have.length.gte', 2); + }); + + it('Deletes paragraphs', () => { + cy.wait(delay * 3); + cy.get('[data-test-subj="notebook-paragraph-actions-button"]').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Delete all paragraphs').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Delete').click(); + cy.wait(delay); + + cy.get('.euiTextAlign').contains('No paragraphs').should('exist'); + }); + + it('Deletes notebook', () => { + cy.get('[data-test-subj="notebook-notebook-actions-button"]').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Delete notebook').click(); + cy.wait(delay); + + cy.get('button.euiButton--danger').should('be.disabled'); + + cy.get('input.euiFieldText[placeholder="delete"]').type('delete'); + cy.get('button.euiButton--danger').should('not.be.disabled'); + cy.get('.euiButton__text').contains('Delete').click(); + cy.wait(delay * 3); + + cy.get('.euiButton__text').contains('Create notebook').should('exist'); + }); + + it('Cleans up test notebooks', () => { + cy.get('[data-test-subj="notebook-notebook-actions-button"]').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Delete notebook').click(); + cy.wait(delay); + + cy.get('button.euiButton--danger').should('be.disabled'); + + cy.get('input.euiFieldText[placeholder="delete"]').type('delete'); + cy.get('button.euiButton--danger').should('not.be.disabled'); + cy.get('.euiButton__text').contains('Delete').click(); + cy.wait(delay * 3); + + cy.get('.euiText').contains('No notebooks').should('exist'); + }); +}); diff --git a/.cypress/integration/3_panels.spec.js b/.cypress/integration/3_panels.spec.js new file mode 100644 index 000000000..1c3ed1cb6 --- /dev/null +++ b/.cypress/integration/3_panels.spec.js @@ -0,0 +1,493 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +/// + +import { + delay, + TEST_PANEL, + PPL_VISUALIZATIONS, + PPL_VISUALIZATIONS_NAMES, + NEW_VISUALIZATION_NAME, + PPL_FILTER, + SAMPLE_PANEL, + SAMPLE_VISUALIZATIONS_NAMES, +} from '../utils/panel_constants'; + +import { supressResizeObserverIssue } from '../utils/constants'; + +const moveToEventsHome = () => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/event_analytics/`); + cy.wait(delay * 3); +}; + +const moveToPanelHome = () => { + cy.visit( + `${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/operational_panels/` + ); + cy.wait(delay * 3); +}; + +const moveToTestPanel = () => { + moveToPanelHome(); + cy.get('.euiTableCellContent').contains(TEST_PANEL).click(); + cy.wait(delay * 3); + cy.get('h1').contains(TEST_PANEL).should('exist'); + cy.wait(delay); +}; + +describe('Adding sample data and visualization', () => { + it('Adds sample flights data for visualization paragraph', () => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/home#/tutorial_directory/sampleData`); + cy.get('div[data-test-subj="sampleDataSetCardflights"]') + .contains(/(Add|View) data/) + .click(); + cy.wait(delay * 3); + }); +}); + +describe('Creating visualizations', () => { + beforeEach(() => { + moveToEventsHome(); + }); + + it('Create first visualization in event analytics', () => { + cy.get('[id^=autocomplete-textarea]').type(PPL_VISUALIZATIONS[0]); + cy.get('.euiButton__text').contains('Refresh').click(); + cy.wait(delay); + supressResizeObserverIssue(); + cy.get('button[id="main-content-vis"]').contains('Visualizations').click(); + cy.wait(delay * 2); + cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click(); + cy.wait(delay * 2); + cy.get('[data-test-subj="eventExplorer__querySaveName"]').type(PPL_VISUALIZATIONS_NAMES[0]); + cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click(); + cy.wait(delay); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + }); + + it('Create second visualization in event analytics', () => { + cy.get('[id^=autocomplete-textarea]').type(PPL_VISUALIZATIONS[1]); + cy.get('.euiButton__text').contains('Refresh').click(); + cy.wait(delay); + supressResizeObserverIssue(); + cy.get('button[id="main-content-vis"]').contains('Visualizations').click(); + cy.wait(delay); + cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="eventExplorer__querySaveName"]').type(PPL_VISUALIZATIONS_NAMES[1]); + cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click(); + cy.wait(delay); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + }); +}); + +describe('Testing panels table', () => { + beforeEach(() => { + moveToPanelHome(); + }); + + it('Displays error toast for invalid panel name', () => { + cy.get('.euiButton__text').contains('Create panel').click(); + cy.wait(delay); + cy.get('.euiButton__text') + .contains(/^Create$/) + .click(); + cy.wait(delay); + + cy.get('.euiToastHeader__title').contains('Invalid Operational Panel name').should('exist'); + }); + + it('Creates a panel and redirects to the panel', () => { + cy.get('.euiButton__text').contains('Create panel').click(); + cy.wait(delay); + cy.get('input.euiFieldText').type(TEST_PANEL); + cy.get('.euiButton__text') + .contains(/^Create$/) + .click(); + cy.wait(delay); + + cy.contains(TEST_PANEL).should('exist'); + }); + + it('Duplicates and renames a panel', () => { + cy.get('.euiCheckbox__input[title="Select this row"]').eq(0).click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Duplicate').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Duplicate').click(); + cy.wait(delay); + + cy.get('.euiCheckbox__input[title="Select this row"]').eq(1).click(); + cy.wait(delay); + cy.get('.euiCheckbox__input[title="Select this row"]').eq(0).click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Rename').click(); + cy.wait(delay); + cy.get('input.euiFieldText').type(' (rename)'); + cy.get('.euiButton__text').contains('Rename').click(); + cy.wait(delay); + }); + + it('Searches existing panel', () => { + cy.get('input.euiFieldSearch').type('this panel should not exist'); + cy.wait(delay); + + cy.get('.euiTableCellContent__text').contains('No items found').should('exist'); + + cy.get('.euiFormControlLayoutClearButton').click(); + cy.wait(delay); + cy.get('input.euiFieldSearch').type(TEST_PANEL + ' (copy) (rename)'); + cy.wait(delay); + + cy.get('a.euiLink') + .contains(TEST_PANEL + ' (copy) (rename)') + .should('exist'); + }); + + it('Deletes panels', () => { + cy.get('.euiCheckbox__input[data-test-subj="checkboxSelectAll"]').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Delete').click(); + cy.wait(delay); + + cy.get('button.euiButton--danger').should('be.disabled'); + + cy.get('input.euiFieldText[placeholder="delete"]').type('delete'); + cy.get('button.euiButton--danger').should('not.be.disabled'); + cy.get('.euiButton__text').contains('Delete').click(); + + cy.get('.euiTextAlign').contains('No Operational Panels').should('exist'); + + // keep a panel for testing + cy.get('.euiButton__text').contains('Create panel').click(); + cy.wait(delay); + cy.get('input.euiFieldText').type(TEST_PANEL); + cy.get('.euiButton__text') + .contains(/^Create$/) + .click(); + cy.wait(delay * 2); + }); +}); + +describe('Testing a panel', () => { + it('Move to test panel', () => { + moveToTestPanel(); + }); + + it('Opens visualization flyout from empty panel', () => { + cy.get('.euiButton').eq(4).contains('Add visualization').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Select existing visualization').click(); + cy.wait(delay); + cy.get('.euiButton').contains('Cancel').click(); + cy.get('.euiButton').eq(2).contains('Add visualization').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Select existing visualization').click(); + cy.wait(delay); + cy.get('.euiButton').contains('Cancel').click(); + cy.get('.euiButton').contains('Add visualization').first().click(); + cy.get('.euiContextMenuItem__text').contains('Create new visualization').click(); + cy.wait(delay); + cy.get('.euiBreadcrumb').contains('Explorer').should('exist'); + cy.get('.euiCallOut').contains('No results match your search criteria').should('exist'); + }); + + it('Redirects to correct page on breadcrumb click', () => { + moveToTestPanel(); + cy.get('.euiBreadcrumb').contains(TEST_PANEL).click(); + cy.wait(delay); + cy.get('.euiTitle').contains(TEST_PANEL).should('exist'); + cy.get('.euiBreadcrumb').contains('Operational panels').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Operational panels').should('exist'); + cy.get('.euiBreadcrumb').contains('Observability').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Event analytics').should('exist'); + }); + + it('Duplicate the open panel', () => { + moveToTestPanel(); + cy.get('.euiButton__text').contains('Panel actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Duplicate panel').click(); + cy.wait(delay); + cy.get(`input.euiFieldText[value="${TEST_PANEL} (copy)"]`).should('exist'); + cy.get('.euiButton__text').contains('Duplicate').click(); + cy.wait(delay * 3); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + cy.get('h1') + .contains(TEST_PANEL + ' (copy)') + .should('exist'); + cy.wait(delay); + }); + + it('Rename the open panel', () => { + cy.get('.euiButton__text').contains('Panel actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Rename panel').click(); + cy.wait(delay); + cy.get(`input.euiFieldText[value="${TEST_PANEL} (copy)"]`) + .focus() + .clear() + .type('Renamed Panel'); + cy.get('.euiButton__text').contains('Rename').click(); + cy.wait(delay * 3); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + cy.get('h1').contains('Renamed Panel').should('exist'); + cy.wait(delay); + }); + + it('Change date filter of the panel', () => { + moveToTestPanel(); + cy.get('.euiButtonEmpty[data-test-subj="superDatePickerToggleQuickMenuButton"]').click(); + cy.get('.euiLink').contains('This year').click(); + cy.wait(delay * 2); + cy.get('.euiSuperDatePicker__prettyFormat[data-test-subj="superDatePickerShowDatesButton"]') + .contains('This year') + .should('exist'); + cy.wait(delay); + }); + + it('Add existing visualization #1', () => { + cy.get('.euiButton__text').contains('Add visualization').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Select existing visualization').click(); + cy.wait(delay); + cy.get('select').select(PPL_VISUALIZATIONS_NAMES[0]); + cy.get('button[aria-label="refreshPreview"]').click(); + cy.wait(delay * 2); + cy.get('.plot-container').should('exist'); + cy.get('.euiButton__text').contains(new RegExp('^Add$', 'g')).click(); + cy.wait(delay); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + }); + + it('Add existing visualization #2', () => { + cy.get('.euiButton__text').contains('Add visualization').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Select existing visualization').click(); + cy.wait(delay); + cy.get('select').select(PPL_VISUALIZATIONS_NAMES[1]); + cy.get('button[aria-label="refreshPreview"]').click(); + cy.wait(delay * 2); + cy.get('.plot-container').should('exist'); + cy.get('.euiButton__text').contains(new RegExp('^Add$', 'g')).click(); + cy.wait(delay); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + }); + + it('Add ppl filter to panel', () => { + cy.get('[data-test-subj="searchAutocompleteTextArea"]') + .click() + .wait(1500) + .type("where Carrier = 'OpenSearch-Air'| where Dest = 'Munich Airport'", {delay: 500}); + cy.get('.euiButton__text').contains('Refresh').click(); + cy.wait(delay * 3); + cy.get('.xtick').should('contain', 'OpenSearch-Air'); + cy.get('.xtick').should('contain', 'Munich Airport'); + cy.get('.xtick').contains('Zurich Airport').should('not.exist'); + cy.get('.xtick').contains('BeatsWest').should('not.exist'); + cy.get('.xtick').contains('Logstash Airways').should('not.exist'); + cy.get('.xtick').contains('OpenSearch Dashboards Airlines').should('not.exist'); + cy.wait(delay); + }); + + it('Drag and drop a visualization', () => { + cy.get('.euiButton__text').contains('Edit').click(); + cy.wait(delay); + cy.get('h5') + .contains(PPL_VISUALIZATIONS_NAMES[1]) + .trigger('mousedown', { which: 1 }) + .trigger('mousemove', { clientX: 1100, clientY: 0 }) + .trigger('mouseup', { force: true }); + cy.wait(delay); + cy.get('.euiButton__text').contains('Save').click(); + cy.wait(delay * 3); + cy.get('div.react-grid-layout>div') + .eq(1) + .invoke('attr', 'style') + .should('match', new RegExp('(.*)transform: translate((.*)10px)(.*)')); + cy.wait(delay); + }); + + it('Resize a visualization', () => { + cy.get('.euiButton__text').contains('Edit').click(); + cy.wait(delay); + cy.get('.react-resizable-handle') + .eq(1) + .trigger('mousedown', { which: 1 }) + .trigger('mousemove', { clientX: 2000, clientY: 800 }) + .trigger('mouseup', { force: true }); + cy.wait(delay); + cy.get('.euiButton__text').contains('Save').click(); + cy.wait(delay * 3); + cy.get('div.react-grid-layout>div').eq(1).invoke('height').should('match', new RegExp('470')); + cy.wait(delay); + }); + + it('Delete a visualization', () => { + cy.get('h5').contains(PPL_VISUALIZATIONS_NAMES[1]).should('exist'); + cy.get('.euiButton__text').contains('Edit').click(); + cy.wait(delay); + cy.get('.visualization-action-button').eq(1).click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Save').click(); + cy.wait(delay * 3); + cy.get('h5').contains(PPL_VISUALIZATIONS_NAMES[1]).should('not.exist'); + cy.wait(delay); + }); + + it('Duplicate a visualization', () => { + cy.get('h5').contains(PPL_VISUALIZATIONS_NAMES[0]).should('exist'); + cy.get('button[aria-label="actionMenuButton"]').click(); + cy.get('.euiContextMenu__itemLayout > .euiContextMenuItem__text').contains('Duplicate').click(); + cy.wait(delay * 2); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + cy.wait(delay); + cy.get('h5').eq(0).contains(PPL_VISUALIZATIONS_NAMES[0]).should('exist'); + cy.get('h5').eq(1).contains(PPL_VISUALIZATIONS_NAMES[0]).should('exist'); + cy.wait(delay); + }); + + it('Replace a visualization', () => { + cy.get('.visualization-action-button').eq(1).click(); + cy.get('.euiContextMenu__itemLayout > .euiContextMenuItem__text').contains('Replace').click(); + cy.get('select').select(PPL_VISUALIZATIONS_NAMES[1]); + cy.get('button[aria-label="refreshPreview"]').click(); + cy.wait(delay * 3); + cy.get('.plot-container').should('exist'); + cy.get('.euiButton__text').contains(new RegExp('^Add$', 'g')).click(); + cy.wait(delay); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + cy.wait(delay); + cy.get('h5').eq(0).contains(PPL_VISUALIZATIONS_NAMES[0]).should('exist'); + cy.get('h5').eq(1).contains(PPL_VISUALIZATIONS_NAMES[1]).should('exist'); + cy.wait(delay); + }); + + it('Create new visualization and add to panel', () => { + cy.get('.euiButton__text').contains('Add visualization').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Create new visualization').click(); + cy.wait(delay * 3); + cy.url().should('match', new RegExp('(.*)#/event_analytics/explorer')); + cy.get('[id^=autocomplete-textarea]').type(PPL_VISUALIZATIONS[2]); + cy.get('.euiButton__text').contains('Refresh').click(); + + supressResizeObserverIssue(); + cy.get('button[id="main-content-vis"]').contains('Visualizations').click(); + cy.wait(delay * 2); + cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click(); + cy.get('[data-test-subj="eventExplorer__querySaveComboBox"]').type(TEST_PANEL); + cy.get(`input[value="${TEST_PANEL}"]`).click(); + cy.get('[data-test-subj="eventExplorer__querySaveName"]').type(PPL_VISUALIZATIONS_NAMES[2]); + cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click(); + cy.wait(delay); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + moveToTestPanel(); + cy.get('h5').contains(PPL_VISUALIZATIONS_NAMES[0]).should('exist'); + cy.get('h5').contains(PPL_VISUALIZATIONS_NAMES[1]).should('exist'); + cy.get('h5').contains(PPL_VISUALIZATIONS_NAMES[2]).should('exist'); + }); + + it('Move to test panel and check visualization edit button', () => { + moveToTestPanel(); + cy.get('h5').contains(PPL_VISUALIZATIONS_NAMES[0]).should('exist'); + cy.get('button[aria-label="actionMenuButton"]').eq(0).click(); + supressResizeObserverIssue(); + cy.get('.euiContextMenu__itemLayout > .euiContextMenuItem__text').contains('Edit').click(); + cy.wait(delay * 3); + cy.url().should('match', new RegExp('(.*)#/event_analytics/explorer')); + cy.wait(delay); + cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="eventExplorer__querySaveName"]') + .focus() + .clear() + .type(NEW_VISUALIZATION_NAME); + cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click(); + cy.wait(delay); + cy.get('.euiToastHeader__title').contains('successfully').should('exist'); + moveToTestPanel(); + cy.get('h5').contains(NEW_VISUALIZATION_NAME).should('exist'); + cy.get('h5').contains(PPL_VISUALIZATIONS_NAMES[1]).should('exist'); + cy.get('h5').contains(PPL_VISUALIZATIONS_NAMES[2]).should('exist'); + }); +}); + +describe('Add samples and clean up all test data', () => { + it('Add sample data', () => { + moveToPanelHome(); + cy.get('.euiButton__text').contains('Actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Add samples').click(); + cy.wait(delay); + cy.get('.euiModalHeader__title[data-test-subj="confirmModalTitleText"]') + .contains('Add samples') + .should('exist'); + cy.wait(delay); + cy.get('.euiButton__text').contains('Yes').click(); + cy.wait(delay * 5); + cy.get('.euiTableCellContent').contains(SAMPLE_PANEL).should('exist'); + cy.wait(delay); + }); + + it('Validate sample data', () => { + moveToPanelHome(); + cy.get('.euiTableCellContent').contains(SAMPLE_PANEL).click(); + cy.wait(delay * 3); + cy.get('h1').contains(SAMPLE_PANEL).should('exist'); + cy.wait(delay); + SAMPLE_VISUALIZATIONS_NAMES.forEach((vizName) => + cy.get('h5').contains(vizName).should('exist') + ); + cy.wait(delay); + }); + + it('Delete visualizations from event analytics', () => { + moveToEventsHome(); + cy.get('[data-test-subj="tablePaginationPopoverButton"]').click(); + cy.get('.euiContextMenuItem__text').contains('50 rows').click(); + cy.get('.euiCheckbox__input[data-test-subj="checkboxSelectAll"]').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Delete').click(); + cy.wait(delay); + + cy.get('button.euiButton--danger').should('be.disabled'); + + cy.get('input.euiFieldText[placeholder="delete"]').type('delete'); + cy.get('button.euiButton--danger').should('not.be.disabled'); + cy.get('.euiButton__text').contains('Delete').click(); + cy.wait(delay); + cy.get('.euiTextAlign').contains('No Queries or Visualizations').should('exist'); + }); + + it('Deletes test panel', () => { + moveToPanelHome(); + cy.get('.euiCheckbox__input[data-test-subj="checkboxSelectAll"]').click(); + cy.wait(delay); + cy.get('.euiButton__text').contains('Actions').click(); + cy.wait(delay); + cy.get('.euiContextMenuItem__text').contains('Delete').click(); + cy.wait(delay); + + cy.get('button.euiButton--danger').should('be.disabled'); + + cy.get('input.euiFieldText[placeholder="delete"]').type('delete'); + cy.get('button.euiButton--danger').should('not.be.disabled'); + cy.get('.euiButton__text').contains('Delete').click(); + + cy.get('.euiTextAlign').contains('No Operational Panels').should('exist'); + }); +}); diff --git a/.cypress/integration/4_trace_analytics_dashboard.spec.js b/.cypress/integration/4_trace_analytics_dashboard.spec.js new file mode 100644 index 000000000..5512635ca --- /dev/null +++ b/.cypress/integration/4_trace_analytics_dashboard.spec.js @@ -0,0 +1,188 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +/// + +import { testDataSet, delay, setTimeFilter } from '../utils/constants'; + +describe('Dump test data', () => { + it('Indexes test data', () => { + const dumpDataSet = (mapping_url, data_url, index) => { + cy.request({ + method: 'POST', + failOnStatusCode: false, + url: 'api/console/proxy', + headers: { + 'content-type': 'application/json;charset=UTF-8', + 'osd-xsrf': true, + }, + qs: { + path: `${index}`, + method: 'PUT', + }, + }); + + cy.request(mapping_url).then((response) => { + cy.request({ + method: 'POST', + form: true, + url: 'api/console/proxy', + headers: { + 'content-type': 'application/json;charset=UTF-8', + 'osd-xsrf': true, + }, + qs: { + path: `${index}/_mapping`, + method: 'POST', + }, + body: response.body, + }); + }); + + cy.request(data_url).then((response) => { + cy.request({ + method: 'POST', + form: true, + url: 'api/console/proxy', + headers: { + 'content-type': 'application/json;charset=UTF-8', + 'osd-xsrf': true, + }, + qs: { + path: `${index}/_bulk`, + method: 'POST', + }, + body: response.body, + }); + }); + }; + + testDataSet.forEach(({ mapping_url, data_url, index }) => + dumpDataSet(mapping_url, data_url, index) + ); + }); +}); + +describe('Testing dashboard table empty state', () => { + beforeEach(() => { + cy.visit('app/observability-dashboards#/trace_analytics/home', { + 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/observability-dashboards#/trace_analytics/home', { + 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('Has working breadcrumbs', () => { + cy.get('.euiBreadcrumb').contains('Dashboard').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Dashboard').should('exist'); + cy.get('.euiBreadcrumb').contains('Trace analytics').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Dashboard').should('exist'); + cy.get('.euiBreadcrumb').contains('Observability').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Event analytics').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('Trace analytics').click(); + cy.wait(delay); + + cy.contains('client_create_order').should('exist'); + }); +}); + +describe('Testing plots', () => { + beforeEach(() => { + cy.visit('app/observability-dashboards#/trace_analytics/home', { + 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/.cypress/integration/5_trace_analytics_services.spec.js b/.cypress/integration/5_trace_analytics_services.spec.js new file mode 100644 index 000000000..638eac65f --- /dev/null +++ b/.cypress/integration/5_trace_analytics_services.spec.js @@ -0,0 +1,124 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +/// + +import { delay, SERVICE_NAME, setTimeFilter } from '../utils/constants'; + +describe('Testing services table empty state', () => { + beforeEach(() => { + cy.visit('app/observability-dashboards#/trace_analytics/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/observability-dashboards#/trace_analytics/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/observability-dashboards#/trace_analytics/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/observability-dashboards#/trace_analytics/services/${SERVICE_NAME}`, { + onBeforeLoad: (win) => { + win.sessionStorage.clear(); + }, + }); + setTimeFilter(undefined, false); + }); + + it('Renders service view', () => { + cy.get('h2.euiTitle').contains(SERVICE_NAME).should('exist'); + cy.contains('178.6').should('exist'); + cy.contains('3.57%').should('exist'); + cy.get('div.vis-network').should('exist'); + }); + + it('Has working breadcrumbs', () => { + cy.get('.euiBreadcrumb').contains(SERVICE_NAME).click(); + cy.wait(delay); + cy.get('h2.euiTitle').contains(SERVICE_NAME).should('exist'); + cy.get('.euiBreadcrumb').contains('Services').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Services').should('exist'); + cy.get('.euiBreadcrumb').contains('Trace analytics').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Dashboard').should('exist'); + cy.get('.euiBreadcrumb').contains('Observability').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Event analytics').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.get('[data-test-subj="euiFlyoutCloseButton"]').click({ force: true }); + cy.contains('Spans (1)').should('exist'); + }); +}); diff --git a/.cypress/integration/6_trace_analytics_traces.spec.js b/.cypress/integration/6_trace_analytics_traces.spec.js new file mode 100644 index 000000000..2f96fab54 --- /dev/null +++ b/.cypress/integration/6_trace_analytics_traces.spec.js @@ -0,0 +1,114 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +/// + +import { delay, setTimeFilter, SPAN_ID, TRACE_ID } from '../utils/constants'; + +describe('Testing traces table empty state', () => { + beforeEach(() => { + cy.visit('app/observability-dashboards#/trace_analytics/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/observability-dashboards#/trace_analytics/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('Sorts the traces table', () => { + cy.get('.euiTableRow').first().contains('-').should('exist'); + cy.get('.euiTableCellContent').contains('Trace group').click(); + cy.get('.euiTableRow').first().contains('/%2A%2A').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/observability-dashboards#/trace_analytics/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.gte', 2); + cy.get('text[data-unformatted="database
mysql.APM "]').should('exist'); + cy.contains(`"${SPAN_ID}"`).should('exist'); + }); + + it('Has working breadcrumbs', () => { + cy.get('.euiBreadcrumb').contains(TRACE_ID).click(); + cy.wait(delay); + cy.get('h2.euiTitle').contains(TRACE_ID).should('exist'); + cy.get('.euiBreadcrumb').contains('Traces').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Traces').should('exist'); + cy.get('.euiBreadcrumb').contains('Trace analytics').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Dashboard').should('exist'); + cy.get('.euiBreadcrumb').contains('Observability').click(); + cy.wait(delay); + cy.get('.euiTitle').contains('Event analytics').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/.cypress/integration/7_app_analytics.spec.js b/.cypress/integration/7_app_analytics.spec.js new file mode 100644 index 000000000..1e8ef7c95 --- /dev/null +++ b/.cypress/integration/7_app_analytics.spec.js @@ -0,0 +1,597 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +/// + +import { + delay, + moveToHomePage, + moveToCreatePage, + moveToApplication, + moveToEditPage, + changeTimeTo24, + expectMessageOnHover, + baseQuery, + nameOne, + nameTwo, + nameThree, + description, + service_one, + service_two, + trace_one, + trace_two, + trace_three, + query_one, + query_two, + availability_default, + visOneName, + visTwoName, + composition, + newName, + TYPING_DELAY, + timeoutDelay +} from '../utils/app_constants'; +import { supressResizeObserverIssue } from '../utils/constants'; + +describe('Creating application', () => { + beforeEach(() => { + moveToCreatePage(); + }); + + it('Suggests correct autocompletion', () => { + cy.get('[data-test-subj="logSourceAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').click(); + cy.get('.aa-List').find('.aa-Item').should('have.length', 1); + cy.get('.aa-Item').contains('source').should('exist'); + cy.focused().type('{enter}'); + cy.get('.aa-List').find('.aa-Item').should('have.length', 1); + cy.get('.aa-Item').contains('=').should('exist'); + cy.focused().type('{enter}'); + cy.focused().type('opensearch'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').click(); + cy.get('.aa-Item').contains('opensearch_dashboards_sample_data_flights').click(); + cy.focused().clear(); + cy.get('.aa-List').find('.aa-Item').should('have.length', 1); + cy.focused().type('{enter}'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('contain', 'source '); + cy.focused().type('{enter}'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('contain', 'source = '); + cy.focused().type('opensearch'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').click(); + cy.get('.aa-Item').contains('opensearch_dashboards_sample_data_flights').click(); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('contain', 'source = opensearch_dashboards_sample_data_flights '); + cy.focused().type('{downArrow}'); + cy.focused().type('{enter}'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('contain', 'source = opensearch_dashboards_sample_data_flights, '); + cy.focused().type('opensearch'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').click(); + cy.get('.aa-Item').contains('opensearch_dashboards_sample_data_logs').click(); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('contain', 'source = opensearch_dashboards_sample_data_flights,opensearch_dashboards_sample_data_logs '); + }); + + it('Creates an application and redirects to application', () => { + expectMessageOnHover('createButton', 'Name is required.'); + cy.get('[data-test-subj="nameFormRow"]').type(nameOne); + cy.get('[data-test-subj="descriptionFormRow"]').type('This application is for testing.'); + expectMessageOnHover('createButton', 'Provide at least one log source, service, entity or trace group.'); + cy.get('[data-test-subj="servicesEntitiesAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="servicesEntitiesComboBox"]').click(); + cy.focused().type('{downArrow}'); + cy.focused().type('{enter}'); + cy.get('[data-test-subj="servicesEntitiesCountBadge"]').should('contain', '1'); + cy.get('[data-test-subj="logSourceAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="createButton"]').should('not.be.disabled'); + cy.get('[data-test-subj="createAndSetButton"]').should('be.disabled'); + expectMessageOnHover('createAndSetButton', 'Log source is required to set availability.'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').focus().type(baseQuery, {delay: TYPING_DELAY}); + cy.get('[data-test-subj="traceGroupsAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="traceGroupsComboBox"]').scrollIntoView().type('http'); + cy.get('.euiFilterSelectItem').contains(trace_one).trigger('click'); + cy.get('.euiFilterSelectItem').contains(trace_two).trigger('click'); + cy.get('[data-test-subj="traceGroupsCountBadge"]').should('contain', '2'); + cy.get('[data-test-subj="createButton"]').should('not.be.disabled'); + cy.get('[data-test-subj="createButton"]').click(); + cy.wait(delay * 3); + cy.get('[data-test-subj="applicationTitle"]').should('contain', nameOne); + cy.get('[data-test-subj="app-analytics-panelTab"]').click(); + cy.get('[data-test-subj="addFirstVisualizationText"]').should('exist'); + }); + + it('Redirects to home page on cancel', () => { + cy.get('[data-test-subj="cancelCreateButton"]').contains('Cancel').click(); + cy.get('[data-test-subj="applicationHomePageTitle"]').should('exist'); + }); + + it('Saves current input on reload', () => { + cy.get('[data-test-subj="nameFormRow"]').type(nameOne); + cy.get('[data-test-subj="descriptionFormRow"]').type(description); + cy.get('[data-test-subj="logSourceAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').click(); + cy + .get('[data-test-subj="searchAutocompleteTextArea"]') + .focus() + .type(baseQuery, {delay: TYPING_DELAY}); + cy.get('[data-test-subj="servicesEntitiesAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="servicesEntitiesComboBox"]').scrollIntoView(); + cy.get('[data-test-subj="servicesEntitiesComboBox"]').trigger('mouseover').click(); + cy.get('.euiFilterSelectItem').contains(service_one).click({ force: true }); + cy.get('[data-test-subj="servicesEntitiesCountBadge"]').should('contain', '1'); + cy.get('[data-test-subj="traceGroupsAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="traceGroupsComboBox"]').scrollIntoView().type('http'); + cy.get('.euiFilterSelectItem').contains(trace_one).trigger('click'); + cy.get('.euiFilterSelectItem').contains(trace_two).trigger('click'); + cy.get('[data-test-subj="traceGroupsCountBadge"]').should('contain', '2'); + cy.reload(); + cy.wait(delay); + cy.get('[data-test-subj="nameFormRow"]').find('.euiFieldText').should('contain.value', nameOne); + cy.get('[data-test-subj="descriptionFormRow"]').find('.euiFieldText').should('contain.value', description); + cy.get('[data-test-subj="logSourceAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('contain.value', baseQuery); + cy.get('[data-test-subj="servicesEntitiesCountBadge"]').should('contain', '1'); + cy.get('[data-test-subj="traceGroupsCountBadge"]').should('contain', '2'); + }); + + it('Shows clear modals before clearing', () => { + cy.get('[data-test-subj="logSourceAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="clearLogSourceButton"]').should('be.disabled'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').focus().type(baseQuery, {delay: TYPING_DELAY}); + cy.get('[data-test-subj="clearLogSourceButton"]').click(); + cy.get('.euiButton--danger').contains('Clear').click(); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('contain.value', ''); + cy.get('[data-test-subj="servicesEntitiesAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="servicesEntitiesComboBox"]').trigger('mouseover').click(); + cy.get('.euiFilterSelectItem').contains(service_one).trigger('click'); + cy.get('[data-test-subj="servicesEntitiesCountBadge"]').should('contain', '1'); + cy.get('[data-test-subj="clearServicesEntitiesButton"]').click(); + cy.get('.euiButton--danger').contains('Clear all').click(); + cy.get('[data-test-subj="servicesEntitiesCountBadge"]').should('contain', '0'); + cy.get('[data-test-subj="servicesEntitiesAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="traceGroupsAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="traceGroupsComboBox"]').scrollIntoView().type('http'); + cy.get('.euiFilterSelectItem').contains(trace_one).trigger('click'); + cy.get('.euiFilterSelectItem').contains(trace_two).trigger('click'); + cy.get('[data-test-subj="traceGroupsCountBadge"]').should('contain', '2'); + cy.get('[data-test-subj="clearTraceGroupsButton"]').click(); + cy.get('.euiButton--danger').contains('Clear all').click(); + cy.get('[data-test-subj="traceGroupsCountBadge"]').should('contain', '0'); + }); + + it('Saves time range for each application', () => { + cy.get('[data-test-subj="nameFormRow"]').type(nameTwo); + cy.get('[data-test-subj="logSourceAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').focus().type(baseQuery, {delay: TYPING_DELAY}); + cy.get('[data-test-subj="createButton"]').should('not.be.disabled'); + cy.get('[data-test-subj="createButton"]').click(); + cy.get('[data-test-subj="applicationTitle"]').should('contain', nameTwo); + changeTimeTo24('weeks'); + cy.get('[data-test-subj="superDatePickerShowDatesButton"]').should('contain', 'Last 24 weeks'); + cy.get('.euiBreadcrumb[href="#/application_analytics"]').click(); + cy.wait(delay); + cy.get(`[data-test-subj="${nameOne}ApplicationLink"]`).click(); + cy.get('[data-test-subj="applicationTitle"]').should('contain', nameOne); + changeTimeTo24('months'); + cy.get('[data-test-subj="superDatePickerShowDatesButton"]').should('contain', 'Last 24 months'); + cy.get('.euiBreadcrumb[href="#/application_analytics"]').click(); + cy.get(`[data-test-subj="${nameTwo}ApplicationLink"]`).click(); + cy.get('[data-test-subj="applicationTitle"]').should('contain', nameTwo); + cy.get('[data-test-subj="superDatePickerShowDatesButton"]').should('contain', 'Last 24 weeks'); + cy.get('.euiBreadcrumb[href="#/application_analytics"]').click(); + cy.get(`[data-test-subj="${nameOne}ApplicationLink"]`).click(); + cy.get('[data-test-subj="applicationTitle"]').should('contain', nameOne); + cy.get('[data-test-subj="superDatePickerShowDatesButton"]').should('contain', 'Last 24 months'); + }); +}); + +describe('Setting availability', () => { + it('Redirects to set availability at three entry points', () => { + moveToCreatePage(); + cy.get('[data-test-subj="nameFormRow"]').type(nameThree); + cy.get('[data-test-subj="logSourceAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').focus(); + cy.focused().type('source = ', { delay: TYPING_DELAY }); + cy.focused().type('{enter}'); + cy.get('[data-test-subj="createAndSetButton"]').click(); + cy.get('[data-test-subj="applicationTitle"]').should('contain', nameThree); + cy.get('.euiBreadcrumb[href="#/application_analytics"]').click(); + cy.get('[data-test-subj="setAvailabilityHomePageLink"]').first().click(); + cy.get('[data-test-subj="applicationTitle"]').should('contain', nameThree); + cy.get('.euiTab-isSelected[id="app-analytics-log"]').should('exist', { timeout: timeoutDelay }); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('contain.value', availability_default); + cy.get('[id="explorerPlotComponent"]').should('exist'); + cy.get('.euiTab-isSelected[id="availability-panel"]').should('exist'); + cy.get('.euiBreadcrumb[href="#/application_analytics"]').click(); + cy.get(`[data-test-subj="${nameThree}ApplicationLink"]`).click(); + cy.get('[data-test-subj="applicationTitle"]').should('contain', nameThree); + cy.get('[data-test-subj="app-analytics-configTab"]').click(); + cy.get('[data-test-subj="setAvailabilityConfigLink"]').click(); + cy.get('.euiTab-isSelected[id="app-analytics-log"]').should('exist', { timeout: timeoutDelay }); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('contain.value', availability_default); + cy.get('[id="explorerPlotComponent"]').should('exist'); + cy.get('.euiTab-isSelected[id="availability-panel"]').should('exist'); + }); +}); + +describe('Viewing application', () => { + beforeEach(() => { + moveToApplication(nameOne); + }); + + it('Has working breadcrumbs', () => { + cy.get('.euiBreadcrumb').contains(nameOne).click(); + cy.get('[data-test-subj="applicationTitle"]').should('contain', nameOne); + cy.get('.euiBreadcrumb[href="#/application_analytics"]').click(); + cy.get('[data-test-subj="applicationHomePageTitle"]').should('contain', 'Applications'); + cy.get('.euiBreadcrumb[href="observability-dashboards#/"]').click(); + cy.get('[data-test-subj="eventHomePageTitle"]').should('contain', 'Event analytics'); + }); + + it('Shares time range among tabs', () => { + changeTimeTo24('months'); + cy.get('[data-test-subj="superDatePickerShowDatesButton"]').should('contain', 'Last 24 months'); + cy.get('[data-test-subj="app-analytics-serviceTab"]').click(); + cy.get('[data-test-subj="superDatePickerShowDatesButton"]').should('contain', 'Last 24 months'); + cy.get('[data-test-subj="app-analytics-traceTab"]').click(); + supressResizeObserverIssue(); + cy.get('[data-test-subj="superDatePickerShowDatesButton"]').should('contain', 'Last 24 months'); + cy.get('[data-test-subj="app-analytics-logTab"]').click(); + cy.get('[data-test-subj="superDatePickerShowDatesButton"]').should('contain', 'Last 24 months'); + cy.get('[data-test-subj="app-analytics-panelTab"]').click(); + cy.get('[data-test-subj="superDatePickerShowDatesButton"]').should('contain', 'Last 24 months'); + }); + + it('Shows latency variance in dashboards table', () => { + changeTimeTo24('months'); + cy.get('[data-test-subj="dashboardTable"]').first().within(($table) => { + cy.get('.plot-container').should('have.length.at.least', 1); + }) + }); + + it('Adds filter when Trace group name is clicked', () => { + cy.get('[data-test-subj="app-analytics-overviewTab"]').click(); + cy.get('[data-test-subj="dashboard-table-trace-group-name-button"]').contains('client_create_order').click(); + cy.get('.euiTableRow').should('have.length', 1, { timeout: timeoutDelay }); + cy.get('[data-test-subj="client_create_orderFilterBadge"]').should('exist'); + cy.get('[data-test-subj="filterBadge"]').click(); + cy.get('[data-test-subj="deleteFilterIcon"]').click(); + cy.get('[data-test-subj="client_create_orderFilterBadge"]').should('not.exist'); + }); + + it('Opens service detail flyout when Service Name is clicked', () => { + cy.get('[data-test-subj="app-analytics-serviceTab"]').click(); + cy.wait(delay); + cy.get('.euiLink').contains('authentication').click(); + supressResizeObserverIssue(); + cy.get('[data-test-subj="serviceDetailFlyoutTitle"]').should('be.visible'); + cy.get('[data-test-subj="serviceDetailFlyout"]').within(($flyout) => { + cy.get('[data-test-subj="Number of connected servicesDescriptionList"]').should('contain', '3'); + cy.get('[data-text="Error rate"]').click(); + cy.get('.ytitle').contains('Error rate').should('exist'); + }); + cy.get('[data-test-subj="dataGridRowCell"] button').contains('718dc32a693c8a17').click(); + cy.get('[data-test-subj="spanDetailFlyout"]').contains('Span detail').should('be.visible'); + cy.get('[data-test-subj="ServiceDescriptionList"]').should('contain', 'authentication'); + cy.get('[data-test-subj="euiFlyoutCloseButton"]').click(); + cy.get('[data-test-subj="serviceDetailFlyout"]').should('not.be.visible'); + cy.get('[data-test-subj="spanDetailFlyout"]').should('not.be.visible'); + }); + + it('Opens trace detail flyout when Trace ID is clicked', () => { + cy.get('[data-test-subj="app-analytics-traceTab"]').click(); + supressResizeObserverIssue(); + cy.wait(delay); + cy.get('[title="03f9c770db5ee2f1caac0afc36db49ba"]').click(); + cy.get('[data-test-subj="traceDetailFlyoutTitle"]').should('be.visible'); + cy.get('[data-test-subj="traceDetailFlyout"]').within(($flyout) => { + cy.get('[data-test-subj="LatencyDescriptionList"]').should('contain', '224.99'); + }); + cy.get('[data-test-subj="euiFlyoutCloseButton"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="traceDetailFlyout"]').should('not.be.visible'); + cy.get('[title="03f9c770db5ee2f1caac0afc36db49ba"]').click(); + cy.get('[aria-label="Span list"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="dataGridRowCell"] button').contains('d67c5bb617ba9203').click(); + cy.get('[data-test-subj="spanDetailFlyout"]').should('be.visible'); + cy.get('[data-test-subj="euiFlyoutCloseButton"]').click(); + cy.get('[data-test-subj="spanDetailFlyout"]').should('not.be.visible'); + }); + + it('Opens span detail flyout when Span ID is clicked', () => { + cy.get('[data-test-subj="app-analytics-traceTab"]').click(); + supressResizeObserverIssue(); + cy.wait(delay); + cy.get('[data-test-subj="dataGridRowCell"]').contains('5ff3516909562c60').click(); + cy.get('[data-test-subj="spanDetailFlyout"]').should('be.visible'); + cy.get('[data-test-subj="spanDetailFlyout"]').within(($flyout) => { + cy.get('[data-test-subj="OperationDescriptionList"]').should('contain', 'HTTP GET'); + }); + cy.get('.euiText').contains('order').click(); + cy.get('[aria-label="span-flyout-filter-icon"]').click(); + cy.focused().blur(); + cy.get('[data-test-subj="euiFlyoutCloseButton"]').click(); + cy.get('[data-test-subj="filterBadge"][title="serviceName: order"]').should('exist'); + cy.get('[aria-label="Remove filter"]').click(); + cy.get('[data-test-subj="filterBadge"][title="serviceName: order"]').should('not.exist'); + }); + + it('Shows base query', () => { + cy.get('[data-test-subj="app-analytics-logTab"]').click(); + cy.get('.euiBadge[title="Base Query"]').should('exist'); + cy.get('.euiBadge[title="Base Query"]').trigger('mouseover'); + cy.get('.euiToolTipPopover').contains('source = opensearch_dashboards_sample_data_flights').should('exist'); + }); + + it('Saves visualization #1 to panel', () => { + cy.get('[data-test-subj="app-analytics-panelTab"]').click(); + cy.get('[data-test-subj="addVisualizationButton"]').first().click(); + cy.wait(delay); + cy.get('[id="explorerPlotComponent"]').should('exist'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').click(); + cy.get('.aa-List').find('.aa-Item').should('have.length', 11); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').focus().type(query_one, {delay: TYPING_DELAY}); + changeTimeTo24('months'); + cy.wait(delay * 2); + cy.get('[data-test-subj="main-content-visTab"]').click(); + supressResizeObserverIssue(); + cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click(); + cy.get('[data-test-subj="eventExplorer__querySaveName"]').click().type(visOneName); + cy.wait(delay); + cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="app-analytics-panelTab"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="Flights to VeniceVisualizationPanel"]').should('exist'); + cy.get('[id="explorerPlotComponent"]').should('exist'); + cy.get('[class="trace bars"]').should('exist'); + }); + + it('Adds availability level to visualization #1', () => { + cy.get('[data-test-subj="app-analytics-panelTab"]').click(); + cy.get('[aria-label="actionMenuButton"]').click(); + cy.get('[data-test-subj="editVizContextMenuItem"]').click(); + supressResizeObserverIssue(); + cy.get('[data-test-subj="superDatePickerShowDatesButton"]').should('contain', 'Last 24 months'); + cy.get('.euiTab[id="availability-panel"]').click(); + cy.get('[title="Bar"]').click(); + cy.focused().type('{downArrow}'); + cy.focused().type('{enter}'); + cy.get('[data-test-subj="addAvailabilityButton"]').click(); + cy.get('[data-test-subj="colorPickerAnchor"]').click(); + cy.get('[aria-label="Select #54B399 as the color"]').click(); + cy.get('[data-test-subj="nameFieldText"]').click().type('Available'); + cy.get('option').contains('≥').should('exist'); + cy.get('option').contains('≤').should('exist'); + cy.get('option').contains('>').should('exist'); + cy.get('option').contains('<').should('exist'); + cy.get('option').contains('=').should('exist'); + cy.get('option').contains('≠').should('exist'); + cy.get('[data-test-subj="expressionSelect"]').select('>'); + cy.get('[data-test-subj="valueFieldNumber"]').clear().type('0.5'); + cy.get('[data-test-subj="visualizeEditorRenderButton"]').click(); + cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click(); + cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click(); + cy.get('[data-test-subj="app-analytics-panelTab"]').click(); + cy.get('[id="explorerPlotComponent"]').should('exist'); + cy.get('[class="lines"]').should('exist'); + cy.get('.textpoint').contains('Available').should('exist'); + cy.get('.euiBreadcrumb[href="#/application_analytics"]').click(); + cy.get('[data-test-subj="AvailableAvailabilityBadge"]').should('contain', 'Available'); + cy.get('[data-test-subj="AvailableAvailabilityBadge"][style="background-color: rgb(84, 179, 153); color: rgb(0, 0, 0);"]').should('exist'); + }); + + it('Saves visualization #2 to panel with availability level', () => { + changeTimeTo24('months'); + cy.get('[data-test-subj="app-analytics-logTab"]').click(); + cy.get('[id="explorerPlotComponent"]', { timeout: timeoutDelay }).should('exist'); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').focus().type(query_two, {delay: TYPING_DELAY}); + cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="main-content-visTab"]').click(); + supressResizeObserverIssue(); + cy.get('.euiTab[id="availability-panel"]').click(); + cy.get('[title="Bar"]').click(); + cy.focused().type('{downArrow}'); + cy.focused().type('{enter}'); + cy.wait(delay); + cy.get('[data-test-subj="addAvailabilityButton"]').click(); + cy.get('[data-test-subj="colorPickerAnchor"]').click(); + cy.get('[aria-label="Select #9170B8 as the color"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="nameFieldText"]').click().type('Super'); + cy.get('[data-test-subj="expressionSelect"]').select('<'); + cy.get('[data-test-subj="valueFieldNumber"]').clear().type('5.5'); + cy.get('[data-test-subj="visualizeEditorRenderButton"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="addAvailabilityButton"]').click(); + cy.get('[data-test-subj="colorPickerAnchor"]').first().click(); + cy.get('[aria-label="Select #CA8EAE as the color"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="nameFieldText"]').first().click().type('Cool'); + cy.get('[data-test-subj="expressionSelect"]').first().select('>'); + cy.get('[data-test-subj="valueFieldNumber"]').first().clear().type('0'); + cy.get('[data-test-subj="visualizeEditorRenderButton"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click(); + cy.get('[data-test-subj="eventExplorer__querySaveName"]').click().type(visTwoName); + cy.wait(delay); + cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="app-analytics-panelTab"]').click(); + cy.wait(delay); + cy.get('[id="explorerPlotComponent"]').should('have.length', 2); + moveToHomePage(); + cy.get('[data-test-subj="SuperAvailabilityBadge"][style="background-color: rgb(145, 112, 184); color: rgb(0, 0, 0);"]').should('contain', 'Super'); + }); + + it('Configuration tab shows details', () => { + cy.get('[data-test-subj="app-analytics-configTab"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="configBaseQueryCode"]').should('contain', baseQuery); + cy.get('[aria-label="List of services and entities"]').find('li').should('have.length', 1); + cy.get('[aria-label="List of trace groups"]').find('li').should('have.length', 2); + cy.get('option').should('have.length', 2); + }); + + + it('Changes availability visualization', () => { + cy.get('[data-test-subj="app-analytics-configTab"]').click(); + cy.wait(delay); + cy.get('select').select(visOneName); + cy.wait(delay); + moveToHomePage(); + cy.get('[data-test-subj="AvailableAvailabilityBadge"][style="background-color: rgb(84, 179, 153); color: rgb(0, 0, 0);"]').should('contain', 'Available'); + moveToApplication(nameOne); + cy.get('[data-test-subj="app-analytics-configTab"]').click(); + cy.wait(delay); + cy.get('select').find('option:selected').should('have.text', visOneName); + }) +}); + +describe('Separate from other plugins', () => { + it('Hides application visualizations in Event Analytics', () => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/event_analytics`); + cy.wait(delay * 3); + // When there are saved queries or visualizations there are two buttons + cy.get('body').then(($body) => { + if ($body.find('.euiButton').length == 2) { + cy.get('input.euiFieldSearch').type(visOneName, {delay: TYPING_DELAY}); + cy.wait(delay); + cy.get('.euiTableCellContent__text').contains('No items found').should('exist'); + cy.get('input.euiFieldSearch').clear().type(visTwoName, {delay: TYPING_DELAY}); + cy.wait(delay); + cy.get('.euiTableCellContent__text').contains('No items found').should('exist'); + cy.get('[class="euiFormControlLayoutClearButton"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="tablePaginationPopoverButton"]').click(); + cy.get('.euiContextMenuItem__text').contains('50 rows').click(); + cy.get('.euiCheckbox__input[data-test-subj="checkboxSelectAll"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="eventHomeAction"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="eventHomeAction__delete"]').click(); + cy.wait(delay); + cy.get('[data-test-subj="popoverModal__deleteButton"]').should('be.disabled'); + cy.get('[data-test-subj="popoverModal__deleteTextInput"]').type('delete'); + cy.get('[data-test-subj="popoverModal__deleteButton"]').should('not.be.disabled'); + cy.get('[data-test-subj="popoverModal__deleteButton"]').click(); + cy.wait(delay); + } + }) + }); + + it('Hides application visualizations in Operational Panels', () => { + cy.visit( + `${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/operational_panels/` + ); + cy.get('[data-test-subj="operationalPanelsActionsButton"]', { timeout: timeoutDelay }).click(); + cy.get('[data-test-subj="addSampleContextMenuItem"]', { timeout: timeoutDelay }).click(); + cy.get('[data-test-subj="confirmModalConfirmButton"]', { timeout: timeoutDelay }).click(); + cy.wait(delay * 2); + cy.get('.euiLink').contains('[Logs] Web traffic Panel').first().click(); + cy.wait(delay * 2); + cy.get('[data-test-subj="addVisualizationButton"]').click(); + cy.get('.euiContextMenuItem__text').contains('Select existing visualization').click(); + cy.get('option').contains(visOneName).should('not.exist'); + cy.get('option').contains(visTwoName).should('not.exist'); + }); + + it('Hides application panels in Operational Panels', () => { + cy.visit( + `${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/operational_panels/` + ); + cy.get('[data-test-subj="operationalPanelSearchBar"]', { timeout: timeoutDelay }).type(`${nameOne}'s Panel`, {delay: TYPING_DELAY}); + cy.get('.euiTableCellContent__text').contains('No items found').should('exist'); + cy.get('.euiFormControlLayoutClearButton').click(); + cy.get('[data-test-subj="operationalPanelSearchBar"]').type('[Logs] Web traffic Panel', {delay: TYPING_DELAY}); + cy.get('.euiTableRow').first().within(($row) => { + cy.get('.euiCheckbox').click(); + }); + cy.get('[data-test-subj="operationalPanelsActionsButton"]', { timeout: timeoutDelay }).click(); + cy.get('[data-test-subj="deleteContextMenuItem"]', { timeout: timeoutDelay }).click(); + cy.get('[data-test-subj="popoverModal__deleteTextInput"]', { timeout: timeoutDelay }).type('delete'); + cy.get('[data-test-subj="popoverModal__deleteButton"]', { timeout: timeoutDelay }).should('not.be.disabled'); + cy.get('[data-test-subj="popoverModal__deleteButton"]', { timeout: timeoutDelay }).click(); + }); +}); + +describe('Editing application', () => { + beforeEach(() => { + moveToEditPage(); + }); + + it('Redirects to application after saving changes', () => { + cy.get('[data-test-subj="logSourceAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('be.disabled'); + cy.get('[data-test-subj="servicesEntitiesAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="servicesEntitiesComboBox"]').click(); + cy.get('.euiFilterSelectItem').contains(service_two).click(); + cy.get('[data-test-subj="servicesEntitiesCountBadge"]').should('contain', '2'); + cy.get('[data-test-subj="traceGroupsAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="comboBoxToggleListButton"]').eq(1).click(); + cy.get('.euiFilterSelectItem').contains(trace_three).trigger('click'); + cy.get('[data-test-subj="traceGroupsCountBadge"]').should('contain', '3'); + cy.get('[data-test-subj="traceGroupsAccordion"]').trigger('mouseover').click(); + cy.get('[data-test-subj="createButton"]').click(); + cy.get('[data-test-subj="app-analytics-configTab"]').click(); + cy.get('[data-test-subj="configBaseQueryCode"]').should('contain', baseQuery); + cy.get('[aria-label="List of services and entities"]').find('li').should('have.length', 2); + cy.get('[aria-label="List of trace groups"]').find('li').should('have.length', 3); + cy.get('[data-test-subj="applicationTitle"]').should('contain', nameOne); + }); +}); + +describe('Application Analytics home page', () => { + beforeEach(() => { + moveToHomePage(); + }) + + it('Show correct information in table', () => { + cy.get(`[data-test-subj="${nameOne}ApplicationLink"]`).should('exist'); + cy.get('[data-test-subj="appAnalytics__compositionColumn"]').should('contain', composition); + cy.get('[data-test-subj="AvailableAvailabilityBadge"][style="background-color: rgb(84, 179, 153); color: rgb(0, 0, 0);"]').should('contain', 'Available') + }); + + it('Renames application', () => { + cy.get('[data-test-subj="appAnalyticsActionsButton"]').click(); + cy.get('[data-test-subj="renameApplicationContextMenuItem"]').should('be.disabled'); + cy.get('[data-test-subj="appAnalyticsActionsButton"]').click(); + cy.get('.euiTableRow').first().within(($row) => { + cy.get('.euiCheckbox').click(); + }); + cy.wait(delay); + cy.get('[data-test-subj="appAnalyticsActionsButton"]').click(); + cy.get('[data-test-subj="renameApplicationContextMenuItem"]').click(); + cy.get('[data-test-subj="customModalFieldText"]').clear().focus().type(newName); + cy.get('[data-test-subj="runModalButton"]').click(); + cy.wait(delay); + cy.get('.euiToast').contains(`Application successfully renamed to "${newName}"`); + cy.get('.euiTableRow').first().within(($row) => { + cy.get('.euiLink').contains(newName).should('exist'); + }); + }); + + + it('Deletes application', () => { + cy.get('[data-test-subj="appAnalyticsActionsButton"]').click(); + cy.get('[data-test-subj="deleteApplicationContextMenuItem"]').should('exist'); + cy.get('[data-test-subj="appAnalyticsActionsButton"]').click(); + cy.get('.euiTableRow').first().within(($row) => { + cy.get('.euiCheckbox').click(); + }); + cy.get('.euiTableRow').eq(1).within(($row) => { + cy.get('.euiCheckbox').click(); + }); + cy.get('.euiTableRow').eq(2).within(($row) => { + cy.get('.euiCheckbox').click(); + }); + cy.get('[data-test-subj="appAnalyticsActionsButton"]').click(); + cy.get('[data-test-subj="deleteApplicationContextMenuItem"]').click(); + cy.get('[data-test-subj="popoverModal__deleteTextInput"]').type('delete'); + cy.get('[data-test-subj="popoverModal__deleteButton"').click(); + cy.wait(delay); + cy.get('.euiToast').contains(`Applications successfully deleted!`); + cy.get(`[data-test-subj="${newName}ApplicationLink"]`).should('not.exist'); + }); +}); diff --git a/.cypress/plugins/index.js b/.cypress/plugins/index.js new file mode 100644 index 000000000..8ac1f1066 --- /dev/null +++ b/.cypress/plugins/index.js @@ -0,0 +1,26 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +/// +// *********************************************************** +// 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/.cypress/support/commands.js b/.cypress/support/commands.js new file mode 100644 index 000000000..fd4a5a063 --- /dev/null +++ b/.cypress/support/commands.js @@ -0,0 +1,71 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +// *********************************************** +// 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) => { ... }) + +const { ADMIN_AUTH } = require('./constants'); + +Cypress.Commands.overwrite('visit', (originalFn, url, options) => { + // Add the basic auth header when security enabled in the OpenSearch cluster + // https://github.com/cypress-io/cypress/issues/1288 + if (Cypress.env('security_enabled')) { + if (options) { + options.auth = ADMIN_AUTH; + } else { + options = { auth: ADMIN_AUTH }; + } + // Add query parameters - select the default OpenSearch Dashboards tenant + options.qs = { security_tenant: 'private' }; + return originalFn(url, options); + } else { + return originalFn(url, options); + } +}); + +// Be able to add default options to cy.request(), https://github.com/cypress-io/cypress/issues/726 +Cypress.Commands.overwrite('request', (originalFn, ...args) => { + let defaults = {}; + // Add the basic authentication header when security enabled in the OpenSearch cluster + if (Cypress.env('security_enabled')) { + defaults.auth = ADMIN_AUTH; + } + + let options = {}; + if (typeof args[0] === 'object' && args[0] !== null) { + options = Object.assign({}, args[0]); + } else if (args.length === 1) { + [options.url] = args; + } else if (args.length === 2) { + [options.method, options.url] = args; + } else if (args.length === 3) { + [options.method, options.url, options.body] = args; + } + + return originalFn(Object.assign({}, defaults, options)); +}); diff --git a/.cypress/support/constants.js b/.cypress/support/constants.js new file mode 100644 index 000000000..d7978c222 --- /dev/null +++ b/.cypress/support/constants.js @@ -0,0 +1,10 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +export const ADMIN_AUTH = { + username: 'admin', + password: 'admin', +}; + diff --git a/.cypress/support/index.js b/.cypress/support/index.js new file mode 100644 index 000000000..6b25b7b27 --- /dev/null +++ b/.cypress/support/index.js @@ -0,0 +1,31 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +// *********************************************************** +// 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') + +// Switch the base URL of OpenSearch when security enabled in the cluster +if (Cypress.env('security_enabled')) { + Cypress.env('opensearch', 'https://localhost:9200'); +} + diff --git a/.cypress/tsconfig.json b/.cypress/tsconfig.json new file mode 100644 index 000000000..36de33dee --- /dev/null +++ b/.cypress/tsconfig.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "allowJs": true, + "baseUrl": "../node_modules", + "types": ["cypress"] + }, + "include": ["**/*.*"] +} diff --git a/.cypress/utils/app_constants.js b/.cypress/utils/app_constants.js new file mode 100644 index 000000000..f2a4e9c6a --- /dev/null +++ b/.cypress/utils/app_constants.js @@ -0,0 +1,88 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +import { supressResizeObserverIssue } from './constants'; + +export const delay = 1000; +export const timeoutDelay = 30000; +export const TYPING_DELAY = 500; + +export const moveToHomePage = () => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/application_analytics/`); + cy.wait(delay * 3); + cy.get('.euiTitle').contains('Applications').should('exist'); +}; + +export const moveToCreatePage = () => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/application_analytics/`); + cy.get('.euiButton[href="#/application_analytics/create"]').eq(0).click(); + supressResizeObserverIssue(); + cy.get('[data-test-subj="createPageTitle"]').should('contain', 'Create application'); +}; + +export const moveToApplication = (name) => { + cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/application_analytics/`); + cy.wait(delay * 6); + cy.get(`[data-test-subj="${name}ApplicationLink"]`).click(); + cy.wait(delay); + cy.get('[data-test-subj="applicationTitle"]').should('contain', name); + changeTimeTo24('years'); +}; + +export const moveToEditPage = () => { + moveToApplication(nameOne); + cy.get('[data-test-subj="app-analytics-configTab"]').click(); + cy.get('[data-test-subj="editApplicationButton"]').click(); + supressResizeObserverIssue(); + cy.wait(delay); + cy.get('[data-test-subj="createPageTitle"]').should('contain', 'Edit application'); +}; + +export const changeTimeTo24 = (timeUnit) => { + cy.get('#QuickSelectPopover').click(); + cy.get('[aria-label="Time unit"]').select(timeUnit); + cy.get('.euiButton').contains('Apply').click(); + cy.wait(delay); + cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').click(); +}; + +export const expectMessageOnHover = (button, message) => { + cy.get(`[data-test-subj="${button}"]`).click({ force: true }); + cy.get('.euiToolTipPopover').contains(message).should('exist'); +}; + +export const moveToPanelHome = () => { + cy.visit( + `${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/operational_panels/` + ); + cy.wait(delay * 3); +}; + +export const deleteAllSavedApplications = () => { + moveToHomePage(); + cy.get('[data-test-subj="checkboxSelectAll"]').click(); + cy.get('.euiPopover').contains('Actions').click(); + cy.get('.euiContextMenuItem').contains('Delete').click(); + cy.get('.euiButton__text').contains('Delete').click(); +}; + +export const uniqueId = Date.now(); +export const baseQuery = 'source = opensearch_dashboards_sample_data_flights'; +export const nameOne = `Cypress-${uniqueId}`; +export const nameTwo = `Pine-${uniqueId}`; +export const nameThree = `Cedar-${uniqueId}`; +export const description = 'This is my application for cypress testing.'; +export const service_one = 'order'; +export const service_two = 'payment'; +export const trace_one = 'HTTP POST'; +export const trace_two = 'HTTP GET'; +export const trace_three = 'client_pay_order'; +export const query_one = 'where DestCityName = "Venice" | stats count() by span( timestamp , 6h )'; +export const query_two = 'where OriginCityName = "Seoul" | stats count() by span( timestamp , 6h )'; +export const availability_default = 'stats count() by span( timestamp, 1h )'; +export const visOneName = 'Flights to Venice'; +export const visTwoName = 'Flights from Seoul'; +export const composition = 'order, payment, HTTP POST, HTTP GET, client_pay_order' +export const newName = `Monterey Cypress-${uniqueId}`; diff --git a/.cypress/utils/constants.js b/.cypress/utils/constants.js new file mode 100644 index 000000000..e99c97ddc --- /dev/null +++ b/.cypress/utils/constants.js @@ -0,0 +1,120 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +export const delay = 1500; + +// trace analytics +export const TRACE_ID = '8832ed6abbb2a83516461960c89af49d'; +export const SPAN_ID = 'a673bc074b438374'; +export const SERVICE_NAME = 'frontend-client'; + +export const testDataSet = [ + { + mapping_url: 'https://raw.githubusercontent.com/opensearch-project/observability/main/dashboards-observability/.cypress/utils/otel-v1-apm-service-map-mappings.json', + data_url: 'https://raw.githubusercontent.com/opensearch-project/observability/main/dashboards-observability/.cypress/utils/otel-v1-apm-service-map.json', + index: 'otel-v1-apm-service-map', + }, + { + mapping_url: 'https://raw.githubusercontent.com/opensearch-project/observability/main/dashboards-observability/.cypress/utils/otel-v1-apm-span-000001-mappings.json', + data_url: 'https://raw.githubusercontent.com/opensearch-project/observability/main/dashboards-observability/.cypress/utils/otel-v1-apm-span-000001.json', + index: 'otel-v1-apm-span-000001', + }, + { + mapping_url: 'https://raw.githubusercontent.com/opensearch-project/observability/main/dashboards-observability/.cypress/utils/otel-v1-apm-span-000001-mappings.json', + data_url: 'https://raw.githubusercontent.com/opensearch-project/observability/main/dashboards-observability/.cypress/utils/otel-v1-apm-span-000002.json', + index: 'otel-v1-apm-span-000002', + }, +] + +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); +}; + +// notebooks +export const TEST_NOTEBOOK = 'Test Notebook'; +export const SAMPLE_URL = 'https://github.com/opensearch-project/sql/tree/main/sql-jdbc'; +export const MARKDOWN_TEXT = `%md +# Heading 1 + +#### List and links + +* 1 +* 2 +* [SQL JDBC](${SAMPLE_URL}) + +--- +#### Code block +* Explain SQL +\`\`\` +POST _plugins/_sql/_explain +{ + "query": "SELECT * FROM my-index LIMIT 50" +} +\`\`\` + +#### Table +| a1 | b1 | c1 | d1 | +|----|----|----|----| +| a2 | b2 | c2 | d2 | +| a3 | b3 | c3 | d3 | +` + +export const SQL_QUERY_TEXT = `%sql +select * from opensearch_dashboards_sample_data_flights limit 20 +` + +export const PPL_QUERY_TEXT = `%ppl +source=opensearch_dashboards_sample_data_flights +` + +// event analytics +export const TEST_QUERIES = [ + { + query: 'source = opensearch_dashboards_sample_data_flights' + }, + { + query: 'source = opensearch_dashboards_sample_data_flights | stats avg(FlightDelayMin) by Carrier' + }, + { + query: 'source = opensearch_dashboards_sample_data_logs' + }, +]; + +export const TESTING_PANEL = 'Mock Testing Panels'; +export const SAVE_QUERY1 = 'Mock Flight Events Overview'; +export const SAVE_QUERY2 = 'Mock Flight count by destination'; +export const SAVE_QUERY3 = 'Mock Flight count by destination save to panel'; +export const SAVE_QUERY4 = 'Mock Flight peek'; + +export const supressResizeObserverIssue = () => { + // 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; + }); +}; \ No newline at end of file diff --git a/.cypress/utils/otel-v1-apm-service-map-mappings.json b/.cypress/utils/otel-v1-apm-service-map-mappings.json new file mode 100644 index 000000000..cd578eed4 --- /dev/null +++ b/.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/.cypress/utils/otel-v1-apm-service-map.json b/.cypress/utils/otel-v1-apm-service-map.json new file mode 100644 index 000000000..72a701402 --- /dev/null +++ b/.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/.cypress/utils/otel-v1-apm-span-000001-mappings.json b/.cypress/utils/otel-v1-apm-span-000001-mappings.json new file mode 100644 index 000000000..1288c0f63 --- /dev/null +++ b/.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/.cypress/utils/otel-v1-apm-span-000001.json b/.cypress/utils/otel-v1-apm-span-000001.json new file mode 100644 index 000000000..1c6fcbbf7 --- /dev/null +++ b/.cypress/utils/otel-v1-apm-span-000001.json @@ -0,0 +1,1000 @@ +{"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} diff --git a/.cypress/utils/otel-v1-apm-span-000002.json b/.cypress/utils/otel-v1-apm-span-000002.json new file mode 100644 index 000000000..9166e0e68 --- /dev/null +++ b/.cypress/utils/otel-v1-apm-span-000002.json @@ -0,0 +1,968 @@ +{"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/.cypress/utils/panel_constants.js b/.cypress/utils/panel_constants.js new file mode 100644 index 000000000..987d1dc3c --- /dev/null +++ b/.cypress/utils/panel_constants.js @@ -0,0 +1,36 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +export const delay = 1300; + +export const TEST_PANEL = 'Test Panel'; +export const SAMPLE_PANEL = '[Logs] Web traffic Panel'; + +export const SAMPLE_VISUALIZATIONS_NAMES = [ + '[Logs] Average ram usage by operating systems', + '[Logs] Average ram usage per day by apple os', + '[Logs] Average ram usage per day by windows os', + '[Logs] Daily count for error response codes', + '[Logs] Count requests from US to CN, IN and JP', + '[Logs] Max and average bytes by host', + '[Logs] Count total requests by tags', + '[Logs] Daily average bytes', +]; + +export const PPL_VISUALIZATIONS = [ + 'source = opensearch_dashboards_sample_data_flights | stats count() by Dest', + 'source = opensearch_dashboards_sample_data_flights | stats avg(FlightDelayMin) by Carrier', + 'source = opensearch_dashboards_sample_data_flights | stats max( DistanceKilometers ) by DestCityName', +]; + +export const PPL_VISUALIZATIONS_NAMES = [ + 'Flight count by destination', + 'Average flight delay minutes', + 'Max distance by destination city', +]; + +export const NEW_VISUALIZATION_NAME = 'Flight count by destination airport'; + +export const PPL_FILTER = "where Carrier = 'OpenSearch-Air' | where Dest = 'Munich Airport'"; diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 000000000..4d8297eb3 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,14 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +module.exports = { + root: true, + extends: [ + '@elastic/eslint-config-kibana', + 'plugin:@elastic/eui/recommended', + 'plugin:react-hooks/recommended', + ], +}; + diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 000000000..a2f03f8c3 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# This should match the owning team set up in https://github.com/orgs/opensearch-project/teams +* @opensearch-project/trace-analytics \ No newline at end of file diff --git a/.github/draft-release-notes-config.yml b/.github/draft-release-notes-config.yml new file mode 100644 index 000000000..371f1b065 --- /dev/null +++ b/.github/draft-release-notes-config.yml @@ -0,0 +1,45 @@ +# The overall template of the release notes +template: | + Compatible with OpenSearch and OpenSearch Dashboards Version $RESOLVED_VERSION + $CHANGES + +# Setting the formatting and sorting for the release notes body +name-template: Version $RESOLVED_VERSION +change-template: "* $TITLE ([#$NUMBER](https://github.com/opensearch-project/observability/pull/$NUMBER))" +sort-by: merged_at +sort-direction: ascending +replacers: + - search: '##' + replace: '###' + +# Organizing the tagged PRs into unified categories +categories: + - title: 'Breaking Changes' + labels: + - 'Breaking Changes' + - title: 'Features' + labels: + - 'feature' + - title: 'Enhancements' + labels: + - 'enhancement' + - title: 'Bug Fixes' + labels: + - 'bug' + - title: 'Infrastructure' + labels: + - 'infra' + - 'test' + - 'dependencies' + - 'github actions' + - title: 'Documentation' + labels: + - 'documentation' + - title: 'Maintenance' + labels: + - "version compatibility" + - "maintenance" + - title: 'Refactoring' + labels: + - 'refactor' + - 'code quality' diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml new file mode 100644 index 000000000..e47d8d88c --- /dev/null +++ b/.github/workflows/backport.yml @@ -0,0 +1,28 @@ +name: Backport +on: + pull_request_target: + types: + - closed + - labeled + +jobs: + backport: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + name: Backport + steps: + - name: GitHub App token + id: github_app_token + uses: tibdex/github-app-token@v1.5.0 + with: + app_id: ${{ secrets.APP_ID }} + private_key: ${{ secrets.APP_PRIVATE_KEY }} + installation_id: 22958780 + + - name: Backport + uses: VachaShah/backport@v1.1.4 + with: + github_token: ${{ steps.github_app_token.outputs.token }} + branch_name: backport/backport-${{ github.event.number }} diff --git a/.github/workflows/test-and-build-workflow.yml b/.github/workflows/dashboards-observability-test-and-build-workflow.yml similarity index 65% rename from .github/workflows/test-and-build-workflow.yml rename to .github/workflows/dashboards-observability-test-and-build-workflow.yml index d37b5145f..7de3170c0 100644 --- a/.github/workflows/test-and-build-workflow.yml +++ b/.github/workflows/dashboards-observability-test-and-build-workflow.yml @@ -1,12 +1,12 @@ -name: Test and Build Trace Analytics +name: Test and Build Observability Dashboards Plugin on: [pull_request, push] env: - PLUGIN_NAME: trace-analytics-dashboards - OPENSEARCH_VERSION: '1.0' - OPENSEARCH_PLUGIN_VERSION: 1.0.0.0 + PLUGIN_NAME: dashboards-observability + OPENSEARCH_VERSION: '1.3' + OPENSEARCH_PLUGIN_VERSION: 1.3.4.0 jobs: @@ -15,6 +15,9 @@ jobs: runs-on: ubuntu-latest steps: + - name: Checkout Plugin + uses: actions/checkout@v1 + - name: Checkout OpenSearch Dashboards uses: actions/checkout@v2 with: @@ -40,36 +43,36 @@ jobs: echo "Installing yarn ${{ steps.versions_step.outputs.yarn_version }}" npm i -g yarn@${{ steps.versions_step.outputs.yarn_version }} - - name: Checkout Plugin - uses: actions/checkout@v2 - with: - path: OpenSearch-Dashboards/plugins/trace-analytics + - name: Move Observability to Plugins Dir + run: mv dashboards-observability OpenSearch-Dashboards/plugins/dashboards-observability - name: Plugin Bootstrap run: | - cd OpenSearch-Dashboards/plugins/trace-analytics + cd OpenSearch-Dashboards/plugins/dashboards-observability yarn osd bootstrap - - name: Test + - name: Test all dashboards-observability modules run: | - cd OpenSearch-Dashboards/plugins/trace-analytics + cd OpenSearch-Dashboards/plugins/dashboards-observability yarn test --coverage - name: Upload coverage uses: codecov/codecov-action@v1 with: + flags: dashboards-observability + directory: ./OpenSearch-Dashboards/plugins/dashboards-observability token: ${{ secrets.CODECOV_TOKEN }} - direcotry: ./OpenSearch-Dashboards/plugins/trace-analytics + # TODO remove hard coded version when observability is ready - name: Build Artifact run: | - cd OpenSearch-Dashboards/plugins/trace-analytics + cd OpenSearch-Dashboards/plugins/dashboards-observability yarn build mv ./build/*.zip ./build/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}.zip - name: Upload Artifact uses: actions/upload-artifact@v1 with: - name: trace-analytics - path: ./OpenSearch-Dashboards/plugins/trace-analytics/build + name: dashboards-observability + path: ./OpenSearch-Dashboards/plugins/dashboards-observability/build diff --git a/.github/workflows/dco.yml b/.github/workflows/dco.yml new file mode 100644 index 000000000..cf30ea89d --- /dev/null +++ b/.github/workflows/dco.yml @@ -0,0 +1,18 @@ +name: Developer Certificate of Origin Check + +on: [pull_request] + +jobs: + check: + runs-on: ubuntu-latest + + steps: + - name: Get PR Commits + id: 'get-pr-commits' + uses: tim-actions/get-pr-commits@v1.1.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + - name: DCO Check + uses: tim-actions/dco@v1.1.0 + with: + commits: ${{ steps.get-pr-commits.outputs.commits }} diff --git a/.github/workflows/delete_backport_branch.yml b/.github/workflows/delete_backport_branch.yml new file mode 100644 index 000000000..387a124b8 --- /dev/null +++ b/.github/workflows/delete_backport_branch.yml @@ -0,0 +1,15 @@ +name: Delete merged branch of the backport PRs +on: + pull_request: + types: + - closed + +jobs: + delete-branch: + runs-on: ubuntu-latest + if: startsWith(github.event.pull_request.head.ref,'backport/') + steps: + - name: Delete merged branch + uses: SvanBoxel/delete-merged-branch@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/draft-release-notes-workflow.yml b/.github/workflows/draft-release-notes-workflow.yml new file mode 100644 index 000000000..2c4567d39 --- /dev/null +++ b/.github/workflows/draft-release-notes-workflow.yml @@ -0,0 +1,21 @@ +name: Release Drafter + +on: + push: + branches: + - main + +jobs: + update_release_draft: + name: Update draft release notes + runs-on: ubuntu-latest + steps: + # Drafts your next Release notes as Pull Requests are merged into "main" + - name: Update draft release notes + uses: release-drafter/release-drafter@v5 + with: + config-name: draft-release-notes-config.yml + tag: (None) + version: x.x.0.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/link-checker.yml b/.github/workflows/link-checker.yml index 5e6fd3942..ed4ce699e 100644 --- a/.github/workflows/link-checker.yml +++ b/.github/workflows/link-checker.yml @@ -16,7 +16,7 @@ jobs: id: lychee uses: lycheeverse/lychee-action@master with: - args: --accept=200,403,429 "**/*.html" "**/*.md" "**/*.txt" + args: --accept=200,403,429 "./**/*.html" "./**/*.md" "./**/*.txt" env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Fail if there were link errors diff --git a/.github/workflows/opensearch-observability-test-and-build-workflow.yml b/.github/workflows/opensearch-observability-test-and-build-workflow.yml new file mode 100644 index 000000000..3b3c62f67 --- /dev/null +++ b/.github/workflows/opensearch-observability-test-and-build-workflow.yml @@ -0,0 +1,56 @@ +name: Test and Build OpenSearch Observability Backend Plugin + +on: [pull_request, push] + +env: + OPENSEARCH_VERSION: '1.3.2-SNAPSHOT' + OPENSEARCH_BRANCH: '1.3' + COMMON_UTILS_BRANCH: 'main' + +jobs: + build: + strategy: + matrix: + java: + - 8 + - 11 + - 14 + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + + - name: Set up JDK ${{ matrix.java }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + + - name: Run Backwards Compatibility Tests + run: | + cd opensearch-observability + echo "Running backwards compatibility tests ..." + ./gradlew bwcTestSuite -Dtests.security.manager=false + + - name: Build with Gradle + run: | + cd opensearch-observability + ./gradlew build -Dopensearch.version=${{ env.OPENSEARCH_VERSION }} + + - name: Upload coverage + uses: codecov/codecov-action@v1 + with: + flags: opensearch-observability + directory: opensearch-observability/ + token: ${{ secrets.CODECOV_TOKEN }} + + - name: Create Artifact Path + run: | + mkdir -p opensearch-observability-builds + cp -r ./opensearch-observability/build/distributions/*.zip opensearch-observability-builds/ + + - name: Upload Artifacts + uses: actions/upload-artifact@v1 + with: + name: opensearch-observability + path: opensearch-observability-builds diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml deleted file mode 100644 index 622384075..000000000 --- a/.github/workflows/release-workflow.yml +++ /dev/null @@ -1,58 +0,0 @@ - -name: Release Trace Analytics Artifacts - -on: - push: - tags: - - 'v*' - -env: - PLUGIN_NAME: trace-analytics-dashboards - OPENSEARCH_VERSION: '1.0' - OPENSEARCH_PLUGIN_VERSION: 1.0.0.0 - -jobs: - - build: - - runs-on: ubuntu-latest - - steps: - - - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@v1 - with: - aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} - aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - aws-region: us-east-1 - - - name: Checkout OpenSearch Dashboards - uses: actions/checkout@v1 - with: - repository: opensearch-project/Opensearch-Dashboards - ref: ${{ env.OPENSEARCH_VERSION }} - path: OpenSearch-Dashboards - - - name: Checkout Plugin - uses: actions/checkout@v1 - with: - path: OpenSearch-Dashboards/plugins/trace-analytics - - - name: Setup Node - uses: actions/setup-node@v1 - with: - node-version: '10.23.1' - - - name: Plugin Bootstrap - run: | - yarn osd bootstrap - - - name: Build Artifact - run: | - yarn build - mv ./build/*.zip ./build/${{ env.PLUGIN_NAME }}-${{ env.OPENSEARCH_PLUGIN_VERSION }}.zip - artifact=`ls ./build/*.zip` - - # TODO change to new bucket - aws s3 cp $artifact s3://artifacts.opendistroforelasticsearch.amazon.com/downloads/kibana-plugins/opendistro-trace-analytics/ - aws cloudfront create-invalidation --distribution-id ${{ secrets.DISTRIBUTION_ID }} --paths "/downloads/*" diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000..c0fc79791 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +node_modules/ +target/ +build/ +coverage/ +.cypress/screenshots +.cypress/videos diff --git a/common/constants/application_analytics.ts b/common/constants/application_analytics.ts new file mode 100644 index 000000000..df675a704 --- /dev/null +++ b/common/constants/application_analytics.ts @@ -0,0 +1,19 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +export const TAB_OVERVIEW_ID = 'app-analytics-overview'; +export const TAB_SERVICE_ID = 'app-analytics-service'; +export const TAB_TRACE_ID = 'app-analytics-trace'; +export const TAB_LOG_ID = 'app-analytics-log'; +export const TAB_PANEL_ID = 'app-analytics-panel'; +export const TAB_CONFIG_ID = 'app-analytics-config'; +export const TAB_OVERVIEW_TITLE = 'Overview'; +export const TAB_SERVICE_TITLE = 'Services'; +export const TAB_TRACE_TITLE = 'Traces & Spans'; +export const TAB_LOG_TITLE = 'Log Events'; +export const TAB_PANEL_TITLE = 'Panel'; +export const TAB_CONFIG_TITLE = 'Configuration'; + +export const APP_ANALYTICS_API_PREFIX = '/api/observability/application'; diff --git a/common/constants/autocomplete.ts b/common/constants/autocomplete.ts new file mode 100644 index 000000000..b8c1c41b9 --- /dev/null +++ b/common/constants/autocomplete.ts @@ -0,0 +1,202 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ +/* eslint-disable prettier/prettier */ + +import { BaseItem } from '@algolia/autocomplete-core'; + +export const firstCommand = [{ label: 'source' }]; + +export const pipeCommands = [ + { label: 'dedup' }, + { label: 'eval' }, + { label: 'fields' }, + { label: 'head' }, + { label: 'parse' }, + { label: 'rare' }, + { label: 'rename' }, + { label: 'sort' }, + { label: 'stats' }, + { label: 'top' }, + { label: 'where' }, +]; + +export const statsCommands = [ + { label: 'count()' }, + { label: 'sum(' }, + { label: 'avg(' }, + { label: 'max(' }, + { label: 'min(' }, + { label: 'var_samp(' }, + { label: 'var_pop(' }, + { label: 'stddev_samp(' }, + { label: 'stddev_pop(' }, +]; + +export const numberTypes = [ + 'long', + 'integer', + 'short', + 'byte', + 'double', + 'float', + 'half_float', + 'scaled_float', + 'unsigned_long', +]; + +export interface AutocompleteItem extends BaseItem { + input: string; + itemName: string; + label: string; + suggestion: string; + __autocomplete_id?: number; +} + +export interface FieldItem { + label: string; + type: string; +} + +export interface IndexItem { + label: string; +} + +export interface DataItem { + label: string; + doc_count: any; +} + +const JUST_SEARCH_REGEX = /\s*(search\s+source|source|index)\s*=\s*[^\\\/\?\"\<\>\|\s\,\#]*(\s*,\s*[^\\\/\?\"\<\>\|\s\,\#]+)*/; +const SEARCH_WHERE_REGEX = /\s*(search\s+source|source|index)\s*=\s*[^\\\/\?\"\<\>\|\s\,\#]*(\s*,\s*[^\\\/\?\"\<\>\|\s\,\#]+)*\s*\|\s*where\s+\S+\s*=\s*\S+/; +const SEARCH_MATCH_REGEX = /\s*(search\s+source|source|index)\s*=\s*[^\\\/\?\"\<\>\|\s\,\#]*(\s*,\s*[^\\\/\?\"\<\>\|\s\,\#]+)*\s*\|\s*where\s+match\(\S+,\s*\S+\)/; +export const EMPTY_REGEX = /^\s*\S*$/; +export const FIELD_AFTER_COMMAND = /^\s*(dedup|eval|rare|top|rename|where\s+match\()\s+\S*$/; + +// Regex for where command +export const MATCH_FIELD_AFTER_WHERE = /^\s*where\s+\S*$/; +export const EQUAL_AFTER_WHERE_FIELD = /^\s*where\s+(\S+)\s+$/; +export const DATA_AFTER_WHERE_EQUAL = /^\s*where\s+\S+\s*=\s*(("(\w|\s|')*)|(\d*\.?\d*)|\w*)$/; +export const PIPE_AFTER_WHERE = /^\s*where\s+\S+\s*=\s*(("(\w|\s|')+")|(\d+\.?\d*)|\w+)\s+$/; +export const COMMA_AFTER_FIELD = /^\s*where\s+match\(\s*([^\s,]+)\s*$/; +export const DATA_AFTER_COMMA = /^\s*where\s+match\(\s*\S+\s*,\s*(("(\w|\s|')*)|(\d*\.?\d*)|\w*)$/; +export const CLOSE_AFTER_DATA = /^\s*where\s+match\(\s*\S+\s*,\s*(("(\w|\s|')+")|(\d+\.?\d*)|\w+)\s+$/; +export const PIPE_AFTER_MATCH = /^\s*where\s+match\(\s*\S+\s*,\s*(("(\w|\s|')+")|(\d+\.?\d*)|\w+)\s*\)\s*$/; + +// Regex for dedup command +export const FIELD_IN_FIELD_LOOP = /^\s*dedup\s*\d*\s+\S+\s*(,\s*\S+\s*)*,\s*([^\s,]*)$/; +export const COMMA_PIPE_AFTER_FIELD = /^\s*dedup\s*\d*\s+\S+\s*(,\s*\S+\s*)*\s+$/; +export const PIPE_AFTER_KEEP_EMPTY = /^\s*dedup\s*\d*\s+\S+\s*(,\s*\S+\s*)*\s*keepempty=true\s+$/; +export const PIPE_AFTER_CONSECUTIVE = /^\s*dedup\s*\d*\s+\S+\s*(,\s*\S+\s*)*\s*consecutive=true\s+$/; + +// Regex for eval command +export const EQUAL_AFTER_EVAL_FIELD = /^\s*eval\s+(\S+)\s+$/; +export const FIELD_AFTER_EVAL_EQUAL = /^\s*eval\s+\S+\s*=\s*\S*$/; +export const MATH_AFTER_FIELD = /^\s*eval\s+\S+\s*=\s*\S+\s+$/; +export const PIPE_MATH_AFTER_EXPRESSIONS = /^\s*eval\s+(\S+\s*=\s*\S+(\s*(\+|\-|\*|\/)\s*\S+)+)+\s+$/; + +// Regex for fields command +export const PLUS_MINUS_FIELD_AFTER_FIELDS = /^\s*fields\s+\S*$/; +export const FIELD_AFTER_PLUS_MINUS = /^\s*fields\s+(\+|\-)\s*\S*$/; +export const COMMA_PIPE_AFTER_FIELDS = /^\s*fields\s+((\+|\-)\s+)?\S+\s*(,\s*\S+\s*)*\s+$/; +export const FIELD_IN_FIELDS_LOOP = /^\s*fields\s+((\+|\-)\s+)?\S+\s*(,\s*\S+\s*)*,\s*\S*$/; + +// Regex for rare/top command +export const COMMA_PIPE_BY_AFTER_FIELD = /^\s*(rare|top(\s+\d+)?)\s+\S+\s*(,\s*\S+\s*)*\s+\S*$/; +export const RARE_TOP_FIELD_LOOP = /^\s*(rare|top(\s+\d+)?)\s+\S+\s*(,\s*\S+\s*)*,\s*\S*$/; +export const FIELD_AFTER_BY = /^\s*(rare|top(\s+\d+)?)\s+\S+\s*(,\s*\S+\s*)*\s+by\s+\S*$/; +export const PIPE_AFTER_GROUP_BY = /^\s*(rare|top(\s+\d+)?)\s+\S+\s*(,\s*\S+\s*)*\s+by\s+\S+\s+$/; + +// Regex for rename command +export const AS_AFTER_FIELD = /^\s*rename\s+((,\s*)?\S+\s+as\s+\S+\s*)*\s*(,\s*)?\S+\s+\S*$/; +export const COMMA_PIPE_AFTER_RENAME_FIELD = /^\s*rename\s+((,\s*)?\S+\s+as\s+\S+\s*)+$/; +export const FIELD_AFTER_COMMA = /^\s*rename\s+((,\s*)?\S+\s+as\s+\S+\s*)+\s*,\s+\S*$/; + +// Regex for head command +export const PIPE_AFTER_HEAD = /^\s*head\s+\d+\s+/; + +// Regex for sort command +export const PLUS_MINUS_FIELD_AFTER_SORT = /^\s*sort(\s+\d+)?\s+\S*$/; +export const FIELD_AFTER_PLUS_MINUS_SORT = /^\s*sort(\s+\d+)?((,\s*)?\s+(\+|\-)?\s*\S+\s*)*\s+(\+|\-)\s*\S*$/; +export const COMMA_PIPE_AFTER_SORT_FIELD = /^\s*sort(\s+\d+)?((,\s*)?\s+(\+|\-)?\s*\S+\s*)*\s+\S+\s+$/; +export const PLUS_MINUS_FIELD_IN_FIELDS_LOOP = /^\s*sort(\s+\d+)?((,\s*)?\s+(\+|\-)?\s*\S+\s*)*,\s+\S*$/; + +// Regex for stats command +export const FIELD_SPAN_AFTER_GROUP_BY = /^\s*stats\s+((,\s*)?((sum|avg|max|min|var_samp|var_pop|stddev_samp|stddev_pop)\(\s*\S+\s*\)\s*)|((,\s*)?count\(\)\s*))+\s+by\s+\S*$/; +export const NUM_FIELD_AFTER_AGGREGATION = /^\s*stats\s+((,\s*)?((sum|avg|max|min|var_samp|var_pop|stddev_samp|stddev_pop)\(\s*\S+\s*\)\s*)|((,\s*)?count\(\)\s*))*(,\s*)?(sum|avg|max|min|var_samp|var_pop|stddev_samp|stddev_pop)\(\s*\S*$/; +export const FIELD_AFTER_SPAN = /^\s*stats\s+((,\s*)?((sum|avg|max|min|var_samp|var_pop|stddev_samp|stddev_pop)\(\s*\S+\s*\)\s*)|((,\s*)?count\(\)\s*))+\s+by\s+span\(\s*([^\s,]*)\s*$/; +export const CLOSE_AFTER_SPAN = /^\s*stats\s+((,\s*)?((sum|avg|max|min|var_samp|var_pop|stddev_samp|stddev_pop)\(\s*\S+\s*\)\s*)|((,\s*)?count\(\)\s*))+\s+by\s+span\(\s*[^\s,]+\s*,\s*(("(\w|\s|')+")|(\d+\.?\d*)|\w+)\s+$/; +export const PIPE_AFTER_SPAN = /^\s*stats\s+((,\s*)?((sum|avg|max|min|var_samp|var_pop|stddev_samp|stddev_pop)\(\s*\S+\s*\)\s*)|((,\s*)?count\(\)\s*))+\s+by\s+span\(\s*[^\s,]+\s*,\s*(("(\w|\s|')*")|(\d*\.?\d*)|\w*)\s*\)\s*$/; +export const CLOSE_AFTER_FIELD = /^\s*stats\s+((,\s*)?((sum|avg|max|min|var_samp|var_pop|stddev_samp|stddev_pop)\(\s*\S+\s*\)\s*)|((,\s*)?count\(\)\s*))*(,\s*)?(sum|avg|max|min|var_samp|var_pop|stddev_samp|stddev_pop)\(\s*\S+\s+$/; +export const COMMA_PIPE_BY_AFTER_AGGREGATION = /^\s*stats\s+((,\s*)?((sum|avg|max|min|var_samp|var_pop|stddev_samp|stddev_pop)\(\s*\S+\s*\)\s*)|((,\s*)?count\(\)\s*))+\s+\S*$/; +export const PIPE_AFTER_STATS_GROUP_BY = /^\s*stats\s+((,\s*)?((sum|avg|max|min|var_samp|var_pop|stddev_samp|stddev_pop)\(\s*\S+\s*\)\s*)|((,\s*)?count\(\)\s*))+\s+by\s+\S+\s+$/; +export const AGGREGATION_FOR_STATS= /^\s*stats\s+(((,\s*)?((sum|avg|max|min|var_samp|var_pop|stddev_samp|stddev_pop)\(\s*\S+\s*\)\s*)|((,\s*)?count\(\)\s*))+\s+,\s*)?\S*$/; + +// Regex for parse command +export const STRING_FIELD_AFTER_PARSE = /^\s*parse\s+\S*$/; +export const PIPE_AFTER_PARSE = /^\s*parse\s+\S+\s+$/; + +// Regex for source command +export const EQUAL_AFTER_SOURCE = /^\s*source\s+$/; +export const INDEX_AFTER_EQUAL = /^\s*source\s+=\s+[^\\\/\?\"\<\>\|\s\,\#]*$/; +export const PIPE_COMMA_AFTER_INDEX = /^\s*source\s+=\s+[^\\\/\?\"\<\>\|\s\,\#]+(,[^\\\/\?\"\<\>\|\s\,\#]+)*\s+$/; +export const MORE_INDEX_AFTER_COMMA = /^\s*source\s+=\s+[^\\\/\?\"\<\>\|\s\,\#]+(,[^\\\/\?\"\<\>\|\s\,\#]+)*,\s*[^\\\/\?\"\<\>\|\s\,\#]*\s*$/; + +export const regexForSuggestion = [ + EMPTY_REGEX, + FIELD_AFTER_COMMAND, + MATCH_FIELD_AFTER_WHERE, + EQUAL_AFTER_WHERE_FIELD, + DATA_AFTER_WHERE_EQUAL, + PIPE_AFTER_WHERE, + COMMA_AFTER_FIELD, + DATA_AFTER_COMMA, + CLOSE_AFTER_DATA, + PIPE_AFTER_MATCH, + FIELD_IN_FIELD_LOOP, + COMMA_PIPE_AFTER_FIELD, + PIPE_AFTER_KEEP_EMPTY, + PIPE_AFTER_CONSECUTIVE, + EQUAL_AFTER_EVAL_FIELD, + FIELD_AFTER_EVAL_EQUAL, + MATH_AFTER_FIELD, + PIPE_MATH_AFTER_EXPRESSIONS, + PLUS_MINUS_FIELD_AFTER_FIELDS, + FIELD_AFTER_PLUS_MINUS, + COMMA_PIPE_AFTER_FIELDS, + FIELD_IN_FIELDS_LOOP, + COMMA_PIPE_BY_AFTER_FIELD, + RARE_TOP_FIELD_LOOP, + FIELD_AFTER_BY, + PIPE_AFTER_GROUP_BY, + COMMA_PIPE_AFTER_RENAME_FIELD, + FIELD_AFTER_COMMA, + AS_AFTER_FIELD, + PIPE_AFTER_HEAD, + PLUS_MINUS_FIELD_AFTER_SORT, + FIELD_AFTER_PLUS_MINUS_SORT, + PLUS_MINUS_FIELD_IN_FIELDS_LOOP, + COMMA_PIPE_AFTER_SORT_FIELD, + FIELD_SPAN_AFTER_GROUP_BY, + NUM_FIELD_AFTER_AGGREGATION, + FIELD_AFTER_SPAN, + CLOSE_AFTER_SPAN, + PIPE_AFTER_SPAN, + CLOSE_AFTER_FIELD, + COMMA_PIPE_BY_AFTER_AGGREGATION, + PIPE_AFTER_STATS_GROUP_BY, + AGGREGATION_FOR_STATS, + STRING_FIELD_AFTER_PARSE, + PIPE_AFTER_PARSE, + EQUAL_AFTER_SOURCE, + INDEX_AFTER_EQUAL, + PIPE_COMMA_AFTER_INDEX, + MORE_INDEX_AFTER_COMMA, +]; + +export const regexForIndex = [ + JUST_SEARCH_REGEX, + SEARCH_WHERE_REGEX, + SEARCH_MATCH_REGEX, +]; diff --git a/common/constants/custom_panels.ts b/common/constants/custom_panels.ts new file mode 100644 index 000000000..0c02b97a2 --- /dev/null +++ b/common/constants/custom_panels.ts @@ -0,0 +1,8 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +export const CUSTOM_PANELS_API_PREFIX = '/api/observability/operational_panels'; +export const CUSTOM_PANELS_DOCUMENTATION_URL = 'https://opensearch.org/docs/latest/observability-plugin/operational-panels/'; +export const CREATE_PANEL_MESSAGE = 'Enter a name to describe the purpose of this custom panel.'; diff --git a/common/constants/explorer.ts b/common/constants/explorer.ts new file mode 100644 index 000000000..fbe09f13b --- /dev/null +++ b/common/constants/explorer.ts @@ -0,0 +1,79 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +export const EVENT_ANALYTICS_DOCUMENTATION_URL = + 'https://opensearch.org/docs/latest/observability-plugin/event-analytics/'; +export const OPEN_TELEMETRY_LOG_CORRELATION_LINK = + 'https://opentelemetry.io/docs/reference/specification/logs/overview/#log-correlation'; +export const RAW_QUERY = 'rawQuery'; +export const FINAL_QUERY = 'finalQuery'; +export const SELECTED_DATE_RANGE = 'selectedDateRange'; +export const INDEX = 'index'; +export const SELECTED_TIMESTAMP = 'selectedTimestamp'; +export const SELECTED_FIELDS = 'selectedFields'; +export const UNSELECTED_FIELDS = 'unselectedFields'; +export const AVAILABLE_FIELDS = 'availableFields'; +export const QUERIED_FIELDS = 'queriedFields'; +export const TAB_ID_TXT_PFX = 'query-panel-'; +export const TAB_TITLE = 'New query'; +export const TAB_CHART_TITLE = 'Visualizations'; +export const TAB_EVENT_TITLE = 'Events'; +export const TAB_EVENT_ID_TXT_PFX = 'main-content-events-'; +export const TAB_CHART_ID_TXT_PFX = 'main-content-vis-'; +export const TAB_EVENT_ID = 'main-content-events'; +export const TAB_CHART_ID = 'main-content-vis'; +export const HAS_SAVED_TIMESTAMP = 'hasSavedTimestamp'; +export const FILTER_OPTIONS = ['Visualization', 'Query']; +export const SAVED_QUERY = 'savedQuery'; +export const SAVED_VISUALIZATION = 'savedVisualization'; +export const SAVED_OBJECT_ID = 'savedObjectId'; +export const SAVED_OBJECT_TYPE = 'objectType'; +export const TAB_CREATED_TYPE = 'tabCreatedType'; +export const NEW_TAB = 'newTab'; +export const REDIRECT_TAB = 'redirect_tab'; +export const PAGE_SIZE = 50; +export const DEFAULT_COLUMNS = ['', 'Time', '_source']; +export const OTEL_TRACE_ID = 'traceId'; +export const DATE_PICKER_FORMAT = 'YYYY-MM-DD HH:mm:ss'; +export const TIME_INTERVAL_OPTIONS = [ + { + text: 'Minute', + value: 'm', + }, + { + text: 'Hour', + value: 'h', + }, + { + text: 'Day', + value: 'd', + }, + { + text: 'Week', + value: 'w', + }, + { + text: 'Month', + value: 'M', + }, + { + text: 'Year', + value: 'y', + }, +]; + +// redux +export const SELECTED_QUERY_TAB = 'selectedQueryTab'; +export const QUERY_TAB_IDS = 'queryTabIds'; +export const NEW_SELECTED_QUERY_TAB = 'newSelectedQueryTab'; +export const REDUX_EXPL_SLICE_QUERIES = 'queries'; +export const REDUX_EXPL_SLICE_QUERY_RESULT = 'queryResults'; +export const REDUX_EXPL_SLICE_FIELDS = 'fields'; +export const REDUX_EXPL_SLICE_QUERY_TABS = 'queryTabs'; +export const REDUX_EXPL_SLICE_VISUALIZATION = 'explorerVisualization'; +export const REDUX_EXPL_SLICE_COUNT_DISTRIBUTION = 'countDistributionVisualization'; +export const PLOTLY_GAUGE_COLUMN_NUMBER = 5; +export const APP_ANALYTICS_TAB_ID_REGEX = /application-analytics-tab.+/; +export const DEFAULT_AVAILABILITY_QUERY = 'stats count() by span( timestamp, 1h )'; diff --git a/common/constants/notebooks.ts b/common/constants/notebooks.ts new file mode 100644 index 000000000..c3140792c --- /dev/null +++ b/common/constants/notebooks.ts @@ -0,0 +1,23 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +export const NOTEBOOKS_API_PREFIX = '/api/observability/notebooks'; +export const NOTEBOOKS_SELECTED_BACKEND = 'DEFAULT'; // ZEPPELIN || DEFAULT +export const NOTEBOOKS_FETCH_SIZE = 1000; +export const CREATE_NOTE_MESSAGE = 'Enter a name to describe the purpose of this notebook.'; +export const NOTEBOOKS_DOCUMENTATION_URL = 'https://opensearch.org/docs/latest/observability-plugin/notebooks/'; + +export const zeppelinURL = 'http://localhost:8080'; + +export const wreckOptions = { + baseUrl: zeppelinURL, + headers: { 'Content-Type': 'application/json' }, +}; + +const BASE_NOTEBOOKS_URI = '/_plugins/_notebooks'; +export const OPENSEARCH_NOTEBOOKS_API = { + GET_NOTEBOOKS: `${BASE_NOTEBOOKS_URI}/notebooks`, + NOTEBOOK: `${BASE_NOTEBOOKS_URI}/notebook`, +}; diff --git a/common/constants/shared.ts b/common/constants/shared.ts new file mode 100644 index 000000000..19c0fb8fd --- /dev/null +++ b/common/constants/shared.ts @@ -0,0 +1,127 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +import CSS from 'csstype'; + +// Client route +export const PPL_BASE = '/api/ppl'; +export const PPL_SEARCH = '/search'; +export const DSL_BASE = '/api/dsl'; +export const DSL_SEARCH = '/search'; +export const DSL_CAT = '/cat.indices'; +export const DSL_MAPPING = '/indices.getFieldMapping'; +export const OBSERVABILITY_BASE = '/api/observability'; +export const EVENT_ANALYTICS = '/event_analytics'; +export const SAVED_OBJECTS = '/saved_objects'; +export const SAVED_QUERY = '/query'; +export const SAVED_VISUALIZATION = '/vis'; + +// Server route +export const PPL_ENDPOINT = '/_plugins/_ppl'; +export const SQL_ENDPOINT = '/_plugins/_sql'; +export const DSL_ENDPOINT = '/_plugins/_dsl'; + +export const observabilityID = 'observability-dashboards'; +export const observabilityTitle = 'Observability'; +export const observabilityPluginOrder = 6000; + +// Shared Constants +export const SQL_DOCUMENTATION_URL = 'https://opensearch.org/docs/latest/search-plugins/sql/index/'; +export const PPL_DOCUMENTATION_URL = + 'https://opensearch.org/docs/latest/observability-plugin/ppl/commands/'; +export const UI_DATE_FORMAT = 'MM/DD/YYYY hh:mm A'; +export const PPL_DATE_FORMAT = 'YYYY-MM-DD HH:mm:ss.SSSSSS'; +export const SPAN_REGEX = /span/; +export const PPL_SPAN_REGEX = /by\s*span/i; +export const PPL_STATS_REGEX = /\|\s*stats/i; +export const PPL_INDEX_INSERT_POINT_REGEX = /(search source|source|index)\s*=\s*([^|\s]+)(.*)/i; +export const PPL_INDEX_REGEX = /(search source|source|index)\s*=\s*([^|\s]+)/i; +export const PPL_NEWLINE_REGEX = /[\n\r]+/g; + +// Observability plugin URI +const BASE_OBSERVABILITY_URI = '/_plugins/_observability'; +export const OPENSEARCH_PANELS_API = { + OBJECT: `${BASE_OBSERVABILITY_URI}/object`, +}; + +// Saved Objects +export const SAVED_OBJECT = '/object'; + +// Color Constants +export const PLOTLY_COLOR = [ + '#3CA1C7', + '#8C55A3', + '#DB748A', + '#F2BE4B', + '#68CCC2', + '#2A7866', + '#843769', + '#374FB8', + '#BD6F26', + '#4C636F', +]; + +export const LONG_CHART_COLOR = PLOTLY_COLOR[1]; + +export const pageStyles: CSS.Properties = { + float: 'left', + width: '100%', + maxWidth: '1130px', +}; + +export const NUMERICAL_FIELDS = ['short', 'integer', 'long', 'float', 'double']; + +export const ENABLED_VIS_TYPES = ['bar', 'horizontal_bar', 'line', 'pie', 'heatmap', 'text']; + +//Live tail constants +export const LIVE_OPTIONS = [ + { + label:'5s', + startTime: 'now-5s', + delayTime: 5000, + }, + { + label:'10s', + startTime: 'now-10s', + delayTime: 10000, + }, + { + label:'30s', + startTime: 'now-30s', + delayTime: 30000, + }, + { + label:'1m', + startTime: 'now-1m', + delayTime: 60000, + }, + { + label:'5m', + startTime: 'now-5m', + delayTime: 60000 * 5, + }, + { + label:'15m', + startTime: 'now-15m', + delayTime: 60000 * 15, + }, + { + label:'30m', + startTime: 'now-30m', + delayTime: 60000 * 30, + }, + { + label:'1h', + startTime: 'now-1h', + delayTime: 60000 * 60, + }, + { + label:'2h', + startTime: 'now-2h', + delayTime: 60000 * 120, + }, +]; + +export const LIVE_END_TIME ='now'; \ No newline at end of file diff --git a/common/constants/trace_analytics.ts b/common/constants/trace_analytics.ts new file mode 100644 index 000000000..f480a25f6 --- /dev/null +++ b/common/constants/trace_analytics.ts @@ -0,0 +1,17 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +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://opensearch.org/docs/latest/observability-plugin/trace/index/'; + +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/common/types/application_analytics.ts b/common/types/application_analytics.ts new file mode 100644 index 000000000..11f42c236 --- /dev/null +++ b/common/types/application_analytics.ts @@ -0,0 +1,37 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +export interface OptionType { + label: string; +} + +export interface ApplicationType { + id: string; + dateCreated: string; + dateModified: string; + name: string; + description: string; + baseQuery: string; + servicesEntities: string[]; + traceGroups: string[]; + panelId: string; + availability: { name: string; color: string; availabilityVisId: string }; +} + +export interface ApplicationRequestType { + name: string; + description: string; + baseQuery: string; + servicesEntities: string[]; + traceGroups: string[]; + panelId: string; + availabilityVisId: string; +} + +export interface AvailabilityType { + name: string; + color: string; + availabilityVisId: string; +} diff --git a/common/types/custom_panels.ts b/common/types/custom_panels.ts new file mode 100644 index 000000000..e397b0607 --- /dev/null +++ b/common/types/custom_panels.ts @@ -0,0 +1,47 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +export interface CustomPanelListType { + name: string; + id: string; + dateCreated: number; + dateModified: number; + applicationId?: string; +} + +export interface VisualizationType { + id: string; + savedVisualizationId: string; + x: number; + y: number; + w: number; + h: number; +} + +export interface PanelType { + name: string; + visualizations: VisualizationType[]; + timeRange: { to: string; from: string }; + queryFilter: { query: string; language: string }; + applicationId?: string; +} + +export interface SavedVisualizationType { + id: string; + name: string; + query: string; + type: string; + selected_date_range: { start: string; end: string; text: string }; + timeField: string; + application_id?: string; + user_configs: any; +} + +export interface pplResponse { + data: any; + metadata: any; + size: number; + status: number; +} diff --git a/common/types/explorer.ts b/common/types/explorer.ts new file mode 100644 index 000000000..d43aba751 --- /dev/null +++ b/common/types/explorer.ts @@ -0,0 +1,229 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +import { History } from 'history'; +import Plotly from 'plotly.js-dist'; +import { + RAW_QUERY, + SELECTED_FIELDS, + UNSELECTED_FIELDS, + AVAILABLE_FIELDS, + QUERIED_FIELDS, + INDEX, + FINAL_QUERY, + SELECTED_TIMESTAMP, + SELECTED_DATE_RANGE, +} from '../constants/explorer'; +import { CoreStart, HttpStart, NotificationsStart } from '../../../../src/core/public'; +import SavedObjects from '../../public/services/saved_objects/event_analytics/saved_objects'; +import TimestampUtils from '../../public/services/timestamp/timestamp'; +import PPLService from '../../public/services/requests/ppl'; +import DSLService from '../../public/services/requests/dsl'; + +export interface IQueryTab { + id: string; + name: React.ReactNode | string; + content: React.ReactNode; +} + +export interface IField { + name: string; + type: string; +} + +export interface ITabQueryResults { + [tabId: string]: any; +} + +export interface ITabQueries { + [tabId: string]: IQuery; +} + +export interface IQuery { + [RAW_QUERY]: string; + [FINAL_QUERY]: string; + [INDEX]: string; + [SELECTED_DATE_RANGE]: string[]; + [SELECTED_TIMESTAMP]: string; +} + +export interface IExplorerTabFields { + [tabId: string]: IExplorerFields; +} + +export interface IExplorerFields { + [SELECTED_FIELDS]: IField[]; + [UNSELECTED_FIELDS]: IField[]; + [AVAILABLE_FIELDS]: IField[]; + [QUERIED_FIELDS]: IField[]; +} + +export interface EmptyTabParams { + tabIds: string[] | undefined; + queries: any | undefined; + explorerData: any | undefined; +} + +export interface ILogExplorerProps { + pplService: PPLService; + dslService: DSLService; + savedObjects: SavedObjects; + http: HttpStart; + history: History; + notifications: NotificationsStart; + timestampUtils: TimestampUtils; + setToast: ( + title: string, + color?: string, + text?: React.ReactChild | undefined, + side?: string | undefined + ) => void; + savedObjectId: string; + getExistingEmptyTab: (params: EmptyTabParams) => string; +} + +export interface IExplorerProps { + pplService: PPLService; + dslService: DSLService; + tabId: string; + savedObjects: SavedObjects; + timestampUtils: TimestampUtils; + history: History; + notifications: NotificationsStart; + savedObjectId: string; + curSelectedTabId: React.MutableRefObject; + setToast: ( + title: string, + color?: string, + text?: React.ReactChild | undefined, + side?: string | undefined + ) => void; + http: CoreStart['http']; + tabCreatedTypes?: any; + searchBarConfigs?: any; + appId?: string; + addVisualizationToPanel?: any; + startTime?: string; + endTime?: string; + setStartTime?: any; + setEndTime?: any; + appBaseQuery?: string; + callback?: any; + callbackInApp?: any; +} + +export interface SavedQuery { + description: string; + name: string; + query: string; + selected_date_range: { start: string; end: string; text: string }; + selected_fields: { text: string; tokens: [{ name: string; type: string }] }; + selected_timestamp: { name: string; type: string }; +} + +export interface SavedVisualization { + description: string; + name: string; + query: string; + selected_date_range: { start: string; end: string; text: string }; + selected_fields: { text: string; tokens: [] }; + selected_timestamp: { name: string; type: string }; + type: string; + application_id?: string; +} + +export interface SavedQueryRes { + createdTimeMs: number; + lastUpdatedTimeMs: number; + objectId: string; + savedQuery: SavedQuery; + tenant: string; +} + +export interface SavedVizRes { + createdTimeMs: number; + lastUpdatedTimeMs: number; + objectId: string; + savedVisualization: SavedVisualization; + tenant: string; +} + +export interface IVisualizationContainerPropsData { + appData?: { fromApp: boolean }; + rawVizData?: any; + query?: IQuery; + indexFields?: IField[]; + userConfigs?: any; + defaultAxes?: { + xaxis: IField[]; + yaxis: IField[]; + }; +} + +export interface IVisualizationContainerPropsVis { + vis: IVisualizationTypeDefination; +} + +export interface IConfigPanelTab { + id: string; + name: string; + mapTo: string; + editor: React.ReactNode; + sections: IConfigPanelOptions[]; + props?: any; +} + +export interface IConfigPanelOptions { + id: string; + name: string; + mapTo: string; + editor: React.ReactNode; + schemas: IConfigPanelOptionSection[]; +} + +export interface IConfigPanelOptionSection { + name: string; + component: null; + mapTo: 'mode'; + props?: any; + isSingleSelection?: boolean; +} + +export interface IVisualizationTypeDefination { + name: string; + type: string; + id: string; + label: string; + fullLabel: string; + category: string; + icon: React.ReactNode; + editorConfig: { + panelTabs: IConfigPanelTab; + }; + visConfig: { + layout: Partial; + config: Partial; + }; + component: React.ReactNode; +} + +export interface IVisualizationContainerProps { + data: IVisualizationContainerPropsData; + vis: IVisualizationContainerPropsVis; +} + +export interface IDefaultTimestampState { + hasSchemaConflict: boolean; + default_timestamp: string; + message: string; +} + +export interface LiveTailProps { + isLiveTailOn: boolean; + setIsLiveTailPopoverOpen: React.Dispatch>; + liveTailName: string; + isLiveTailPopoverOpen: boolean; + dataTestSubj: string; +} diff --git a/common/types/notebooks.ts b/common/types/notebooks.ts new file mode 100644 index 000000000..5c193ab5d --- /dev/null +++ b/common/types/notebooks.ts @@ -0,0 +1,53 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +import { RefObject } from 'react'; +import { DashboardStart } from "../../../../src/plugins/dashboard/public"; +import { NavigationPublicPluginStart } from "../../../../src/plugins/navigation/public"; + +export interface NotebooksPluginSetup { + getGreeting: () => string; +} +// eslint-disable-next-line @typescript-eslint/no-empty-interface +export interface NotebooksPluginStart {} + +export interface optionsType { + baseUrl: string; + payload?: any; + headers?: any; + redirects?: number; + beforeRedirect?: any; + redirected?: any; + timeout?: number; // default: unlimited + maxBytes?: number; // default: unlimited + rejectUnauthorized?: boolean; + secureProtocol?: string; // The SSL method to use + ciphers?: string; // The TLS ciphers to support +} + +export type ParaType = { + uniqueId: string; + isRunning: boolean; + inQueue: boolean; + isSelected: boolean; + isInputHidden: boolean; + isOutputHidden: boolean; + showAddPara: boolean; + isVizualisation: boolean; + vizObjectInput: string; + id: number; + inp: string; + lang: string; + editorLanguage: string; + typeOut: Array; + out: any[]; + isInputExpanded: boolean; + isOutputStale: boolean; + paraRef: RefObject; + paraDivRef: RefObject; + visStartTime?: string; + visEndTime?: string; + visSavedObjId?: string; +}; diff --git a/common/utils/index.ts b/common/utils/index.ts new file mode 100644 index 000000000..e5f765ccd --- /dev/null +++ b/common/utils/index.ts @@ -0,0 +1,7 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +export { getIndexPatternFromRawQuery, preprocessQuery, buildQuery } from './query_utils'; +export { uiSettingsService } from './settings_service'; diff --git a/common/utils/query_utils.ts b/common/utils/query_utils.ts new file mode 100644 index 000000000..985964d7b --- /dev/null +++ b/common/utils/query_utils.ts @@ -0,0 +1,68 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +import datemath from '@elastic/datemath'; +import { isEmpty } from 'lodash'; +import { DATE_PICKER_FORMAT } from '../../common/constants/explorer'; +import { + PPL_INDEX_INSERT_POINT_REGEX, + PPL_INDEX_REGEX, + PPL_NEWLINE_REGEX, +} from '../../common/constants/shared'; + +export const getIndexPatternFromRawQuery = (query: string): string => { + const matches = query.match(PPL_INDEX_REGEX); + if (matches) { + return matches[2]; + } + return ''; +}; + +// insert time filter command and additional commands based on raw query +export const preprocessQuery = ({ + rawQuery, + startTime, + endTime, + timeField, + isLiveQuery, +}: { + rawQuery: string; + startTime: string; + endTime: string; + timeField?: string; + isLiveQuery: boolean; +}) => { + let finalQuery = ''; + + if (isEmpty(rawQuery)) return finalQuery; + + // convert to moment + const start = datemath.parse(startTime)?.utc().format(DATE_PICKER_FORMAT); + const end = datemath.parse(endTime, { roundUp: true })?.utc().format(DATE_PICKER_FORMAT); + const tokens = rawQuery.replaceAll(PPL_NEWLINE_REGEX, '').match(PPL_INDEX_INSERT_POINT_REGEX); + + if (isEmpty(tokens)) return finalQuery; + + finalQuery = `${tokens![1]}=${ + tokens![2] + } | where ${timeField} >= '${start}' and ${timeField} <= '${end}'${tokens![3]}`; + if (isLiveQuery) { + finalQuery = finalQuery + ` | sort - ${timeField}`; + } + return finalQuery; +}; + +export const buildQuery = (baseQuery: string, currQuery: string) => { + let fullQuery: string; + if (baseQuery) { + fullQuery = baseQuery; + if (currQuery) { + fullQuery += '| ' + currQuery; + } + } else { + fullQuery = currQuery; + } + return fullQuery; +}; diff --git a/common/utils/settings_service.ts b/common/utils/settings_service.ts new file mode 100644 index 000000000..f22912127 --- /dev/null +++ b/common/utils/settings_service.ts @@ -0,0 +1,25 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +import { IUiSettingsClient, NotificationsStart, ToastInput } from '../../../../src/core/public'; + +let uiSettings: IUiSettingsClient; +let notifications: NotificationsStart; + +export const uiSettingsService = { + init: (client: IUiSettingsClient, notificationsStart: NotificationsStart) => { + uiSettings = client; + notifications = notificationsStart; + }, + get: (key: string, defaultOverride?: any) => { + return uiSettings?.get(key, defaultOverride) || ''; + }, + set: (key: string, value: any) => { + return uiSettings?.set(key, value) || Promise.reject("uiSettings client not initialized."); + }, + addToast: (toast: ToastInput) => { + return notifications.toasts.add(toast); + } +}; \ No newline at end of file diff --git a/cypress.json b/cypress.json new file mode 100644 index 000000000..5de5badf6 --- /dev/null +++ b/cypress.json @@ -0,0 +1,21 @@ +{ + "baseUrl": "http://localhost:5601", + "video": true, + "chromeWebSecurity": false, + "fixturesFolder": ".cypress/fixtures", + "integrationFolder": ".cypress/integration", + "pluginsFile": ".cypress/plugins/index.js", + "screenshotsFolder": ".cypress/screenshots", + "supportFile": ".cypress/support/index.js", + "videosFolder": ".cypress/videos", + "viewportWidth": 2000, + "viewportHeight": 1320, + "requestTimeout": 60000, + "responseTimeout": 60000, + "defaultCommandTimeout": 60000, + "env": { + "opensearch": "localhost:9200", + "opensearchDashboards": "localhost:5601", + "security_enabled": true + } +} diff --git a/opensearch-dashboards-plugin-helpers.dev.json b/opensearch-dashboards-plugin-helpers.dev.json new file mode 100644 index 000000000..23260a3b2 --- /dev/null +++ b/opensearch-dashboards-plugin-helpers.dev.json @@ -0,0 +1,9 @@ +{ + "serverSourcePatterns": [ + "package.json", + "yarn.lock", + "tsconfig.json", + "{common,public,server,test}/**/*", + "!__tests__" + ] +} diff --git a/opensearch_dashboards.json b/opensearch_dashboards.json new file mode 100644 index 000000000..93a15121e --- /dev/null +++ b/opensearch_dashboards.json @@ -0,0 +1,19 @@ +{ + "id": "observabilityDashboards", + "version": "1.3.4.0", + "opensearchDashboardsVersion": "1.3.4", + "server": true, + "ui": true, + "requiredPlugins": [ + "charts", + "data", + "embeddable", + "inspector", + "urlForwarding", + "navigation", + "uiActions", + "dashboard", + "visualizations", + "opensearchDashboardsReact" + ] +} diff --git a/package.json b/package.json new file mode 100644 index 000000000..d88a5ae5b --- /dev/null +++ b/package.json @@ -0,0 +1,44 @@ +{ + "name": "observability-dashboards", + "version": "1.3.4.0", + "main": "index.ts", + "license": "Apache-2.0", + "scripts": { + "osd": "node ../../scripts/osd", + "build": "yarn plugin_helpers build", + "test": "../../node_modules/.bin/jest --config ./test/jest.config.js", + "cypress:run": "TZ=America/Los_Angeles cypress run", + "cypress:open": "TZ=America/Los_Angeles cypress open", + "plugin_helpers": "node ../../scripts/plugin_helpers" + }, + "dependencies": { + "@algolia/autocomplete-core": "^1.4.1", + "@algolia/autocomplete-theme-classic": "^1.2.1", + "@nteract/outputs": "^3.0.11", + "@nteract/presentational-components": "^3.4.3", + "@reduxjs/toolkit": "^1.6.1", + "plotly.js-dist": "^2.2.0", + "react-graph-vis": "^1.0.5", + "react-plotly.js": "^2.5.1" + }, + "devDependencies": { + "@types/enzyme-adapter-react-16": "^1.0.6", + "@types/react-plotly.js": "^2.5.0", + "@types/react-test-renderer": "^16.9.1", + "@cypress/skip-test": "^2.6.1", + "cypress": "^5.0.0", + "enzyme-adapter-react-16": "^1.15.2", + "eslint": "^6.8.0", + "jest-dom": "^4.0.0", + "performance-now": "^2.1.0" + }, + "resolutions": { + "react-syntax-highlighter": "^15.4.3", + "prismjs": "^1.22.0", + "trim": "^1.0.0", + "lodash": "^4.17.21", + "glob-parent": "^6.0.1", + "ansi-regex": "^5.0.1", + "json-schema": "^0.4.0" + } +} diff --git a/public/components/app.tsx b/public/components/app.tsx new file mode 100644 index 000000000..36594b890 --- /dev/null +++ b/public/components/app.tsx @@ -0,0 +1,139 @@ +/* + * Copyright OpenSearch Contributors + * SPDX-License-Identifier: Apache-2.0 + */ + +import { I18nProvider } from '@osd/i18n/react'; +import React from 'react'; +import { Provider } from 'react-redux'; +import { HashRouter, Route, Switch } from 'react-router-dom'; +import { CoreStart } from '../../../../src/core/public'; +import { observabilityID, observabilityTitle } from '../../common/constants/shared'; +import store from '../framework/redux/store'; +import { AppPluginStartDependencies } from '../types'; +import { Home as ApplicationAnalyticsHome } from './application_analytics/home'; +import { Home as CustomPanelsHome } from './custom_panels/home'; +import { EventAnalytics } from './explorer/event_analytics'; +import { Main as NotebooksHome } from './notebooks/components/main'; +import { Home as TraceAnalyticsHome } from './trace_analytics/home'; + +interface ObservabilityAppDeps { + CoreStartProp: CoreStart; + DepsStart: AppPluginStartDependencies; + pplService: any; + dslService: any; + savedObjects: any; + timestampUtils: any; +} + +export const App = ({ + CoreStartProp, + DepsStart, + pplService, + dslService, + savedObjects, + timestampUtils, +}: ObservabilityAppDeps) => { + const { chrome, http, notifications } = CoreStartProp; + const parentBreadcrumb = { + text: observabilityTitle, + href: `${observabilityID}#/`, + }; + + const customPanelBreadcrumb = { + text: 'Operational panels', + href: '#/operational_panels/', + }; + + return ( + + + + <> + + { + return ( + + ); + }} + /> + ( + + )} + /> + { + chrome.setBreadcrumbs([parentBreadcrumb, customPanelBreadcrumb]); + return ( + + ); + }} + /> + ( + + )} + /> + { + return ( + + ); + }} + /> + + + + + + ); +}; diff --git a/public/components/application_analytics/__tests__/__snapshots__/create.test.tsx.snap b/public/components/application_analytics/__tests__/__snapshots__/create.test.tsx.snap new file mode 100644 index 000000000..079cdc1b1 --- /dev/null +++ b/public/components/application_analytics/__tests__/__snapshots__/create.test.tsx.snap @@ -0,0 +1,18907 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Create Page can clear query 1`] = ` +Object { + "asFragment": [Function], + "baseElement": +