diff --git a/.babelrc b/.babelrc
new file mode 100644
index 0000000000..e21b3f2f2b
--- /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 0000000000..bba2db259d
--- /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 0000000000..39b207ff9b
--- /dev/null
+++ b/.cypress/integration/1_event_analytics.spec.js
@@ -0,0 +1,1021 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+///
+import {
+ delay,
+ TEST_QUERIES,
+ TESTING_PANEL,
+ SAVE_QUERY1,
+ SAVE_QUERY2,
+ SAVE_QUERY3,
+ SAVE_QUERY4,
+ querySearch,
+ YEAR_TO_DATE_DOM_ID,
+ landOnEventHome,
+ landOnEventExplorer,
+ landOnEventVisualizations,
+ landOnPanels,
+ renderPieChart,
+ renderLineChartForDataConfig,
+ renderDataConfig,
+ aggregationValues,
+ DataConfigLineChart,
+ renderGaugeChart,
+} from '../utils/event_analytics/constants';
+import { supressResizeObserverIssue, COMMAND_TIMEOUT_LONG } from '../utils/constants';
+import { clearQuerySearchBoxText } from '../utils/event_analytics/helpers';
+
+const renderHistogramChart = () => {
+ querySearch(TEST_QUERIES[5].query, TEST_QUERIES[5].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]')
+ .type('Histogram')
+ .type('{enter}');
+ cy.wait(delay);
+ cy.get('g.draglayer.cursor-crosshair').should('exist');
+ cy.get('#configPanel__panelOptions .euiFieldText').click().type('Histogram chart');
+ cy.get('.euiFlexItem .euiFormRow [placeholder="Description"]')
+ .click()
+ .type('This is the description for Histogram chart');
+ cy.get('.euiIEFlexWrapFix').eq(1).contains('Chart Styles').should('exist');
+ cy.get('.euiFormLabel.euiFormRow__label').eq(2).contains('Bucket Size');
+ cy.get('.euiFieldNumber').eq(0).type('4');
+ cy.get('.euiFormLabel.euiFormRow__label').eq(3).contains('Bucket Offset');
+ cy.get('.euiFieldNumber').eq(0).type('6');
+};
+
+const vis_name_sub_string = Math.floor(Math.random() * 100);
+
+const saveVisualizationAndVerify = () => {
+ cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click();
+ cy.get('[data-test-subj="eventExplorer__querySaveComboBox"]').click();
+ cy.get('.euiComboBoxOptionsList__rowWrap .euiFilterSelectItem').eq(0).click();
+ cy.get(
+ '.euiPopover__panel .euiFormControlLayoutIcons [data-test-subj="comboBoxToggleListButton"]'
+ )
+ .eq(0)
+ .click();
+ cy.get('.euiPopover__panel input')
+ .eq(1)
+ .type(`Test visualization` + vis_name_sub_string);
+ cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click();
+ cy.wait(delay);
+ cy.get('.euiHeaderBreadcrumbs a').eq(1).click();
+ cy.get('.euiFlexGroup .euiFormControlLayout__childrenWrapper input')
+ .eq(0)
+ .type(`Test visualization` + vis_name_sub_string)
+ .type('{enter}');
+ cy.get('.euiBasicTable .euiTableCellContent button').eq(0).click();
+};
+
+const deleteVisualization = () => {
+ cy.get('a[href = "#/event_analytics"]').click();
+ cy.get('.euiFlexGroup .euiFormControlLayout__childrenWrapper input')
+ .eq(0)
+ .type(`Test visualization`)
+ .type('{enter}');
+ cy.get('input[data-test-subj = "checkboxSelectAll"]').click();
+ cy.get('.euiButtonContent.euiButtonContent--iconRight.euiButton__content').click();
+ cy.get('.euiContextMenuItem .euiContextMenuItem__text').eq(0).click();
+ cy.get('input[placeholder = "delete"]').clear().type('delete');
+ cy.get('button[data-test-subj = "popoverModal__deleteButton"]').click();
+ cy.get('.euiToastHeader').should('exist');
+};
+
+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.get('.euiBreadcrumb[href="#/event_analytics/explorer"]').contains('Explorer').click();
+ cy.get('[data-test-subj="searchAutocompleteTextArea"]').should('exist');
+ cy.get('.euiBreadcrumb[href="#/event_analytics"]').contains('Event analytics').click();
+ cy.get('.euiTitle').contains('Event analytics').should('exist');
+ cy.get('.euiBreadcrumb[href="observability-dashboards#/"]').contains('Observability').click();
+ cy.get('.euiTitle').contains('Event analytics').should('exist');
+ });
+});
+
+describe('Search a query on event home', () => {
+ it('Search a query and redirect to explorer to display query output', () => {
+ landOnEventHome();
+
+ cy.get('[data-test-subj="searchAutocompleteTextArea"]').type(TEST_QUERIES[0].query);
+ cy.get('[data-test-subj="superDatePickerToggleQuickMenuButton"]').click();
+ cy.get('[data-test-subj="superDatePickerCommonlyUsed_Year_to date"]').click();
+ cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click();
+ cy.window()
+ .its('store')
+ .invoke('getState')
+ .then((state) => {
+ expect(Object.values(state.queries)[0]['rawQuery'].trim()).equal(TEST_QUERIES[0].query);
+ expect(Object.values(state.queries)[0]['selectedDateRange'][0]).equal('now/y');
+ expect(Object.values(state.queries)[0]['selectedDateRange'][1]).equal('now');
+ });
+
+ cy.url().should('contain', '#/event_analytics/explorer');
+ cy.get('[data-test-subj="searchAutocompleteTextArea"]').contains(TEST_QUERIES[0].query);
+ });
+});
+
+describe('Open flyout for a data row to see details', () => {
+ before(() => {
+ landOnEventExplorer();
+ clearQuerySearchBoxText('searchAutocompleteTextArea');
+ querySearch(TEST_QUERIES[0].query, TEST_QUERIES[0].dateRangeDOM);
+ });
+
+ it('Should be able to open flyout and see data, json and traces', () => {
+ cy.get('[data-test-subj="docTable"] tbody tr button.euiButtonIcon').first().click();
+ supressResizeObserverIssue();
+ cy.get('.observability-flyout').should('exist');
+ cy.get('.observability-flyout .osdDocViewer .euiTabs span.euiTab__content')
+ .contains('Table')
+ .should('be.visible');
+ cy.get('.observability-flyout .osdDocViewer .euiTabs span.euiTab__content')
+ .contains('JSON')
+ .should('be.visible');
+ cy.get('.observability-flyout .osdDocViewer .euiTabs span.euiTab__content')
+ .contains('Traces')
+ .should('be.visible');
+ });
+
+ it('Should be able to see srrounding docs', () => {
+ cy.get('.observability-flyout span.euiButton__text')
+ .contains('View surrounding events')
+ .should('be.visible')
+ .click();
+ cy.get('.observability-flyout #surroundingFyout')
+ .contains('View surrounding events')
+ .should('exist');
+ });
+});
+
+describe('Add/delete/switch explorer top level tabs', () => {
+ before(() => {
+ 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);
+ supressResizeObserverIssue();
+ 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('Click actions', () => {
+ beforeEach(() => {
+ landOnEventHome();
+ });
+
+ it('Actions - click event explorer', () => {
+ cy.get('[data-test-subj="eventHomeAction"]').click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="eventHomeAction__explorer"]').click();
+ cy.url().should('contain', '#/event_analytics/explorer');
+ });
+
+ it('Actions - add sample data', () => {
+ cy.get('[data-test-subj="eventHomeAction"]').click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="eventHomeAction__addSamples"]').click();
+ cy.get('[data-test-subj="confirmModalConfirmButton"]').click();
+ cy.wait(delay * 4);
+ 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 visualization on visualization tab of explorer page', () => {
+ landOnEventExplorer();
+ querySearch(TEST_QUERIES[1].query, TEST_QUERIES[1].dateRangeDOM);
+ 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"]')
+ .focus()
+ .type(SAVE_QUERY2, { force: true });
+
+ cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click();
+ cy.wait(delay * 2);
+ 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();
+ querySearch(TEST_QUERIES[1].query, TEST_QUERIES[1].dateRangeDOM);
+ supressResizeObserverIssue();
+ cy.get('button[id="main-content-vis"]', { timeout: COMMAND_TIMEOUT_LONG })
+ .contains('Visualizations')
+ .click();
+ cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click();
+ cy.get('[data-test-subj="eventExplorer__querySaveName"]')
+ .focus()
+ .type(SAVE_QUERY3, { force: true });
+ cy.get('[data-test-subj="eventExplorer__querySaveComboBox"]').type(TESTING_PANEL);
+ cy.get(`input[value="${TESTING_PANEL}"]`).click();
+ cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click({ force: true });
+ cy.wait(delay);
+ cy.get('.euiToastHeader__title').contains('successfully').should('exist');
+ });
+
+ it('Saves a query on event tab of explorer page', () => {
+ landOnEventExplorer();
+ querySearch(TEST_QUERIES[0].query, TEST_QUERIES[0].dateRangeDOM);
+
+ cy.get('.tab-title').contains('Events').click();
+ cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click();
+ cy.get('[data-test-subj="eventExplorer__querySaveName"]').type(SAVE_QUERY1);
+ cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click();
+ cy.wait(delay * 2);
+
+ cy.get('.euiToastHeader__title', { timeout: COMMAND_TIMEOUT_LONG })
+ .contains('successfully')
+ .should('exist');
+
+ landOnEventHome();
+
+ cy.get('[data-test-subj="eventHome__savedQueryTableName"]').first().contains(SAVE_QUERY1);
+ });
+
+ it('Click on a saved query from event analytics home', () => {
+ landOnEventExplorer();
+ querySearch(TEST_QUERIES[0].query, TEST_QUERIES[0].dateRangeDOM);
+
+ 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 * 2);
+ cy.get('.euiToastHeader__title', { timeout: COMMAND_TIMEOUT_LONG })
+ .contains('successfully')
+ .should('exist');
+
+ landOnEventHome();
+
+ cy.get('[data-test-subj="eventHome__savedQueryTableName"]')
+ .first()
+ .contains(SAVE_QUERY4)
+ .click();
+
+ cy.url().should('contain', '#/event_analytics/explorer');
+ cy.get('[data-test-subj="searchAutocompleteTextArea"]', {
+ timeout: COMMAND_TIMEOUT_LONG,
+ }).contains(TEST_QUERIES[0].query);
+ });
+});
+
+describe('Override timestamp for an index', () => {
+ it('Click override button to override default timestamp', () => {
+ landOnEventExplorer();
+ clearQuerySearchBoxText('searchAutocompleteTextArea');
+ 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, YEAR_TO_DATE_DOM_ID);
+ 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, YEAR_TO_DATE_DOM_ID);
+ 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.get('.euiButton__text').contains('Actions').click();
+ cy.get('.euiContextMenuItem__text').contains('Delete').click();
+ 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 Queries or Visualizations').should('exist');
+ });
+});
+
+describe('Click to view field insights', () => {
+ beforeEach(() => {
+ landOnEventExplorer();
+ querySearch(TEST_QUERIES[2].query, YEAR_TO_DATE_DOM_ID);
+ });
+
+ it('Click a numerical field to view field insights', () => {
+ cy.get('[data-test-subj="field-bytes-showDetails"]').click();
+ cy.get('[data-test-subj="sidebarField__fieldInsights"] button')
+ .contains('Top values')
+ .should('exist');
+ cy.get('[data-test-subj="sidebarField__fieldInsights"] button')
+ .contains('Rare values')
+ .should('exist');
+ cy.get('[data-test-subj="sidebarField__fieldInsights"] button')
+ .contains('Average overtime')
+ .should('exist');
+ cy.get('[data-test-subj="sidebarField__fieldInsights"] button')
+ .contains('Maximum overtime')
+ .should('exist');
+ cy.get('[data-test-subj="sidebarField__fieldInsights"] button')
+ .contains('Minimum overtime')
+ .should('exist');
+ });
+
+ it('Click a non-numerical field to view insights', () => {
+ cy.get('[data-test-subj="field-host-showDetails"]').click();
+ cy.get('[data-test-subj="sidebarField__fieldInsights"] button')
+ .contains('Top values')
+ .should('exist');
+ cy.get('[data-test-subj="sidebarField__fieldInsights"] button')
+ .contains('Rare values')
+ .should('exist');
+ cy.get('[data-test-subj="sidebarField__fieldInsights"] button')
+ .contains('Average overtime')
+ .should('not.exist');
+ cy.get('[data-test-subj="sidebarField__fieldInsights"] button')
+ .contains('Maximum overtime')
+ .should('not.exist');
+ cy.get('[data-test-subj="sidebarField__fieldInsights"] button')
+ .contains('Minimum overtime')
+ .should('not.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();
+ clearQuerySearchBoxText('searchAutocompleteTextArea');
+ 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.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"]', {
+ timeout: COMMAND_TIMEOUT_LONG,
+ }).click();
+ cy.get('[data-test-subj="eventExplorer__topLevelTabbing"]', { timeout: COMMAND_TIMEOUT_LONG })
+ .find('button.euiTab')
+ .first()
+ .click();
+ supressResizeObserverIssue();
+
+ 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"]', {
+ timeout: COMMAND_TIMEOUT_LONG,
+ }).click();
+ cy.get('[data-test-subj="eventExplorer__addNewTab"]', {
+ timeout: COMMAND_TIMEOUT_LONG,
+ }).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();
+ supressResizeObserverIssue();
+ 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');
+ });
+});
+
+describe.skip('Renders bar charts', () => {
+ beforeEach(() => {
+ landOnEventVisualizations();
+ clearQuerySearchBoxText('searchAutocompleteTextArea');
+ });
+
+ it('Renders vertical bar chart', () => {
+ querySearch(TEST_QUERIES[3].query, TEST_QUERIES[3].dateRangeDOM);
+ cy.get(
+ '[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]'
+ ).click();
+ cy.wait(delay * 2);
+ cy.get('[data-test-subj="comboBoxOptionsList "] span').contains('Bar').click();
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]').first().click();
+ cy.wait(delay * 2);
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('host').click();
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]').eq(1).click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('count()').click();
+ cy.get('#configPanel__chart_options [data-test-subj="comboBoxInput"]').first().click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Vertical').click();
+ cy.get('#configPanel__chart_options [data-test-subj="comboBoxInput"]').last().click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Group').click();
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').click();
+ cy.wait(delay * 2);
+ cy.get(
+ 'g.xaxislayer-above > g.xtick text[data-unformatted|="artifacts.opensearch.org"]'
+ ).should('exist');
+ });
+
+ it('Renders horiztontal bar chart', () => {
+ querySearch(TEST_QUERIES[3].query, TEST_QUERIES[3].dateRangeDOM);
+ cy.get(
+ '[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]'
+ ).click();
+ cy.wait(delay * 2);
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Bar').click();
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]').first().click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('count()').click();
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]').eq(1).click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('host').click();
+ cy.get('#configPanel__chart_options [data-test-subj="comboBoxInput"]').first().click();
+ cy.wait(delay * 2);
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Horizontal').click();
+ cy.get('#configPanel__chart_options [data-test-subj="comboBoxInput"]').eq(1).click();
+ cy.wait(delay * 2);
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Group').click();
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').click();
+ cy.wait(delay * 2);
+ cy.get(
+ 'g.yaxislayer-above > g.ytick text[data-unformatted|="artifacts.opensearch.org"]'
+ ).should('exist');
+ });
+});
+
+describe.skip('Renders line charts', () => {
+ beforeEach(() => {
+ landOnEventVisualizations();
+ });
+
+ it('Renders line chart with threshold', () => {
+ querySearch(TEST_QUERIES[3].query, TEST_QUERIES[3].dateRangeDOM);
+ cy.get(
+ '[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]'
+ ).click();
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Line').click();
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]').first().click();
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('host').click();
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]').eq(1).click();
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('count()').click();
+ cy.get('#configPanel__chart_options [data-test-subj="comboBoxInput"]').click();
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Lines').click();
+ cy.get('#configPanel__Thresholds span').contains('+ Add threadshold').click();
+ cy.get('[data-test-subj="nameFieldText"]').type('Max');
+ cy.get('[data-test-subj="valueFieldNumber"]').type(3800);
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').click();
+ cy.wait(delay * 2);
+ cy.get('g.text > g.textpoint text[data-unformatted|="Max"]').should('exist');
+ cy.get(
+ 'g.xaxislayer-above > g.xtick text[data-unformatted|="artifacts.opensearch.org"]'
+ ).should('exist');
+ });
+});
+
+describe.skip('Renders pie charts', () => {
+ beforeEach(() => {
+ landOnEventVisualizations();
+ clearQuerySearchBoxText('searchAutocompleteTextArea');
+ });
+
+ it('Renders pie chart', () => {
+ querySearch(TEST_QUERIES[3].query, TEST_QUERIES[3].dateRangeDOM);
+ cy.get(
+ '[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]'
+ ).click();
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Pie').click();
+ cy.wait(delay);
+ cy.get('g.pielayer').should('exist');
+ });
+});
+
+describe.skip('Renders heatmap chart', () => {
+ beforeEach(() => {
+ landOnEventVisualizations();
+ clearQuerySearchBoxText('searchAutocompleteTextArea');
+ });
+
+ it('Renders heatmap chart with different z-axes', () => {
+ querySearch(TEST_QUERIES[4].query, TEST_QUERIES[4].dateRangeDOM);
+ cy.get(
+ '[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]'
+ ).click();
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Heatmap').click();
+ cy.wait(delay * 2);
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]').click();
+ cy.wait(delay * 2);
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('count()').click();
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').click();
+ cy.get('g.g-gtitle text[data-unformatted|="count()"]').should('exist');
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]').click();
+ cy.wait(delay * 2);
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('avg(bytes)').click();
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').click();
+ cy.wait(delay * 2);
+ cy.get('g.g-gtitle text[data-unformatted|="avg(bytes)"]').should('exist');
+ });
+});
+
+describe.skip('Renders markdown chart', () => {
+ it('Renders markdown chart with test title', () => {
+ landOnEventVisualizations();
+ clearQuerySearchBoxText('searchAutocompleteTextArea');
+ querySearch(TEST_QUERIES[3].query, TEST_QUERIES[3].dateRangeDOM);
+ cy.get(
+ '[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]'
+ ).click();
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Text').click();
+ cy.get('[data-test-subj="workspace__viz_markdown"] h2').contains('Text').should('exist');
+ cy.get('textarea.euiMarkdownEditorTextArea').type('## testing title');
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').click();
+ cy.wait(delay * 2);
+ cy.get('[data-test-subj="workspace__viz_markdown"] h2')
+ .contains('testing title')
+ .should('exist');
+ });
+});
+
+describe.skip('Renders data view', () => {
+ it('Switch views between data table and visualization workspace', () => {
+ landOnEventVisualizations();
+ clearQuerySearchBoxText('searchAutocompleteTextArea');
+ querySearch(TEST_QUERIES[3].query, TEST_QUERIES[3].dateRangeDOM);
+ cy.get('[data-test-subj="workspace__dataTableViewSwitch"]').click();
+ cy.get('[data-test-subj="workspace__dataTable"]').should('exist');
+ cy.get('[data-test-subj="workspace__dataTableViewSwitch"]').click();
+ cy.get('[data-test-subj="workspace__dataTable"]').should('not.exist');
+ });
+});
+
+describe.skip('Renders chart and verify Toast message if X-axis and Y-axis values are empty', () => {
+ beforeEach(() => {
+ landOnEventVisualizations();
+ });
+ it('Renders chart, clear X-axis and Y-axis value and click on Apply button, Toast message should display with error message', () => {
+ querySearch(TEST_QUERIES[4].query, TEST_QUERIES[4].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]')
+ .type('Bar')
+ .type('{enter}');
+ cy.wait(delay);
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxClearButton"]')
+ .eq(0)
+ .click({ force: true });
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxToggleListButton"]').eq(0).click();
+ cy.wait(delay);
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxClearButton"]').click({
+ multiple: true,
+ });
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxToggleListButton"]').eq(1).click();
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]')
+ .eq(0)
+ .should('have.value', '');
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]')
+ .eq(1)
+ .should('have.value', '');
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').click();
+ cy.get('[data-test-subj="euiToastHeader"]')
+ .contains('Invalid value options configuration selected.')
+ .should('exist');
+ });
+
+ it('Renders chart, clear X-axis and Y-axis value and try to save visulization, Toast message should display with error message', () => {
+ querySearch(TEST_QUERIES[4].query, TEST_QUERIES[4].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]')
+ .type('Bar')
+ .type('{enter}');
+ cy.wait(delay);
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxClearButton"]')
+ .eq(0)
+ .click({ force: true });
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxToggleListButton"]').eq(0).click();
+ cy.wait(delay);
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxClearButton"]').click({
+ multiple: true,
+ });
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]')
+ .eq(0)
+ .should('have.value', '');
+ cy.get('#configPanel__value_options [data-test-subj="comboBoxInput"]')
+ .eq(1)
+ .should('have.value', '');
+ cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click();
+ cy.get('[data-test-subj="eventExplorer__querySaveComboBox"]').click();
+ cy.get('.euiComboBoxOptionsList__rowWrap .euiFilterSelectItem').eq(0).click();
+ cy.get(
+ '.euiPopover__panel .euiFormControlLayoutIcons [data-test-subj="comboBoxToggleListButton"]'
+ )
+ .eq(0)
+ .click();
+ cy.get('.euiPopover__panel input').eq(1).type(`Test visulization_`);
+ cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click();
+ cy.get('[data-test-subj="euiToastHeader"]')
+ .contains('Invalid value options configuration selected.')
+ .should('exist');
+ });
+});
+
+describe.skip('Render Table View', () => {
+ before(() => {
+ landOnEventVisualizations();
+ clearQuerySearchBoxText('searchAutocompleteTextArea');
+ querySearch(TEST_QUERIES[3].query, TEST_QUERIES[3].dateRangeDOM);
+ cy.get('[data-test-subj="workspace__dataTableViewSwitch"]').click();
+ });
+
+ it('Switch visualization for table view and verify table data', () => {
+ cy.get('.ag-header-cell-text').contains('max(AvgTicketPrice)').should('exist');
+ cy.get('.ag-header-cell-text').contains('DestCountry').should('exist');
+ cy.get('.ag-header-cell-text').contains('DestCityName').should('exist');
+ cy.get('.ag-header-cell-text').contains('Carrier').should('exist');
+ });
+
+ it('Switch visualization for table view and change data table density', () => {
+ cy.get('.euiButtonEmpty__text').contains('Density').click();
+ cy.get('.euiButtonIcon.euiButtonIcon--primary.euiButtonIcon--xSmall').eq(1).click();
+ cy.get('.euiButtonIcon.euiButtonIcon--primary.euiButtonIcon--xSmall').eq(2).click();
+ });
+
+ it('Switch visualization for table view and show and hide column', () => {
+ cy.get('.euiButtonEmpty__text').contains('Columns').click();
+ cy.get('.euiSwitch__label').contains('DestCountry').click();
+ cy.get('.ag-header-cell-text').contains('DestCountry').should('not.exist');
+ cy.get('.euiSwitch__label').contains('Carrier').click();
+ cy.get('.ag-header-cell-text').contains('Carrier').should('not.exist');
+ cy.get('.euiSwitch__label').contains('DestCountry').click();
+ cy.get('.ag-header-cell-text').contains('DestCountry').should('exist');
+ });
+
+ it('Switch visualization for table view and see data in full screen', () => {
+ cy.get('.ag-header-cell-text').contains('max(AvgTicketPrice)').should('exist');
+ cy.get('.ag-header-cell-text').contains('DestCountry').should('exist');
+ cy.get('.ag-header-cell-text').contains('DestCityName').should('exist');
+ cy.get('.ag-header-cell-text').contains('Carrier').should('exist');
+ cy.get('.euiButtonEmpty__text').contains('Full screen').click();
+ cy.wait(delay);
+ cy.get('body').type('{esc}');
+ cy.wait(delay);
+ });
+
+ it('Switch visualization for table view and sort the column data', () => {
+ cy.get('.ag-header-cell-text').contains('max(AvgTicketPrice)').click();
+ cy.get('.ag-cell-value').contains('125.49737').should('exist');
+ cy.get('.ag-header-cell-text').contains('max(AvgTicketPrice)').click();
+ cy.get('.ag-cell-value').contains('1199.729').should('exist');
+ cy.get('.ag-header-cell-text').contains('DestCountry').click();
+ cy.get('.ag-cell-value').contains('AE').should('exist');
+ });
+
+ it('Switch visualization for table view and verify pagination link', () => {
+ cy.get('[aria-label="Next page"]').click();
+ cy.get('.ag-cell-value').contains('Vienna').should('exist');
+ cy.get('[aria-label="Previous page"]').click();
+ cy.get('.ag-cell-value').contains('Dubai').should('exist');
+ cy.get('[aria-label="Page 4"]').contains('4').click();
+ cy.get('.ag-cell-value').contains('Edmonton').should('exist');
+ });
+
+ it('Switch visualization for table view and rows per page data', () => {
+ cy.get('.euiButtonEmpty__text').eq('6').click();
+ cy.get('.euiContextMenuItem__text').eq(1).click();
+ });
+});
+
+describe.skip('Render Time series chart/Line chart and verify Data configurations UI ', () => {
+ it('Render line chart and verify Data Configuration Panel', () => {
+ renderLineChartForDataConfig();
+ DataConfigLineChart();
+ });
+});
+
+describe.skip('Renders Data Configurations section for Pie chart', () => {
+ beforeEach(() => {
+ landOnEventVisualizations();
+ });
+
+ it('Renders Dimensions and Metrics under Data Configurations for Pie chart', () => {
+ renderPieChart();
+ renderDataConfig();
+ });
+
+ it('Validate "Add" and "X" buttons', () => {
+ renderPieChart();
+ cy.get('.euiResizablePanel.euiResizablePanel--middle').contains('Data Configurations');
+ cy.get('.euiButton.euiButton--primary.euiButton--fullWidth').contains('Add').click();
+ cy.get('.euiFormRow__fieldWrapper .euiComboBox').eq(3).click();
+ cy.get('.euiComboBoxOption__content').eq(2).click();
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').eq(4).click();
+ cy.get('.euiComboBoxOption__content').eq(1).click();
+ cy.get('.euiFieldText[placeholder="Custom label"]').eq(1).type('Demo field');
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--danger').eq(1).click();
+ cy.get('.euiButton.euiButton--primary.euiButton--fullWidth').contains('Add').should('exist');
+ });
+
+ it('Verify drop down values for Aggregation', () => {
+ renderPieChart();
+ cy.get('.euiResizablePanel.euiResizablePanel--middle').contains('Data Configurations');
+ cy.get('.euiTitle.euiTitle--xxsmall').eq(1).contains('Dimensions').should('exist');
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').eq(0).contains('Aggregation');
+ cy.get('[data-test-subj="comboBoxSearchInput"]').eq(0).click();
+ aggregationValues.forEach(function (value) {
+ cy.get('.euiComboBoxOption__content').contains(value);
+ });
+ });
+
+ it('Collapsible mode for Data Configuration panel', () => {
+ renderPieChart();
+ cy.get('.euiResizablePanel.euiResizablePanel--middle').contains('Data Configurations');
+ cy.get('.euiResizableButton.euiResizableButton--horizontal').eq(1).click();
+ cy.get('[data-test-subj="panel-1-toggle"]').click();
+ cy.get('[class*="euiResizableToggleButton-isCollapsed"]').eq(1).should('exist');
+ });
+});
+
+describe.skip('Renders Histogram chart', () => {
+ beforeEach(() => {
+ landOnEventVisualizations();
+ });
+
+ it('Renders Histogram chart and save visualization', () => {
+ renderHistogramChart();
+ cy.get('.euiFlexItem.euiFlexItem--flexGrowZero .euiButton__text').eq(2).click();
+ cy.wait(delay);
+ saveVisualizationAndVerify();
+ });
+
+ it('Delete Visualization for Histogram chart from list of saved Visualizations on Event analytics page', () => {
+ deleteVisualization();
+ });
+
+ it('Renders Histogram chart, add value parameters and verify Reset button click is working', () => {
+ renderHistogramChart();
+ cy.get('[data-test-subj="visualizeEditorResetButton"]').click();
+ });
+});
+
+describe.skip('Render Gauge Chart and verify if data gets render', () => {
+ it('Render gauge chart and verify by default no data gets render', () => {
+ renderGaugeChart();
+ cy.get('.main-svg').contains('BeatsWest').should('not.exist');
+ });
+
+ it('Render gauge chart and verify data gets render after click on update chart', () => {
+ renderGaugeChart();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.main-svg').contains('BeatsWest').should('exist');
+ });
+});
+
+describe.skip('Render Gauge Chart and work with chart styles', () => {
+ it('Render gauge chart and change orientation to vertical', () => {
+ renderGaugeChart();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.euiButton__text').contains('Vertical').click();
+ cy.get('.euiButton__text').contains('Preview').click();
+ });
+
+ it('Render gauge chart and change title size then verify the update on chart', () => {
+ renderGaugeChart();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(0).click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(0).type('30');
+ cy.get('.euiButton__text').contains('Preview').click();
+ });
+
+ it('Render gauge chart and change value size then verify the update on chart', () => {
+ renderGaugeChart();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(1).click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(1).type('20');
+ cy.get('.euiButton__text').contains('Preview').click();
+ });
+});
+
+describe.skip('Render Gauge Chart and work with threshold', () => {
+ it('Render gauge chart and add threshold then verify by default the threshold is not seen', () => {
+ renderGaugeChart();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.euiButton__text').contains('+ Add threshold').click();
+ cy.get('[data-test-subj="nameFieldText"]').type('Gauge Threshold');
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(2).type('50');
+ cy.get('.euiButton__text').contains('Preview').click();
+ cy.get('[data-unformatted="Gauge Threshold"]').should('not.be.visible');
+ });
+
+ it('Render gauge chart and add threshold then verify the threshold label are seen after show threshold button enabled ', () => {
+ renderGaugeChart();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.euiButton__text').contains('+ Add threshold').click();
+ cy.get('[data-test-subj="nameFieldText"]').type('Gauge Threshold');
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(2).type('50');
+ cy.get('.euiSwitch__label').contains('Show threshold labels').click();
+ cy.get('.euiButton__text').contains('Preview').click();
+ cy.get('[data-unformatted="Gauge Threshold"]').should('be.visible');
+ });
+
+ it('Render gauge chart and add threshold then verify the threshold marker are seen after show threshold button enabled ', () => {
+ renderGaugeChart();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.euiButton__text').contains('+ Add threshold').click();
+ cy.get('[data-test-subj="nameFieldText"]').type('Gauge Threshold');
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(2).type('50');
+ cy.get('.euiSwitch__label').contains('Show threshold markers').click();
+ cy.get('.euiButton__text').contains('Preview').click();
+ cy.get('path[style*="rgb(252, 5, 5)"]').eq(1).should('exist');
+ cy.get('.bg-arc').find('path[style*="rgb(252, 5, 5)"]').should('have.length', 4);
+ });
+});
+
+describe.skip('Render gauge chart and verify if reset works properly', () => {
+ it('Render gauge chart with all feild data then click on reset and verify reset works properly', () => {
+ renderGaugeChart();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('input[placeholder="Title"]').type('Gauge Chart');
+ cy.get('textarea[placeholder="Description"]').type('Description For Gauge Chart');
+ cy.get('.euiButton__text').contains('Vertical').click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(0).click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(0).type('30');
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(1).click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(1).type('20');
+ cy.get('.euiButton__text').contains('+ Add threshold').click();
+ cy.get('[data-test-subj="nameFieldText"]').type('Gauge Threshold');
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(2).type('50');
+ cy.get('.euiSwitch__label').contains('Show threshold labels').click();
+ cy.get('.euiSwitch__label').contains('Show threshold markers').click();
+ cy.get('.euiButton__text').contains('Preview').click();
+ cy.get('.euiButtonEmpty__text').contains('Reset').click();
+ cy.get('input[placeholder="Title"]').should('not.have.value', 'Gauge Chart');
+ cy.get('textarea[placeholder="Description"]').should(
+ 'not.have.value',
+ 'Description For Gauge Chart'
+ );
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(0).should('have.value', '');
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(1).should('have.value', '');
+ cy.get('button.euiSwitch__button[aria-checked="false"]')
+ .should('exist')
+ .should('have.length', 3);
+ });
+});
diff --git a/.cypress/integration/2_notebooks.spec.js b/.cypress/integration/2_notebooks.spec.js
new file mode 100644
index 0000000000..3ba071215e
--- /dev/null
+++ b/.cypress/integration/2_notebooks.spec.js
@@ -0,0 +1,556 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+///
+
+import {
+ delay,
+ TEST_NOTEBOOK,
+ MARKDOWN_TEXT,
+ SAMPLE_URL,
+ SQL_QUERY_TEXT,
+ PPL_QUERY_TEXT,
+ NOTEBOOK_TEXT,
+ OPENSEARCH_URL,
+} from '../utils/constants';
+
+import { SAMPLE_PANEL } from '../utils/panel_constants';
+
+import { skipOn } from '@cypress/skip-test';
+
+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);
+};
+
+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', () => {
+ moveToPanelHome();
+ cy.get('.euiButton__text').contains('Actions').trigger('mouseover').click();
+ cy.wait(100);
+ cy.get('.euiContextMenuItem__text').contains('Add samples').trigger('mouseover').click();
+ cy.wait(100 * 3);
+ cy.get('.euiModalHeader__title[data-test-subj="confirmModalTitleText"]')
+ .contains('Add samples')
+ .should('exist');
+ cy.wait(100);
+ cy.get('.euiButton__text').contains('Yes').trigger('mouseover').click();
+ cy.wait(100 * 5);
+ cy.route2('POST', '/addSamplePanels').as('addSamples');
+ cy.wait('@addSamples').then(() => {
+ cy.get('.euiTableCellContent').contains(SAMPLE_PANEL).should('exist');
+ });
+ cy.wait(100);
+ });
+});
+
+describe('Testing notebooks table', () => {
+ beforeEach(() => {
+ cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/notebooks`);
+ });
+
+ it('Notebooks table empty state', () => {
+ cy.get('#notebookArea').contains('Notebooks (0)').should('exist');
+ cy.get('.euiTextAlign.euiTextAlign--center').contains('No notebooks');
+ cy.get('.euiButton__text').eq(2).contains('Create notebook');
+ cy.get('.euiButton__text').eq(3).contains('Add samples');
+ });
+
+ 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('Notebooks table columns headers and pagination', () => {
+ cy.get('.euiTitle.euiTitle--small').contains('Notebooks').should('exist');
+ cy.get('.euiTableCellContent__text[title="Name"]').should('exist');
+ cy.get('.euiTableCellContent__text[title="Last updated"]').should('exist');
+ cy.get('.euiTableCellContent__text[title="Created"]').should('exist');
+ cy.get('[data-test-subj="tablePaginationPopoverButton"]').should('exist');
+ });
+
+ it('"Learn more" link under Notebooks header', () => {
+ cy.get('.euiTitle.euiTitle--small').contains('Notebooks');
+ cy.get('.euiTextColor.euiTextColor--subdued').contains(NOTEBOOK_TEXT);
+ cy.get('a.euiLink.euiLink--primary').contains('Learn more').click();
+ cy.get(`a[href="${OPENSEARCH_URL}"]`).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('Paragraph actions layout', () => {
+ cy.get('button[data-test-subj="notebook-paragraph-actions-button"]').should('exist').click();
+ cy.get('.euiContextMenuPanelTitle').contains('Actions');
+ cy.get('.euiContextMenuItem__text').eq(0).contains('Add paragraph to top');
+ cy.get('.euiContextMenuItem__text').eq(1).contains('Add paragraph to bottom');
+ cy.get('.euiContextMenuItem__text').eq(2).contains('Run all paragraphs');
+ cy.get('.euiContextMenuItem__text').eq(3).contains('Clear all outputs');
+ cy.get('.euiContextMenuItem__text').eq(4).contains('Delete all paragraphs');
+ });
+
+ 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('.euiButton__text[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('.euiButton__text[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');
+ });
+});
+
+describe('clean up all test data', () => {
+ it('Delete visualizations from event analytics', () => {
+ moveToEventsHome();
+ cy.get('[data-test-subj="tablePaginationPopoverButton"]').trigger('mouseover').click();
+ cy.get('.euiContextMenuItem__text').contains('50 rows').trigger('mouseover').click();
+ cy.get('.euiCheckbox__input[data-test-subj="checkboxSelectAll"]').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiButton__text').contains('Actions').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text').contains('Delete').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('button.euiButton--danger').should('be.disabled');
+ cy.get('input.euiFieldText[placeholder="delete"]').focus().type('delete', {
+ delay: 50,
+ });
+ cy.get('button.euiButton--danger').should('not.be.disabled');
+ cy.get('.euiButton__text').contains('Delete').trigger('mouseover').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"]').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiButton__text').contains('Actions').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text').contains('Delete').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('button.euiButton--danger').should('be.disabled');
+ cy.get('input.euiFieldText[placeholder="delete"]').focus().type('delete', {
+ delay: 50,
+ });
+ cy.get('button.euiButton--danger').should('not.be.disabled');
+ cy.get('.euiButton__text').contains('Delete').trigger('mouseover').click();
+
+ cy.get('.euiTextAlign').contains('No Operational Panels').should('exist');
+ });
+});
diff --git a/.cypress/integration/3_panels.spec.js b/.cypress/integration/3_panels.spec.js
new file mode 100644
index 0000000000..e7b3496330
--- /dev/null
+++ b/.cypress/integration/3_panels.spec.js
@@ -0,0 +1,545 @@
+/*
+ * 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).trigger('mouseover').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/)
+ .trigger('mouseover')
+ .click();
+ cy.wait(delay * 3);
+ });
+});
+
+describe('Creating visualizations', () => {
+ beforeEach(() => {
+ moveToEventsHome();
+ });
+
+ it('Create first visualization in event analytics', () => {
+ cy.get('[id^=autocomplete-textarea]').focus().type(PPL_VISUALIZATIONS[0], {
+ delay: 50,
+ });
+ cy.get('.euiButton__text').contains('Refresh').trigger('mouseover').click();
+ cy.wait(delay);
+ supressResizeObserverIssue();
+ cy.get('button[id="main-content-vis"]').contains('Visualizations').trigger('mouseover').click();
+ cy.wait(delay * 2);
+ cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').trigger('mouseover').click();
+ cy.wait(1000);
+ cy.get('[data-test-subj="eventExplorer__querySaveName"]')
+ .focus()
+ .type(PPL_VISUALIZATIONS_NAMES[0], {
+ delay: 50,
+ });
+ cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiToastHeader__title').contains('successfully').should('exist');
+ });
+
+ it('Create second visualization in event analytics', () => {
+ cy.get('[id^=autocomplete-textarea]').focus().type(PPL_VISUALIZATIONS[1], {
+ delay: 50,
+ });
+ cy.get('.euiButton__text').contains('Refresh').trigger('mouseover').click();
+ cy.wait(delay);
+ supressResizeObserverIssue();
+ cy.get('button[id="main-content-vis"]').contains('Visualizations').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').trigger('mouseover').click();
+ cy.wait(1000);
+ cy.get('[data-test-subj="eventExplorer__querySaveName"]')
+ .focus()
+ .type(PPL_VISUALIZATIONS_NAMES[1], {
+ delay: 50,
+ });
+ cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').trigger('mouseover').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').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiButton__text')
+ .contains(/^Create$/)
+ .trigger('mouseover')
+ .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').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('input.euiFieldText').focus().type(TEST_PANEL, {
+ delay: 50,
+ });
+ cy.get('.euiButton__text')
+ .contains(/^Create$/)
+ .trigger('mouseover')
+ .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).trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiButton__text').contains('Actions').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text').contains('Duplicate').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiButton__text').contains('Duplicate').trigger('mouseover').click();
+ cy.wait(delay);
+
+ cy.get('.euiCheckbox__input[title="Select this row"]').eq(1).trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiCheckbox__input[title="Select this row"]').eq(0).trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiButton__text').contains('Actions').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text').contains('Rename').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('input.euiFieldText').focus().type(' (rename)', {
+ delay: 50,
+ });
+ cy.get('.euiButton__text').contains('Rename').trigger('mouseover').click();
+ cy.wait(delay);
+ });
+
+ it('Searches existing panel', () => {
+ cy.get('input.euiFieldSearch').focus().type('this panel should not exist', {
+ delay: 50,
+ });
+ cy.wait(delay);
+
+ cy.get('.euiTableCellContent__text').contains('No items found').should('exist');
+
+ cy.get('.euiFormControlLayoutClearButton').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('input.euiFieldSearch')
+ .focus()
+ .type(TEST_PANEL + ' (copy) (rename)', {
+ delay: 50,
+ });
+ 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"]').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiButton__text').contains('Actions').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text').contains('Delete').trigger('mouseover').click();
+ cy.wait(delay);
+
+ cy.get('button.euiButton--danger').should('be.disabled');
+
+ cy.get('input.euiFieldText[placeholder="delete"]').focus().type('delete', {
+ delay: 50,
+ });
+ cy.get('button.euiButton--danger').should('not.be.disabled');
+ cy.get('.euiButton__text').contains('Delete').trigger('mouseover').click();
+
+ cy.get('.euiTextAlign').contains('No Operational Panels').should('exist');
+
+ // keep a panel for testing
+ cy.get('.euiButton__text').contains('Create panel').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('input.euiFieldText').focus().type(TEST_PANEL, {
+ delay: 50,
+ });
+ cy.get('.euiButton__text')
+ .contains(/^Create$/)
+ .trigger('mouseover')
+ .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').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text')
+ .contains('Select existing visualization')
+ .trigger('mouseover')
+ .click();
+ cy.wait(delay);
+ cy.get('.euiButton').contains('Cancel').trigger('mouseover').click();
+ cy.get('.euiButton').eq(2).contains('Add visualization').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text')
+ .contains('Select existing visualization')
+ .trigger('mouseover')
+ .click();
+ cy.wait(delay);
+ cy.get('.euiButton').contains('Cancel').trigger('mouseover').click();
+ cy.get('.euiButton').contains('Add visualization').first().trigger('mouseover').click();
+ cy.get('.euiContextMenuItem__text')
+ .contains('Create new visualization')
+ .trigger('mouseover')
+ .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).trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiTitle').contains(TEST_PANEL).should('exist');
+ cy.get('.euiBreadcrumb').contains('Operational panels').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiTitle').contains('Operational panels').should('exist');
+ cy.get('.euiBreadcrumb').contains('Observability').trigger('mouseover').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').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text').contains('Duplicate panel').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get(`input.euiFieldText[value="${TEST_PANEL} (copy)"]`).should('exist');
+ cy.get('.euiButton__text').contains('Duplicate').trigger('mouseover').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').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text').contains('Rename panel').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get(`input.euiFieldText[value="${TEST_PANEL} (copy)"]`)
+ .focus()
+ .clear({ force: true })
+ .focus()
+ .type('Renamed Panel', {
+ delay: 200,
+ });
+ cy.get('.euiButton__text').contains('Rename').trigger('mouseover').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({
+ force: true,
+ });
+ cy.get('.euiLink').contains('This year').trigger('mouseover').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').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text')
+ .contains('Select existing visualization')
+ .trigger('mouseover')
+ .click();
+ cy.wait(delay);
+ cy.get('select').select(PPL_VISUALIZATIONS_NAMES[0]);
+ cy.get('button[aria-label="refreshPreview"]').trigger('mouseover').click();
+ cy.wait(delay * 2);
+ cy.get('.plot-container').should('exist');
+ cy.get('.euiButton__text').contains(new RegExp('^Add$', 'g')).trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiToastHeader__title').contains('successfully').should('exist');
+ });
+
+ it('Add existing visualization #2', () => {
+ cy.get('.euiButton__text').contains('Add visualization').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text')
+ .contains('Select existing visualization')
+ .trigger('mouseover')
+ .click();
+ cy.wait(delay);
+ cy.get('select').select(PPL_VISUALIZATIONS_NAMES[1]);
+ cy.get('button[aria-label="refreshPreview"]').trigger('mouseover').click();
+ cy.wait(delay * 2);
+ cy.get('.plot-container').should('exist');
+ cy.get('.euiButton__text').contains(new RegExp('^Add$', 'g')).trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiToastHeader__title').contains('successfully').should('exist');
+ });
+
+ it('Add ppl filter to panel', () => {
+ cy.get('[data-test-subj="searchAutocompleteTextArea"]')
+ .trigger('mouseover')
+ .click()
+ .wait(3000)
+ .focus()
+ .type(PPL_FILTER, {
+ delay: 500,
+ });
+
+ cy.get('.euiButton__text').contains('Refresh').trigger('mouseover').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').trigger('mouseover').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').trigger('mouseover').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').trigger('mouseover').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').trigger('mouseover').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').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.visualization-action-button > .euiIcon').eq(1).trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiButton__text').contains('Save').trigger('mouseover').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"]').trigger('mouseover').click();
+ cy.get('.euiContextMenu__itemLayout > .euiContextMenuItem__text')
+ .contains('Duplicate')
+ .trigger('mouseover')
+ .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).trigger('mouseover').click();
+ cy.get('.euiContextMenu__itemLayout > .euiContextMenuItem__text')
+ .contains('Replace')
+ .trigger('mouseover')
+ .click();
+ cy.get('select').select(PPL_VISUALIZATIONS_NAMES[1]);
+ cy.get('button[aria-label="refreshPreview"]').trigger('mouseover').click();
+ cy.wait(delay * 3);
+ cy.get('.plot-container').should('exist');
+ cy.get('.euiButton__text').contains(new RegExp('^Add$', 'g')).trigger('mouseover').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').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text')
+ .contains('Create new visualization')
+ .trigger('mouseover')
+ .click();
+ cy.wait(delay * 3);
+ cy.url().should('match', new RegExp('(.*)#/event_analytics/explorer'));
+ cy.get('[id^=autocomplete-textarea]').focus().type(PPL_VISUALIZATIONS[2], {
+ delay: 50,
+ });
+ cy.get('.euiButton__text').contains('Refresh').trigger('mouseover').click();
+
+ supressResizeObserverIssue();
+ cy.get('button[id="main-content-vis"]').contains('Visualizations').trigger('mouseover').click();
+ cy.wait(delay * 2);
+ cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').trigger('mouseover').click();
+ cy.wait(1000);
+ cy.get('[data-test-subj="eventExplorer__querySaveComboBox"]').type(TEST_PANEL, {
+ delay: 50,
+ });
+ cy.wait(1000);
+ cy.get(`input[value="${TEST_PANEL}"]`).trigger('mouseover').click();
+ cy.get('[data-test-subj="eventExplorer__querySaveName"]')
+ .focus()
+ .type(PPL_VISUALIZATIONS_NAMES[2], {
+ delay: 50,
+ });
+ cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').trigger('mouseover').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).trigger('mouseover').click();
+ supressResizeObserverIssue();
+ cy.get('.euiContextMenu__itemLayout > .euiContextMenuItem__text')
+ .contains('Edit')
+ .trigger('mouseover')
+ .click();
+ cy.wait(delay * 3);
+ cy.url().should('match', new RegExp('(.*)#/event_analytics/explorer'));
+ cy.wait(delay);
+ cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').trigger('mouseover').click();
+ cy.wait(1000);
+ cy.get('[data-test-subj="eventExplorer__querySaveName"]')
+ .clear({ force: true })
+ .type(NEW_VISUALIZATION_NAME, {
+ delay: 200,
+ });
+ cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').trigger('mouseover').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('Clean up all test data', () => {
+
+ it('Delete visualizations from event analytics', () => {
+ moveToEventsHome();
+ cy.get('[data-test-subj="tablePaginationPopoverButton"]').trigger('mouseover').click();
+ cy.get('.euiContextMenuItem__text').contains('50 rows').trigger('mouseover').click();
+ cy.get('.euiCheckbox__input[data-test-subj="checkboxSelectAll"]').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiButton__text').contains('Actions').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text').contains('Delete').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('button.euiButton--danger').should('be.disabled');
+ cy.get('input.euiFieldText[placeholder="delete"]').focus().type('delete', {
+ delay: 50,
+ });
+ cy.get('button.euiButton--danger').should('not.be.disabled');
+ cy.get('.euiButton__text').contains('Delete').trigger('mouseover').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"]').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiButton__text').contains('Actions').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('.euiContextMenuItem__text').contains('Delete').trigger('mouseover').click();
+ cy.wait(delay);
+ cy.get('button.euiButton--danger').should('be.disabled');
+ cy.get('input.euiFieldText[placeholder="delete"]').focus().type('delete', {
+ delay: 50,
+ });
+ cy.get('button.euiButton--danger').should('not.be.disabled');
+ cy.get('.euiButton__text').contains('Delete').trigger('mouseover').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 0000000000..f9bfb57603
--- /dev/null
+++ b/.cypress/integration/4_trace_analytics_dashboard.spec.js
@@ -0,0 +1,294 @@
+/*
+ * 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.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', () => {
+ // plotly scale texts are in attribute "data-unformatted"
+ 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('.euiButton__text[title="Error rate"]').click();
+ cy.get('text.ytitle[data-unformatted="Error rate"]').should('exist');
+ cy.get('text[data-unformatted="10%"]').should('exist');
+
+ cy.get('.euiButton__text[title="Throughput"]').click();
+ cy.get('text.ytitle[data-unformatted="Throughput"]').should('exist');
+ cy.get('text[data-unformatted="50"]').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: 14.81%"]').should('exist');
+ cy.get('text.ytitle[data-unformatted="Throughput (n)"]').should('exist');
+ cy.get('text.annotation-text[data-unformatted="Now: 108"]').should('exist');
+ });
+});
+
+describe('Latency by trace group table', () =>{
+ beforeEach(() => {
+ cy.visit('app/observability-dashboards#/trace_analytics/home', {
+ onBeforeLoad: (win) => {
+ win.sessionStorage.clear();
+ },
+ });
+ setTimeFilter();
+ });
+
+ it('Verify columns in Latency by trace group table along with pagination functionality', () => {
+ cy.get('span.panel-title').eq(0).should('exist');
+ cy.wait(delay);
+ cy.get('span[title="Trace group name"]').should('exist');
+ cy.get('span[title="Latency variance (ms)"]').should('exist');
+ cy.get('span[title="Average latency (ms)"]').should('exist');
+ cy.get('span[title="24-hour latency trend"]').should('exist');
+ cy.get('span[title="Error rate"] .euiToolTipAnchor').should('exist');
+ cy.get('span[title="Traces"] .euiToolTipAnchor').should('exist');
+ cy.get('[data-test-subj="tablePaginationPopoverButton"]').click();
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiContextMenu__icon').eq(0).should('exist').click();
+ cy.get('[data-test-subj="pagination-button-next"]').should('exist').click();
+ cy.get('button[data-test-subj="dashboard-table-trace-group-name-button"]').contains('mysql').should('exist');
+ });
+
+ it('Sorts the Latency by trace group table', () => {
+ cy.get('span[title*="Trace group name"]').click();
+ cy.get('[data-test-subj="dashboard-table-trace-group-name-button"]').eq(0).contains('/**').should('exist');
+ cy.wait(delay);
+ });
+
+ it('Verify tooltips in Latency by trace group table', () => {
+ cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(0).trigger('mouseover');
+ cy.contains('Traces of all requests that share a common API and operation at the start of distributed tracing instrumentation.').should('be.visible');
+ cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(1).trigger('mouseover');
+ cy.contains('Range of latencies for traces within a trace group in the selected time range.').should('be.visible');
+ cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(2).trigger('mouseover');
+ cy.contains('Average latency of traces within a trace group in the selected time range.').should('be.visible');
+ cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(3).trigger('mouseover');
+ cy.contains('24 hour time series view of hourly average, hourly percentile, and hourly range of latency for traces within a trace group.').should('be.visible');
+ cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(4).trigger('mouseover');
+ cy.contains('Error rate based on count of trace errors within a trace group in the selected time range.').should('be.visible');
+ cy.get('.euiIcon.euiIcon--small.euiIcon--subdued.euiIcon-isLoaded.eui-alignTop').eq(5).trigger('mouseover');
+ cy.contains('Count of traces with unique trace identifiers in the selected time range.').should('be.visible');
+ });
+
+ it('Verify Search engine on Trace dashboard', () => {
+ cy.get('.euiFieldSearch.euiFieldSearch--fullWidth').click().type('client_pay_order{enter}');
+ cy.wait(delay);
+ cy.get('.euiTableCellContent.euiTableCellContent--alignRight.euiTableCellContent--overflowingContent').contains('211.04').should('exist');
+ cy.get('button[data-test-subj="dashboard-table-trace-group-name-button"]').click();
+ cy.get('.euiBadge.euiBadge--hollow.euiBadge--iconRight.globalFilterItem').click();
+ cy.get('.euiIcon.euiIcon--medium.euiContextMenu__arrow').click();
+ cy.get('.euiContextMenuPanelTitle').contains('Edit filter').should('exist');
+ cy.get('.euiButton.euiButton--primary.euiButton--fill').click();
+ cy.get('.euiBadge.euiBadge--hollow.euiBadge--iconRight.globalFilterItem').click();
+ cy.get('.euiContextMenuItem__text').eq(1).contains('Exclude results').click();
+ cy.get('.euiTextColor.euiTextColor--danger').should('exist');
+ cy.get('.euiBadge.euiBadge--hollow.euiBadge--iconRight.globalFilterItem').click();
+ cy.get('.euiContextMenuItem__text').eq(1).contains('Include results').click();
+ cy.get('.euiBadge.euiBadge--hollow.euiBadge--iconRight.globalFilterItem').click();
+ cy.get('.euiContextMenuItem__text').eq(2).contains('Temporarily disable').click();
+ cy.get('.euiBadge.euiBadge--iconRight.globalFilterItem.globalFilterItem-isDisabled').should('exist').click();
+ cy.get('.euiContextMenuItem__text').eq(2).contains('Re-enable').click();
+ cy.get('.euiBadge.euiBadge--hollow.euiBadge--iconRight.globalFilterItem').click();
+ cy.get('.euiContextMenuItem__text').eq(3).contains('Delete').click();
+ });
+});
+
+describe('Testing filters on trace analytics page', () =>{
+ beforeEach(() => {
+ cy.visit('app/observability-dashboards#/trace_analytics/home', {
+ onBeforeLoad: (win) => {
+ win.sessionStorage.clear();
+ },
+ });
+ setTimeFilter();
+ });
+
+ it('Verify Change all filters', () =>{
+ cy.get('.euiButtonIcon.euiButtonIcon--primary.euiButtonIcon--empty.euiButtonIcon--xSmall').click();
+ cy.get('.euiContextMenuPanelTitle').contains('Change all filters').should('exist');
+ cy.get('.euiContextMenuItem__text').eq(0).contains('Enable all');
+ cy.get('.euiContextMenuItem__text').eq(1).contains('Disable all');
+ cy.get('.euiContextMenuItem__text').eq(2).contains('Invert inclusion');
+ cy.get('.euiContextMenuItem__text').eq(3).contains('Invert enabled/disabled');
+ cy.get('.euiContextMenuItem__text').eq(4).contains('Remove all');
+ })
+
+ it('Verify Add filter section', () => {
+ cy.get('.euiPopover.euiPopover--anchorDownLeft').contains('+ Add filter').click();
+ cy.get('.euiPopoverTitle').contains('Add filter').should('exist');
+ cy.wait(delay);
+ cy.get('.euiComboBox__inputWrap.euiComboBox__inputWrap--noWrap').eq(0).trigger('mouseover').click();
+ cy.get('.euiComboBoxOption__content').eq(1).click();
+ cy.get('.euiComboBox__inputWrap.euiComboBox__inputWrap--noWrap').eq(1).trigger('mouseover').click();
+ cy.get('.euiComboBoxOption__content').eq(2).click();
+ cy.get('.euiButton.euiButton--primary.euiButton--fill').contains('Save').click();
+ cy.get('.euiBadge__content').should('exist').click();
+ cy.get('.euiIcon.euiIcon--medium.euiContextMenu__arrow').click();
+ cy.get('[data-test-subj="filter-popover-cancel-button"]').contains('Cancel').click();
+ cy.get('.euiIcon.euiIcon--small.euiIcon--inherit.euiBadge__icon').click();
+ })
+});
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 0000000000..bd2cd4c419
--- /dev/null
+++ b/.cypress/integration/5_trace_analytics_services.spec.js
@@ -0,0 +1,279 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+///
+
+import { delay, SERVICE_NAME, SERVICE_SPAN_ID, setTimeFilter, verify_traces_spans_data_grid_cols_exists, count_table_row } 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.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.contains(' (1)').should('exist');
+ cy.contains('3.57%').should('exist');
+ });
+
+ it('Verify columns in Services table', () => {
+ cy.get('.euiFlexItem.euiFlexItem--flexGrow10 .panel-title').contains('Services').should('exist');
+ cy.get('.euiTableCellContent__text[title="Name"]').should('exist');
+ cy.get('.euiTableCellContent__text[title="Average latency (ms)"]').should('exist');
+ cy.get('.euiTableCellContent__text[title="Error rate"]').should('exist');
+ cy.get('.euiTableCellContent__text[title="Throughput"]').should('exist');
+ cy.get('.euiTableCellContent__text[title="No. of connected services"]').should('exist');
+ cy.get('.euiTableCellContent__text[title="Connected services"]').should('exist');
+ cy.get('.euiTableCellContent__text[title="Traces"]').should('exist');
+ cy.get('[data-test-subj="tablePaginationPopoverButton"]').click();
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiContextMenu__icon').eq(0).should('exist').click();
+ cy.get('[data-test-subj="pagination-button-next"]').should('exist').click();
+ cy.get('.euiLink.euiLink--primary').contains('order').should('exist');
+ })
+
+ it('Navigate from Services to Traces', () => {
+ cy.get('.euiTableCellContent__text[title="Traces"]').should('exist');
+ cy.contains('74').should('exist').click();
+ cy.get('.euiText.euiText--medium .panel-title').should('exist');
+ cy.get('.euiBadge__childButton[data-test-subj="filterBadge"]').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();
+ },
+ });
+ });
+
+ it('Renders service view empty state', () => {
+ cy.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('.euiLink').contains(SERVICE_SPAN_ID).trigger('mouseover', { force: true });
+ 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');
+ });
+});
+
+describe('Testing Service map', () => {
+ beforeEach(() => {
+ cy.visit('app/observability-dashboards#/trace_analytics/services', {
+ onBeforeLoad: (win) => {
+ win.sessionStorage.clear();
+ },
+ });
+ setTimeFilter();
+ });
+
+ it('Render Service map', () => {
+ cy.get('.euiText.euiText--medium .panel-title').contains('Service map');
+ cy.get('[data-test-subj="latency"]').should('exist');
+ cy.get('.ytitle').contains('Latency (ms)');
+ cy.get('[data-text = "Error rate"]').click();
+ cy.contains('60%');
+ cy.get('[data-text = "Throughput"]').click();
+ cy.contains('100');
+ cy.get('.euiText.euiText--medium').contains('Focus on').should('exist');
+ cy.get('[placeholder="Service name"]').focus().type('database{enter}');
+ })
+});
+
+describe('Testing traces Spans table verify table headers functionality', () => {
+ beforeEach(() => {
+ cy.visit('app/observability-dashboards#/trace_analytics/services', {
+ onBeforeLoad: (win) => {
+ win.sessionStorage.clear();
+ },
+ });
+ setTimeFilter();
+ });
+
+ it('Renders the spans table and verify columns headers', () => {
+ cy.contains(' (8)').should('exist');
+ cy.contains('analytics-service, frontend-client, recommendation').should('exist');
+ cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
+ cy.get('.panel-title').contains('Spans').should('exist');
+ cy.get('.panel-title-count').contains('5').should('exist');
+ verify_traces_spans_data_grid_cols_exists();
+ });
+
+ it('Toggle columns and verify the columns hidden text verify rows', () => {
+ cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
+ cy.get('[data-test-subj = "dataGridColumnSelectorButton"]').click();
+ cy.get('.euiSwitch.euiSwitch--compressed.euiSwitch--mini .euiSwitch__button').eq(3).click();
+ cy.get('.euiButtonEmpty__text').eq(3).click().should('have.text', '2 columns hidden');
+ count_table_row(5);
+ });
+
+ it('Show all button Spans table', () => {
+ cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
+ cy.get('[data-test-subj = "dataGridColumnSelectorButton"]').click();
+ cy.get('.euiPopoverFooter .euiFlexItem.euiFlexItem--flexGrowZero').eq(0).should('have.text', 'Show all').click();
+ cy.get('.euiDataGrid__focusWrap').click().should('exist');
+ verify_traces_spans_data_grid_cols_exists();
+ });
+
+ it('Hide all button Spans table', () => {
+ cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
+ cy.get('[data-test-subj = "dataGridColumnSelectorButton"]').click();
+ cy.get('.euiPopoverFooter .euiFlexItem.euiFlexItem--flexGrowZero').eq(1).should('have.text', 'Hide all').click();
+ cy.get('.euiDataGrid__focusWrap').click().should('exist');
+ cy.get('[data-test-subj="dataGridColumnSelectorPopover"]').should('have.text', '10 columns hidden');
+ });
+
+ it('Render Spans table and change data table Density', () => {
+ cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
+ verify_traces_spans_data_grid_cols_exists();
+ cy.get('.euiButtonEmpty__text').contains('Density').click();
+ cy.get('.euiButtonContent__icon').eq(5).click();
+ cy.get('.euiButtonContent__icon').eq(6).click();
+ cy.get('.euiButtonContent__icon').eq(7).click();
+ });
+
+ it('Render Spans table and and click on sort', () => {
+ cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
+ verify_traces_spans_data_grid_cols_exists();
+ cy.get('[data-test-subj="dataGridColumnSortingButton"]').contains('Sort fields').should('exist').click();
+ cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection"]').click();
+ cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-spanId').click();
+ cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-parentSpanId"]').click();
+ cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-traceId"]').click();
+ cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-traceGroup').click();
+ cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-durationInNanos"]').click();
+ cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-startTime"]').click();
+ cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-endTime').click();
+ cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection-status.code"]').click();
+ cy.get('.euiButtonEmpty__text').eq(5).contains('8 fields sorted').should('exist');
+ cy.get('[data-test-subj="dataGridColumnSortingPopoverColumnSelection"]').click();
+ cy.get('[data-test-subj="dataGridColumnSortingButton"]').should('exist').click();
+ });
+});
+
+
+describe('Testing traces Spans table and verify columns functionality', () => {
+ beforeEach(() => {
+ cy.visit('app/observability-dashboards#/trace_analytics/services', {
+ onBeforeLoad: (win) => {
+ win.sessionStorage.clear();
+ },
+ });
+ setTimeFilter();
+ });
+
+ it('Renders the spans table and click on first span to verify details', () => {
+ cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
+ verify_traces_spans_data_grid_cols_exists();
+ cy.get('.euiLink--primary').eq(4).click();
+ cy.get('[data-test-subj="spanDetailFlyout"] .euiTitle.euiTitle--medium').contains('Span detail').should('exist');
+ cy.get('.euiFlyoutBody .panel-title').contains('Overview').should('exist');
+ cy.get('.euiTextColor.euiTextColor--subdued').contains('Span ID').should('exist');
+ cy.get('.euiDescriptionList__description .euiFlexItem').eq(0).contains('d03fecfa0f55b77c').should('exist');
+ cy.get('.euiFlyoutBody__overflowContent .panel-title').contains('Span attributes').should('exist');
+ cy.get('.euiDescriptionList__description .euiFlexItem').eq(0).trigger('mouseover').click();
+ cy.get('[aria-label="span-flyout-filter-icon"]').click();
+ cy.get('.euiFlyout__closeButton.euiFlyout__closeButton--inside').click();
+ cy.get('.euiBadge__content .euiBadge__text').contains('spanId: d03fecfa0f55b77c').should('exist');
+ count_table_row(1);
+ cy.get('[aria-label="remove current filter"]').click();
+ count_table_row(5);
+ });
+
+ it('Render Spans table and verify Column functionality', () => {
+ cy.get('.euiLink.euiLink--primary').contains('authentication').should('exist').click();
+ verify_traces_spans_data_grid_cols_exists();
+ cy.get('.euiDataGridHeaderCell__content').contains('Span ID').click();
+ cy.get('.euiListGroupItem__label').contains('Hide column').click();
+ cy.get('.euiDataGridHeaderCell__content').contains('Trace ID').click();
+ cy.get('.euiListGroupItem__label').contains('Sort A-Z').click();
+ cy.get('.euiDataGridHeaderCell__content').contains('Trace group').click();
+ cy.get('.euiListGroupItem__label').contains('Move left').click();
+ });
+});
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 0000000000..14f71ec101
--- /dev/null
+++ b/.cypress/integration/6_trace_analytics_traces.spec.js
@@ -0,0 +1,155 @@
+/*
+ * 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.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.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();
+ },
+ });
+ });
+
+ 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.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[href="#/trace_analytics/traces/${TRACE_ID}"]`).click();
+ cy.wait(delay);
+ cy.get('h2.euiTitle').contains(TRACE_ID).should('exist');
+ cy.get('.euiBreadcrumb[href="#/trace_analytics/traces"]').click();
+ cy.wait(delay);
+ cy.get('.euiTitle').contains('Traces').should('exist');
+ cy.get('.euiBreadcrumb[href="#/trace_analytics/home"]').click();
+ cy.wait(delay);
+ cy.get('.euiTitle').contains('Dashboard').should('exist');
+ cy.get('.euiBreadcrumb[href="observability-dashboards#/"]').click();
+ cy.wait(delay);
+ cy.get('.euiTitle').contains('Event analytics').should('exist');
+ });
+
+ it('Renders data grid, flyout and filters', () => {
+ cy.get('.euiButton__text[title="Span list"]').click({ force: true });
+ cy.contains('2 columns hidden').should('exist');
+
+ cy.wait(delay);
+ cy.get('.euiLink').contains(SPAN_ID).trigger('mouseover', { force: true });
+ cy.get('button[data-datagrid-interactable="true"]').eq(0).click({ force: true });
+ cy.get('button[data-datagrid-interactable="true"]').eq(0).click({ force: true }); // first click doesn't go through eui data grid
+ 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');
+ });
+});
+
+describe('Testing traces table', () => {
+ beforeEach(() => {
+ cy.visit('app/observability-dashboards#/trace_analytics/traces', {
+ onBeforeLoad: (win) => {
+ win.sessionStorage.clear();
+ },
+ });
+ setTimeFilter();
+ });
+
+ it('Renders the traces table and verify Table Column, Pagination and Rows Data ', () => {
+ cy.get('.euiTableCellContent__text').contains('Trace ID').should('exist');
+ cy.get('.euiTableCellContent__text').contains('Trace group').should('exist');
+ cy.get('.euiTableCellContent__text').contains('Latency (ms)').should('exist');
+ cy.get('.euiTableCellContent__text').contains('Percentile in trace group').should('exist');
+ cy.get('.euiTableCellContent__text').contains('Errors').should('exist');
+ cy.get('.euiTableCellContent__text').contains('Last updated').should('exist');
+ cy.get('[data-test-subj="pagination-button-next"]').click();
+ cy.contains('client_pay_order').should('exist');
+ cy.get('[data-test-subj="pagination-button-previous"]').click();
+ cy.contains('224.99').should('exist');
+ cy.get('.euiButtonEmpty').contains('5').click();
+ cy.contains('690d3c7af1a78cf89c43e...').should('exist');
+ cy.contains('5be8370207cbb002a165d...').click();
+ cy.contains('client_create_order').should('exist');
+ cy.get('path[style*="rgb(116, 146, 231)"]').should('exist');
+ cy.go('back');
+ cy.wait(delay);
+ cy.get('.euiButtonEmpty__text').contains('Rows per page').click();
+ cy.get('.euiContextMenuItem__text').contains('15 rows').click();
+ let expected_row_count=15;
+ cy.get('.euiTable--auto')
+ .find("tr")
+ .then((row) => {
+ let total=row.length-1;
+ expect(total).to.equal(expected_row_count);
+ });
+ });
+});
diff --git a/.cypress/integration/7_app_analytics.spec.js b/.cypress/integration/7_app_analytics.spec.js
new file mode 100644
index 0000000000..377b2d3237
--- /dev/null
+++ b/.cypress/integration/7_app_analytics.spec.js
@@ -0,0 +1,596 @@
+/*
+ * 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('[data-text="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="euiColorPickerAnchor"]').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="euiColorPickerAnchor"]').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="euiColorPickerAnchor"]').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/integration/VisualizationCharts/10_scatter_chart.spec.js b/.cypress/integration/VisualizationCharts/10_scatter_chart.spec.js
new file mode 100644
index 0000000000..0c093812e1
--- /dev/null
+++ b/.cypress/integration/VisualizationCharts/10_scatter_chart.spec.js
@@ -0,0 +1,228 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+///
+import {
+ delay,
+ TEST_QUERIES,
+ querySearch,
+ landOnEventVisualizations
+ } from '../../utils/event_analytics/constants';
+
+ const numberOfWindow = 4;
+ const legendSize = 20;
+ const pointSize = 30;
+ const pointSizeUpdated = 35;
+ const lineWidth = 7;
+ const lineWidthUpdated = 9;
+ const fillOpacity = 10;
+ const fillOpacityUpdated = 50;
+ const rotateLevel = 45;
+ const thresholdValue = 50;
+
+ const renderScatterChart = () => {
+ landOnEventVisualizations();
+ querySearch(TEST_QUERIES[6].query, TEST_QUERIES[6].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]').type('scatter').type('{enter}');
+ };
+
+ describe('Render scatter chart and verify default behaviour ', () => {
+ beforeEach(() => {
+ renderScatterChart();
+ });
+
+ it('Render scatter chart and verify by default the data gets render', () => {
+ cy.get('.xy').should('exist');
+ });
+
+ it('Render scatter chart and verify you see data configuration panel and chart panel', () => {
+ cy.get('.euiPanel.euiPanel--paddingSmall').should('have.length', numberOfWindow);
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Data Configurations').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Dimensions').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Metrics').should('exist');
+ cy.get('.euiIEFlexWrapFix').contains('Panel options').click();
+ cy.get('.euiIEFlexWrapFix').contains('Legend').click();
+ cy.get('.euiIEFlexWrapFix').contains('Chart styles').click();
+ cy.get('.euiIEFlexWrapFix').contains('Color theme').click();
+ cy.get('.euiIEFlexWrapFix').contains('Thresholds').click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(1).click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(2).click();
+ });
+
+ it('Render scatter chart and verify the data configuration panel and chart panel are collapsable', () => {
+ cy.get('.euiPanel.euiPanel--paddingSmall').should('have.length', numberOfWindow);
+ cy.get('[aria-label="Press to toggle this panel"]').eq(1).click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(2).click();
+ });
+ });
+
+ describe('Render scatter chart for data configuration panel', () => {
+ beforeEach(() => {
+ renderScatterChart();
+ });
+
+ it('Render scatter chart and verify data config panel', () => {
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(0).should('contain', 'span(timestamp,1d)');
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(1).should('contain', 'count()');
+ });
+
+ it('Render scatter chart and verify data config panel no result found if metric is missing', () => {
+ cy.get('[data-test-subj="comboBoxClearButton"]').eq(1).click();
+ cy.get('.euiTextColor.euiTextColor--subdued').contains('No results found').should('exist');
+ cy.get('.euiComboBoxOption__content').contains('count()').click();
+ cy.get('.main-svg').contains('No results found').should('not.exist');
+ });
+ });
+
+ describe('Render scatter chart for panel options', () => {
+ beforeEach(() => {
+ renderScatterChart();
+ });
+
+ it('Render scatter chart and verify the title gets updated according to user input ', () => {
+ cy.get('input[name="title"]').type("scatter Chart");
+ cy.get('textarea[name="description"]').should('exist').click();
+ cy.get('.gtitle').contains('scatter Chart').should('exist');
+ });
+ });
+
+ describe('Render scatter chart for legend', () => {
+ beforeEach(() => {
+ renderScatterChart();
+ });
+
+ it('Render scatter chart and verify legends for Show and Hidden', () => {
+ cy.get('[data-text="Show"]').should('have.text', 'Show');
+ cy.get('[data-text="Show"] [data-test-subj="show"]').should('have.attr', 'checked');
+ cy.get('[data-text="Hidden"]').should('have.text', 'Hidden').click();
+ cy.get('[data-text="Hidden"] [data-test-subj="hidden"]').should('not.have.attr', 'checked');
+ cy.get('[data-unformatted="max(bytes)"]').should('not.exist');
+ });
+
+ it('Render scatter chart and verify legends for position Right and Bottom', () => {
+ cy.get('[data-text="Right"] [data-test-subj="v"]').should('have.attr', 'checked');
+ cy.get('[data-text="Bottom"]').should('have.text', 'Bottom').click();
+ cy.get('[data-text="Bottom"] [data-test-subj="h"]').should('not.have.attr', 'checked');
+ });
+
+ it('Render scatter chart and increase Legend Size', () => {
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(0).click().type(legendSize);
+ cy.get('textarea[name="description"]').should('exist').click();
+ cy.get('.legendtext').should('have.css', 'font-size', '20px');
+ });
+ });
+
+ describe('Render scatter chart for Chart Styles ', () => {
+ beforeEach(() => {
+ renderScatterChart();
+ });
+
+ it('Render ltime serires and verify chart style of Marker Mode', () => {
+ cy.get('#configPanel__panelOptions .euiFieldText').click().type('scatter chart');
+ cy.get('.euiFlexItem .euiFormRow [placeholder="Description"]').click().type('This is the description for scatter chart with chart style of Points');
+ cy.get('[data-text="Marker"]').should('have.text', 'Marker').click();
+ cy.get('[data-text="Marker"] [data-test-subj="markers"]').should('have.attr', 'checked');
+
+ });
+
+ it('Render scatter chart and verify chart style of Marker Mode with larger Point size', () => {
+ cy.get('#configPanel__panelOptions .euiFieldText').click().type('scatter chart');
+ cy.get('.euiFlexItem .euiFormRow [placeholder="Description"]').click().type('This is the description for scatter chart with chart style of Points');
+ cy.get('[data-text="Marker"]').should('have.text', 'Marker').click();
+ cy.get('[data-text="Marker"] [data-test-subj="markers"]').should('have.attr', 'checked');
+ cy.get('input[type="range"]')
+ .then($el => $el[0].stepUp(pointSize))
+ .trigger('change')
+ cy.get('.euiRangeSlider').should('have.value', pointSizeUpdated)
+
+ });
+
+ it('Render scatter chart and verify chart style of Lines+Marker Mode', () => {
+ cy.get('#configPanel__panelOptions .euiFieldText').click().type('scatter chart');
+ cy.get('.euiFlexItem .euiFormRow [placeholder="Description"]').click().type('This is the description for scatter chart with chart style of Lines and Marker');
+ cy.get('[data-text="Lines + Markers"]').should('have.text', 'Lines + Markers').click();
+ cy.get('[data-text="Lines + Markers"] [data-test-subj="lines+markers"]').should('not.have.attr', 'checked');
+
+ });
+
+ it('Render scatter chart and verify chart style of Lines+Marker Mode with Line Width, Fill Opacity and Point Size', () => {
+ cy.get('#configPanel__panelOptions .euiFieldText').click().type('scatter chart');
+ cy.get('.euiFlexItem .euiFormRow [placeholder="Description"]').click().type('This is the description for scatter chart with chart style of Lines and Marker');
+ cy.get('[data-text="Lines + Markers"]').should('have.text', 'Lines + Markers').click();
+ cy.get('[data-text="Lines + Markers"] [data-test-subj="lines+markers"]').should('not.have.attr', 'checked');
+ cy.get('input[type="range"]').eq(0)
+ .then($el => $el[0].stepUp(lineWidth))
+ .trigger('change')
+ cy.get('.euiRangeSlider').eq(0).should('have.value', lineWidthUpdated)
+ cy.get('input[type="range"]').eq(1)
+ .then($el => $el[0].stepUp(fillOpacity))
+ .trigger('change')
+ cy.get('.euiRangeSlider').eq(1).should('have.value', fillOpacityUpdated)
+ cy.get('input[type="range"]').eq(2)
+ .then($el => $el[0].stepUp(pointSize))
+ .trigger('change')
+ cy.get('.euiRangeSlider').eq(2).should('have.value', pointSizeUpdated)
+ cy.get('input[type="range"]').eq(3)
+ .then($el => $el[0].stepUp(rotateLevel))
+ .trigger('change')
+ cy.get('.euiRangeSlider').eq(3).should('have.value', rotateLevel)
+ });
+ });
+
+ describe('Render scatter chart for color theme', () => {
+ beforeEach(() => {
+ renderScatterChart();
+ });
+
+ it('Render scatter chart and "Add Color theme"', () => {
+ cy.get('.euiButton__text').contains('+ Add color theme').click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="comboBoxInput"]').eq(5).click();
+ cy.get('.euiComboBoxOption__content').contains('count()').click();
+ cy.get('path[style*="rgb(252, 5, 5)"]').should('exist');
+
+ });
+ });
+
+ describe('Render scatter chart and work with Thresholds', () => {
+ beforeEach(() => {
+ renderScatterChart();
+ });
+
+ it('Render scatter chart and add threshold', () => {
+ cy.get('.euiButton__text').contains('+ Add threshold').click();
+ cy.get('[data-test-subj="nameFieldText"]').type('scatter chart Threshold');
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(1).type(thresholdValue);
+ cy.get('[data-unformatted="scatter chart Threshold"]').should('be.visible');
+ cy.get('path[style*="rgb(252, 5, 5)"]').should('exist');
+ });
+ });
+
+ describe('Render scatter chart and verify if reset works properly', () => {
+ beforeEach(() => {
+ renderScatterChart();
+ });
+
+ it('Render scatter chart with all feild data then click on reset and verify reset works properly', () => {
+ cy.get('input[placeholder="Title"]').type('scatter chart');
+ cy.get('textarea[placeholder="Description"]').type('Description For scatter chart');
+ cy.get('[data-text="Hidden"]').should('have.text', 'Hidden').click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(0).click().type(legendSize);
+ cy.get('.euiButton__text').contains('+ Add color theme').click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="comboBoxInput"]').eq(5).click();
+ cy.get('.euiComboBoxOption__content').contains('count()').click();
+ cy.get('.euiButton__text').contains('+ Add threshold').click();
+ cy.get('[data-test-subj="nameFieldText"]').type('scatter chart Threshold');
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(1).type(thresholdValue);
+ cy.get('.euiButtonEmpty__text').contains('Reset').click();
+ cy.get('input[placeholder="Title"]').should('not.have.value', 'scatter chart');
+ cy.get('textarea[placeholder="Description"]').should('not.have.value', 'Description For scatter chart')
+ cy.get('[data-text="Show"] [data-test-subj="show"]').should('have.attr', 'checked');
+ cy.get('[data-text="Right"] [data-test-subj="v"]').should('have.attr', 'checked');
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(0).should('have.value', '');
+ });
+ });
+
\ No newline at end of file
diff --git a/.cypress/integration/VisualizationCharts/11_horizontalBar_chart.spec.js b/.cypress/integration/VisualizationCharts/11_horizontalBar_chart.spec.js
new file mode 100644
index 0000000000..d8eba981e5
--- /dev/null
+++ b/.cypress/integration/VisualizationCharts/11_horizontalBar_chart.spec.js
@@ -0,0 +1,244 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+///
+import {
+ delay,
+ TEST_QUERIES,
+ querySearch,
+ landOnEventVisualizations,
+ } from '../../utils/event_analytics/constants';
+
+ const numberOfWindow = 4;
+ const labelSize = 20;
+ const rotateLevel = 45;
+ const groupWidth = 10;
+ const groupWidthUpdated = 0.8;
+ const barWidth = 10;
+ const barWidthUpdated = 80;
+ const lineWidth = 7;
+ const lineWidthUpdated = 8;
+ const fillOpacity = 10;
+ const fillOpacityUpdated = 90;
+ const numberOfColor = 24;
+
+ const renderHorizontalBarChart = () => {
+ landOnEventVisualizations();
+ querySearch(TEST_QUERIES[4].query, TEST_QUERIES[4].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]')
+ .type('Horizontal Bar')
+ .type('{enter}');
+ };
+
+ describe('Render horizontal bar chart and verify default behaviour ', () => {
+ beforeEach(() => {
+ renderHorizontalBarChart();
+ });
+
+ it('Render horizontal bar chart and verify by default the data gets render', () => {
+ cy.get('.xy').should('exist');
+ });
+
+ it('Render horizontal bar chart and verify you see data configuration panel and chart panel', () => {
+ cy.get('.euiPanel.euiPanel--paddingSmall').should('have.length', numberOfWindow);
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Data Configurations').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Dimensions').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Metrics').should('exist');
+ cy.get('.euiIEFlexWrapFix').contains('Panel options').click();
+ cy.get('.euiIEFlexWrapFix').contains('Legend').click();
+ cy.get('.euiIEFlexWrapFix').contains('Chart styles').click();
+ cy.get('.euiIEFlexWrapFix').contains('Color theme').click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(1).click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(2).click();
+ });
+
+ it('Render horizontal bar chart and verify the data configuration panel and chart panel are collapsable', () => {
+ cy.get('.euiPanel.euiPanel--paddingSmall').should('have.length', numberOfWindow);
+ cy.get('[aria-label="Press to toggle this panel"]').eq(1).click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(2).click();
+ });
+ });
+
+ describe('Render horizontal bar chart for data configuration panel', () => {
+ beforeEach(() => {
+ renderHorizontalBarChart();
+ });
+
+ it('Render horizontal bar chart and verify data config panel', () => {
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(0).should('contain', 'tags');
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(1).should('contain', 'count()');
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(2).should('contain', 'avg(bytes)');
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(3).should('contain', 'host');
+ });
+
+ it('Render horizontal bar chart and verify data config panel restrict user to select a duplicate field on dimension field', () => {
+ cy.get('[data-test-subj="comboBoxInput"]').eq(1).click();
+ cy.get('[data-test-subj="comboBoxClearButton"]').eq(0).click();
+ cy.get('[data-test-subj="comboBoxInput"]').eq(1).click();
+ cy.get('.euiComboBoxOption__content').should('have.length', 1);
+ cy.get('.euiComboBoxOption__content').contains('tags');
+ });
+
+ it('Render horizontal bar chart and verify data config panel Restrict user to select a duplicate field on Metrics field', () => {
+ cy.get('.euiText.euiText--extraSmall').eq(1).click();
+ cy.get('[data-test-subj="comboBoxClearButton"]').eq(1).click();
+ cy.get('[data-test-subj="comboBoxInput"]').eq(3).click();
+ cy.get('.euiComboBoxOption__content').should('not.contain', 'tags');
+ cy.get('.euiComboBoxOption__content').should('have.length', 2);
+ });
+
+ it('Render horizontal bar chart and verify data config panel no result found if metric is missing', () => {
+ cy.get('.euiText.euiText--extraSmall').eq(0).click();
+ cy.get('.euiText.euiText--extraSmall').eq(1).click();
+ cy.get('[data-test-subj="comboBoxClearButton"]').eq(1).click();
+ cy.get('[data-test-subj="comboBoxInput"]').eq(0).click();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.euiTextColor.euiTextColor--subdued').contains('No results found').should('exist');
+ cy.get('[data-test-subj="comboBoxInput"]').eq(3).click();
+ cy.get('.euiComboBoxOption__content').contains('avg(bytes)').click();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.main-svg').contains('No results found').should('not.exist');
+ });
+ });
+
+ describe('Render horizontal bar chart for panel options', () => {
+ beforeEach(() => {
+ renderHorizontalBarChart();
+ });
+
+ it('Render horizontal bar chart and verify the title gets updated according to user input ', () => {
+ cy.get('input[name="title"]').type('horizontal bar chart');
+ cy.get('textarea[name="description"]').should('exist').click();
+ cy.get('.gtitle').contains('horizontal bar chart').should('exist');
+ });
+ });
+
+ describe('Render horizontal bar chart for legend', () => {
+ beforeEach(() => {
+ renderHorizontalBarChart();
+ });
+
+ it('Render horizontal bar chart and verify legends for Show and Hidden', () => {
+ cy.get('[data-text="Show"]').should('have.text', 'Show');
+ cy.get('[data-text="Show"] [data-test-subj="show"]').should('have.attr', 'checked');
+ cy.get('[data-text="Hidden"]').should('have.text', 'Hidden').click();
+ cy.get('[data-text="Hidden"] [data-test-subj="hidden"]').should('not.have.attr', 'checked');
+ cy.get('[data-unformatted="max(bytes)"]').should('not.exist');
+ });
+
+ it('Render horizontal bar chart and verify legends for position Right and Bottom', () => {
+ cy.get('[data-text="Right"]').should('have.text', 'Right');
+ cy.get('[data-text="Right"] [data-test-subj="v"]').should('have.attr', 'checked');
+ cy.get('[data-text="Bottom"]').should('have.text', 'Bottom').click();
+ cy.get('[data-text="Bottom"] [data-test-subj="h"]').should('not.have.attr', 'checked');
+ });
+ });
+
+ describe('Render horizontal bar chart for chart style options', () => {
+ beforeEach(() => {
+ renderHorizontalBarChart();
+ });
+
+ it('Render horizontal bar chart and increase Label Size ', () => {
+ cy.get('[data-test-subj="valueFieldNumber"]').click().type(labelSize);
+ cy.get('textarea[name="description"]').should('exist').click();
+ cy.get('[data-unformatted="login"]').should('have.css', 'font-size', '20px');
+ });
+
+ it('Render horizontal bar chart and "Rotate bar labels"', () => {
+ cy.get('input[type="range"]')
+ .eq(0)
+ .then(($el) => $el[0].stepUp(rotateLevel))
+ .trigger('change');
+ cy.get('.euiRangeSlider').eq(0).should('have.value', rotateLevel);
+ });
+
+ it('Render horizontal bar chart and change "Group Width"', () => {
+ cy.get('input[type="range"]')
+ .eq(1)
+ .then(($el) => $el[0].stepUp(groupWidth))
+ .trigger('change');
+ cy.get('.euiRangeSlider').eq(1).should('have.value', groupWidthUpdated);
+ });
+
+ it('Render horizontal bar chart and change "Bar Width"', () => {
+ cy.get('input[type="range"]')
+ .eq(2)
+ .then(($el) => $el[0].stepDown(barWidth))
+ .trigger('change');
+ cy.get('.euiRangeSlider').eq(4).should('have.value', barWidthUpdated);
+ });
+
+ it('Render horizontal bar chart and change "Line Width"', () => {
+ cy.get('input[type="range"]')
+ .eq(3)
+ .then(($el) => $el[0].stepUp(lineWidth))
+ .trigger('change');
+ cy.get('.euiRangeSlider').eq(3).should('have.value', lineWidthUpdated);
+ });
+
+ it('Render horizontal bar chart and change "Fill Opacity"', () => {
+ cy.get('input[type="range"]')
+ .eq(4)
+ .then(($el) => $el[0].stepUp(fillOpacity))
+ .trigger('change');
+ cy.get('.euiRangeSlider').eq(4).should('have.value', fillOpacityUpdated);
+ });
+ });
+
+ describe('Render horizontal bar chart for color theme', () => {
+ beforeEach(() => {
+ renderHorizontalBarChart();
+ });
+
+ it('Render horizontal bar chart and "Add color theme"', () => {
+ cy.get('.euiButton__text').contains('+ Add color theme').click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="comboBoxInput"]').eq(9).click();
+ cy.get('.euiComboBoxOption__content').contains('avg(bytes)').click();
+ cy.get('.point').find('path[style*="rgb(252, 5, 5)"]').should('have.length', numberOfColor);
+ });
+ });
+
+ describe('Render horizontal bar chart and verify if reset works properly', () => {
+ beforeEach(() => {
+ renderHorizontalBarChart();
+ });
+
+ it('Render horizontal bar chart with all feild data then click on reset and verify reset works properly', () => {
+ cy.get('input[placeholder="Title"]').type('horizontal bar chart');
+ cy.get('textarea[placeholder="Description"]').type('Description For horizontal bar chart');
+ cy.get('.euiButton__text').contains('Hidden').click();
+ cy.get('.euiButton__text').contains('Stack').click();
+ cy.get('[data-test-subj="valueFieldNumber"]').click().type(labelSize);
+ cy.get('input[type="range"]')
+ .eq(0)
+ .then(($el) => $el[0].stepUp(rotateLevel))
+ .trigger('change');
+ cy.get('input[type="range"]')
+ .eq(1)
+ .then(($el) => $el[0].stepUp(groupWidth))
+ .trigger('change');
+ cy.get('input[type="range"]')
+ .eq(2)
+ .then(($el) => $el[0].stepDown(barWidth))
+ .trigger('change');
+ cy.get('input[type="range"]')
+ .eq(3)
+ .then(($el) => $el[0].stepUp(lineWidth))
+ .trigger('change');
+ cy.get('.euiButtonEmpty__text').contains('Reset').click();
+ cy.get('input[placeholder="Title"]').should('not.have.value', 'horizontal bar chart');
+ cy.get('textarea[placeholder="Description"]').should(
+ 'not.have.value',
+ 'Description For horizontal bar chart'
+ );
+ cy.get('[data-text="Show"] [data-test-subj="show"]').should('have.attr', 'checked');
+ cy.get('[data-text="Right"] [data-test-subj="v"]').should('have.attr', 'checked');
+ cy.get('[data-text="Vertical"] [data-test-subj="v"]').should('have.attr', 'checked');
+ cy.get('[data-text="Group"] [data-test-subj="group"]').should('have.attr', 'checked');
+ cy.get('[data-test-subj="valueFieldNumber"]').should('have.value', '');
+ });
+ });
diff --git a/.cypress/integration/VisualizationCharts/12_boxPlot_chart.spec.js b/.cypress/integration/VisualizationCharts/12_boxPlot_chart.spec.js
new file mode 100644
index 0000000000..be143450b1
--- /dev/null
+++ b/.cypress/integration/VisualizationCharts/12_boxPlot_chart.spec.js
@@ -0,0 +1,248 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+///
+import {
+ delay,
+ TEST_QUERIES,
+ querySearch,
+ landOnEventVisualizations,
+} from '../../utils/event_analytics/constants';
+
+const numberOfWindow = 4;
+const labelSize = 20;
+const rotateLevel = 45;
+const boxSize = 7;
+const boxSizeUpdated = 1;
+const markerSize = 5;
+const markerSizeUpdated = 1;
+const jitter = 2;
+const jitterUpdated = .1;
+const fillOpacity = 10;
+const fillOpacityUpdated = 50;
+const numberOfColor = 24;
+
+const renderBoxPlot = () => {
+ landOnEventVisualizations();
+ querySearch(TEST_QUERIES[4].query, TEST_QUERIES[4].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]')
+ .type('Box plot')
+ .type('{enter}');
+};
+
+describe('Render box plot and verify default behaviour ', () => {
+ beforeEach(() => {
+ renderBoxPlot();
+ });
+
+ it('Render box plot and verify by default the data gets render', () => {
+ cy.get('.xy').should('exist');
+ });
+
+ it('Render box plot and verify you see data configuration panel and chart panel', () => {
+ cy.get('.euiPanel.euiPanel--paddingSmall').should('have.length', numberOfWindow);
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Data Configurations').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Dimensions').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Metrics').should('exist');
+ cy.get('.euiIEFlexWrapFix').contains('Panel options').click();
+ cy.get('.euiIEFlexWrapFix').contains('Legend').click();
+ cy.get('.euiIEFlexWrapFix').contains('Chart styles').click();
+ cy.get('.euiIEFlexWrapFix').contains('Color Theme').click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(1).click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(2).click();
+ });
+
+ it('Render box plot and verify the data configuration panel and chart panel are collapsable', () => {
+ cy.get('.euiPanel.euiPanel--paddingSmall').should('have.length', numberOfWindow);
+ cy.get('[aria-label="Press to toggle this panel"]').eq(1).click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(2).click();
+ });
+});
+
+describe('Render box plot for data configuration panel', () => {
+ beforeEach(() => {
+ renderBoxPlot();
+ });
+
+ it('Render box plot and verify data config panel', () => {
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(0).should('contain', 'tags');
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(1).should('contain', 'count()');
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(2).should('contain', 'avg(bytes)');
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(3).should('contain', 'host');
+ });
+
+ it('Render box plot and verify data config panel restrict user to select a duplicate field on dimension field', () => {
+ cy.get('[data-test-subj="comboBoxInput"]').eq(1).click();
+ cy.get('[data-test-subj="comboBoxClearButton"]').eq(0).click();
+ cy.get('[data-test-subj="comboBoxInput"]').eq(1).click();
+ cy.get('.euiComboBoxOption__content').should('have.length', 1);
+ cy.get('.euiComboBoxOption__content').contains('tags');
+ });
+
+ it('Render box plot and verify data config panel Restrict user to select a duplicate field on Metrics field', () => {
+ cy.get('.euiText.euiText--extraSmall').eq(1).click();
+ cy.get('[data-test-subj="comboBoxClearButton"]').eq(1).click();
+ cy.get('[data-test-subj="comboBoxInput"]').eq(3).click();
+ cy.get('.euiComboBoxOption__content').should('not.contain', 'tags');
+ cy.get('.euiComboBoxOption__content').should('have.length', 2);
+ });
+
+ it('Render box plot and verify data config panel no result found if metric is missing', () => {
+ cy.get('.euiText.euiText--extraSmall').eq(0).click();
+ cy.get('.euiText.euiText--extraSmall').eq(1).click();
+ cy.get('[data-test-subj="comboBoxClearButton"]').eq(1).click();
+ cy.get('[data-test-subj="comboBoxInput"]').eq(0).click();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.euiTextColor.euiTextColor--subdued').contains('No results found').should('exist');
+ cy.get('[data-test-subj="comboBoxInput"]').eq(3).click();
+ cy.get('.euiComboBoxOption__content').contains('avg(bytes)').click();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.main-svg').contains('No results found').should('not.exist');
+ });
+});
+
+describe('Render box plot for panel options', () => {
+ beforeEach(() => {
+ renderBoxPlot();
+ });
+
+ it('Render box plot and verify the title gets updated according to user input ', () => {
+ cy.get('input[name="title"]').type('box plot');
+ cy.get('textarea[name="description"]').should('exist').click();
+ cy.get('.gtitle').contains('box plot').should('exist');
+ });
+});
+
+describe('Render box plot for legend', () => {
+ beforeEach(() => {
+ renderBoxPlot();
+ });
+
+ it('Render box plot and verify legends for Show and Hidden', () => {
+ cy.get('[data-text="Show"]').should('have.text', 'Show');
+ cy.get('[data-text="Show"] [data-test-subj="show"]').should('have.attr', 'checked');
+ cy.get('[data-text="Hidden"]').should('have.text', 'Hidden').click();
+ cy.get('[data-text="Hidden"] [data-test-subj="hidden"]').should('not.have.attr', 'checked');
+ cy.get('[data-unformatted="max(bytes)"]').should('not.exist');
+ });
+
+ it('Render box plot and verify legends for position Right and Bottom', () => {
+ cy.get('[data-text="Right"]').should('have.text', 'Right');
+ cy.get('[data-text="Right"] [data-test-subj="v"]').should('have.attr', 'checked');
+ cy.get('[data-text="Bottom"]').should('have.text', 'Bottom').click();
+ cy.get('[data-text="Bottom"] [data-test-subj="h"]').should('not.have.attr', 'checked');
+ });
+});
+
+describe('Render box plot for chart style options', () => {
+ beforeEach(() => {
+ renderBoxPlot();
+ });
+
+ it('Render box plot and increase Label Size ', () => {
+ cy.get('[data-test-subj="valueFieldNumber"]').click().type(labelSize);
+ cy.get('textarea[name="description"]').should('exist').click();
+ cy.get('[data-unformatted="count()"]').should('have.css', 'font-size', '20px');
+ });
+
+ it('Render box plot and "Rotate box labels"', () => {
+ cy.get('input[type="range"]')
+ .eq(0)
+ .then(($el) => $el[0].stepUp(rotateLevel))
+ .trigger('change');
+ cy.get('.euiRangeSlider').eq(0).should('have.value', rotateLevel);
+ });
+
+ it('Render box plot and change "Box gap"', () => {
+ cy.get('input[type="range"]')
+ .eq(1)
+ .then(($el) => $el[0].stepUp(boxSize))
+ .trigger('change');
+ cy.get('.euiRangeSlider').eq(1).should('have.value', boxSizeUpdated);
+ });
+
+ it('Render box plot and change "Marker size"', () => {
+ cy.get('input[type="range"]')
+ .eq(2)
+ .then(($el) => $el[0].stepDown(markerSize))
+ .trigger('change');
+ cy.get('.euiRangeSlider').eq(2).should('have.value', markerSizeUpdated);
+ });
+
+ it('Render box plot and change "Jitter"', () => {
+ cy.get('input[type="range"]')
+ .eq(3)
+ .then(($el) => $el[0].stepDown(jitter))
+ .trigger('change');
+ cy.get('.euiRangeSlider').eq(3).should('have.value', jitterUpdated);
+ });
+
+ it('Render box plot and change "Fill opacity"', () => {
+ cy.get('input[type="range"]')
+ .eq(4)
+ .then(($el) => $el[0].stepUp(fillOpacity))
+ .trigger('change');
+ cy.get('.euiRangeSlider').eq(4).should('have.value', fillOpacityUpdated);
+ });
+});
+
+describe('Render box plot for color theme', () => {
+ beforeEach(() => {
+ renderBoxPlot();
+ });
+
+ it('Render box plot and "Add color theme"', () => {
+ cy.get('.euiButton__text').contains('+ Add color theme').click();
+ cy.wait(delay);
+ cy.get('[data-test-subj="comboBoxInput"]').eq(9).click();
+ cy.get('.euiComboBoxOption__content').contains('avg(bytes)').click();
+ cy.get('.points').find('path[style*="rgb(252, 5, 5)"]').should('have.length', numberOfColor);
+ });
+});
+
+describe('Render box plot and verify if reset works properly', () => {
+ beforeEach(() => {
+ renderBoxPlot();
+ });
+
+ it('Render box plot with all feild data then click on reset and verify reset works properly', () => {
+ cy.get('input[placeholder="Title"]').type('box plot');
+ cy.get('textarea[placeholder="Description"]').type('Description For box plot');
+ cy.get('.euiButton__text').contains('Hidden').click();
+ cy.get('.euiButton__text').contains('Horizontal').click();
+ cy.get('[data-test-subj="valueFieldNumber"]').click().type(labelSize);
+ cy.get('input[type="range"]')
+ .eq(0)
+ .then(($el) => $el[0].stepUp(rotateLevel))
+ .trigger('change');
+ cy.get('input[type="range"]')
+ .eq(1)
+ .then(($el) => $el[0].stepUp(boxSize))
+ .trigger('change');
+ cy.get('input[type="range"]')
+ .eq(2)
+ .then(($el) => $el[0].stepDown(markerSize))
+ .trigger('change');
+ cy.get('input[type="range"]')
+ .eq(3)
+ .then(($el) => $el[0].stepUp(jitter))
+ .trigger('change');
+ cy.get('input[type="range"]')
+ .eq(4)
+ .then(($el) => $el[0].stepUp(fillOpacity))
+ .trigger('change');
+ cy.get('.euiButtonEmpty__text').contains('Reset').click();
+ cy.get('input[placeholder="Title"]').should('not.have.value', 'box plot');
+ cy.get('textarea[placeholder="Description"]').should(
+ 'not.have.value',
+ 'Description For box plot'
+ );
+ cy.get('[data-text="Show"] [data-test-subj="show"]').should('have.attr', 'checked');
+ cy.get('[data-text="Right"] [data-test-subj="v"]').should('have.attr', 'checked');
+ cy.get('[data-text="Vertical"] [data-test-subj="v"]').should('have.attr', 'checked');
+ cy.get('[data-text="Overlay"] [data-test-subj="overlay"]').should('have.attr', 'checked');
+ cy.get('[data-test-subj="valueFieldNumber"]').should('have.value', '');
+ });
+});
diff --git a/.cypress/integration/VisualizationCharts/13_logsView.spec.js b/.cypress/integration/VisualizationCharts/13_logsView.spec.js
new file mode 100644
index 0000000000..8f8b163dab
--- /dev/null
+++ b/.cypress/integration/VisualizationCharts/13_logsView.spec.js
@@ -0,0 +1,241 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+///
+import {
+ delay,
+ TEST_QUERIES,
+ querySearch,
+ landOnEventVisualizations,
+ saveVisualizationAndVerify,
+ deleteVisualization,
+} from '../../utils/event_analytics/constants';
+
+const renderLogsView = () => {
+ landOnEventVisualizations();
+ querySearch(TEST_QUERIES[8].query, TEST_QUERIES[8].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]')
+ .type('Logs view')
+ .type('{enter}');
+};
+
+const renderLogsViewChart = () => {
+ landOnEventVisualizations();
+ querySearch(TEST_QUERIES[2].query, TEST_QUERIES[2].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]')
+ .type('Logs view')
+ .type('{enter}');
+};
+
+const fieldName = 'host';
+
+describe('Render Logs view and verify default behavior', () => {
+ beforeEach(() => {
+ renderLogsView();
+ });
+
+ it('Render Logs view and verify the default data', () => {
+ cy.get('.logs-view-container').should('exist');
+ });
+
+ it('Render Logs view and verify Data Configuration panel default behavior', () => {
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Data Configurations').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Columns');
+ cy.get('.euiFormLabel.euiFormRow__label').contains('Field');
+ cy.get('.euiButton.euiButton--primary.euiButton--fullWidth.euiButton-isDisabled').should(
+ 'be.disabled'
+ );
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').should('be.disabled');
+ });
+
+ it('Render Logs view and verify Style section for Logs view', () => {
+ cy.get('.vis-config-tabs .euiTab__content').contains('Style').should('exist');
+ cy.get('.euiAccordion__triggerWrapper').contains('Panel options').should('exist');
+ cy.get('#configPanel__panelOptions .euiFormRow__labelWrapper')
+ .contains('Title')
+ .should('exist');
+ cy.get('#configPanel__panelOptions .euiFormRow__labelWrapper')
+ .contains('Description')
+ .should('exist');
+ });
+
+ it('Table view should be enabled for Logs view', () => {
+ cy.get('.euiSwitch__label').contains('Table view').should('exist');
+ cy.get('[data-test-subj="workspace__dataTableViewSwitch"][aria-checked="false"]').click();
+ cy.get('.ag-header.ag-pivot-off').should('exist');
+ });
+
+ it('Verify Style section for Logs view', () => {
+ cy.get('#data-panel').contains('Style').should('exist');
+ cy.get('.euiAccordion__button').contains('Panel options').should('exist');
+ cy.get('#configPanel__panelOptions').contains('Title').should('exist');
+ cy.get('.euiFormHelpText.euiFormRow__text').contains('Name your visualization').should('exist');
+ cy.get('#configPanel__panelOptions').contains('Description').should('exist');
+ });
+
+ it('Add and Remove toggle buttons for fields section', () => {
+ cy.get('#available_fields').contains('Available Fields').should('exist');
+ cy.get('[aria-label="Add agent to table"]').should('be.disabled');
+ cy.get('#selected_fields').contains('Query fields').should('exist');
+ cy.get('[aria-label="Remove clientip from table"]').should('be.disabled');
+ });
+});
+
+describe('Save and Delete Visualization', () => {
+ beforeEach(() => {
+ renderLogsView();
+ });
+
+ it('Render Logs view, Save and Delete Visualization', () => {
+ saveVisualizationAndVerify();
+ deleteVisualization();
+ });
+});
+
+describe('Render Logs view with no stats section in the query', () => {
+ beforeEach(() => {
+ renderLogsViewChart();
+ });
+
+ it('Disabled Table view toogle button', () => {
+ cy.get('[data-test-subj="workspace__dataTableViewSwitch"]').should('be.disabled');
+ });
+
+ it('Save toast message', () => {
+ const vis_name_sub_string = Math.floor(Math.random() * 100);
+ cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click();
+ cy.get('[data-test-subj="eventExplorer__querySaveComboBox"]').click();
+ cy.get('.euiComboBoxOptionsList__rowWrap .euiFilterSelectItem').eq(0).click();
+ cy.get(
+ '.euiPopover__panel .euiFormControlLayoutIcons [data-test-subj="comboBoxToggleListButton"]'
+ )
+ .eq(0)
+ .click();
+ cy.get('.euiPopover__panel input')
+ .eq(1)
+ .type(`Test visualization` + vis_name_sub_string);
+ cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click();
+ cy.get('[data-test-subj="euiToastHeader"]')
+ .contains('There is no query or(and) visualization to save')
+ .should('exist');
+ });
+
+ it('Verify Logs view details when PPL query does not have stats section ', () => {
+ cy.get('[data-test-subj="docTable"]').should('exist');
+ cy.get('.osdDocTableHeader').contains('Time').should('exist');
+ cy.get('.osdDocTableHeader').contains('_source').should('exist');
+ });
+
+ it('Add and Remove toggle buttons for fields section should be enabled', () => {
+ //Add field
+ cy.get('[data-test-subj="fieldToggle-agent"]').click();
+ cy.get('[data-test-subj="field-agent"]').should('exist');
+ //Remove field
+ cy.get('[data-test-subj="fieldToggle-agent"]').click();
+ cy.get('[aria-labelledby="selected_fields"] [data-test-subj="field-agent-showDetails"]').should(
+ 'not.exist'
+ );
+ });
+
+ it('Search engine for fields under Visualizations', () => {
+ cy.get('[data-test-subj="eventExplorer__sidebarSearch"]').should('exist').type(fieldName);
+ cy.get('[data-test-subj="fieldToggle-host"]').click();
+ cy.get('[data-test-subj="fieldList-selected"]').should('exist');
+ });
+
+ it('View surrounding events button enabled', () => {
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiButtonIcon__icon')
+ .eq(2)
+ .click({ force: true });
+ cy.get('#eventsDocFyout').contains('Event Details').should('exist');
+ cy.get('.euiButton__text').eq(4).should('not.be.disabled');
+ });
+});
+
+describe('Event Details overlay', () => {
+ beforeEach(() => {
+ renderLogsView();
+ });
+
+ it('Verify Event Details overaly should get opened after clicking on details toggle button', () => {
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiButtonIcon__icon')
+ .eq(2)
+ .click({ force: true });
+ cy.get('#eventsDocFyout').contains('Event Details').should('exist');
+ });
+
+ it('Options in Event Details overlay', () => {
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiButtonIcon__icon')
+ .eq(2)
+ .click({ force: true });
+ cy.get('#eventsDocFyout').contains('Event Details').should('exist');
+ cy.get('.euiTabs .euiTab__content').contains('Table');
+ cy.get('.table.table-condensed.osdDocViewerTable').should('exist');
+ cy.get('.euiTabs .euiTab__content').contains('JSON').click();
+ cy.get('.euiCodeBlock__code.json').should('exist');
+ cy.get('.euiTabs .euiTab__content').contains('Traces').click();
+ cy.get('.euiCallOutHeader__title').contains('No Trace Id found in the event.').should('exist');
+ cy.get('.euiLink.euiLink--primary').contains('Trace Analytics').click();
+ cy.get('#trace-analytics').contains('Trace Analytics').should('exist');
+ cy.get('.euiLink.euiLink--primary').contains('Log Correlation').click();
+ cy.get('#log-correlation').contains('Log Correlation').should('exist');
+ });
+
+ it('View surrounding events button disabled', () => {
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiButtonIcon__icon')
+ .eq(2)
+ .click({ force: true });
+ cy.get('#eventsDocFyout').contains('Event Details').should('exist');
+ cy.get('.euiButton.euiButton--primary.euiButton-isDisabled.header-button')
+ .contains('View surrounding events')
+ .should('be.disabled');
+ });
+
+ it('Event Details overlay resizable and "X" buttons', () => {
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiButtonIcon__icon')
+ .eq(2)
+ .click({ force: true });
+ cy.get('#eventsDocFyout').contains('Event Details').should('exist');
+ cy.get('[title="Resize"]').click();
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiButtonIcon__icon')
+ .eq(2)
+ .click({ force: true });
+ cy.get('#eventsDocFyout').contains('Event Details').should('exist');
+ cy.get('[data-test-subj="euiFlyoutCloseButton"]').should('exist').click();
+ });
+
+ it('Table details on Event Details overlay', () => {
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--inherit.euiButtonIcon__icon')
+ .eq(2)
+ .click({ force: true });
+ cy.get('#eventsDocFyout').contains('Event Details').should('exist');
+ cy.get('[data-test-subj="docTable"]').should('exist');
+ });
+});
+
+describe('Data Configuration panel when no stats in the query', () => {
+ beforeEach(() => {
+ renderLogsViewChart();
+ });
+
+ it('Data Configuration panel default behavior', () => {
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Data Configurations').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Columns').should('exist');
+ cy.get('.euiButton__text').eq(2).contains('Add').should('not.be.disabled');
+ cy.get('.euiButton__text').eq(3).contains('Update Chart').should('not.be.disabled');
+ });
+
+ it('Add button in Data Configuration panel', () => {
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Data Configurations').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Columns').should('exist');
+ cy.get('.euiButton__text').eq(2).contains('Add').should('not.be.disabled').click();
+ cy.get('.euiFormLabel.euiFormRow__label').contains('Field');
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--danger').should('exist');
+ cy.get('[data-test-subj="comboBoxToggleListButton"]').eq(0).click();
+ cy.get('.euiFlexItem.euiFilterSelectItem__content').eq(1).click();
+ cy.get('.euiButton__text').contains('Update Chart').should('not.be.disabled').click();
+ cy.get('[data-test-subj="docTable"]').should('exist');
+ });
+});
diff --git a/.cypress/integration/VisualizationCharts/13_stats_chart.spec.js b/.cypress/integration/VisualizationCharts/13_stats_chart.spec.js
new file mode 100644
index 0000000000..f3c6c561af
--- /dev/null
+++ b/.cypress/integration/VisualizationCharts/13_stats_chart.spec.js
@@ -0,0 +1,211 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+///
+import {
+ delay,
+ TEST_QUERIES,
+ querySearch,
+ landOnEventVisualizations
+} from '../../utils/event_analytics/constants';
+
+const numberOfWindow = 4;
+const metricsPrecisionUpdated = 2;
+const metricUnit = 'cm' ;
+const titleSize = '25.5px';
+const titleSizeUpdated = '40px';
+const valueSize = '60.8px';
+const valueSizeUpdated = '73.0px';
+
+const renderStatsChart = () => {
+ landOnEventVisualizations();
+ querySearch(TEST_QUERIES[4].query, TEST_QUERIES[4].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]').type('Stats').type('{enter}');
+};
+
+describe('Render stats chart and verify default behaviour ', () => {
+ beforeEach(() => {
+ renderStatsChart();
+ });
+
+ it('Render stats chart and verify by default the data gets render', () => {
+ cy.get('.xy').should('exist');
+ });
+
+ it('Render scatter chart and verify you see data configuration panel and chart panel', () => {
+ cy.get('.euiPanel.euiPanel--paddingSmall').should('have.length', numberOfWindow);
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Data Configurations').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Dimensions').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Metrics').should('exist');
+ cy.get('.euiIEFlexWrapFix').contains('Panel options').click();
+ cy.get('.euiIEFlexWrapFix').contains('Chart styles').click();
+ cy.get('.euiIEFlexWrapFix').contains('Thresholds').click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(1).click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(2).click();
+ });
+
+ it('Render stats chart and verify the data configuration panel and chart panel are collapsable', () => {
+ cy.get('.euiPanel.euiPanel--paddingSmall').should('have.length', numberOfWindow);
+ cy.get('[aria-label="Press to toggle this panel"]').eq(1).click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(2).click();
+ });
+});
+
+describe('Render stats chart for data configuration panel', () => {
+ beforeEach(() => {
+ renderStatsChart();
+ });
+
+ it('Render stats chart and verify data config panel', () => {
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(0).should('contain', 'tags');
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(1).should('contain', 'count()');
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(2).should('contain', 'avg(bytes)');
+ cy.get('.euiComboBoxPill.euiComboBoxPill--plainText').eq(3).should('contain', 'host');
+ });
+
+ it('Render stats chart and verify no result found message if the dimension is removed' , () => {
+ cy.get('[data-test-subj="comboBoxClearButton"]').eq(0).click();
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').click();
+ cy.get('.euiTextColor.euiTextColor--subdued').contains('No results found').should('exist');
+ cy.get('[data-test-subj="comboBoxInput"]').eq(1).click();
+ cy.get('.euiComboBoxOption__content').click();
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').click();
+ cy.get('.main-svg').contains('No results found').should('not.exist');
+ });
+
+ it('Render stats chart and verify data config panel no result found if metric is missing', () => {
+ cy.get('.euiText.euiText--extraSmall').eq(0).click();
+ cy.get('.euiText.euiText--extraSmall').eq(1).click();
+ cy.get('[data-test-subj="comboBoxClearButton"]').eq(1).click();
+ cy.get('[data-test-subj="comboBoxInput"]').eq(0).click();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.euiTextColor.euiTextColor--subdued').contains('No results found').should('exist');
+ cy.get('[data-test-subj="comboBoxInput"]').eq(3).click();
+ cy.get('.euiComboBoxOption__content').contains('avg(bytes)').click();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.main-svg').contains('No results found').should('not.exist');
+ });
+});
+
+describe('Render stats chart for panel options', () => {
+ beforeEach(() => {
+ renderStatsChart();
+ });
+
+ it('Render stats chart and verify the title gets updated according to user input ', () => {
+ cy.get('input[name="title"]').type("stats chart");
+ cy.get('textarea[name="description"]').should('exist').click();
+ cy.get('.gtitle').contains('stats chart').should('exist');
+ });
+});
+
+describe('Render stats chart verfiy functionality for Tooltip mode', () => {
+ beforeEach(() => {
+ renderStatsChart();
+ });
+
+ it('Render stats chart and verfiy the Show and Hidden Tooltip modes', () => {
+ cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(0).should('have.text', 'Show');
+ cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(1).should('have.text', 'Hidden')
+ .click();
+ });
+});
+
+describe('Render stats chart verfiy functionality for Tooltip text', () => {
+ beforeEach(() => {
+ renderStatsChart();
+ });
+
+ it('Render stats chart and verfiy the Tootltip text -> All , Dimension , Metric', () => {
+ cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(2).should('have.text', 'All');
+ cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(3).should('have.text', 'Dimension')
+ .click();
+ cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(4).should('have.text', 'Series')
+ .click();
+ });
+});
+
+describe('Render stats chart for Chart Styles ', () => {
+ beforeEach(() => {
+ renderStatsChart();
+ });
+
+ it('Render stats chart and verify the various chart type selected', () => {
+ cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(5).should('have.text', 'Auto');
+ cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(6).should('have.text', 'Horizontal').click();
+ cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(7).should('have.text', 'Text mode').click();
+ });
+
+ it('Render stats chart and verify the various chart orientation selected', () => {
+ cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(8).should('have.text', 'Auto');
+ cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(9).should('have.text', 'Horizontal').click();
+ cy.get('.euiButton__text.euiButtonGroupButton__textShift').eq(10).should('have.text', 'Vertical').click();
+ });
+
+ it('Render stats chart and verify Metric unit and Metric Precision on chart ', () => {
+ cy.get('[data-test-subj="valueFieldText"]').click().type(metricUnit);
+ cy.get('.euiSpacer.euiSpacer--s').eq(12).click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(0).click().type(metricsPrecisionUpdated);
+ cy.get('.euiSpacer.euiSpacer--s').eq(12).click();
+ });
+
+ it('Render stats chart and verify behaviour for Title size and Value size on chart ', () => {
+ cy.get('.annotation-text').eq(0).should('have.css', 'font-size', titleSize);
+ cy.get('.annotation-text').eq(2).should('have.css', 'font-size', titleSize);
+ cy.get('.annotation-text').eq(4).should('have.css', 'font-size', titleSize);
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(1).click().type(titleSizeUpdated);
+ cy.get('.euiSpacer.euiSpacer--s').eq(12).click();
+ cy.get('.annotation-text').eq(1).should('have.css', 'font-size', valueSize);
+ cy.get('.annotation-text').eq(3).should('have.css', 'font-size', valueSize);
+ cy.get('.annotation-text').eq(5).should('have.css', 'font-size', valueSize);
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(2).click().type(valueSizeUpdated);
+ cy.get('.euiSpacer.euiSpacer--s').eq(12).click();
+ });
+});
+
+describe('Render stats chart and verify the Text Mode options' , () => {
+ beforeEach(() => {
+ renderStatsChart();
+ });
+
+ it('Render stats chart and verify text modes ', () => {
+ cy.get('[data-text="Names"]').should('have.text', 'Names').click();
+ cy.get('[data-text="Values"]').should('have.text', 'Values').click();
+ cy.get('[data-text="Values + Names"]').should('have.text', 'Values + Names').click();
+ cy.wait(delay);
+ });
+});
+
+describe('Render stats chart and verify the +add threshold button option' , () => {
+ beforeEach(() => {
+ renderStatsChart();
+ });
+
+ it('Render stats chart and verify the +Add Threshold button for color picker' , () => {
+ cy.get('[data-test-subj="euiColorPickerAnchor"]').click();
+ cy.get('.euiColorPickerSwatch.euiColorPicker__swatchSelect').eq(5).click();
+ cy.wait(delay);
+ });
+});
+
+describe('Render stats chart and verify the reset button' , () => {
+ beforeEach(() => {
+ renderStatsChart();
+ });
+
+ it('Render stats chart and test the Reset button functionality' , () => {
+ cy.get('[data-test-subj="valueFieldText"]').click().type(metricUnit);
+ cy.get('.euiSpacer.euiSpacer--s').eq(12).click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(0).click().type(metricsPrecisionUpdated);
+ cy.get('.euiSpacer.euiSpacer--s').eq(12).click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(1).click().type(titleSizeUpdated);
+ cy.get('.euiSpacer.euiSpacer--s').eq(12).click();
+ cy.get('[data-test-subj="valueFieldNumber"]').eq(2).click().type(valueSizeUpdated);
+ cy.get('.euiSpacer.euiSpacer--s').eq(12).click();
+ cy.get('[data-test-subj="euiColorPickerAnchor"]').click();
+ cy.get('.euiColorPickerSwatch.euiColorPicker__swatchSelect').eq(5).click();
+ cy.get('[data-test-subj="visualizeEditorResetButton"]').click();
+ });
+});
\ No newline at end of file
diff --git a/.cypress/integration/VisualizationCharts/7_pie_chart.spec.js b/.cypress/integration/VisualizationCharts/7_pie_chart.spec.js
new file mode 100644
index 0000000000..0167f6059f
--- /dev/null
+++ b/.cypress/integration/VisualizationCharts/7_pie_chart.spec.js
@@ -0,0 +1,202 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+///
+import {
+ delay,
+ TEST_QUERIES,
+ querySearch,
+ landOnEventVisualizations,
+ renderDataConfig,
+ saveVisualizationAndVerify,
+ deleteVisualization,
+ } from '../../utils/event_analytics/constants';
+
+ const renderPieChart = () => {
+ landOnEventVisualizations();
+ querySearch(TEST_QUERIES[3].query, TEST_QUERIES[3].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]').click();
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Pie').click();
+ };
+
+ const aggregationValues = [
+ 'COUNT',
+ 'SUM',
+ 'AVERAGE',
+ 'MAX',
+ 'MIN',
+ 'VAR_SAMP',
+ 'VAR_POP',
+ 'STDDEV_SAMP',
+ 'STDDEV_POP',
+ ];
+
+ describe.only('Render Pie chart and verify default behavior', () => {
+ beforeEach(() => {
+ renderPieChart();
+ });
+
+ it('Render Pie chart and verify the default data', () => {
+ cy.get('.plot-container.plotly').should('exist');
+ });
+
+ it('Render Pie chart and verify Data Configuration panel default behavior', () => {
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Data Configurations').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Dimensions').should('exist');
+ cy.get('.first-division .euiFormRow__labelWrapper').contains('Aggregation').should('exist');
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').contains('Field').should('exist');
+ cy.get('.first-division .euiFormLabel.euiFormRow__label')
+ .contains('Custom label')
+ .should('exist');
+ cy.get('.first-division .euiButton__text').contains('Add').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Metrics').should('exist');
+ cy.get('.euiButton__text').contains('Update chart').should('exist');
+ });
+
+ it('Render Pie chart and verify Style section for Pie chart', () => {
+ cy.get('#data-panel').contains('Style').should('exist');
+ cy.get('[aria-controls="configPanel__panelOptions"]').contains('Panel options').should('exist');
+ cy.get('[aria-controls="configPanel__legend"]').contains('Legend').should('exist');
+ cy.get('.euiForm.visEditorSidebar__form .euiIEFlexWrapFix')
+ .contains('Tooltip options')
+ .should('exist');
+ cy.get('[aria-controls="configPanel__chartStyles"]').contains('Chart styles').should('exist');
+ });
+
+ it('Options under Legend section', () => {
+ cy.get('#configPanel__legend').contains('Legend');
+ cy.get('.euiTitle.euiTitle--xxsmall').eq(3).contains('Show legend');
+ cy.get('[data-text="Show"]').eq(0).contains('Show');
+ cy.get('[data-text="Hidden"]').eq(0).contains('Hidden');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Position');
+ cy.get('[data-text="Right"]').contains('Right');
+ cy.get('[data-text="Bottom"]').contains('Bottom');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Legend size').should('exist');
+ });
+
+ it('Options under Tooltip options section', () => {
+ cy.get('.euiIEFlexWrapFix').contains('Tooltip options').should('exist');
+ cy.get('[data-text="Show"]').eq(1).contains('Show');
+ cy.get('[data-text="Hidden"]').eq(1).contains('Hidden');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Tooltip text');
+ cy.get('[data-text="All"]').contains('All');
+ cy.get('[data-text="Label"]').contains('Label');
+ cy.get('[data-text="Value"]').contains('Value');
+ cy.get('[data-text="Percent"]').contains('Percent');
+ });
+
+ it('Options under Chart Styles section', () => {
+ cy.get('.euiIEFlexWrapFix').contains('Chart styles').should('exist');
+ cy.get('#configPanel__chartStyles').contains('Mode');
+ cy.get('.euiTitle.euiTitle--xxsmall').eq(9).contains('Label size');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Color theme');
+ });
+
+ it('Table view should be enabled for Pie chart', () => {
+ cy.get('.euiSwitch__label').contains('Table view').should('exist');
+ cy.get('[data-test-subj="workspace__dataTableViewSwitch"][aria-checked="false"]').click();
+ cy.get('.ag-header.ag-pivot-off').should('exist');
+ });
+
+ it('Render Pie chart and verify legends for Position Right and Bottom', () => {
+ cy.get('[data-text="Right"]').should('have.text', 'Right');
+ cy.get('[data-text="Right"] [data-test-subj="v"]').should('have.attr', 'checked');
+ cy.get('[data-text="Bottom"]').should('have.text', 'Bottom').click();
+ cy.get('[data-text="Bottom"] [data-test-subj="h"]').should('not.have.attr', 'checked');
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').click({ force: true, multiple: true });
+ });
+
+ it('Render Pie chart and verify legends for Show and Hidden', () => {
+ cy.get('[data-text="Show"]').eq(0).should('have.text', 'Show');
+ cy.get('[data-text="Show"] [data-test-subj="show"]').should('have.attr', 'checked');
+ cy.get('[data-text="Hidden"]').eq(0).should('have.text', 'Hidden').click();
+ cy.get('[data-text="Hidden"] [data-test-subj="hidden"]').should('not.have.attr', 'checked');
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').click({ force: true, multiple: true });
+ });
+ });
+
+ describe('Save and Delete Visualization', () => {
+ beforeEach(() => {
+ renderPieChart();
+ });
+
+ it('Render Pie chart, Save and Delete Visualization', () => {
+ saveVisualizationAndVerify();
+ deleteVisualization();
+ });
+ });
+
+ describe('Color Theme section', () => {
+ beforeEach(() => {
+ renderPieChart();
+ });
+
+ it('Default option in Color Theme', () => {
+ cy.get('.euiTitle.euiTitle--xxsmall')
+ .contains('Color Theme')
+ .scrollIntoView()
+ .should('be.visible');
+ cy.get('.euiSuperSelectControl').contains('Default').should('exist');
+ });
+
+ it('Render pie chart with single color option', () => {
+ cy.get('.euiTitle.euiTitle--xxsmall')
+ .contains('Color Theme')
+ .scrollIntoView()
+ .should('be.visible');
+ cy.get('.euiSuperSelectControl').contains('Default').click();
+ cy.get('.euiColorPalettePicker__item').contains('Single Color').click();
+ cy.get('[data-test-subj="euiColorPickerAnchor"]').click();
+ cy.get('.euiColorPickerSwatch.euiColorPicker__swatchSelect').eq(2).click();
+ cy.get('.pielayer').should('exist');
+ });
+ });
+
+ describe('Renders Pie chart and Data Configurations section for Pie chart', () => {
+ beforeEach(() => {
+ landOnEventVisualizations();
+ renderPieChart();
+ });
+
+ it('Renders Dimensions and Metrics under Data Configurations for Pie chart', () => {
+ renderDataConfig();
+ });
+
+ it('Validate "Add" and "X" buttons', () => {
+ cy.get('.euiResizablePanel.euiResizablePanel--middle').contains('Data Configurations');
+ cy.get('.euiText.euiText--extraSmall').eq(0).click();
+ cy.get('.euiButton.euiButton--primary.euiButton--fullWidth').contains('Add').click();
+ cy.get('[data-test-subj="comboBoxInput"]').eq(2).click();
+ cy.get('.euiComboBoxOption__content').eq(0).click();
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--danger').eq(1).click();
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').eq(4).click();
+ cy.get('.euiComboBoxOption__content').eq(1).click();
+ cy.get('.euiFieldText[placeholder="Custom label"]').eq(1).type('Demo field');
+ cy.get('.euiIcon.euiIcon--medium.euiIcon--danger').eq(1).click();
+ cy.get('.euiButton.euiButton--primary.euiButton--fullWidth').contains('Add').should('exist');
+ });
+
+ it('Verify drop down values for Aggregation', () => {
+ cy.get('.euiResizablePanel.euiResizablePanel--middle').contains('Data Configurations');
+ cy.get('.euiTitle.euiTitle--xxsmall').eq(1).contains('Dimensions').should('exist');
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').eq(0).contains('Aggregation');
+ cy.get('.euiText.euiText--extraSmall').eq(0).click();
+ cy.get('[data-test-subj="comboBoxSearchInput"]').eq(0).click();
+ aggregationValues.forEach(function (value) {
+ cy.get('.euiComboBoxOption__content').contains(value);
+ });
+ });
+
+ it('Collapsible mode for Data Configuration panel', () => {
+ cy.get('.euiResizablePanel.euiResizablePanel--middle').contains('Data Configurations');
+ cy.get('.euiResizableButton.euiResizableButton--horizontal').eq(1).click();
+ cy.get('[data-test-subj="panel-1-toggle"]').click();
+ cy.get('[class*="euiResizableToggleButton-isCollapsed"]').eq(1).should('exist');
+ cy.get('.euiResizablePanel.euiResizablePanel--middle')
+ .contains('Data Configurations')
+ .should('not.be.focused');
+ });
+ });
+
\ No newline at end of file
diff --git a/.cypress/integration/VisualizationCharts/9_coordinateMap_chart.spec.js b/.cypress/integration/VisualizationCharts/9_coordinateMap_chart.spec.js
new file mode 100644
index 0000000000..10569fe038
--- /dev/null
+++ b/.cypress/integration/VisualizationCharts/9_coordinateMap_chart.spec.js
@@ -0,0 +1,195 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+///
+import {
+ TEST_QUERIES,
+ querySearch,
+ landOnEventVisualizations
+} from '../../utils/event_analytics/constants';
+
+const numberOfWindow = 4;
+const labelSize = 20;
+const latitudeRangeMin = 40;
+const latitudeRangeMax = 70;
+const longitudeRangeMin = -130;
+const longitudeRangeMax = -55;
+
+const renderCoordinateMap = () => {
+ landOnEventVisualizations();
+ querySearch(TEST_QUERIES[0].query, TEST_QUERIES[0].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]').type('Coordinate Map').type('{enter}');
+};
+
+const renderDataForCoordinateMap = () => {
+ cy.get('[data-test-subj="comboBoxInput"]').eq(1).click();
+ cy.get('.euiComboBoxOption__content').contains('DestLocation').click();
+ cy.get('[data-test-subj="comboBoxInput"]').eq(3).click();
+ cy.get('.euiComboBoxOption__content').contains('AvgTicketPrice').click();
+ cy.get('[data-test-subj="comboBoxInput"]').eq(4).click();
+ cy.get('.euiComboBoxOption__content').contains('Dest').click();
+ cy.get('.euiButton__text').contains('Update chart').click();
+ cy.get('.layer.land').should('exist');
+ cy.get('stop[stop-color="rgb(5, 10, 172)"]').should('exist');
+}
+
+describe('Render coordinate map and verify default behaviour ', () => {
+ beforeEach(() => {
+ renderCoordinateMap();
+ });
+
+ it('Render coordinate map and verify by default the data dont gets render', () => {
+ cy.get('.layer.land').should('not.exist');
+ cy.get('.euiTextColor.euiTextColor--subdued').contains('No results found').should('exist');
+ });
+
+ it('Render coordinate map and verify you see data configuration panel and chart panel', () => {
+ cy.get('.euiPanel.euiPanel--paddingSmall').should('have.length', numberOfWindow);
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Data Configurations').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Dimensions').should('exist');
+ cy.get('.euiTitle.euiTitle--xxsmall').contains('Metrics').should('exist');
+ cy.get('.euiIEFlexWrapFix').contains('Panel options').click();
+ cy.get('.euiIEFlexWrapFix').contains('Text').click();
+ cy.get('.euiIEFlexWrapFix').contains('Chart styles').click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(1).click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(2).click();
+ });
+
+ it('Render coordinate map and verify the data configuration panel and chart panel are collapsable', () => {
+ cy.get('.euiPanel.euiPanel--paddingSmall').should('have.length', numberOfWindow);
+ cy.get('[aria-label="Press to toggle this panel"]').eq(1).click();
+ cy.get('[aria-label="Press to toggle this panel"]').eq(2).click();
+ });
+});
+
+describe('Render coordinate map for data configuration panel', () => {
+ beforeEach(() => {
+ renderCoordinateMap();
+ });
+
+ it('Render coordinate map and verify data config panel', () => {
+ cy.get('[data-test-subj="comboBoxInput"]').eq(1).contains('Select a field').should('exist');
+ cy.get('[data-test-subj="comboBoxInput"]').eq(3).contains('Select a field').should('exist');
+ cy.get('[data-test-subj="comboBoxInput"]').eq(4).contains('Select a field').should('exist');
+ });
+
+ it('Render coordinate map and verify data gets render only after selecting the field value in data configuration panel', () => {
+ renderDataForCoordinateMap();
+ });
+
+ it('Render coordinate map and verify data config dimensions panel "Field" contains only location', () => {
+ cy.get('[data-test-subj="comboBoxInput"]').eq(1).click();
+ cy.get('.euiComboBoxOption__content').contains('DestLocation').should('exist');
+ cy.get('.euiComboBoxOption__content').contains('OriginLocation').should('exist');
+ });
+
+ it('Render coordinate map and verify data config metrics panel "Field" contains only value which return either integer or float value', () => {
+ cy.get('[data-test-subj="comboBoxInput"]').eq(3).click();
+ cy.get('.euiComboBoxOption__content').contains('AvgTicketPrice').should('exist');
+ cy.get('.euiComboBoxOption__content').contains('DistanceMiles').should('exist');
+ cy.get('.euiComboBoxOption__content').should('not.contain', 'DestLocation');
+ cy.get('.euiComboBoxOption__content').should('have.length', 6);
+ });
+
+ it('Render coordinate map and verify data config metric panel "Plot Label" contains a combination of string value and integer value', () => {
+ cy.get('[data-test-subj="comboBoxInput"]').eq(4).click();
+ cy.get('.euiComboBoxOption__content').contains('AvgTicketPrice').should('exist');
+ cy.get('.euiComboBoxOption__content').contains('Dest').should('exist');
+ cy.get('.euiComboBoxOption__content').contains('DestLocation').should('exist');
+ });
+});
+
+describe('Render coordinate map for panel options', () => {
+ beforeEach(() => {
+ renderCoordinateMap();
+ renderDataForCoordinateMap();
+ });
+
+ it('Render coordinate map and verify the title gets updated according to user input ', () => {
+ cy.get('input[name="title"]').type("coordinate map");
+ cy.get('textarea[name="description"]').should('exist').click();
+ cy.get('.gtitle').contains('coordinate map').should('exist');
+ });
+});
+
+describe('Render coordinate map for text', () => {
+ beforeEach(() => {
+ renderCoordinateMap();
+ renderDataForCoordinateMap();
+ });
+
+ it('Render coordinate map and verify by default the "Show" is enabled for "Show Text"', () => {
+ cy.get('[data-text="Show"]').should('have.text', 'Show');
+ cy.get('[data-text="Show"] [data-test-subj="show"]').should('have.attr', 'checked');
+ cy.get('[data-unformatted="Duluth International Airport"]').should('exist');
+ });
+
+ it('Render coordinate map and change "Show Text" to "Hidden"', () => {
+ cy.get('[data-text="Hidden"]').should('have.text', 'Hidden').click();
+ cy.get('[data-text="Hidden"] [data-test-subj="hidden"]').should('not.have.attr', 'checked');
+ cy.get('[data-unformatted="Duluth International Airport"]').should('not.exist');
+ });
+
+ it('Render coordinate map and verify by default the "Top" is enabled for "Position"', () => {
+ cy.get('[data-text="Top"]').should('have.text', 'Top');
+ cy.get('[data-text="Top"] [data-test-subj="top center"]').should('have.attr', 'checked');
+ });
+
+ it('Render coordinate map and change "Position" to "Right", "Bottom" and "Left"', () => {
+ cy.get('[data-text="Right"]').should('have.text', 'Right').click();
+ cy.get('[data-text="Right"] [data-test-subj="middle right"]').should('not.have.attr', 'checked');
+ cy.get('[data-text="Bottom"]').should('have.text', 'Bottom').click();
+ cy.get('[data-text="Bottom"] [data-test-subj="bottom center"]').should('not.have.attr', 'checked');
+ cy.get('[data-text="Left"]').should('have.text', 'Left').click();
+ cy.get('[data-text="Left"] [data-test-subj="middle left"]').should('not.have.attr', 'checked');
+ });
+});
+
+describe('Render coordinate map for chart style options', () => {
+ beforeEach(() => {
+ renderCoordinateMap();
+ renderDataForCoordinateMap();
+ });
+
+ it('Render coordinate map and change Label Size ', () => {
+ cy.get('[data-test-subj="valueFieldNumber"]').click().type(labelSize);
+ cy.get('textarea[name="description"]').should('exist').click();
+ cy.get('[data-unformatted="Duluth International Airport"]').should('have.css', 'font-size', '20px');
+ cy.get('[data-test-subj="valueFieldNumber"]').should('have.value', labelSize)
+ });
+
+ it('Render coordinate map and change "Latitude Range"', () => {
+ cy.get('input[type="number"]').eq(1).should('have.value', latitudeRangeMin);
+ cy.get('input[type="number"]').eq(2).should('have.value', latitudeRangeMax);
+ cy.get('input[type="number"]').eq(1).click().clear().type(30);
+ });
+
+ it('Render coordinate map and change "Longitude Range"', () => {
+ cy.get('input[type="number"]').eq(3).should('have.value', longitudeRangeMin);
+ cy.get('input[type="number"]').eq(4).should('have.value', longitudeRangeMax);
+ cy.get('input[type="number"]').eq(4).click().clear().type(40);
+ });
+});
+
+describe('Render coordinate map and verify if reset works properly', () => {
+ beforeEach(() => {
+ renderCoordinateMap();
+ renderDataForCoordinateMap();
+ });
+
+ it('Render coordinate map with all feild data then click on reset and verify reset works properly', () => {
+ cy.get('input[placeholder="Title"]').type('coordinate map');
+ cy.get('textarea[placeholder="Description"]').type('Description For coordinate map');
+ cy.get('.euiButton__text').contains('Hidden').click();
+ cy.get('.euiButton__text').contains('Right').click();
+ cy.get('[data-test-subj="valueFieldNumber"]').click().type(labelSize);
+ cy.get('.euiButtonEmpty__text').contains('Reset').click();
+ cy.get('input[placeholder="Title"]').should('not.have.value', 'coordinate map');
+ cy.get('textarea[placeholder="Description"]').should('not.have.value', 'Description For coordinate map');
+ cy.get('[data-text="Show"] [data-test-subj="show"]').should('have.attr', 'checked');
+ cy.get('[data-text="Top"] [data-test-subj="top center"]').should('have.attr', 'checked');
+ cy.get('[data-test-subj="valueFieldNumber"]').should('have.value', '');
+ });
+});
diff --git a/.cypress/plugins/index.js b/.cypress/plugins/index.js
new file mode 100644
index 0000000000..8ac1f10667
--- /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 0000000000..fd4a5a0632
--- /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 0000000000..d7978c222b
--- /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 0000000000..6b25b7b27e
--- /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 0000000000..36de33deef
--- /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 0000000000..f874324097
--- /dev/null
+++ b/.cypress/utils/app_constants.js
@@ -0,0 +1,90 @@
+/*
+ * 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/`);
+ supressResizeObserverIssue();
+ 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('[data-test-subj="superDatePickerToggleQuickMenuButton"]').trigger('mouseover').click();
+ cy.wait(delay);
+ 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 0000000000..415679aba7
--- /dev/null
+++ b/.cypress/utils/constants.js
@@ -0,0 +1,124 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+export const delay = 1500;
+export const COMMAND_TIMEOUT_LONG = 10000;
+
+// trace analytics
+export const TRACE_ID = '8832ed6abbb2a83516461960c89af49d';
+export const SPAN_ID = 'a673bc074b438374';
+export const SERVICE_NAME = 'frontend-client';
+export const SERVICE_SPAN_ID = '7df5609a6d104736';
+
+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, { force: true });
+ 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, { force: true });
+ }
+ 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 NOTEBOOK_TEXT = 'Use Notebooks to interactively and collaboratively develop rich reports backed by live data. Common use cases for notebooks includes creating postmortem reports, designing run books, building live infrastructure reports, or even documentation.';
+export const OPENSEARCH_URL = 'https://opensearch.org/docs/latest/observability-plugin/notebooks/';
+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
+`
+
+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;
+ });
+};
+
+export const verify_traces_spans_data_grid_cols_exists = () => {
+ cy.get('.euiDataGridHeaderCell__content').contains('Span ID').should('exist');
+ cy.get('.euiDataGridHeaderCell__content').contains('Trace ID').should('exist');
+ cy.get('.euiDataGridHeaderCell__content').contains('Operation').should('exist');
+ cy.get('.euiDataGridHeaderCell__content').contains('Duration').should('exist');
+ cy.get('.euiDataGridHeaderCell__content').contains('Start time').should('exist');
+ cy.get('.euiDataGridHeaderCell__content').contains('End time').should('exist');
+ cy.get('.euiDataGridHeaderCell__content').contains('Errors').should('exist');
+}
+
+export const count_table_row = (expected_row_count) => {
+ cy.get('.euiDataGridHeader [role="columnheader"]').then($el => {
+ let colmun_header_count = Cypress.$($el).length;
+ let table_grid_cell_count = Cypress.$('[data-test-subj="dataGridRowCell"]').length;
+ const total_row_count = table_grid_cell_count / colmun_header_count;
+ expect(total_row_count).to.equal(expected_row_count)
+ });
+}
diff --git a/.cypress/utils/event_analytics/constants.js b/.cypress/utils/event_analytics/constants.js
new file mode 100644
index 0000000000..8a996fd12d
--- /dev/null
+++ b/.cypress/utils/event_analytics/constants.js
@@ -0,0 +1,254 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { COMMAND_TIMEOUT_LONG, supressResizeObserverIssue, TIMEOUT_DELAY } from '../constants';
+
+export const delay = 1000;
+export const YEAR_TO_DATE_DOM_ID = '[data-test-subj="superDatePickerCommonlyUsed_Year_to date"]';
+
+export const TEST_QUERIES = [
+ {
+ query: 'source = opensearch_dashboards_sample_data_flights',
+ dateRangeDOM: YEAR_TO_DATE_DOM_ID,
+ },
+ {
+ query:
+ 'source = opensearch_dashboards_sample_data_flights | stats avg(FlightDelayMin) by Carrier',
+ dateRangeDOM: YEAR_TO_DATE_DOM_ID,
+ },
+ {
+ query: 'source = opensearch_dashboards_sample_data_logs',
+ },
+ {
+ query:
+ 'source=opensearch_dashboards_sample_data_flights | stats max(AvgTicketPrice) by DestCountry, DestCityName, Carrier',
+ dateRangeDOM: YEAR_TO_DATE_DOM_ID,
+ },
+ {
+ query:
+ 'source = opensearch_dashboards_sample_data_logs | stats count(), avg(bytes) by host, tags',
+ dateRangeDOM: YEAR_TO_DATE_DOM_ID,
+ },
+ {
+ query:
+ 'source=opensearch_dashboards_sample_data_flights | stats avg(FlightDelayMin) by DestCountry, DestCityName',
+ dateRangeDOM: YEAR_TO_DATE_DOM_ID,
+ },
+ {
+ query:
+ "source = opensearch_dashboards_sample_data_logs | where response='503' or response='404' | stats count() by span(timestamp,1d)",
+ dateRangeDOM: YEAR_TO_DATE_DOM_ID,
+ },
+ {
+ query:
+ 'source=opensearch_dashboards_sample_data_flights |where FlightDelayMin > 0 | stats sum(FlightDelayMin) as total_delay_min, count() as total_delayed by Carrier |eval avg_delay=total_delay_min / total_delayed | sort - avg_delay',
+ dateRangeDOM: YEAR_TO_DATE_DOM_ID,
+ },
+ {
+ query:
+ 'source = opensearch_dashboards_sample_data_logs | stats count(), max(bytes) by span(timestamp,1d), clientip, host',
+ dateRangeDOM: YEAR_TO_DATE_DOM_ID,
+ },
+];
+
+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 aggregationValues = [
+ 'COUNT',
+ 'SUM',
+ 'AVERAGE',
+ 'MAX',
+ 'MIN',
+ 'VAR_SAMP',
+ 'VAR_POP',
+ 'STDDEV_SAMP',
+ 'STDDEV_POP',
+];
+
+export const querySearch = (query, rangeSelected) => {
+ cy.get('[data-test-subj="searchAutocompleteTextArea"]', { timeout: COMMAND_TIMEOUT_LONG })
+ .clear()
+ .focus()
+ .type(query, { delay: 50 });
+ cy.get('[data-test-subj="superDatePickerToggleQuickMenuButton"]').click();
+ cy.get(rangeSelected).click();
+ cy.wait(delay * 2);
+ cy.get('[data-test-subj="superDatePickerApplyTimeButton"]').contains('Refresh').click();
+};
+
+export const landOnEventHome = () => {
+ cy.visit(`${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/event_analytics`);
+ cy.wait(delay);
+};
+
+export const landOnEventExplorer = () => {
+ cy.visit(
+ `${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/event_analytics/explorer`
+ );
+ supressResizeObserverIssue();
+ cy.wait(delay);
+};
+
+export const landOnEventVisualizations = () => {
+ cy.visit(
+ `${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/event_analytics/explorer`
+ );
+ cy.get('button[id="main-content-vis"]').contains('Visualizations').click();
+ supressResizeObserverIssue();
+ cy.wait(delay);
+};
+
+export const landOnPanels = () => {
+ cy.visit(
+ `${Cypress.env('opensearchDashboards')}/app/observability-dashboards#/operational_panels`
+ );
+ cy.wait(delay);
+};
+
+const vis_name_sub_string = Math.floor(Math.random() * 100);
+export const saveVisualizationAndVerify = () => {
+ cy.get('[data-test-subj="eventExplorer__saveManagementPopover"]').click();
+ cy.get('[data-test-subj="eventExplorer__querySaveComboBox"]').click();
+ cy.get('.euiComboBoxOptionsList__rowWrap .euiFilterSelectItem').eq(0).click();
+ cy.get(
+ '.euiPopover__panel .euiFormControlLayoutIcons [data-test-subj="comboBoxToggleListButton"]'
+ )
+ .eq(0)
+ .click();
+ cy.get('.euiPopover__panel input')
+ .eq(1)
+ .type(`Test visualization` + vis_name_sub_string);
+ cy.get('[data-test-subj="eventExplorer__querySaveConfirm"]').click();
+ cy.wait(delay);
+ cy.get('.euiHeaderBreadcrumbs a').eq(1).click();
+ cy.get('.euiFlexGroup .euiFormControlLayout__childrenWrapper input')
+ .eq(0)
+ .type(`Test visualization` + vis_name_sub_string)
+ .type('{enter}');
+ cy.get('.euiBasicTable .euiTableCellContent button').eq(0).click();
+};
+
+export const deleteVisualization = () => {
+ cy.get('a[href = "#/event_analytics"]').click();
+ cy.get('.euiFlexGroup .euiFormControlLayout__childrenWrapper input')
+ .eq(0)
+ .type(`Test visualization` + vis_name_sub_string)
+ .type('{enter}');
+ cy.get('input[data-test-subj = "checkboxSelectAll"]').click();
+ cy.get('.euiButtonContent.euiButtonContent--iconRight.euiButton__content').click();
+ cy.get('.euiContextMenuItem .euiContextMenuItem__text').eq(0).click();
+ cy.get('input[placeholder = "delete"]').clear().type('delete');
+ cy.get('button[data-test-subj = "popoverModal__deleteButton"]').click();
+ cy.get('.euiToastHeader').should('exist');
+};
+
+export const renderTreeMapchart = () => {
+ querySearch(TEST_QUERIES[7].query, TEST_QUERIES[7].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]')
+ .type('Tree Map')
+ .type('{enter}');
+ cy.get('#configPanel__panelOptions .euiFieldText').click().type('Tree Map');
+ cy.get('.euiFlexItem .euiFormRow [placeholder="Description"]')
+ .click()
+ .type('This is the description for Tree Map');
+ cy.get('.euiIEFlexWrapFix').eq(1).contains('Treemap').should('exist');
+ cy.get('#configPanel__treemap_options').contains('Tiling Algorithm').should('exist');
+ cy.get('[data-test-subj = "comboBoxInput"]').eq(3).click();
+ cy.get('button[name="Slice Dice"]').click();
+};
+
+export const renderPieChart = () => {
+ querySearch(TEST_QUERIES[5].query, TEST_QUERIES[5].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]').click();
+ cy.get('[data-test-subj="comboBoxOptionsList "] button span').contains('Pie').click();
+ cy.wait(delay);
+ cy.get('#configPanel__panelOptions .euiFieldText').click().type('Pie chart');
+ cy.get('.euiFlexItem .euiFormRow [placeholder="Description"]')
+ .click()
+ .type('This is the description for Pie chart');
+ cy.get('[aria-controls="configPanel__legend"]').contains('Legend').should('exist');
+ cy.get('#configPanel__legend .euiTitle.euiTitle--xxsmall').eq(0).contains('Show Legend');
+ cy.get('span[data-text="Show"]').contains('Show').should('exist');
+ cy.get('#configPanel__legend .euiTitle.euiTitle--xxsmall').eq(1).contains('Position');
+ cy.get('span[data-text="Right"]').contains('Right').should('exist');
+ cy.get('#configPanel__legend .euiTitle.euiTitle--xxsmall').eq(2).contains('Legend Size');
+ cy.get('[aria-controls="configPanel__chartStyles"]').contains('Chart Styles').should('exist');
+ cy.get('#configPanel__chartStyles .euiTitle.euiTitle--xxsmall').eq(0).contains('Mode').click();
+ cy.get(
+ '#configPanel__chartStyles .euiComboBox__inputWrap.euiComboBox__inputWrap--noWrap.euiComboBox__inputWrap-isClearable'
+ ).click();
+ cy.get('.euiComboBoxOption__content').contains('Donut').click();
+ cy.get('#configPanel__chartStyles .euiTitle.euiTitle--xxsmall').eq(1).contains('Label Size');
+ cy.get('#configPanel__chartStyles input[type="number"]').click().type('10');
+ cy.get('#configPanel__chartStyles .euiTitle.euiTitle--xxsmall').eq(2).contains('Color Theme');
+ cy.get('.euiSuperSelectControl').click();
+ cy.get('.euiColorPalettePicker__item').eq(1).contains('Single Color').click();
+ cy.get('.euiFieldText.euiColorPicker__input.euiFieldText--withIcon').click();
+ cy.get('[aria-label="Select #D36086 as the color"]').click();
+ cy.get('.visEditorSidebar__controls [data-test-subj="visualizeEditorRenderButton"]')
+ .contains('Preview')
+ .click();
+ cy.get('.plot-container.plotly').should('exist');
+};
+
+export const renderDataConfig = () => {
+ cy.get('.euiResizablePanel.euiResizablePanel--middle').contains('Data Cofigurations');
+ cy.get('.euiTitle.euiTitle--xxsmall').eq(1).contains('Dimensions').should('exist');
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').eq(0).contains('Aggregation');
+ cy.get('[data-test-subj="comboBoxSearchInput"]').eq(0).click();
+ cy.get('.euiComboBoxOption__content').eq(2).click();
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').eq(1).contains('Field');
+ cy.get('[data-test-subj="comboBoxSearchInput"]').eq(1).click();
+ cy.get('.euiComboBoxOption__content').eq(1).click();
+ cy.get('.euiFieldText[placeholder="Custom label"]').eq(0).type('Average field');
+ cy.get('.euiTitle.euiTitle--xxsmall').eq(2).contains('Metrics').should('exist');
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').eq(0).contains('Aggregation');
+ cy.get('.euiFormRow__fieldWrapper .euiComboBox').eq(2).click();
+ cy.get('.euiComboBoxOption__content').eq(4).click();
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').eq(4).click();
+ cy.get('.euiComboBoxOption__content').eq(0).click();
+ cy.get('.euiFieldText[placeholder="Custom label"]').eq(1).type('Min field');
+ cy.get('.euiButton__text').contains('Right').click();
+ cy.get('[data-test-subj="visualizeEditorRenderButton"]').contains('Update chart').click();
+ cy.get('.js-plotly-plot').should('exist');
+};
+
+export const renderLineChart = () => {
+ landOnEventVisualizations();
+ querySearch(TEST_QUERIES[5].query, TEST_QUERIES[5].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]')
+ .type('Line')
+ .type('{enter}');
+};
+
+export const renderAddParent = () => {
+ cy.get(' [data-test-subj="addParentButton"] .euiButton__text').contains('+ Add Parent').click();
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').contains('Parent 1').should('exist');
+ cy.get('p.euiComboBoxPlaceholder').eq(0).click({ force: true });
+ cy.get('.euiComboBoxOption__content').eq(0).click();
+ cy.get(' [data-test-subj="addParentButton"] .euiButton__text').contains('+ Add Parent').click();
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').contains('Parent 2').should('exist');
+ cy.get('p.euiComboBoxPlaceholder').click({ force: true });
+ cy.get('.euiComboBoxOption__content').eq(1).click();
+ cy.get(' [data-test-subj="addParentButton"] .euiButton__text').contains('+ Add Parent').click();
+ cy.get('.first-division .euiFormLabel.euiFormRow__label').contains('Parent 3').should('exist');
+ cy.get('p.euiComboBoxPlaceholder').click({ force: true });
+ cy.get('.euiComboBoxOption__content').eq(2).click();
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]')
+ .type('Line')
+ .type('{enter}');
+};
+
+export const renderGaugeChart = () => {
+ landOnEventVisualizations();
+ querySearch(TEST_QUERIES[1].query, TEST_QUERIES[1].dateRangeDOM);
+ cy.get('[data-test-subj="configPane__vizTypeSelector"] [data-test-subj="comboBoxInput"]')
+ .type('Gauge')
+ .type('{enter}');
+};
diff --git a/.cypress/utils/event_analytics/helpers.js b/.cypress/utils/event_analytics/helpers.js
new file mode 100644
index 0000000000..32944db75c
--- /dev/null
+++ b/.cypress/utils/event_analytics/helpers.js
@@ -0,0 +1,12 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { COMMAND_TIMEOUT_LONG } from '../constants';
+
+export const clearQuerySearchBoxText = (testSubjectName) => {
+ cy.get(`[data-test-subj="${testSubjectName}"]`, {
+ timeout: COMMAND_TIMEOUT_LONG,
+ }).clear({ force: true });
+};
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 0000000000..cd578eed49
--- /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 0000000000..72a7014024
--- /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 0000000000..1288c0f638
--- /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 0000000000..1c6fcbbf71
--- /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 0000000000..9166e0e682
--- /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 0000000000..cc173d8076
--- /dev/null
+++ b/.cypress/utils/panel_constants.js
@@ -0,0 +1,36 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+export const delay = 100;
+
+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 0000000000..4d8297eb33
--- /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/.gitignore b/.gitignore
new file mode 100644
index 0000000000..bf5586d642
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+node_modules/
+target/
+build/
+coverage/
+.cypress/screenshots
+.cypress/videos
+common/query_manager/antlr/output
diff --git a/common/constants/application_analytics.ts b/common/constants/application_analytics.ts
new file mode 100644
index 0000000000..df675a7048
--- /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 0000000000..b8c1c41b95
--- /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/colors.ts b/common/constants/colors.ts
new file mode 100644
index 0000000000..3845e41a00
--- /dev/null
+++ b/common/constants/colors.ts
@@ -0,0 +1,188 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { colorPalette } from '@elastic/eui';
+
+export const BLUES_PALETTE = {
+ name: 'Blues',
+ label: 'Blues',
+ colors: [
+ 'rgb(5,10,172)',
+ 'rgb(40,60,190)',
+ 'rgb(70,100,245)',
+ 'rgb(90,120,245)',
+ 'rgb(106,137,247)',
+ 'rgb(220,220,220)',
+ ],
+};
+
+export const REDS_PALETTE = {
+ name: 'Reds',
+ label: 'Reds',
+ colors: ['rgb(220,220,220)', 'rgb(245,195,157)', 'rgb(245,160,105)', 'rgb(178,10,28)'],
+};
+
+export const GREENS_PALETTE = {
+ name: 'Greens',
+ label: 'Greens',
+ colors: [
+ 'rgb(0,68,27)',
+ 'rgb(0,109,44)',
+ 'rgb(35,139,69)',
+ 'rgb(65,171,93)',
+ 'rgb(116,196,118)',
+ 'rgb(161,217,155)',
+ 'rgb(199,233,192)',
+ 'rgb(229,245,224)',
+ 'rgb(247,252,245)',
+ ],
+};
+
+export const GREYS_PALETTE = {
+ name: 'Greys',
+ label: 'Greys',
+ colors: ['rgb(0,0,0)', 'rgb(255,255,255)'],
+};
+
+export const BLUE_RED_PALETTE = {
+ name: 'Bluered',
+ label: 'Blue-Red',
+ colors: ['rgb(0,0,255)', 'rgb(255,0,0)'],
+};
+
+export const RED_BLUE_PALETTE = {
+ name: 'RdBu',
+ label: 'Red-Blue',
+ colors: [
+ 'rgb(5,10,172)',
+ 'rgb(106,137,247)',
+ 'rgb(190,190,190)',
+ 'rgb(220,170,132)',
+ 'rgb(230,145,90)',
+ 'rgb(178,10,28)',
+ ],
+};
+
+export const YELLOW_ORANGE_RED_PALETTE = {
+ name: 'YlOrRd',
+ label: 'Yellow-Orange-Red',
+ colors: [
+ 'rgb(128,0,38)',
+ 'rgb(189,0,38)',
+ 'rgb(227,26,28)',
+ 'rgb(252,78,42)',
+ 'rgb(253,141,60)',
+ 'rgb(254,178,76)',
+ 'rgb(254,217,118)',
+ 'rgb(255,237,160)',
+ 'rgb(255,255,204)',
+ ],
+};
+
+export const YELLOW_GREEN_BLUE_PALETTE = {
+ name: 'YlGnBu',
+ label: 'Yellow-Green-Blue',
+ colors: [
+ 'rgb(8,29,88)',
+ 'rgb(37,52,148)',
+ 'rgb(34,94,168)',
+ 'rgb(29,145,192)',
+ 'rgb(65,182,196)',
+ 'rgb(127,205,187)',
+ 'rgb(199,233,180)',
+ 'rgb(237,248,217)',
+ 'rgb(255,255,217)',
+ ],
+};
+
+export const DEFAULT_PALETTE = 'default';
+export const SINGLE_COLOR_PALETTE = 'singleColor';
+export const MULTI_COLOR_PALETTE = 'multicolor';
+
+export const COLOR_PALETTES = [
+ {
+ value: DEFAULT_PALETTE,
+ title: 'Default',
+ type: 'text',
+ },
+ {
+ value: SINGLE_COLOR_PALETTE,
+ title: 'Single color',
+ type: 'text',
+ },
+ {
+ value: MULTI_COLOR_PALETTE,
+ title: 'Multicolored',
+ type: 'text',
+ },
+ {
+ value: BLUES_PALETTE.name,
+ title: BLUES_PALETTE.label,
+ palette: colorPalette(BLUES_PALETTE.colors, 20),
+ type: 'gradient',
+ },
+ {
+ value: REDS_PALETTE.name,
+ title: REDS_PALETTE.label,
+ palette: colorPalette(REDS_PALETTE.colors, 20),
+ type: 'gradient',
+ },
+ {
+ value: GREENS_PALETTE.name,
+ title: GREENS_PALETTE.label,
+ palette: colorPalette(GREENS_PALETTE.colors, 20),
+ type: 'gradient',
+ },
+ {
+ value: GREYS_PALETTE.name,
+ title: GREYS_PALETTE.label,
+ palette: colorPalette(GREYS_PALETTE.colors, 20),
+ type: 'gradient',
+ },
+ {
+ value: BLUE_RED_PALETTE.name,
+ title: BLUE_RED_PALETTE.label,
+ palette: colorPalette(BLUE_RED_PALETTE.colors, 20),
+ type: 'gradient',
+ },
+ {
+ value: RED_BLUE_PALETTE.name,
+ title: RED_BLUE_PALETTE.label,
+ palette: colorPalette(RED_BLUE_PALETTE.colors, 20, true),
+ type: 'gradient',
+ },
+ {
+ value: YELLOW_ORANGE_RED_PALETTE.name,
+ title: YELLOW_ORANGE_RED_PALETTE.label,
+ palette: colorPalette(YELLOW_ORANGE_RED_PALETTE.colors, 20),
+ type: 'gradient',
+ },
+ {
+ value: YELLOW_GREEN_BLUE_PALETTE.name,
+ title: YELLOW_GREEN_BLUE_PALETTE.label,
+ palette: colorPalette(YELLOW_GREEN_BLUE_PALETTE.colors, 20),
+ type: 'gradient',
+ },
+];
+export const HEX_CONTRAST_COLOR = 0xffffff;
+export const PIE_PALETTES = [
+ {
+ value: DEFAULT_PALETTE,
+ title: 'Default',
+ type: 'text',
+ },
+ {
+ value: SINGLE_COLOR_PALETTE,
+ title: 'Single Color',
+ type: 'text',
+ },
+];
+
+export const HEATMAP_PALETTE_COLOR = { name: REDS_PALETTE.label, color: REDS_PALETTE.label };
+export const HEATMAP_SINGLE_COLOR = { name: 'singleColor', color: '#000000' };
+export const OPACITY = 'opacity';
+export const SPECTRUM = 'spectrum';
+export const COLOR_BLACK = 'rgb(0,0,0)';
+export const COLOR_WHITE = 'rgb(255,255,255)';
diff --git a/common/constants/custom_panels.ts b/common/constants/custom_panels.ts
new file mode 100644
index 0000000000..0c02b97a29
--- /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/data_table.ts b/common/constants/data_table.ts
new file mode 100644
index 0000000000..bbca653a7a
--- /dev/null
+++ b/common/constants/data_table.ts
@@ -0,0 +1,16 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+export const GRID_HEADER_COLUMN_MAX_WIDTH = '150px';
+export const GRID_PAGE_RANGE_DISPLAY = 5;
+export const COLUMN_DEFAULT_MIN_WIDTH = 100;
+export const GRID_PAGE_SIZES = [10, 50, 100];
+export const ROW_DENSITIES = [
+ { icon: 'tableDensityExpanded', height: 55, selected: false },
+ { icon: 'tableDensityNormal', height: 45, selected: false },
+ { icon: 'tableDensityCompact', height: 35, selected: true },
+];
+
+export const HEADER_HEIGHT = 35;
diff --git a/common/constants/explorer.ts b/common/constants/explorer.ts
new file mode 100644
index 0000000000..75393f1775
--- /dev/null
+++ b/common/constants/explorer.ts
@@ -0,0 +1,301 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { htmlIdGenerator } from '@elastic/eui';
+import { VIS_CHART_TYPES } from './shared';
+import { ThresholdUnitType } from '../../public/components/event_analytics/explorer/visualizations/config_panel/config_panes/config_controls/config_thresholds';
+
+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_PATTERN_FIELD = 'selectedPatternField';
+export const PATTERN_REGEX = 'patternRegex';
+export const FILTERED_PATTERN = 'filteredPattern';
+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', 'Metric'];
+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 REDUX_EXPL_SLICE_PATTERNS = 'patterns';
+export const PLOTLY_GAUGE_COLUMN_NUMBER = 4;
+export const APP_ANALYTICS_TAB_ID_REGEX = /application-analytics-tab.+/;
+export const DEFAULT_AVAILABILITY_QUERY = 'stats count() by span( timestamp, 1h )';
+export const PPL_DEFAULT_PATTERN_REGEX_FILETER = '[a-zA-Z\\d]';
+// Greedily matches the longest substring for example (patterns referer | patterns pattern='[0-9]' message | where ...) used to modify the query for patterns table
+export const PATTERNS_REGEX = /\|\s*patterns.+?\|.*\s*where\s+patterns_field\s*\=\s*'[^a-zA-Z0-9]+'/;
+// Used to extract the initial pattern applied
+export const PATTERNS_EXTRACTOR_REGEX = /patterns\s+(?\S+)/;
+export const ADD_BUTTON_TEXT = '+ Add color theme';
+export const NUMBER_INPUT_MIN_LIMIT = 1;
+
+export const VIZ_CONTAIN_XY_AXIS = [
+ VIS_CHART_TYPES.Bar,
+ VIS_CHART_TYPES.Histogram,
+ VIS_CHART_TYPES.Line,
+ VIS_CHART_TYPES.Pie,
+ VIS_CHART_TYPES.Scatter,
+ VIS_CHART_TYPES.HorizontalBar,
+];
+
+// default ppl aggregation method options
+export const AGGREGATION_OPTIONS = [
+ {
+ label: 'count',
+ },
+ {
+ label: 'sum',
+ },
+ {
+ label: 'avg',
+ },
+ {
+ label: 'max',
+ },
+ {
+ label: 'min',
+ },
+ {
+ label: 'var_samp',
+ },
+ {
+ label: 'var_pop',
+ },
+ {
+ label: 'stddev_samp',
+ },
+ {
+ label: 'stddev_pop',
+ },
+];
+
+// numeric fields type for metrics
+export const NUMERICAL_TYPES = [
+ 'float',
+ 'double',
+ 'bigint',
+ 'long',
+ 'octet',
+ 'short',
+ 'byte',
+ 'integer',
+];
+// Data table constants
+export const GRID_HEADER_COLUMN_MAX_WIDTH = '150px';
+export const GRID_PAGE_RANGE_DISPLAY = 5;
+export const COLUMN_DEFAULT_MIN_WIDTH = 100;
+export const GRID_PAGE_SIZES = [10, 50, 100];
+export const ROW_DENSITIES = [
+ { icon: 'tableDensityExpanded', height: 55, selected: false },
+ { icon: 'tableDensityNormal', height: 45, selected: false },
+ { icon: 'tableDensityCompact', height: 35, selected: true },
+];
+
+export const HEADER_HEIGHT = 35;
+
+// gauge chart default parameters
+export interface DefaultGaugeChartParametersProps {
+ GaugeTitleSize: number;
+ DisplayDefaultGauges: number;
+ OrientationDefault: string;
+ TickLength: number;
+ LegendPlacement: string;
+ ThresholdsMaxLimit: number;
+}
+
+export const DEFAULT_GAUGE_CHART_PARAMETERS: DefaultGaugeChartParametersProps = {
+ GaugeTitleSize: 14,
+ DisplayDefaultGauges: 1,
+ OrientationDefault: 'h',
+ TickLength: 5,
+ LegendPlacement: 'center',
+ ThresholdsMaxLimit: 1,
+};
+
+// pie chart default parameters
+export const PLOTLY_PIE_COLUMN_NUMBER = 2;
+export const PIE_XAXIS_GAP = 0.2;
+export const PIE_YAXIS_GAP = 0.1;
+export interface DefaultPieChartParameterProps {
+ DefaultMode: string;
+}
+
+export const DEFAULT_PIE_CHART_PARAMETERS: DefaultPieChartParameterProps = {
+ DefaultMode: 'pie',
+};
+export const GROUPBY = 'dimensions';
+export const AGGREGATIONS = 'series';
+export const PARENTFIELDS = 'parentFields';
+export const VALUEFIELD = 'valueField';
+export const CHILDFIELD = 'childField';
+export const TIMESTAMP = 'timestamp';
+
+// metrics constants
+export const METRICS_GRID_SPACE_BETWEEN_X_AXIS = 0.01;
+export const METRICS_GRID_SPACE_BETWEEN_Y_AXIS = 100;
+export const METRICS_REDUCE_VALUE_SIZE_PERCENTAGE = 0.08;
+export const METRICS_REDUCE_TITLE_SIZE_PERCENTAGE = 0.05;
+export const METRICS_REDUCE_SERIES_UNIT_SIZE_PERCENTAGE = 0.2;
+export const METRICS_SERIES_UNIT_SUBSTRING_LENGTH = 3;
+export const METRICS_AXIS_MARGIN = {
+ l: 0,
+ r: 0,
+ b: 0,
+ t: 80,
+};
+
+export const METRICS_ANNOTATION = {
+ xref: 'paper',
+ yref: 'paper',
+ showarrow: false,
+};
+
+export interface DefaultMetricsChartParametersProps {
+ DefaultTextMode: string;
+ DefaultOrientation: string;
+ DefaultTitleSize: number;
+ DefaultChartType: string;
+ TextAlignment: string;
+ DefaultPrecision: number;
+ DefaultValueSize: number;
+ BaseThreshold: ThresholdUnitType;
+ DefaultTextColor: string;
+}
+
+export const DEFAULT_METRICS_CHART_PARAMETERS: DefaultMetricsChartParametersProps = {
+ DefaultTextMode: 'auto',
+ DefaultOrientation: 'auto',
+ DefaultTitleSize: 30,
+ DefaultValueSize: 80,
+ DefaultChartType: 'auto',
+ TextAlignment: 'auto',
+ DefaultPrecision: 1,
+ BaseThreshold: {
+ thid: htmlIdGenerator('thr')(),
+ name: 'Base',
+ color: '#3CA1C7',
+ value: 0,
+ isReadOnly: true,
+ },
+ DefaultTextColor: '#FFFFFF',
+};
+export interface DefaultBarChartStylesProps {
+ BarMode: string;
+ GroupWidth: number;
+ BarWidth: number;
+ LabelSize: number;
+}
+
+export const DEFAULT_BAR_CHART_STYLES: DefaultBarChartStylesProps = {
+ BarMode: 'group',
+ GroupWidth: 0.7,
+ BarWidth: 0.97,
+ LabelSize: 12,
+};
+
+export const SIMILAR_VIZ_TYPES = [
+ VIS_CHART_TYPES.Line,
+ VIS_CHART_TYPES.Scatter,
+ VIS_CHART_TYPES.HorizontalBar,
+ VIS_CHART_TYPES.Bar,
+];
+
+export enum ConfigChartOptionsEnum {
+ palettePicker = 'palettePicker',
+ singleColorPicker = 'singleColorPicker',
+ colorpicker = 'colorpicker',
+ treemapColorPicker = 'treemapColorPicker',
+ input = 'input',
+ textInput = 'textInput',
+ slider = 'slider',
+ switchButton = 'switchButton',
+ buttons = 'buttons',
+}
+
+export const CUSTOM_LABEL = 'customLabel';
+export const BREAKDOWNS = 'breakdowns';
+export const SPAN = 'span';
+export const TIME_FIELD = 'time_field';
+export const DISABLED_COLOUR = '#fafbfd';
+export const DATA_CONFIG_HINTS_INFO = {
+ [AGGREGATIONS]:
+ 'Series is an aggregation function (mandatory). The argument of an aggregation must be a field.',
+ [GROUPBY]:
+ "Dimensions are 'by' clauses. They are fields or expressions like scalar and aggregation functions. Besides, the span clause for a dimension can be used to split a specific field into buckets in the same interval, the stats then does the aggregation by these span buckets.",
+ [BREAKDOWNS]:
+ "Defines how each series is broken down. Breakdowns are 'by' clauses that subdivide the existing series.",
+};
+
+// Metrics constants
+export const UNITS_OF_MEASURE = [
+ 'seconds (s)',
+ 'hours (h)',
+ 'celsius (C)',
+ 'farenheit (F)',
+ 'meters (m)',
+ 'kilometers (k)',
+]
diff --git a/common/constants/metrics.ts b/common/constants/metrics.ts
new file mode 100644
index 0000000000..dbe64b88b1
--- /dev/null
+++ b/common/constants/metrics.ts
@@ -0,0 +1,26 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+// requests constants
+export const VISUALIZATION = 'viz';
+export const SAVED_VISUALIZATION = 'savedVisualization';
+export const PPL_DATASOURCES_REQUEST =
+ 'show datasources | where CONNECTOR_TYPE="PROMETHEUS" | fields DATASOURCE_NAME';
+
+// redux
+export const REDUX_SLICE_METRICS = 'metrics';
+
+export const resolutionOptions = [
+ { value: 's', text: 'seconds' },
+ { value: 'm', text: 'minutes' },
+ { value: 'h', text: 'hours' },
+ { value: 'd', text: 'days' },
+ // { value: 'M', text: 'Months' }, // commenting it here as prometheus doesn't have support
+ // { value: 'q', text: 'quarters' },
+ { value: 'y', text: 'years' },
+];
+
+export const DEFAULT_METRIC_HEIGHT = 2;
+export const DEFAULT_METRIC_WIDTH = 12;
diff --git a/common/constants/notebooks.ts b/common/constants/notebooks.ts
new file mode 100644
index 0000000000..c3140792cf
--- /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 0000000000..c24e76fcc0
--- /dev/null
+++ b/common/constants/shared.ts
@@ -0,0 +1,193 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+import CSS from 'csstype';
+import { IField } from '../../common/types/explorer';
+
+// 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 PPL_PATTERNS_DOCUMENTATION_URL =
+ 'https://github.com/opensearch-project/sql/blob/2.x/docs/user/ppl/cmd/patterns.rst#description';
+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 enum VIS_CHART_TYPES {
+ Bar = 'bar',
+ HorizontalBar = 'horizontal_bar',
+ Line = 'line',
+ Pie = 'pie',
+ HeatMap = 'heatmap',
+ Text = 'text',
+}
+
+export const NUMERICAL_FIELDS = ['short', 'integer', 'long', 'float', 'double'];
+
+export const ENABLED_VIS_TYPES = [
+ VIS_CHART_TYPES.Bar,
+ VIS_CHART_TYPES.HorizontalBar,
+ VIS_CHART_TYPES.Line,
+ VIS_CHART_TYPES.Pie,
+ VIS_CHART_TYPES.HeatMap,
+ VIS_CHART_TYPES.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';
+export interface DefaultChartStylesProps {
+ DefaultModeLine: string;
+ Interpolation: string;
+ LineWidth: number;
+ FillOpacity: number;
+ MarkerSize: number;
+ ShowLegend: string;
+ LegendPosition: string;
+ LabelAngle: number;
+ DefaultSortSectors: string;
+ DefaultModeScatter: string;
+}
+
+export const DEFAULT_CHART_STYLES: DefaultChartStylesProps = {
+ DefaultModeLine: 'lines',
+ Interpolation: 'spline',
+ LineWidth: 2,
+ FillOpacity: 70,
+ MarkerSize: 5,
+ ShowLegend: 'show',
+ LegendPosition: 'v',
+ LabelAngle: 0,
+ DefaultSortSectors: 'largest_to_smallest',
+ DefaultModeScatter: 'markers',
+};
+
+export const FILLOPACITY_DIV_FACTOR = 200;
+export const SLIDER_MIN_VALUE = 0;
+export const SLIDER_MAX_VALUE = 100;
+export const SLIDER_STEP = 1;
+export const THRESHOLD_LINE_WIDTH = 3;
+export const THRESHOLD_LINE_OPACITY = 0.7;
+export const MAX_BUCKET_LENGTH = 16;
+
+export enum BarOrientation {
+ horizontal = 'h',
+ vertical = 'v',
+}
+
+export const PLOT_MARGIN = {
+ l: 30,
+ r: 5,
+ b: 30,
+ t: 50,
+ pad: 4,
+};
+
+export const WAITING_TIME_ON_USER_ACTIONS = 300;
diff --git a/common/constants/trace_analytics.ts b/common/constants/trace_analytics.ts
new file mode 100644
index 0000000000..f480a25f6d
--- /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/query_manager/antlr/adaptors/case_insensitive_char_stream.ts b/common/query_manager/antlr/adaptors/case_insensitive_char_stream.ts
new file mode 100644
index 0000000000..6c3414f357
--- /dev/null
+++ b/common/query_manager/antlr/adaptors/case_insensitive_char_stream.ts
@@ -0,0 +1,60 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { CharStream } from 'antlr4ts';
+
+export class CaseInsensitiveCharStream {
+ private stream: CharStream;
+
+ get index(): number {
+ return this.stream.index;
+ }
+
+ get size(): number {
+ return this.stream.size;
+ }
+
+ get sourceName(): string {
+ return 'pplquery';
+ }
+
+ constructor(stream: CharStream) {
+ this.stream = stream;
+ }
+
+ LA(offset: number): number {
+ const c: number = this.stream.LA(offset);
+ if (c <= 0) {
+ return c;
+ }
+
+ // case insensitivity support for PPL
+ return String.fromCodePoint(c).toUpperCase().codePointAt(0)!;
+ }
+
+ consume(): void {
+ this.stream.consume();
+ }
+
+ mark(): number {
+ return this.stream.mark();
+ }
+
+ release(marker: number): void {
+ this.stream.release(marker);
+ }
+
+ seek(index: number): void {
+ this.stream.seek(index);
+ }
+
+ getText(interval: any): string {
+ return this.stream.getText(interval);
+ }
+
+ toString(): string {
+ return this.stream.toString();
+ }
+}
diff --git a/common/query_manager/antlr/grammar/OpenSearchPPLLexer.g4 b/common/query_manager/antlr/grammar/OpenSearchPPLLexer.g4
new file mode 100644
index 0000000000..f513867964
--- /dev/null
+++ b/common/query_manager/antlr/grammar/OpenSearchPPLLexer.g4
@@ -0,0 +1,371 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+
+lexer grammar OpenSearchPPLLexer;
+
+channels { WHITESPACE, ERRORCHANNEL }
+
+
+// COMMAND KEYWORDS
+SEARCH: 'SEARCH';
+DESCRIBE: 'DESCRIBE';
+SHOW: 'SHOW';
+FROM: 'FROM';
+WHERE: 'WHERE';
+FIELDS: 'FIELDS';
+RENAME: 'RENAME';
+STATS: 'STATS';
+DEDUP: 'DEDUP';
+SORT: 'SORT';
+EVAL: 'EVAL';
+HEAD: 'HEAD';
+TOP: 'TOP';
+RARE: 'RARE';
+PARSE: 'PARSE';
+METHOD: 'METHOD';
+REGEX: 'REGEX';
+PUNCT: 'PUNCT';
+GROK: 'GROK';
+PATTERN: 'PATTERN';
+PATTERNS: 'PATTERNS';
+NEW_FIELD: 'NEW_FIELD';
+KMEANS: 'KMEANS';
+AD: 'AD';
+ML: 'ML';
+
+// COMMAND ASSIST KEYWORDS
+AS: 'AS';
+BY: 'BY';
+SOURCE: 'SOURCE';
+INDEX: 'INDEX';
+D: 'D';
+DESC: 'DESC';
+CATALOGS: 'CATALOGS';
+
+// CLAUSE KEYWORDS
+SORTBY: 'SORTBY';
+
+// FIELD KEYWORDS
+AUTO: 'AUTO';
+STR: 'STR';
+IP: 'IP';
+NUM: 'NUM';
+
+// ARGUMENT KEYWORDS
+KEEPEMPTY: 'KEEPEMPTY';
+CONSECUTIVE: 'CONSECUTIVE';
+DEDUP_SPLITVALUES: 'DEDUP_SPLITVALUES';
+PARTITIONS: 'PARTITIONS';
+ALLNUM: 'ALLNUM';
+DELIM: 'DELIM';
+CENTROIDS: 'CENTROIDS';
+ITERATIONS: 'ITERATIONS';
+DISTANCE_TYPE: 'DISTANCE_TYPE';
+NUMBER_OF_TREES: 'NUMBER_OF_TREES';
+SHINGLE_SIZE: 'SHINGLE_SIZE';
+SAMPLE_SIZE: 'SAMPLE_SIZE';
+OUTPUT_AFTER: 'OUTPUT_AFTER';
+TIME_DECAY: 'TIME_DECAY';
+ANOMALY_RATE: 'ANOMALY_RATE';
+CATEGORY_FIELD: 'CATEGORY_FIELD';
+TIME_FIELD: 'TIME_FIELD';
+TIME_ZONE: 'TIME_ZONE';
+TRAINING_DATA_SIZE: 'TRAINING_DATA_SIZE';
+ANOMALY_SCORE_THRESHOLD: 'ANOMALY_SCORE_THRESHOLD';
+
+// COMPARISON FUNCTION KEYWORDS
+CASE: 'CASE';
+IN: 'IN';
+
+// LOGICAL KEYWORDS
+NOT: 'NOT';
+OR: 'OR';
+AND: 'AND';
+XOR: 'XOR';
+TRUE: 'TRUE';
+FALSE: 'FALSE';
+REGEXP: 'REGEXP';
+
+// DATETIME, INTERVAL AND UNIT KEYWORDS
+DATETIME: 'DATETIME';
+INTERVAL: 'INTERVAL';
+MICROSECOND: 'MICROSECOND';
+MILLISECOND: 'MILLISECOND';
+SECOND: 'SECOND';
+MINUTE: 'MINUTE';
+HOUR: 'HOUR';
+DAY: 'DAY';
+WEEK: 'WEEK';
+MONTH: 'MONTH';
+QUARTER: 'QUARTER';
+YEAR: 'YEAR';
+SECOND_MICROSECOND: 'SECOND_MICROSECOND';
+MINUTE_MICROSECOND: 'MINUTE_MICROSECOND';
+MINUTE_SECOND: 'MINUTE_SECOND';
+HOUR_MICROSECOND: 'HOUR_MICROSECOND';
+HOUR_SECOND: 'HOUR_SECOND';
+HOUR_MINUTE: 'HOUR_MINUTE';
+DAY_MICROSECOND: 'DAY_MICROSECOND';
+DAY_SECOND: 'DAY_SECOND';
+DAY_MINUTE: 'DAY_MINUTE';
+DAY_HOUR: 'DAY_HOUR';
+YEAR_MONTH: 'YEAR_MONTH';
+CONVERT_TZ: 'CONVERT_TZ';
+
+// DATASET TYPES
+DATAMODEL: 'DATAMODEL';
+LOOKUP: 'LOOKUP';
+SAVEDSEARCH: 'SAVEDSEARCH';
+
+// CONVERTED DATA TYPES
+INT: 'INT';
+INTEGER: 'INTEGER';
+DOUBLE: 'DOUBLE';
+LONG: 'LONG';
+FLOAT: 'FLOAT';
+STRING: 'STRING';
+BOOLEAN: 'BOOLEAN';
+
+// SPECIAL CHARACTERS AND OPERATORS
+PIPE: '|';
+COMMA: ',';
+DOT: '.';
+EQUAL: '=';
+GREATER: '>';
+LESS: '<';
+NOT_GREATER: '<' '=';
+NOT_LESS: '>' '=';
+NOT_EQUAL: '!' '=';
+PLUS: '+';
+MINUS: '-';
+STAR: '*';
+DIVIDE: '/';
+MODULE: '%';
+EXCLAMATION_SYMBOL: '!';
+COLON: ':';
+LT_PRTHS: '(';
+RT_PRTHS: ')';
+LT_SQR_PRTHS: '[';
+RT_SQR_PRTHS: ']';
+SINGLE_QUOTE: '\'';
+DOUBLE_QUOTE: '"';
+BACKTICK: '`';
+
+// Operators. Bit
+
+BIT_NOT_OP: '~';
+BIT_AND_OP: '&';
+BIT_XOR_OP: '^';
+
+// AGGREGATIONS
+AVG: 'AVG';
+COUNT: 'COUNT';
+DISTINCT_COUNT: 'DISTINCT_COUNT';
+ESTDC: 'ESTDC';
+ESTDC_ERROR: 'ESTDC_ERROR';
+MAX: 'MAX';
+MEAN: 'MEAN';
+MEDIAN: 'MEDIAN';
+MIN: 'MIN';
+MODE: 'MODE';
+RANGE: 'RANGE';
+STDEV: 'STDEV';
+STDEVP: 'STDEVP';
+SUM: 'SUM';
+SUMSQ: 'SUMSQ';
+VAR_SAMP: 'VAR_SAMP';
+VAR_POP: 'VAR_POP';
+STDDEV_SAMP: 'STDDEV_SAMP';
+STDDEV_POP: 'STDDEV_POP';
+PERCENTILE: 'PERCENTILE';
+TAKE: 'TAKE';
+FIRST: 'FIRST';
+LAST: 'LAST';
+LIST: 'LIST';
+VALUES: 'VALUES';
+EARLIEST: 'EARLIEST';
+EARLIEST_TIME: 'EARLIEST_TIME';
+LATEST: 'LATEST';
+LATEST_TIME: 'LATEST_TIME';
+PER_DAY: 'PER_DAY';
+PER_HOUR: 'PER_HOUR';
+PER_MINUTE: 'PER_MINUTE';
+PER_SECOND: 'PER_SECOND';
+RATE: 'RATE';
+SPARKLINE: 'SPARKLINE';
+C: 'C';
+DC: 'DC';
+
+// BASIC FUNCTIONS
+ABS: 'ABS';
+CEIL: 'CEIL';
+CEILING: 'CEILING';
+CONV: 'CONV';
+CRC32: 'CRC32';
+E: 'E';
+EXP: 'EXP';
+FLOOR: 'FLOOR';
+LN: 'LN';
+LOG: 'LOG';
+LOG10: 'LOG10';
+LOG2: 'LOG2';
+MOD: 'MOD';
+PI: 'PI';
+POW: 'POW';
+POWER: 'POWER';
+RAND: 'RAND';
+ROUND: 'ROUND';
+SIGN: 'SIGN';
+SQRT: 'SQRT';
+TRUNCATE: 'TRUNCATE';
+
+// TRIGONOMETRIC FUNCTIONS
+ACOS: 'ACOS';
+ASIN: 'ASIN';
+ATAN: 'ATAN';
+ATAN2: 'ATAN2';
+COS: 'COS';
+COT: 'COT';
+DEGREES: 'DEGREES';
+RADIANS: 'RADIANS';
+SIN: 'SIN';
+TAN: 'TAN';
+
+// DATE AND TIME FUNCTIONS
+ADDDATE: 'ADDDATE';
+CURDATE: 'CURDATE';
+CURRENT_DATE: 'CURRENT_DATE';
+CURRENT_TIME: 'CURRENT_TIME';
+CURRENT_TIMESTAMP: 'CURRENT_TIMESTAMP';
+CURTIME: 'CURTIME';
+DATE: 'DATE';
+DATE_ADD: 'DATE_ADD';
+DATE_FORMAT: 'DATE_FORMAT';
+DATE_SUB: 'DATE_SUB';
+DAYNAME: 'DAYNAME';
+DAYOFMONTH: 'DAYOFMONTH';
+DAYOFWEEK: 'DAYOFWEEK';
+DAYOFYEAR: 'DAYOFYEAR';
+FROM_DAYS: 'FROM_DAYS';
+LOCALTIME: 'LOCALTIME';
+LOCALTIMESTAMP: 'LOCALTIMESTAMP';
+FROM_UNIXTIME: 'FROM_UNIXTIME';
+MAKEDATE: 'MAKEDATE';
+MAKETIME: 'MAKETIME';
+MONTHNAME: 'MONTHNAME';
+NOW: 'NOW';
+PERIOD_ADD: 'PERIOD_ADD';
+PERIOD_DIFF: 'PERIOD_DIFF';
+SUBDATE: 'SUBDATE';
+SYSDATE: 'SYSDATE';
+TIME: 'TIME';
+TIME_TO_SEC: 'TIME_TO_SEC';
+TIMESTAMP: 'TIMESTAMP';
+TO_DAYS: 'TO_DAYS';
+UTC_DATE: 'UTC_DATE';
+UTC_TIME: 'UTC_TIME';
+UTC_TIMESTAMP: 'UTC_TIMESTAMP';
+UNIX_TIMESTAMP: 'UNIX_TIMESTAMP';
+
+// TEXT FUNCTIONS
+SUBSTR: 'SUBSTR';
+SUBSTRING: 'SUBSTRING';
+LTRIM: 'LTRIM';
+RTRIM: 'RTRIM';
+TRIM: 'TRIM';
+TO: 'TO';
+LOWER: 'LOWER';
+UPPER: 'UPPER';
+CONCAT: 'CONCAT';
+CONCAT_WS: 'CONCAT_WS';
+LENGTH: 'LENGTH';
+STRCMP: 'STRCMP';
+RIGHT: 'RIGHT';
+LEFT: 'LEFT';
+ASCII: 'ASCII';
+LOCATE: 'LOCATE';
+REPLACE: 'REPLACE';
+CAST: 'CAST';
+
+// BOOL FUNCTIONS
+LIKE: 'LIKE';
+ISNULL: 'ISNULL';
+ISNOTNULL: 'ISNOTNULL';
+
+// FLOWCONTROL FUNCTIONS
+IFNULL: 'IFNULL';
+NULLIF: 'NULLIF';
+IF: 'IF';
+TYPEOF: 'TYPEOF';
+
+// RELEVANCE FUNCTIONS AND PARAMETERS
+MATCH: 'MATCH';
+MATCH_PHRASE: 'MATCH_PHRASE';
+MATCH_PHRASE_PREFIX: 'MATCH_PHRASE_PREFIX';
+MATCH_BOOL_PREFIX: 'MATCH_BOOL_PREFIX';
+SIMPLE_QUERY_STRING: 'SIMPLE_QUERY_STRING';
+MULTI_MATCH: 'MULTI_MATCH';
+QUERY_STRING: 'QUERY_STRING';
+
+ALLOW_LEADING_WILDCARD: 'ALLOW_LEADING_WILDCARD';
+ANALYZE_WILDCARD: 'ANALYZE_WILDCARD';
+ANALYZER: 'ANALYZER';
+AUTO_GENERATE_SYNONYMS_PHRASE_QUERY:'AUTO_GENERATE_SYNONYMS_PHRASE_QUERY';
+BOOST: 'BOOST';
+CUTOFF_FREQUENCY: 'CUTOFF_FREQUENCY';
+DEFAULT_FIELD: 'DEFAULT_FIELD';
+DEFAULT_OPERATOR: 'DEFAULT_OPERATOR';
+ENABLE_POSITION_INCREMENTS: 'ENABLE_POSITION_INCREMENTS';
+ESCAPE: 'ESCAPE';
+FLAGS: 'FLAGS';
+FUZZY_MAX_EXPANSIONS: 'FUZZY_MAX_EXPANSIONS';
+FUZZY_PREFIX_LENGTH: 'FUZZY_PREFIX_LENGTH';
+FUZZY_TRANSPOSITIONS: 'FUZZY_TRANSPOSITIONS';
+FUZZY_REWRITE: 'FUZZY_REWRITE';
+FUZZINESS: 'FUZZINESS';
+LENIENT: 'LENIENT';
+LOW_FREQ_OPERATOR: 'LOW_FREQ_OPERATOR';
+MAX_DETERMINIZED_STATES: 'MAX_DETERMINIZED_STATES';
+MAX_EXPANSIONS: 'MAX_EXPANSIONS';
+MINIMUM_SHOULD_MATCH: 'MINIMUM_SHOULD_MATCH';
+OPERATOR: 'OPERATOR';
+PHRASE_SLOP: 'PHRASE_SLOP';
+PREFIX_LENGTH: 'PREFIX_LENGTH';
+QUOTE_ANALYZER: 'QUOTE_ANALYZER';
+QUOTE_FIELD_SUFFIX: 'QUOTE_FIELD_SUFFIX';
+REWRITE: 'REWRITE';
+SLOP: 'SLOP';
+TIE_BREAKER: 'TIE_BREAKER';
+TYPE: 'TYPE';
+ZERO_TERMS_QUERY: 'ZERO_TERMS_QUERY';
+
+// SPAN KEYWORDS
+SPAN: 'SPAN';
+MS: 'MS';
+S: 'S';
+M: 'M';
+H: 'H';
+W: 'W';
+Q: 'Q';
+Y: 'Y';
+
+
+// LITERALS AND VALUES
+//STRING_LITERAL: DQUOTA_STRING | SQUOTA_STRING | BQUOTA_STRING;
+ID: ID_LITERAL;
+INTEGER_LITERAL: DEC_DIGIT+;
+DECIMAL_LITERAL: (DEC_DIGIT+)? '.' DEC_DIGIT+;
+
+fragment DATE_SUFFIX: ([\-.][*0-9]+)*;
+fragment ID_LITERAL: [@*A-Z]+?[*A-Z_\-0-9]*;
+ID_DATE_SUFFIX: ID_LITERAL DATE_SUFFIX;
+DQUOTA_STRING: '"' ( '\\'. | '""' | ~('"'| '\\') )* '"';
+SQUOTA_STRING: '\'' ('\\'. | '\'\'' | ~('\'' | '\\'))* '\'';
+BQUOTA_STRING: '`' ( '\\'. | '``' | ~('`'|'\\'))* '`';
+fragment DEC_DIGIT: [0-9];
+
+
+ERROR_RECOGNITION: . -> channel(ERRORCHANNEL);
\ No newline at end of file
diff --git a/common/query_manager/antlr/grammar/OpenSearchPPLParser.g4 b/common/query_manager/antlr/grammar/OpenSearchPPLParser.g4
new file mode 100644
index 0000000000..3909cef29d
--- /dev/null
+++ b/common/query_manager/antlr/grammar/OpenSearchPPLParser.g4
@@ -0,0 +1,572 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+
+
+parser grammar OpenSearchPPLParser;
+options { tokenVocab=OpenSearchPPLLexer; }
+
+root
+ : pplStatement? EOF
+ ;
+
+/** statement */
+pplStatement
+ : pplCommands (PIPE commands)*
+ ;
+
+/** commands */
+pplCommands
+ : searchCommand
+ | describeCommand
+ | showCatalogsCommand
+ ;
+
+commands
+ : whereCommand | fieldsCommand | renameCommand | statsCommand | dedupCommand | sortCommand | evalCommand | headCommand
+ | topCommand | rareCommand | grokCommand | parseCommand | patternsCommand | kmeansCommand | adCommand | mlCommand;
+
+searchCommand
+ : (SEARCH)? fromClause #searchFrom
+ | (SEARCH)? fromClause logicalExpression #searchFromFilter
+ | (SEARCH)? logicalExpression fromClause #searchFilterFrom
+ ;
+
+describeCommand
+ : DESCRIBE tableSourceClause
+ ;
+
+showCatalogsCommand
+ : SHOW CATALOGS
+ ;
+
+whereCommand
+ : WHERE logicalExpression
+ ;
+
+fieldsCommand
+ : FIELDS (PLUS | MINUS)? fieldList
+ ;
+
+renameCommand
+ : RENAME renameClasue (COMMA renameClasue)*
+ ;
+
+statsCommand
+ : STATS
+ (PARTITIONS EQUAL partitions=integerLiteral)?
+ (ALLNUM EQUAL allnum=booleanLiteral)?
+ (DELIM EQUAL delim=stringLiteral)?
+ statsAggTerm (COMMA statsAggTerm)*
+ (statsByClause)?
+ (DEDUP_SPLITVALUES EQUAL dedupsplit=booleanLiteral)?
+ ;
+
+dedupCommand
+ : DEDUP
+ (number=integerLiteral)?
+ fieldList
+ (KEEPEMPTY EQUAL keepempty=booleanLiteral)?
+ (CONSECUTIVE EQUAL consecutive=booleanLiteral)?
+ ;
+
+sortCommand
+ : SORT sortbyClause
+ ;
+
+evalCommand
+ : EVAL evalClause (COMMA evalClause)*
+ ;
+
+headCommand
+ : HEAD
+ (number=integerLiteral)?
+ (FROM from=integerLiteral)?
+ ;
+
+topCommand
+ : TOP
+ (number=integerLiteral)?
+ fieldList
+ (byClause)?
+ ;
+
+rareCommand
+ : RARE
+ fieldList
+ (byClause)?
+ ;
+
+grokCommand
+ : GROK (source_field=expression) (pattern=stringLiteral)
+ ;
+
+parseCommand
+ : PARSE (source_field=expression) (pattern=stringLiteral)
+ ;
+
+patternsCommand
+ : PATTERNS (patternsParameter)* (source_field=expression)
+ ;
+
+patternsParameter
+ : (NEW_FIELD EQUAL new_field=stringLiteral)
+ | (PATTERN EQUAL pattern=stringLiteral)
+ ;
+
+patternsMethod
+ : PUNCT | REGEX
+ ;
+
+kmeansCommand
+ : KMEANS (kmeansParameter)*
+ ;
+
+kmeansParameter
+ : (CENTROIDS EQUAL centroids=integerLiteral)
+ | (ITERATIONS EQUAL iterations=integerLiteral)
+ | (DISTANCE_TYPE EQUAL distance_type=stringLiteral)
+ ;
+
+adCommand
+ : AD (adParameter)*
+ ;
+
+adParameter
+ : (NUMBER_OF_TREES EQUAL number_of_trees=integerLiteral)
+ | (SHINGLE_SIZE EQUAL shingle_size=integerLiteral)
+ | (SAMPLE_SIZE EQUAL sample_size=integerLiteral)
+ | (OUTPUT_AFTER EQUAL output_after=integerLiteral)
+ | (TIME_DECAY EQUAL time_decay=decimalLiteral)
+ | (ANOMALY_RATE EQUAL anomaly_rate=decimalLiteral)
+ | (CATEGORY_FIELD EQUAL category_field=stringLiteral)
+ | (TIME_FIELD EQUAL time_field=stringLiteral)
+ | (DATE_FORMAT EQUAL date_format=stringLiteral)
+ | (TIME_ZONE EQUAL time_zone=stringLiteral)
+ | (TRAINING_DATA_SIZE EQUAL training_data_size=integerLiteral)
+ | (ANOMALY_SCORE_THRESHOLD EQUAL anomaly_score_threshold=decimalLiteral)
+ ;
+
+mlCommand
+ : ML (mlArg)*
+ ;
+
+mlArg
+ : (argName=ident EQUAL argValue=literalValue)
+ ;
+
+/** clauses */
+fromClause
+ : SOURCE EQUAL tableSourceClause
+ | INDEX EQUAL tableSourceClause
+ | SOURCE EQUAL tableFunction
+ | INDEX EQUAL tableFunction
+ ;
+
+tableSourceClause
+ : tableSource (COMMA tableSource)*
+ ;
+
+renameClasue
+ : orignalField=wcFieldExpression AS renamedField=wcFieldExpression
+ ;
+
+byClause
+ : BY fieldList
+ ;
+
+statsByClause
+ : BY fieldList
+ | BY bySpanClause
+ | BY bySpanClause COMMA fieldList
+ ;
+
+bySpanClause
+ : spanClause (AS alias=qualifiedName)?
+ ;
+
+spanClause
+ : SPAN LT_PRTHS fieldExpression COMMA value=literalValue (unit=timespanUnit)? RT_PRTHS
+ ;
+
+sortbyClause
+ : sortField (COMMA sortField)*
+ ;
+
+evalClause
+ : fieldExpression EQUAL expression
+ ;
+
+/** aggregation terms */
+statsAggTerm
+ : statsFunction (AS alias=wcFieldExpression)?
+ ;
+
+/** aggregation functions */
+statsFunction
+ : statsFunctionName LT_PRTHS valueExpression RT_PRTHS #statsFunctionCall
+ | COUNT LT_PRTHS RT_PRTHS #countAllFunctionCall
+ | (DISTINCT_COUNT | DC) LT_PRTHS valueExpression RT_PRTHS #distinctCountFunctionCall
+ | percentileAggFunction #percentileAggFunctionCall
+ | takeAggFunction #takeAggFunctionCall
+ ;
+
+statsFunctionName
+ : AVG | COUNT | SUM | MIN | MAX | VAR_SAMP | VAR_POP | STDDEV_SAMP | STDDEV_POP
+ ;
+
+takeAggFunction
+ : TAKE LT_PRTHS fieldExpression (COMMA size=integerLiteral)? RT_PRTHS
+ ;
+
+percentileAggFunction
+ : PERCENTILE LESS value=integerLiteral GREATER LT_PRTHS aggField=fieldExpression RT_PRTHS
+ ;
+
+/** expressions */
+expression
+ : logicalExpression
+ | comparisonExpression
+ | valueExpression
+ ;
+
+logicalExpression
+ : comparisonExpression #comparsion
+ | NOT logicalExpression #logicalNot
+ | left=logicalExpression OR right=logicalExpression #logicalOr
+ | left=logicalExpression (AND)? right=logicalExpression #logicalAnd
+ | left=logicalExpression XOR right=logicalExpression #logicalXor
+ | booleanExpression #booleanExpr
+ | relevanceExpression #relevanceExpr
+ ;
+
+comparisonExpression
+ : left=valueExpression comparisonOperator right=valueExpression #compareExpr
+ | valueExpression IN valueList #inExpr
+ ;
+
+valueExpression
+ : left=valueExpression binaryOperator right=valueExpression #binaryArithmetic
+ | LT_PRTHS left=valueExpression binaryOperator
+ right=valueExpression RT_PRTHS #parentheticBinaryArithmetic
+ | primaryExpression #valueExpressionDefault
+ ;
+
+primaryExpression
+ : evalFunctionCall
+ | dataTypeFunctionCall
+ | fieldExpression
+ | literalValue
+ | constantFunction
+ ;
+
+constantFunction
+ : constantFunctionName LT_PRTHS functionArgs? RT_PRTHS
+ ;
+
+booleanExpression
+ : booleanFunctionCall
+ ;
+
+relevanceExpression
+ : singleFieldRelevanceFunction | multiFieldRelevanceFunction
+ ;
+
+// Field is a single column
+singleFieldRelevanceFunction
+ : singleFieldRelevanceFunctionName LT_PRTHS
+ field=relevanceField COMMA query=relevanceQuery
+ (COMMA relevanceArg)* RT_PRTHS
+ ;
+
+// Field is a list of columns
+multiFieldRelevanceFunction
+ : multiFieldRelevanceFunctionName LT_PRTHS
+ LT_SQR_PRTHS field=relevanceFieldAndWeight (COMMA field=relevanceFieldAndWeight)* RT_SQR_PRTHS
+ COMMA query=relevanceQuery (COMMA relevanceArg)* RT_PRTHS
+ ;
+
+/** tables */
+tableSource
+ : qualifiedName
+ | ID_DATE_SUFFIX
+ ;
+
+tableFunction
+ : qualifiedName LT_PRTHS functionArgs RT_PRTHS
+ ;
+
+/** fields */
+fieldList
+ : fieldExpression (COMMA fieldExpression)*
+ ;
+
+wcFieldList
+ : wcFieldExpression (COMMA wcFieldExpression)*
+ ;
+
+sortField
+ : (PLUS | MINUS)? sortFieldExpression
+ ;
+
+sortFieldExpression
+ : fieldExpression
+ | AUTO LT_PRTHS fieldExpression RT_PRTHS
+ | STR LT_PRTHS fieldExpression RT_PRTHS
+ | IP LT_PRTHS fieldExpression RT_PRTHS
+ | NUM LT_PRTHS fieldExpression RT_PRTHS
+ ;
+
+fieldExpression
+ : qualifiedName
+ ;
+
+wcFieldExpression
+ : wcQualifiedName
+ ;
+
+/** functions */
+evalFunctionCall
+ : evalFunctionName LT_PRTHS functionArgs RT_PRTHS
+ ;
+
+/** cast function */
+dataTypeFunctionCall
+ : CAST LT_PRTHS expression AS convertedDataType RT_PRTHS
+ ;
+
+/** boolean functions */
+booleanFunctionCall
+ : conditionFunctionBase LT_PRTHS functionArgs RT_PRTHS
+ ;
+
+convertedDataType
+ : typeName=DATE
+ | typeName=TIME
+ | typeName=TIMESTAMP
+ | typeName=INT
+ | typeName=INTEGER
+ | typeName=DOUBLE
+ | typeName=LONG
+ | typeName=FLOAT
+ | typeName=STRING
+ | typeName=BOOLEAN
+ ;
+
+evalFunctionName
+ : mathematicalFunctionBase
+ | dateAndTimeFunctionBase
+ | textFunctionBase
+ | conditionFunctionBase
+ | systemFunctionBase
+ ;
+
+functionArgs
+ : (functionArg (COMMA functionArg)*)?
+ ;
+
+functionArg
+ : (ident EQUAL)? valueExpression
+ ;
+
+relevanceArg
+ : relevanceArgName EQUAL relevanceArgValue
+ ;
+
+relevanceArgName
+ : ALLOW_LEADING_WILDCARD | ANALYZER | ANALYZE_WILDCARD | AUTO_GENERATE_SYNONYMS_PHRASE_QUERY
+ | BOOST | CUTOFF_FREQUENCY | DEFAULT_FIELD | DEFAULT_OPERATOR | ENABLE_POSITION_INCREMENTS
+ | ESCAPE | FIELDS | FLAGS | FUZZINESS | FUZZY_MAX_EXPANSIONS | FUZZY_PREFIX_LENGTH
+ | FUZZY_REWRITE | FUZZY_TRANSPOSITIONS | LENIENT | LOW_FREQ_OPERATOR | MAX_DETERMINIZED_STATES
+ | MAX_EXPANSIONS | MINIMUM_SHOULD_MATCH | OPERATOR | PHRASE_SLOP | PREFIX_LENGTH
+ | QUOTE_ANALYZER | QUOTE_FIELD_SUFFIX | REWRITE | SLOP | TIE_BREAKER | TIME_ZONE | TYPE
+ | ZERO_TERMS_QUERY
+ ;
+
+relevanceFieldAndWeight
+ : field=relevanceField
+ | field=relevanceField weight=relevanceFieldWeight
+ | field=relevanceField BIT_XOR_OP weight=relevanceFieldWeight
+ ;
+
+relevanceFieldWeight
+ : integerLiteral
+ | decimalLiteral
+ ;
+
+relevanceField
+ : qualifiedName
+ | stringLiteral
+ ;
+
+relevanceQuery
+ : relevanceArgValue
+ ;
+
+relevanceArgValue
+ : qualifiedName
+ | literalValue
+ ;
+
+mathematicalFunctionBase
+ : ABS | CEIL | CEILING | CONV | CRC32 | E | EXP | FLOOR | LN | LOG | LOG10 | LOG2 | MOD | PI |POW | POWER
+ | RAND | ROUND | SIGN | SQRT | TRUNCATE
+ | trigonometricFunctionName
+ ;
+
+trigonometricFunctionName
+ : ACOS | ASIN | ATAN | ATAN2 | COS | COT | DEGREES | RADIANS | SIN | TAN
+ ;
+
+dateAndTimeFunctionBase
+ : ADDDATE | CONVERT_TZ | DATE | DATE_ADD | DATE_FORMAT | DATE_SUB
+ | DATETIME | DAY | DAYNAME | DAYOFMONTH | DAYOFWEEK | DAYOFYEAR | FROM_DAYS | FROM_UNIXTIME
+ | HOUR | MAKEDATE | MAKETIME | MICROSECOND | MINUTE | MONTH | MONTHNAME | PERIOD_ADD
+ | PERIOD_DIFF | QUARTER | SECOND | SUBDATE | SYSDATE | TIME | TIME_TO_SEC
+ | TIMESTAMP | TO_DAYS | UNIX_TIMESTAMP | WEEK | YEAR
+ ;
+
+// Functions which value could be cached in scope of a single query
+constantFunctionName
+ : CURRENT_DATE | CURRENT_TIME | CURRENT_TIMESTAMP | LOCALTIME | LOCALTIMESTAMP | UTC_TIMESTAMP | UTC_DATE | UTC_TIME
+ | CURDATE | CURTIME | NOW
+ ;
+
+/** condition function return boolean value */
+conditionFunctionBase
+ : LIKE
+ | IF | ISNULL | ISNOTNULL | IFNULL | NULLIF
+ ;
+
+systemFunctionBase
+ : TYPEOF
+ ;
+
+textFunctionBase
+ : SUBSTR | SUBSTRING | TRIM | LTRIM | RTRIM | LOWER | UPPER | CONCAT | CONCAT_WS | LENGTH | STRCMP
+ | RIGHT | LEFT | ASCII | LOCATE | REPLACE
+ ;
+
+/** operators */
+comparisonOperator
+ : EQUAL | NOT_EQUAL | LESS | NOT_LESS | GREATER | NOT_GREATER | REGEXP
+ ;
+
+binaryOperator
+ : PLUS | MINUS | STAR | DIVIDE | MODULE
+ ;
+
+
+singleFieldRelevanceFunctionName
+ : MATCH
+ | MATCH_PHRASE
+ | MATCH_BOOL_PREFIX
+ | MATCH_PHRASE_PREFIX
+ ;
+
+multiFieldRelevanceFunctionName
+ : SIMPLE_QUERY_STRING
+ | MULTI_MATCH
+ | QUERY_STRING
+ ;
+
+/** literals and values*/
+literalValue
+ : intervalLiteral
+ | stringLiteral
+ | integerLiteral
+ | decimalLiteral
+ | booleanLiteral
+ | datetimeLiteral //#datetime
+ ;
+
+intervalLiteral
+ : INTERVAL valueExpression intervalUnit
+ ;
+
+stringLiteral
+ : DQUOTA_STRING | SQUOTA_STRING
+ ;
+
+integerLiteral
+ : (PLUS | MINUS)? INTEGER_LITERAL
+ ;
+
+decimalLiteral
+ : (PLUS | MINUS)? DECIMAL_LITERAL
+ ;
+
+booleanLiteral
+ : TRUE | FALSE
+ ;
+
+// Date and Time Literal, follow ANSI 92
+datetimeLiteral
+ : dateLiteral
+ | timeLiteral
+ | timestampLiteral
+ ;
+
+dateLiteral
+ : DATE date=stringLiteral
+ ;
+
+timeLiteral
+ : TIME time=stringLiteral
+ ;
+
+timestampLiteral
+ : TIMESTAMP timestamp=stringLiteral
+ ;
+
+intervalUnit
+ : MICROSECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR | SECOND_MICROSECOND
+ | MINUTE_MICROSECOND | MINUTE_SECOND | HOUR_MICROSECOND | HOUR_SECOND | HOUR_MINUTE | DAY_MICROSECOND
+ | DAY_SECOND | DAY_MINUTE | DAY_HOUR | YEAR_MONTH
+ ;
+
+timespanUnit
+ : MS | S | M | H | D | W | Q | Y
+ | MILLISECOND | SECOND | MINUTE | HOUR | DAY | WEEK | MONTH | QUARTER | YEAR
+ ;
+
+
+valueList
+ : LT_PRTHS literalValue (COMMA literalValue)* RT_PRTHS
+ ;
+
+qualifiedName
+ : ident (DOT ident)* #identsAsQualifiedName
+ ;
+
+wcQualifiedName
+ : wildcard (DOT wildcard)* #identsAsWildcardQualifiedName
+ ;
+
+ident
+ : (DOT)? ID
+ | BACKTICK ident BACKTICK
+ | BQUOTA_STRING
+ | keywordsCanBeId
+ ;
+
+wildcard
+ : ident (MODULE ident)* (MODULE)?
+ | SINGLE_QUOTE wildcard SINGLE_QUOTE
+ | DOUBLE_QUOTE wildcard DOUBLE_QUOTE
+ | BACKTICK wildcard BACKTICK
+ ;
+
+keywordsCanBeId
+ : D // OD SQL and ODBC special
+ | statsFunctionName
+ | TIMESTAMP | DATE | TIME
+ | FIRST | LAST
+ | timespanUnit | SPAN
+ | constantFunctionName
+ | dateAndTimeFunctionBase
+ | textFunctionBase
+ | mathematicalFunctionBase
+ ;
\ No newline at end of file
diff --git a/common/query_manager/antlr/output/OpenSearchPPLLexer.interp b/common/query_manager/antlr/output/OpenSearchPPLLexer.interp
new file mode 100644
index 0000000000..22eb5e9122
--- /dev/null
+++ b/common/query_manager/antlr/output/OpenSearchPPLLexer.interp
@@ -0,0 +1,945 @@
+token literal names:
+null
+'SEARCH'
+'DESCRIBE'
+'SHOW'
+'FROM'
+'WHERE'
+'FIELDS'
+'RENAME'
+'STATS'
+'DEDUP'
+'SORT'
+'EVAL'
+'HEAD'
+'TOP'
+'RARE'
+'PARSE'
+'METHOD'
+'REGEX'
+'PUNCT'
+'GROK'
+'PATTERN'
+'PATTERNS'
+'NEW_FIELD'
+'KMEANS'
+'AD'
+'ML'
+'AS'
+'BY'
+'SOURCE'
+'INDEX'
+'D'
+'DESC'
+'CATALOGS'
+'SORTBY'
+'AUTO'
+'STR'
+'IP'
+'NUM'
+'KEEPEMPTY'
+'CONSECUTIVE'
+'DEDUP_SPLITVALUES'
+'PARTITIONS'
+'ALLNUM'
+'DELIM'
+'CENTROIDS'
+'ITERATIONS'
+'DISTANCE_TYPE'
+'NUMBER_OF_TREES'
+'SHINGLE_SIZE'
+'SAMPLE_SIZE'
+'OUTPUT_AFTER'
+'TIME_DECAY'
+'ANOMALY_RATE'
+'CATEGORY_FIELD'
+'TIME_FIELD'
+'TIME_ZONE'
+'TRAINING_DATA_SIZE'
+'ANOMALY_SCORE_THRESHOLD'
+'CASE'
+'IN'
+'NOT'
+'OR'
+'AND'
+'XOR'
+'TRUE'
+'FALSE'
+'REGEXP'
+'DATETIME'
+'INTERVAL'
+'MICROSECOND'
+'MILLISECOND'
+'SECOND'
+'MINUTE'
+'HOUR'
+'DAY'
+'WEEK'
+'MONTH'
+'QUARTER'
+'YEAR'
+'SECOND_MICROSECOND'
+'MINUTE_MICROSECOND'
+'MINUTE_SECOND'
+'HOUR_MICROSECOND'
+'HOUR_SECOND'
+'HOUR_MINUTE'
+'DAY_MICROSECOND'
+'DAY_SECOND'
+'DAY_MINUTE'
+'DAY_HOUR'
+'YEAR_MONTH'
+'CONVERT_TZ'
+'DATAMODEL'
+'LOOKUP'
+'SAVEDSEARCH'
+'INT'
+'INTEGER'
+'DOUBLE'
+'LONG'
+'FLOAT'
+'STRING'
+'BOOLEAN'
+'|'
+','
+'.'
+'='
+'>'
+'<'
+null
+null
+null
+'+'
+'-'
+'*'
+'/'
+'%'
+'!'
+':'
+'('
+')'
+'['
+']'
+'\''
+'"'
+'`'
+'~'
+'&'
+'^'
+'AVG'
+'COUNT'
+'DISTINCT_COUNT'
+'ESTDC'
+'ESTDC_ERROR'
+'MAX'
+'MEAN'
+'MEDIAN'
+'MIN'
+'MODE'
+'RANGE'
+'STDEV'
+'STDEVP'
+'SUM'
+'SUMSQ'
+'VAR_SAMP'
+'VAR_POP'
+'STDDEV_SAMP'
+'STDDEV_POP'
+'PERCENTILE'
+'TAKE'
+'FIRST'
+'LAST'
+'LIST'
+'VALUES'
+'EARLIEST'
+'EARLIEST_TIME'
+'LATEST'
+'LATEST_TIME'
+'PER_DAY'
+'PER_HOUR'
+'PER_MINUTE'
+'PER_SECOND'
+'RATE'
+'SPARKLINE'
+'C'
+'DC'
+'ABS'
+'CEIL'
+'CEILING'
+'CONV'
+'CRC32'
+'E'
+'EXP'
+'FLOOR'
+'LN'
+'LOG'
+'LOG10'
+'LOG2'
+'MOD'
+'PI'
+'POW'
+'POWER'
+'RAND'
+'ROUND'
+'SIGN'
+'SQRT'
+'TRUNCATE'
+'ACOS'
+'ASIN'
+'ATAN'
+'ATAN2'
+'COS'
+'COT'
+'DEGREES'
+'RADIANS'
+'SIN'
+'TAN'
+'ADDDATE'
+'CURDATE'
+'CURRENT_DATE'
+'CURRENT_TIME'
+'CURRENT_TIMESTAMP'
+'CURTIME'
+'DATE'
+'DATE_ADD'
+'DATE_FORMAT'
+'DATE_SUB'
+'DAYNAME'
+'DAYOFMONTH'
+'DAYOFWEEK'
+'DAYOFYEAR'
+'FROM_DAYS'
+'LOCALTIME'
+'LOCALTIMESTAMP'
+'FROM_UNIXTIME'
+'MAKEDATE'
+'MAKETIME'
+'MONTHNAME'
+'NOW'
+'PERIOD_ADD'
+'PERIOD_DIFF'
+'SUBDATE'
+'SYSDATE'
+'TIME'
+'TIME_TO_SEC'
+'TIMESTAMP'
+'TO_DAYS'
+'UTC_DATE'
+'UTC_TIME'
+'UTC_TIMESTAMP'
+'UNIX_TIMESTAMP'
+'SUBSTR'
+'SUBSTRING'
+'LTRIM'
+'RTRIM'
+'TRIM'
+'TO'
+'LOWER'
+'UPPER'
+'CONCAT'
+'CONCAT_WS'
+'LENGTH'
+'STRCMP'
+'RIGHT'
+'LEFT'
+'ASCII'
+'LOCATE'
+'REPLACE'
+'CAST'
+'LIKE'
+'ISNULL'
+'ISNOTNULL'
+'IFNULL'
+'NULLIF'
+'IF'
+'TYPEOF'
+'MATCH'
+'MATCH_PHRASE'
+'MATCH_PHRASE_PREFIX'
+'MATCH_BOOL_PREFIX'
+'SIMPLE_QUERY_STRING'
+'MULTI_MATCH'
+'QUERY_STRING'
+'ALLOW_LEADING_WILDCARD'
+'ANALYZE_WILDCARD'
+'ANALYZER'
+'AUTO_GENERATE_SYNONYMS_PHRASE_QUERY'
+'BOOST'
+'CUTOFF_FREQUENCY'
+'DEFAULT_FIELD'
+'DEFAULT_OPERATOR'
+'ENABLE_POSITION_INCREMENTS'
+'ESCAPE'
+'FLAGS'
+'FUZZY_MAX_EXPANSIONS'
+'FUZZY_PREFIX_LENGTH'
+'FUZZY_TRANSPOSITIONS'
+'FUZZY_REWRITE'
+'FUZZINESS'
+'LENIENT'
+'LOW_FREQ_OPERATOR'
+'MAX_DETERMINIZED_STATES'
+'MAX_EXPANSIONS'
+'MINIMUM_SHOULD_MATCH'
+'OPERATOR'
+'PHRASE_SLOP'
+'PREFIX_LENGTH'
+'QUOTE_ANALYZER'
+'QUOTE_FIELD_SUFFIX'
+'REWRITE'
+'SLOP'
+'TIE_BREAKER'
+'TYPE'
+'ZERO_TERMS_QUERY'
+'SPAN'
+'MS'
+'S'
+'M'
+'H'
+'W'
+'Q'
+'Y'
+null
+null
+null
+null
+null
+null
+null
+null
+
+token symbolic names:
+null
+SEARCH
+DESCRIBE
+SHOW
+FROM
+WHERE
+FIELDS
+RENAME
+STATS
+DEDUP
+SORT
+EVAL
+HEAD
+TOP
+RARE
+PARSE
+METHOD
+REGEX
+PUNCT
+GROK
+PATTERN
+PATTERNS
+NEW_FIELD
+KMEANS
+AD
+ML
+AS
+BY
+SOURCE
+INDEX
+D
+DESC
+CATALOGS
+SORTBY
+AUTO
+STR
+IP
+NUM
+KEEPEMPTY
+CONSECUTIVE
+DEDUP_SPLITVALUES
+PARTITIONS
+ALLNUM
+DELIM
+CENTROIDS
+ITERATIONS
+DISTANCE_TYPE
+NUMBER_OF_TREES
+SHINGLE_SIZE
+SAMPLE_SIZE
+OUTPUT_AFTER
+TIME_DECAY
+ANOMALY_RATE
+CATEGORY_FIELD
+TIME_FIELD
+TIME_ZONE
+TRAINING_DATA_SIZE
+ANOMALY_SCORE_THRESHOLD
+CASE
+IN
+NOT
+OR
+AND
+XOR
+TRUE
+FALSE
+REGEXP
+DATETIME
+INTERVAL
+MICROSECOND
+MILLISECOND
+SECOND
+MINUTE
+HOUR
+DAY
+WEEK
+MONTH
+QUARTER
+YEAR
+SECOND_MICROSECOND
+MINUTE_MICROSECOND
+MINUTE_SECOND
+HOUR_MICROSECOND
+HOUR_SECOND
+HOUR_MINUTE
+DAY_MICROSECOND
+DAY_SECOND
+DAY_MINUTE
+DAY_HOUR
+YEAR_MONTH
+CONVERT_TZ
+DATAMODEL
+LOOKUP
+SAVEDSEARCH
+INT
+INTEGER
+DOUBLE
+LONG
+FLOAT
+STRING
+BOOLEAN
+PIPE
+COMMA
+DOT
+EQUAL
+GREATER
+LESS
+NOT_GREATER
+NOT_LESS
+NOT_EQUAL
+PLUS
+MINUS
+STAR
+DIVIDE
+MODULE
+EXCLAMATION_SYMBOL
+COLON
+LT_PRTHS
+RT_PRTHS
+LT_SQR_PRTHS
+RT_SQR_PRTHS
+SINGLE_QUOTE
+DOUBLE_QUOTE
+BACKTICK
+BIT_NOT_OP
+BIT_AND_OP
+BIT_XOR_OP
+AVG
+COUNT
+DISTINCT_COUNT
+ESTDC
+ESTDC_ERROR
+MAX
+MEAN
+MEDIAN
+MIN
+MODE
+RANGE
+STDEV
+STDEVP
+SUM
+SUMSQ
+VAR_SAMP
+VAR_POP
+STDDEV_SAMP
+STDDEV_POP
+PERCENTILE
+TAKE
+FIRST
+LAST
+LIST
+VALUES
+EARLIEST
+EARLIEST_TIME
+LATEST
+LATEST_TIME
+PER_DAY
+PER_HOUR
+PER_MINUTE
+PER_SECOND
+RATE
+SPARKLINE
+C
+DC
+ABS
+CEIL
+CEILING
+CONV
+CRC32
+E
+EXP
+FLOOR
+LN
+LOG
+LOG10
+LOG2
+MOD
+PI
+POW
+POWER
+RAND
+ROUND
+SIGN
+SQRT
+TRUNCATE
+ACOS
+ASIN
+ATAN
+ATAN2
+COS
+COT
+DEGREES
+RADIANS
+SIN
+TAN
+ADDDATE
+CURDATE
+CURRENT_DATE
+CURRENT_TIME
+CURRENT_TIMESTAMP
+CURTIME
+DATE
+DATE_ADD
+DATE_FORMAT
+DATE_SUB
+DAYNAME
+DAYOFMONTH
+DAYOFWEEK
+DAYOFYEAR
+FROM_DAYS
+LOCALTIME
+LOCALTIMESTAMP
+FROM_UNIXTIME
+MAKEDATE
+MAKETIME
+MONTHNAME
+NOW
+PERIOD_ADD
+PERIOD_DIFF
+SUBDATE
+SYSDATE
+TIME
+TIME_TO_SEC
+TIMESTAMP
+TO_DAYS
+UTC_DATE
+UTC_TIME
+UTC_TIMESTAMP
+UNIX_TIMESTAMP
+SUBSTR
+SUBSTRING
+LTRIM
+RTRIM
+TRIM
+TO
+LOWER
+UPPER
+CONCAT
+CONCAT_WS
+LENGTH
+STRCMP
+RIGHT
+LEFT
+ASCII
+LOCATE
+REPLACE
+CAST
+LIKE
+ISNULL
+ISNOTNULL
+IFNULL
+NULLIF
+IF
+TYPEOF
+MATCH
+MATCH_PHRASE
+MATCH_PHRASE_PREFIX
+MATCH_BOOL_PREFIX
+SIMPLE_QUERY_STRING
+MULTI_MATCH
+QUERY_STRING
+ALLOW_LEADING_WILDCARD
+ANALYZE_WILDCARD
+ANALYZER
+AUTO_GENERATE_SYNONYMS_PHRASE_QUERY
+BOOST
+CUTOFF_FREQUENCY
+DEFAULT_FIELD
+DEFAULT_OPERATOR
+ENABLE_POSITION_INCREMENTS
+ESCAPE
+FLAGS
+FUZZY_MAX_EXPANSIONS
+FUZZY_PREFIX_LENGTH
+FUZZY_TRANSPOSITIONS
+FUZZY_REWRITE
+FUZZINESS
+LENIENT
+LOW_FREQ_OPERATOR
+MAX_DETERMINIZED_STATES
+MAX_EXPANSIONS
+MINIMUM_SHOULD_MATCH
+OPERATOR
+PHRASE_SLOP
+PREFIX_LENGTH
+QUOTE_ANALYZER
+QUOTE_FIELD_SUFFIX
+REWRITE
+SLOP
+TIE_BREAKER
+TYPE
+ZERO_TERMS_QUERY
+SPAN
+MS
+S
+M
+H
+W
+Q
+Y
+ID
+INTEGER_LITERAL
+DECIMAL_LITERAL
+ID_DATE_SUFFIX
+DQUOTA_STRING
+SQUOTA_STRING
+BQUOTA_STRING
+ERROR_RECOGNITION
+
+rule names:
+SEARCH
+DESCRIBE
+SHOW
+FROM
+WHERE
+FIELDS
+RENAME
+STATS
+DEDUP
+SORT
+EVAL
+HEAD
+TOP
+RARE
+PARSE
+METHOD
+REGEX
+PUNCT
+GROK
+PATTERN
+PATTERNS
+NEW_FIELD
+KMEANS
+AD
+ML
+AS
+BY
+SOURCE
+INDEX
+D
+DESC
+CATALOGS
+SORTBY
+AUTO
+STR
+IP
+NUM
+KEEPEMPTY
+CONSECUTIVE
+DEDUP_SPLITVALUES
+PARTITIONS
+ALLNUM
+DELIM
+CENTROIDS
+ITERATIONS
+DISTANCE_TYPE
+NUMBER_OF_TREES
+SHINGLE_SIZE
+SAMPLE_SIZE
+OUTPUT_AFTER
+TIME_DECAY
+ANOMALY_RATE
+CATEGORY_FIELD
+TIME_FIELD
+TIME_ZONE
+TRAINING_DATA_SIZE
+ANOMALY_SCORE_THRESHOLD
+CASE
+IN
+NOT
+OR
+AND
+XOR
+TRUE
+FALSE
+REGEXP
+DATETIME
+INTERVAL
+MICROSECOND
+MILLISECOND
+SECOND
+MINUTE
+HOUR
+DAY
+WEEK
+MONTH
+QUARTER
+YEAR
+SECOND_MICROSECOND
+MINUTE_MICROSECOND
+MINUTE_SECOND
+HOUR_MICROSECOND
+HOUR_SECOND
+HOUR_MINUTE
+DAY_MICROSECOND
+DAY_SECOND
+DAY_MINUTE
+DAY_HOUR
+YEAR_MONTH
+CONVERT_TZ
+DATAMODEL
+LOOKUP
+SAVEDSEARCH
+INT
+INTEGER
+DOUBLE
+LONG
+FLOAT
+STRING
+BOOLEAN
+PIPE
+COMMA
+DOT
+EQUAL
+GREATER
+LESS
+NOT_GREATER
+NOT_LESS
+NOT_EQUAL
+PLUS
+MINUS
+STAR
+DIVIDE
+MODULE
+EXCLAMATION_SYMBOL
+COLON
+LT_PRTHS
+RT_PRTHS
+LT_SQR_PRTHS
+RT_SQR_PRTHS
+SINGLE_QUOTE
+DOUBLE_QUOTE
+BACKTICK
+BIT_NOT_OP
+BIT_AND_OP
+BIT_XOR_OP
+AVG
+COUNT
+DISTINCT_COUNT
+ESTDC
+ESTDC_ERROR
+MAX
+MEAN
+MEDIAN
+MIN
+MODE
+RANGE
+STDEV
+STDEVP
+SUM
+SUMSQ
+VAR_SAMP
+VAR_POP
+STDDEV_SAMP
+STDDEV_POP
+PERCENTILE
+TAKE
+FIRST
+LAST
+LIST
+VALUES
+EARLIEST
+EARLIEST_TIME
+LATEST
+LATEST_TIME
+PER_DAY
+PER_HOUR
+PER_MINUTE
+PER_SECOND
+RATE
+SPARKLINE
+C
+DC
+ABS
+CEIL
+CEILING
+CONV
+CRC32
+E
+EXP
+FLOOR
+LN
+LOG
+LOG10
+LOG2
+MOD
+PI
+POW
+POWER
+RAND
+ROUND
+SIGN
+SQRT
+TRUNCATE
+ACOS
+ASIN
+ATAN
+ATAN2
+COS
+COT
+DEGREES
+RADIANS
+SIN
+TAN
+ADDDATE
+CURDATE
+CURRENT_DATE
+CURRENT_TIME
+CURRENT_TIMESTAMP
+CURTIME
+DATE
+DATE_ADD
+DATE_FORMAT
+DATE_SUB
+DAYNAME
+DAYOFMONTH
+DAYOFWEEK
+DAYOFYEAR
+FROM_DAYS
+LOCALTIME
+LOCALTIMESTAMP
+FROM_UNIXTIME
+MAKEDATE
+MAKETIME
+MONTHNAME
+NOW
+PERIOD_ADD
+PERIOD_DIFF
+SUBDATE
+SYSDATE
+TIME
+TIME_TO_SEC
+TIMESTAMP
+TO_DAYS
+UTC_DATE
+UTC_TIME
+UTC_TIMESTAMP
+UNIX_TIMESTAMP
+SUBSTR
+SUBSTRING
+LTRIM
+RTRIM
+TRIM
+TO
+LOWER
+UPPER
+CONCAT
+CONCAT_WS
+LENGTH
+STRCMP
+RIGHT
+LEFT
+ASCII
+LOCATE
+REPLACE
+CAST
+LIKE
+ISNULL
+ISNOTNULL
+IFNULL
+NULLIF
+IF
+TYPEOF
+MATCH
+MATCH_PHRASE
+MATCH_PHRASE_PREFIX
+MATCH_BOOL_PREFIX
+SIMPLE_QUERY_STRING
+MULTI_MATCH
+QUERY_STRING
+ALLOW_LEADING_WILDCARD
+ANALYZE_WILDCARD
+ANALYZER
+AUTO_GENERATE_SYNONYMS_PHRASE_QUERY
+BOOST
+CUTOFF_FREQUENCY
+DEFAULT_FIELD
+DEFAULT_OPERATOR
+ENABLE_POSITION_INCREMENTS
+ESCAPE
+FLAGS
+FUZZY_MAX_EXPANSIONS
+FUZZY_PREFIX_LENGTH
+FUZZY_TRANSPOSITIONS
+FUZZY_REWRITE
+FUZZINESS
+LENIENT
+LOW_FREQ_OPERATOR
+MAX_DETERMINIZED_STATES
+MAX_EXPANSIONS
+MINIMUM_SHOULD_MATCH
+OPERATOR
+PHRASE_SLOP
+PREFIX_LENGTH
+QUOTE_ANALYZER
+QUOTE_FIELD_SUFFIX
+REWRITE
+SLOP
+TIE_BREAKER
+TYPE
+ZERO_TERMS_QUERY
+SPAN
+MS
+S
+M
+H
+W
+Q
+Y
+ID
+INTEGER_LITERAL
+DECIMAL_LITERAL
+DATE_SUFFIX
+ID_LITERAL
+ID_DATE_SUFFIX
+DQUOTA_STRING
+SQUOTA_STRING
+BQUOTA_STRING
+DEC_DIGIT
+ERROR_RECOGNITION
+
+channel names:
+DEFAULT_TOKEN_CHANNEL
+HIDDEN
+null
+null
+WHITESPACE
+ERRORCHANNEL
+
+mode names:
+DEFAULT_MODE
+
+atn:
+[3, 51485, 51898, 1421, 44986, 20307, 1543, 60043, 49729, 2, 309, 3131, 8, 1, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, 29, 9, 29, 4, 30, 9, 30, 4, 31, 9, 31, 4, 32, 9, 32, 4, 33, 9, 33, 4, 34, 9, 34, 4, 35, 9, 35, 4, 36, 9, 36, 4, 37, 9, 37, 4, 38, 9, 38, 4, 39, 9, 39, 4, 40, 9, 40, 4, 41, 9, 41, 4, 42, 9, 42, 4, 43, 9, 43, 4, 44, 9, 44, 4, 45, 9, 45, 4, 46, 9, 46, 4, 47, 9, 47, 4, 48, 9, 48, 4, 49, 9, 49, 4, 50, 9, 50, 4, 51, 9, 51, 4, 52, 9, 52, 4, 53, 9, 53, 4, 54, 9, 54, 4, 55, 9, 55, 4, 56, 9, 56, 4, 57, 9, 57, 4, 58, 9, 58, 4, 59, 9, 59, 4, 60, 9, 60, 4, 61, 9, 61, 4, 62, 9, 62, 4, 63, 9, 63, 4, 64, 9, 64, 4, 65, 9, 65, 4, 66, 9, 66, 4, 67, 9, 67, 4, 68, 9, 68, 4, 69, 9, 69, 4, 70, 9, 70, 4, 71, 9, 71, 4, 72, 9, 72, 4, 73, 9, 73, 4, 74, 9, 74, 4, 75, 9, 75, 4, 76, 9, 76, 4, 77, 9, 77, 4, 78, 9, 78, 4, 79, 9, 79, 4, 80, 9, 80, 4, 81, 9, 81, 4, 82, 9, 82, 4, 83, 9, 83, 4, 84, 9, 84, 4, 85, 9, 85, 4, 86, 9, 86, 4, 87, 9, 87, 4, 88, 9, 88, 4, 89, 9, 89, 4, 90, 9, 90, 4, 91, 9, 91, 4, 92, 9, 92, 4, 93, 9, 93, 4, 94, 9, 94, 4, 95, 9, 95, 4, 96, 9, 96, 4, 97, 9, 97, 4, 98, 9, 98, 4, 99, 9, 99, 4, 100, 9, 100, 4, 101, 9, 101, 4, 102, 9, 102, 4, 103, 9, 103, 4, 104, 9, 104, 4, 105, 9, 105, 4, 106, 9, 106, 4, 107, 9, 107, 4, 108, 9, 108, 4, 109, 9, 109, 4, 110, 9, 110, 4, 111, 9, 111, 4, 112, 9, 112, 4, 113, 9, 113, 4, 114, 9, 114, 4, 115, 9, 115, 4, 116, 9, 116, 4, 117, 9, 117, 4, 118, 9, 118, 4, 119, 9, 119, 4, 120, 9, 120, 4, 121, 9, 121, 4, 122, 9, 122, 4, 123, 9, 123, 4, 124, 9, 124, 4, 125, 9, 125, 4, 126, 9, 126, 4, 127, 9, 127, 4, 128, 9, 128, 4, 129, 9, 129, 4, 130, 9, 130, 4, 131, 9, 131, 4, 132, 9, 132, 4, 133, 9, 133, 4, 134, 9, 134, 4, 135, 9, 135, 4, 136, 9, 136, 4, 137, 9, 137, 4, 138, 9, 138, 4, 139, 9, 139, 4, 140, 9, 140, 4, 141, 9, 141, 4, 142, 9, 142, 4, 143, 9, 143, 4, 144, 9, 144, 4, 145, 9, 145, 4, 146, 9, 146, 4, 147, 9, 147, 4, 148, 9, 148, 4, 149, 9, 149, 4, 150, 9, 150, 4, 151, 9, 151, 4, 152, 9, 152, 4, 153, 9, 153, 4, 154, 9, 154, 4, 155, 9, 155, 4, 156, 9, 156, 4, 157, 9, 157, 4, 158, 9, 158, 4, 159, 9, 159, 4, 160, 9, 160, 4, 161, 9, 161, 4, 162, 9, 162, 4, 163, 9, 163, 4, 164, 9, 164, 4, 165, 9, 165, 4, 166, 9, 166, 4, 167, 9, 167, 4, 168, 9, 168, 4, 169, 9, 169, 4, 170, 9, 170, 4, 171, 9, 171, 4, 172, 9, 172, 4, 173, 9, 173, 4, 174, 9, 174, 4, 175, 9, 175, 4, 176, 9, 176, 4, 177, 9, 177, 4, 178, 9, 178, 4, 179, 9, 179, 4, 180, 9, 180, 4, 181, 9, 181, 4, 182, 9, 182, 4, 183, 9, 183, 4, 184, 9, 184, 4, 185, 9, 185, 4, 186, 9, 186, 4, 187, 9, 187, 4, 188, 9, 188, 4, 189, 9, 189, 4, 190, 9, 190, 4, 191, 9, 191, 4, 192, 9, 192, 4, 193, 9, 193, 4, 194, 9, 194, 4, 195, 9, 195, 4, 196, 9, 196, 4, 197, 9, 197, 4, 198, 9, 198, 4, 199, 9, 199, 4, 200, 9, 200, 4, 201, 9, 201, 4, 202, 9, 202, 4, 203, 9, 203, 4, 204, 9, 204, 4, 205, 9, 205, 4, 206, 9, 206, 4, 207, 9, 207, 4, 208, 9, 208, 4, 209, 9, 209, 4, 210, 9, 210, 4, 211, 9, 211, 4, 212, 9, 212, 4, 213, 9, 213, 4, 214, 9, 214, 4, 215, 9, 215, 4, 216, 9, 216, 4, 217, 9, 217, 4, 218, 9, 218, 4, 219, 9, 219, 4, 220, 9, 220, 4, 221, 9, 221, 4, 222, 9, 222, 4, 223, 9, 223, 4, 224, 9, 224, 4, 225, 9, 225, 4, 226, 9, 226, 4, 227, 9, 227, 4, 228, 9, 228, 4, 229, 9, 229, 4, 230, 9, 230, 4, 231, 9, 231, 4, 232, 9, 232, 4, 233, 9, 233, 4, 234, 9, 234, 4, 235, 9, 235, 4, 236, 9, 236, 4, 237, 9, 237, 4, 238, 9, 238, 4, 239, 9, 239, 4, 240, 9, 240, 4, 241, 9, 241, 4, 242, 9, 242, 4, 243, 9, 243, 4, 244, 9, 244, 4, 245, 9, 245, 4, 246, 9, 246, 4, 247, 9, 247, 4, 248, 9, 248, 4, 249, 9, 249, 4, 250, 9, 250, 4, 251, 9, 251, 4, 252, 9, 252, 4, 253, 9, 253, 4, 254, 9, 254, 4, 255, 9, 255, 4, 256, 9, 256, 4, 257, 9, 257, 4, 258, 9, 258, 4, 259, 9, 259, 4, 260, 9, 260, 4, 261, 9, 261, 4, 262, 9, 262, 4, 263, 9, 263, 4, 264, 9, 264, 4, 265, 9, 265, 4, 266, 9, 266, 4, 267, 9, 267, 4, 268, 9, 268, 4, 269, 9, 269, 4, 270, 9, 270, 4, 271, 9, 271, 4, 272, 9, 272, 4, 273, 9, 273, 4, 274, 9, 274, 4, 275, 9, 275, 4, 276, 9, 276, 4, 277, 9, 277, 4, 278, 9, 278, 4, 279, 9, 279, 4, 280, 9, 280, 4, 281, 9, 281, 4, 282, 9, 282, 4, 283, 9, 283, 4, 284, 9, 284, 4, 285, 9, 285, 4, 286, 9, 286, 4, 287, 9, 287, 4, 288, 9, 288, 4, 289, 9, 289, 4, 290, 9, 290, 4, 291, 9, 291, 4, 292, 9, 292, 4, 293, 9, 293, 4, 294, 9, 294, 4, 295, 9, 295, 4, 296, 9, 296, 4, 297, 9, 297, 4, 298, 9, 298, 4, 299, 9, 299, 4, 300, 9, 300, 4, 301, 9, 301, 4, 302, 9, 302, 4, 303, 9, 303, 4, 304, 9, 304, 4, 305, 9, 305, 4, 306, 9, 306, 4, 307, 9, 307, 4, 308, 9, 308, 4, 309, 9, 309, 4, 310, 9, 310, 4, 311, 9, 311, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 4, 3, 4, 3, 4, 3, 4, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 6, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 7, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 8, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 9, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 3, 11, 3, 11, 3, 12, 3, 12, 3, 12, 3, 12, 3, 12, 3, 13, 3, 13, 3, 13, 3, 13, 3, 13, 3, 14, 3, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 3, 15, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 16, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 17, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 3, 21, 3, 21, 3, 21, 3, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 23, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 24, 3, 25, 3, 25, 3, 25, 3, 26, 3, 26, 3, 26, 3, 27, 3, 27, 3, 27, 3, 28, 3, 28, 3, 28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 31, 3, 31, 3, 32, 3, 32, 3, 32, 3, 32, 3, 32, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 33, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 35, 3, 35, 3, 35, 3, 35, 3, 35, 3, 36, 3, 36, 3, 36, 3, 36, 3, 37, 3, 37, 3, 37, 3, 38, 3, 38, 3, 38, 3, 38, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 39, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 41, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 44, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 49, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 50, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 51, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 54, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 56, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 57, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 58, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 60, 3, 60, 3, 60, 3, 61, 3, 61, 3, 61, 3, 61, 3, 62, 3, 62, 3, 62, 3, 63, 3, 63, 3, 63, 3, 63, 3, 64, 3, 64, 3, 64, 3, 64, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 67, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 68, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 69, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 70, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 72, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 73, 3, 74, 3, 74, 3, 74, 3, 74, 3, 74, 3, 75, 3, 75, 3, 75, 3, 75, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 77, 3, 77, 3, 77, 3, 77, 3, 77, 3, 77, 3, 78, 3, 78, 3, 78, 3, 78, 3, 78, 3, 78, 3, 78, 3, 78, 3, 79, 3, 79, 3, 79, 3, 79, 3, 79, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 80, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 81, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 82, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 83, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 84, 3, 85, 3, 85, 3, 85, 3, 85, 3, 85, 3, 85, 3, 85, 3, 85, 3, 85, 3, 85, 3, 85, 3, 85, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 86, 3, 87, 3, 87, 3, 87, 3, 87, 3, 87, 3, 87, 3, 87, 3, 87, 3, 87, 3, 87, 3, 87, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 88, 3, 89, 3, 89, 3, 89, 3, 89, 3, 89, 3, 89, 3, 89, 3, 89, 3, 89, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 90, 3, 91, 3, 91, 3, 91, 3, 91, 3, 91, 3, 91, 3, 91, 3, 91, 3, 91, 3, 91, 3, 91, 3, 92, 3, 92, 3, 92, 3, 92, 3, 92, 3, 92, 3, 92, 3, 92, 3, 92, 3, 92, 3, 93, 3, 93, 3, 93, 3, 93, 3, 93, 3, 93, 3, 93, 3, 94, 3, 94, 3, 94, 3, 94, 3, 94, 3, 94, 3, 94, 3, 94, 3, 94, 3, 94, 3, 94, 3, 94, 3, 95, 3, 95, 3, 95, 3, 95, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 3, 96, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 97, 3, 98, 3, 98, 3, 98, 3, 98, 3, 98, 3, 99, 3, 99, 3, 99, 3, 99, 3, 99, 3, 99, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 100, 3, 101, 3, 101, 3, 101, 3, 101, 3, 101, 3, 101, 3, 101, 3, 101, 3, 102, 3, 102, 3, 103, 3, 103, 3, 104, 3, 104, 3, 105, 3, 105, 3, 106, 3, 106, 3, 107, 3, 107, 3, 108, 3, 108, 3, 108, 3, 109, 3, 109, 3, 109, 3, 110, 3, 110, 3, 110, 3, 111, 3, 111, 3, 112, 3, 112, 3, 113, 3, 113, 3, 114, 3, 114, 3, 115, 3, 115, 3, 116, 3, 116, 3, 117, 3, 117, 3, 118, 3, 118, 3, 119, 3, 119, 3, 120, 3, 120, 3, 121, 3, 121, 3, 122, 3, 122, 3, 123, 3, 123, 3, 124, 3, 124, 3, 125, 3, 125, 3, 126, 3, 126, 3, 127, 3, 127, 3, 128, 3, 128, 3, 128, 3, 128, 3, 129, 3, 129, 3, 129, 3, 129, 3, 129, 3, 129, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 130, 3, 131, 3, 131, 3, 131, 3, 131, 3, 131, 3, 131, 3, 132, 3, 132, 3, 132, 3, 132, 3, 132, 3, 132, 3, 132, 3, 132, 3, 132, 3, 132, 3, 132, 3, 132, 3, 133, 3, 133, 3, 133, 3, 133, 3, 134, 3, 134, 3, 134, 3, 134, 3, 134, 3, 135, 3, 135, 3, 135, 3, 135, 3, 135, 3, 135, 3, 135, 3, 136, 3, 136, 3, 136, 3, 136, 3, 137, 3, 137, 3, 137, 3, 137, 3, 137, 3, 138, 3, 138, 3, 138, 3, 138, 3, 138, 3, 138, 3, 139, 3, 139, 3, 139, 3, 139, 3, 139, 3, 139, 3, 140, 3, 140, 3, 140, 3, 140, 3, 140, 3, 140, 3, 140, 3, 141, 3, 141, 3, 141, 3, 141, 3, 142, 3, 142, 3, 142, 3, 142, 3, 142, 3, 142, 3, 143, 3, 143, 3, 143, 3, 143, 3, 143, 3, 143, 3, 143, 3, 143, 3, 143, 3, 144, 3, 144, 3, 144, 3, 144, 3, 144, 3, 144, 3, 144, 3, 144, 3, 145, 3, 145, 3, 145, 3, 145, 3, 145, 3, 145, 3, 145, 3, 145, 3, 145, 3, 145, 3, 145, 3, 145, 3, 146, 3, 146, 3, 146, 3, 146, 3, 146, 3, 146, 3, 146, 3, 146, 3, 146, 3, 146, 3, 146, 3, 147, 3, 147, 3, 147, 3, 147, 3, 147, 3, 147, 3, 147, 3, 147, 3, 147, 3, 147, 3, 147, 3, 148, 3, 148, 3, 148, 3, 148, 3, 148, 3, 149, 3, 149, 3, 149, 3, 149, 3, 149, 3, 149, 3, 150, 3, 150, 3, 150, 3, 150, 3, 150, 3, 151, 3, 151, 3, 151, 3, 151, 3, 151, 3, 152, 3, 152, 3, 152, 3, 152, 3, 152, 3, 152, 3, 152, 3, 153, 3, 153, 3, 153, 3, 153, 3, 153, 3, 153, 3, 153, 3, 153, 3, 153, 3, 154, 3, 154, 3, 154, 3, 154, 3, 154, 3, 154, 3, 154, 3, 154, 3, 154, 3, 154, 3, 154, 3, 154, 3, 154, 3, 154, 3, 155, 3, 155, 3, 155, 3, 155, 3, 155, 3, 155, 3, 155, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 156, 3, 157, 3, 157, 3, 157, 3, 157, 3, 157, 3, 157, 3, 157, 3, 157, 3, 158, 3, 158, 3, 158, 3, 158, 3, 158, 3, 158, 3, 158, 3, 158, 3, 158, 3, 159, 3, 159, 3, 159, 3, 159, 3, 159, 3, 159, 3, 159, 3, 159, 3, 159, 3, 159, 3, 159, 3, 160, 3, 160, 3, 160, 3, 160, 3, 160, 3, 160, 3, 160, 3, 160, 3, 160, 3, 160, 3, 160, 3, 161, 3, 161, 3, 161, 3, 161, 3, 161, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 162, 3, 163, 3, 163, 3, 164, 3, 164, 3, 164, 3, 165, 3, 165, 3, 165, 3, 165, 3, 166, 3, 166, 3, 166, 3, 166, 3, 166, 3, 167, 3, 167, 3, 167, 3, 167, 3, 167, 3, 167, 3, 167, 3, 167, 3, 168, 3, 168, 3, 168, 3, 168, 3, 168, 3, 169, 3, 169, 3, 169, 3, 169, 3, 169, 3, 169, 3, 170, 3, 170, 3, 171, 3, 171, 3, 171, 3, 171, 3, 172, 3, 172, 3, 172, 3, 172, 3, 172, 3, 172, 3, 173, 3, 173, 3, 173, 3, 174, 3, 174, 3, 174, 3, 174, 3, 175, 3, 175, 3, 175, 3, 175, 3, 175, 3, 175, 3, 176, 3, 176, 3, 176, 3, 176, 3, 176, 3, 177, 3, 177, 3, 177, 3, 177, 3, 178, 3, 178, 3, 178, 3, 179, 3, 179, 3, 179, 3, 179, 3, 180, 3, 180, 3, 180, 3, 180, 3, 180, 3, 180, 3, 181, 3, 181, 3, 181, 3, 181, 3, 181, 3, 182, 3, 182, 3, 182, 3, 182, 3, 182, 3, 182, 3, 183, 3, 183, 3, 183, 3, 183, 3, 183, 3, 184, 3, 184, 3, 184, 3, 184, 3, 184, 3, 185, 3, 185, 3, 185, 3, 185, 3, 185, 3, 185, 3, 185, 3, 185, 3, 185, 3, 186, 3, 186, 3, 186, 3, 186, 3, 186, 3, 187, 3, 187, 3, 187, 3, 187, 3, 187, 3, 188, 3, 188, 3, 188, 3, 188, 3, 188, 3, 189, 3, 189, 3, 189, 3, 189, 3, 189, 3, 189, 3, 190, 3, 190, 3, 190, 3, 190, 3, 191, 3, 191, 3, 191, 3, 191, 3, 192, 3, 192, 3, 192, 3, 192, 3, 192, 3, 192, 3, 192, 3, 192, 3, 193, 3, 193, 3, 193, 3, 193, 3, 193, 3, 193, 3, 193, 3, 193, 3, 194, 3, 194, 3, 194, 3, 194, 3, 195, 3, 195, 3, 195, 3, 195, 3, 196, 3, 196, 3, 196, 3, 196, 3, 196, 3, 196, 3, 196, 3, 196, 3, 197, 3, 197, 3, 197, 3, 197, 3, 197, 3, 197, 3, 197, 3, 197, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 198, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 199, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 200, 3, 201, 3, 201, 3, 201, 3, 201, 3, 201, 3, 201, 3, 201, 3, 201, 3, 202, 3, 202, 3, 202, 3, 202, 3, 202, 3, 203, 3, 203, 3, 203, 3, 203, 3, 203, 3, 203, 3, 203, 3, 203, 3, 203, 3, 204, 3, 204, 3, 204, 3, 204, 3, 204, 3, 204, 3, 204, 3, 204, 3, 204, 3, 204, 3, 204, 3, 204, 3, 205, 3, 205, 3, 205, 3, 205, 3, 205, 3, 205, 3, 205, 3, 205, 3, 205, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 206, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 207, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 208, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 209, 3, 210, 3, 210, 3, 210, 3, 210, 3, 210, 3, 210, 3, 210, 3, 210, 3, 210, 3, 210, 3, 211, 3, 211, 3, 211, 3, 211, 3, 211, 3, 211, 3, 211, 3, 211, 3, 211, 3, 211, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 212, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 213, 3, 214, 3, 214, 3, 214, 3, 214, 3, 214, 3, 214, 3, 214, 3, 214, 3, 214, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 215, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 216, 3, 217, 3, 217, 3, 217, 3, 217, 3, 218, 3, 218, 3, 218, 3, 218, 3, 218, 3, 218, 3, 218, 3, 218, 3, 218, 3, 218, 3, 218, 3, 219, 3, 219, 3, 219, 3, 219, 3, 219, 3, 219, 3, 219, 3, 219, 3, 219, 3, 219, 3, 219, 3, 219, 3, 220, 3, 220, 3, 220, 3, 220, 3, 220, 3, 220, 3, 220, 3, 220, 3, 221, 3, 221, 3, 221, 3, 221, 3, 221, 3, 221, 3, 221, 3, 221, 3, 222, 3, 222, 3, 222, 3, 222, 3, 222, 3, 223, 3, 223, 3, 223, 3, 223, 3, 223, 3, 223, 3, 223, 3, 223, 3, 223, 3, 223, 3, 223, 3, 223, 3, 224, 3, 224, 3, 224, 3, 224, 3, 224, 3, 224, 3, 224, 3, 224, 3, 224, 3, 224, 3, 225, 3, 225, 3, 225, 3, 225, 3, 225, 3, 225, 3, 225, 3, 225, 3, 226, 3, 226, 3, 226, 3, 226, 3, 226, 3, 226, 3, 226, 3, 226, 3, 226, 3, 227, 3, 227, 3, 227, 3, 227, 3, 227, 3, 227, 3, 227, 3, 227, 3, 227, 3, 228, 3, 228, 3, 228, 3, 228, 3, 228, 3, 228, 3, 228, 3, 228, 3, 228, 3, 228, 3, 228, 3, 228, 3, 228, 3, 228, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 229, 3, 230, 3, 230, 3, 230, 3, 230, 3, 230, 3, 230, 3, 230, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 231, 3, 232, 3, 232, 3, 232, 3, 232, 3, 232, 3, 232, 3, 233, 3, 233, 3, 233, 3, 233, 3, 233, 3, 233, 3, 234, 3, 234, 3, 234, 3, 234, 3, 234, 3, 235, 3, 235, 3, 235, 3, 236, 3, 236, 3, 236, 3, 236, 3, 236, 3, 236, 3, 237, 3, 237, 3, 237, 3, 237, 3, 237, 3, 237, 3, 238, 3, 238, 3, 238, 3, 238, 3, 238, 3, 238, 3, 238, 3, 239, 3, 239, 3, 239, 3, 239, 3, 239, 3, 239, 3, 239, 3, 239, 3, 239, 3, 239, 3, 240, 3, 240, 3, 240, 3, 240, 3, 240, 3, 240, 3, 240, 3, 241, 3, 241, 3, 241, 3, 241, 3, 241, 3, 241, 3, 241, 3, 242, 3, 242, 3, 242, 3, 242, 3, 242, 3, 242, 3, 243, 3, 243, 3, 243, 3, 243, 3, 243, 3, 244, 3, 244, 3, 244, 3, 244, 3, 244, 3, 244, 3, 245, 3, 245, 3, 245, 3, 245, 3, 245, 3, 245, 3, 245, 3, 246, 3, 246, 3, 246, 3, 246, 3, 246, 3, 246, 3, 246, 3, 246, 3, 247, 3, 247, 3, 247, 3, 247, 3, 247, 3, 248, 3, 248, 3, 248, 3, 248, 3, 248, 3, 249, 3, 249, 3, 249, 3, 249, 3, 249, 3, 249, 3, 249, 3, 250, 3, 250, 3, 250, 3, 250, 3, 250, 3, 250, 3, 250, 3, 250, 3, 250, 3, 250, 3, 251, 3, 251, 3, 251, 3, 251, 3, 251, 3, 251, 3, 251, 3, 252, 3, 252, 3, 252, 3, 252, 3, 252, 3, 252, 3, 252, 3, 253, 3, 253, 3, 253, 3, 254, 3, 254, 3, 254, 3, 254, 3, 254, 3, 254, 3, 254, 3, 255, 3, 255, 3, 255, 3, 255, 3, 255, 3, 255, 3, 256, 3, 256, 3, 256, 3, 256, 3, 256, 3, 256, 3, 256, 3, 256, 3, 256, 3, 256, 3, 256, 3, 256, 3, 256, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 257, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 258, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 259, 3, 260, 3, 260, 3, 260, 3, 260, 3, 260, 3, 260, 3, 260, 3, 260, 3, 260, 3, 260, 3, 260, 3, 260, 3, 261, 3, 261, 3, 261, 3, 261, 3, 261, 3, 261, 3, 261, 3, 261, 3, 261, 3, 261, 3, 261, 3, 261, 3, 261, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 262, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 263, 3, 264, 3, 264, 3, 264, 3, 264, 3, 264, 3, 264, 3, 264, 3, 264, 3, 264, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 265, 3, 266, 3, 266, 3, 266, 3, 266, 3, 266, 3, 266, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 267, 3, 268, 3, 268, 3, 268, 3, 268, 3, 268, 3, 268, 3, 268, 3, 268, 3, 268, 3, 268, 3, 268, 3, 268, 3, 268, 3, 268, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 269, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 270, 3, 271, 3, 271, 3, 271, 3, 271, 3, 271, 3, 271, 3, 271, 3, 272, 3, 272, 3, 272, 3, 272, 3, 272, 3, 272, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 273, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 274, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 275, 3, 276, 3, 276, 3, 276, 3, 276, 3, 276, 3, 276, 3, 276, 3, 276, 3, 276, 3, 276, 3, 276, 3, 276, 3, 276, 3, 276, 3, 277, 3, 277, 3, 277, 3, 277, 3, 277, 3, 277, 3, 277, 3, 277, 3, 277, 3, 277, 3, 278, 3, 278, 3, 278, 3, 278, 3, 278, 3, 278, 3, 278, 3, 278, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 279, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 280, 3, 281, 3, 281, 3, 281, 3, 281, 3, 281, 3, 281, 3, 281, 3, 281, 3, 281, 3, 281, 3, 281, 3, 281, 3, 281, 3, 281, 3, 281, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 282, 3, 283, 3, 283, 3, 283, 3, 283, 3, 283, 3, 283, 3, 283, 3, 283, 3, 283, 3, 284, 3, 284, 3, 284, 3, 284, 3, 284, 3, 284, 3, 284, 3, 284, 3, 284, 3, 284, 3, 284, 3, 284, 3, 285, 3, 285, 3, 285, 3, 285, 3, 285, 3, 285, 3, 285, 3, 285, 3, 285, 3, 285, 3, 285, 3, 285, 3, 285, 3, 285, 3, 286, 3, 286, 3, 286, 3, 286, 3, 286, 3, 286, 3, 286, 3, 286, 3, 286, 3, 286, 3, 286, 3, 286, 3, 286, 3, 286, 3, 286, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 287, 3, 288, 3, 288, 3, 288, 3, 288, 3, 288, 3, 288, 3, 288, 3, 288, 3, 289, 3, 289, 3, 289, 3, 289, 3, 289, 3, 290, 3, 290, 3, 290, 3, 290, 3, 290, 3, 290, 3, 290, 3, 290, 3, 290, 3, 290, 3, 290, 3, 290, 3, 291, 3, 291, 3, 291, 3, 291, 3, 291, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 292, 3, 293, 3, 293, 3, 293, 3, 293, 3, 293, 3, 294, 3, 294, 3, 294, 3, 295, 3, 295, 3, 296, 3, 296, 3, 297, 3, 297, 3, 298, 3, 298, 3, 299, 3, 299, 3, 300, 3, 300, 3, 301, 3, 301, 3, 302, 6, 302, 3045, 10, 302, 13, 302, 14, 302, 3046, 3, 303, 6, 303, 3050, 10, 303, 13, 303, 14, 303, 3051, 5, 303, 3054, 10, 303, 3, 303, 3, 303, 6, 303, 3058, 10, 303, 13, 303, 14, 303, 3059, 3, 304, 3, 304, 6, 304, 3064, 10, 304, 13, 304, 14, 304, 3065, 7, 304, 3068, 10, 304, 12, 304, 14, 304, 3071, 11, 304, 3, 305, 6, 305, 3074, 10, 305, 13, 305, 14, 305, 3075, 3, 305, 7, 305, 3079, 10, 305, 12, 305, 14, 305, 3082, 11, 305, 3, 306, 3, 306, 3, 306, 3, 307, 3, 307, 3, 307, 3, 307, 3, 307, 3, 307, 7, 307, 3093, 10, 307, 12, 307, 14, 307, 3096, 11, 307, 3, 307, 3, 307, 3, 308, 3, 308, 3, 308, 3, 308, 3, 308, 3, 308, 7, 308, 3106, 10, 308, 12, 308, 14, 308, 3109, 11, 308, 3, 308, 3, 308, 3, 309, 3, 309, 3, 309, 3, 309, 3, 309, 3, 309, 7, 309, 3119, 10, 309, 12, 309, 14, 309, 3122, 11, 309, 3, 309, 3, 309, 3, 310, 3, 310, 3, 311, 3, 311, 3, 311, 3, 311, 3, 3075, 2, 2, 312, 3, 2, 3, 5, 2, 4, 7, 2, 5, 9, 2, 6, 11, 2, 7, 13, 2, 8, 15, 2, 9, 17, 2, 10, 19, 2, 11, 21, 2, 12, 23, 2, 13, 25, 2, 14, 27, 2, 15, 29, 2, 16, 31, 2, 17, 33, 2, 18, 35, 2, 19, 37, 2, 20, 39, 2, 21, 41, 2, 22, 43, 2, 23, 45, 2, 24, 47, 2, 25, 49, 2, 26, 51, 2, 27, 53, 2, 28, 55, 2, 29, 57, 2, 30, 59, 2, 31, 61, 2, 32, 63, 2, 33, 65, 2, 34, 67, 2, 35, 69, 2, 36, 71, 2, 37, 73, 2, 38, 75, 2, 39, 77, 2, 40, 79, 2, 41, 81, 2, 42, 83, 2, 43, 85, 2, 44, 87, 2, 45, 89, 2, 46, 91, 2, 47, 93, 2, 48, 95, 2, 49, 97, 2, 50, 99, 2, 51, 101, 2, 52, 103, 2, 53, 105, 2, 54, 107, 2, 55, 109, 2, 56, 111, 2, 57, 113, 2, 58, 115, 2, 59, 117, 2, 60, 119, 2, 61, 121, 2, 62, 123, 2, 63, 125, 2, 64, 127, 2, 65, 129, 2, 66, 131, 2, 67, 133, 2, 68, 135, 2, 69, 137, 2, 70, 139, 2, 71, 141, 2, 72, 143, 2, 73, 145, 2, 74, 147, 2, 75, 149, 2, 76, 151, 2, 77, 153, 2, 78, 155, 2, 79, 157, 2, 80, 159, 2, 81, 161, 2, 82, 163, 2, 83, 165, 2, 84, 167, 2, 85, 169, 2, 86, 171, 2, 87, 173, 2, 88, 175, 2, 89, 177, 2, 90, 179, 2, 91, 181, 2, 92, 183, 2, 93, 185, 2, 94, 187, 2, 95, 189, 2, 96, 191, 2, 97, 193, 2, 98, 195, 2, 99, 197, 2, 100, 199, 2, 101, 201, 2, 102, 203, 2, 103, 205, 2, 104, 207, 2, 105, 209, 2, 106, 211, 2, 107, 213, 2, 108, 215, 2, 109, 217, 2, 110, 219, 2, 111, 221, 2, 112, 223, 2, 113, 225, 2, 114, 227, 2, 115, 229, 2, 116, 231, 2, 117, 233, 2, 118, 235, 2, 119, 237, 2, 120, 239, 2, 121, 241, 2, 122, 243, 2, 123, 245, 2, 124, 247, 2, 125, 249, 2, 126, 251, 2, 127, 253, 2, 128, 255, 2, 129, 257, 2, 130, 259, 2, 131, 261, 2, 132, 263, 2, 133, 265, 2, 134, 267, 2, 135, 269, 2, 136, 271, 2, 137, 273, 2, 138, 275, 2, 139, 277, 2, 140, 279, 2, 141, 281, 2, 142, 283, 2, 143, 285, 2, 144, 287, 2, 145, 289, 2, 146, 291, 2, 147, 293, 2, 148, 295, 2, 149, 297, 2, 150, 299, 2, 151, 301, 2, 152, 303, 2, 153, 305, 2, 154, 307, 2, 155, 309, 2, 156, 311, 2, 157, 313, 2, 158, 315, 2, 159, 317, 2, 160, 319, 2, 161, 321, 2, 162, 323, 2, 163, 325, 2, 164, 327, 2, 165, 329, 2, 166, 331, 2, 167, 333, 2, 168, 335, 2, 169, 337, 2, 170, 339, 2, 171, 341, 2, 172, 343, 2, 173, 345, 2, 174, 347, 2, 175, 349, 2, 176, 351, 2, 177, 353, 2, 178, 355, 2, 179, 357, 2, 180, 359, 2, 181, 361, 2, 182, 363, 2, 183, 365, 2, 184, 367, 2, 185, 369, 2, 186, 371, 2, 187, 373, 2, 188, 375, 2, 189, 377, 2, 190, 379, 2, 191, 381, 2, 192, 383, 2, 193, 385, 2, 194, 387, 2, 195, 389, 2, 196, 391, 2, 197, 393, 2, 198, 395, 2, 199, 397, 2, 200, 399, 2, 201, 401, 2, 202, 403, 2, 203, 405, 2, 204, 407, 2, 205, 409, 2, 206, 411, 2, 207, 413, 2, 208, 415, 2, 209, 417, 2, 210, 419, 2, 211, 421, 2, 212, 423, 2, 213, 425, 2, 214, 427, 2, 215, 429, 2, 216, 431, 2, 217, 433, 2, 218, 435, 2, 219, 437, 2, 220, 439, 2, 221, 441, 2, 222, 443, 2, 223, 445, 2, 224, 447, 2, 225, 449, 2, 226, 451, 2, 227, 453, 2, 228, 455, 2, 229, 457, 2, 230, 459, 2, 231, 461, 2, 232, 463, 2, 233, 465, 2, 234, 467, 2, 235, 469, 2, 236, 471, 2, 237, 473, 2, 238, 475, 2, 239, 477, 2, 240, 479, 2, 241, 481, 2, 242, 483, 2, 243, 485, 2, 244, 487, 2, 245, 489, 2, 246, 491, 2, 247, 493, 2, 248, 495, 2, 249, 497, 2, 250, 499, 2, 251, 501, 2, 252, 503, 2, 253, 505, 2, 254, 507, 2, 255, 509, 2, 256, 511, 2, 257, 513, 2, 258, 515, 2, 259, 517, 2, 260, 519, 2, 261, 521, 2, 262, 523, 2, 263, 525, 2, 264, 527, 2, 265, 529, 2, 266, 531, 2, 267, 533, 2, 268, 535, 2, 269, 537, 2, 270, 539, 2, 271, 541, 2, 272, 543, 2, 273, 545, 2, 274, 547, 2, 275, 549, 2, 276, 551, 2, 277, 553, 2, 278, 555, 2, 279, 557, 2, 280, 559, 2, 281, 561, 2, 282, 563, 2, 283, 565, 2, 284, 567, 2, 285, 569, 2, 286, 571, 2, 287, 573, 2, 288, 575, 2, 289, 577, 2, 290, 579, 2, 291, 581, 2, 292, 583, 2, 293, 585, 2, 294, 587, 2, 295, 589, 2, 296, 591, 2, 297, 593, 2, 298, 595, 2, 299, 597, 2, 300, 599, 2, 301, 601, 2, 302, 603, 2, 303, 605, 2, 304, 607, 2, 2, 609, 2, 2, 611, 2, 305, 613, 2, 306, 615, 2, 307, 617, 2, 308, 619, 2, 2, 621, 2, 309, 3, 2, 10, 3, 2, 47, 48, 4, 2, 44, 44, 50, 59, 4, 2, 44, 44, 66, 92, 7, 2, 44, 44, 47, 47, 50, 59, 67, 92, 97, 97, 4, 2, 36, 36, 94, 94, 4, 2, 41, 41, 94, 94, 4, 2, 94, 94, 98, 98, 3, 2, 50, 59, 2, 3144, 2, 3, 3, 2, 2, 2, 2, 5, 3, 2, 2, 2, 2, 7, 3, 2, 2, 2, 2, 9, 3, 2, 2, 2, 2, 11, 3, 2, 2, 2, 2, 13, 3, 2, 2, 2, 2, 15, 3, 2, 2, 2, 2, 17, 3, 2, 2, 2, 2, 19, 3, 2, 2, 2, 2, 21, 3, 2, 2, 2, 2, 23, 3, 2, 2, 2, 2, 25, 3, 2, 2, 2, 2, 27, 3, 2, 2, 2, 2, 29, 3, 2, 2, 2, 2, 31, 3, 2, 2, 2, 2, 33, 3, 2, 2, 2, 2, 35, 3, 2, 2, 2, 2, 37, 3, 2, 2, 2, 2, 39, 3, 2, 2, 2, 2, 41, 3, 2, 2, 2, 2, 43, 3, 2, 2, 2, 2, 45, 3, 2, 2, 2, 2, 47, 3, 2, 2, 2, 2, 49, 3, 2, 2, 2, 2, 51, 3, 2, 2, 2, 2, 53, 3, 2, 2, 2, 2, 55, 3, 2, 2, 2, 2, 57, 3, 2, 2, 2, 2, 59, 3, 2, 2, 2, 2, 61, 3, 2, 2, 2, 2, 63, 3, 2, 2, 2, 2, 65, 3, 2, 2, 2, 2, 67, 3, 2, 2, 2, 2, 69, 3, 2, 2, 2, 2, 71, 3, 2, 2, 2, 2, 73, 3, 2, 2, 2, 2, 75, 3, 2, 2, 2, 2, 77, 3, 2, 2, 2, 2, 79, 3, 2, 2, 2, 2, 81, 3, 2, 2, 2, 2, 83, 3, 2, 2, 2, 2, 85, 3, 2, 2, 2, 2, 87, 3, 2, 2, 2, 2, 89, 3, 2, 2, 2, 2, 91, 3, 2, 2, 2, 2, 93, 3, 2, 2, 2, 2, 95, 3, 2, 2, 2, 2, 97, 3, 2, 2, 2, 2, 99, 3, 2, 2, 2, 2, 101, 3, 2, 2, 2, 2, 103, 3, 2, 2, 2, 2, 105, 3, 2, 2, 2, 2, 107, 3, 2, 2, 2, 2, 109, 3, 2, 2, 2, 2, 111, 3, 2, 2, 2, 2, 113, 3, 2, 2, 2, 2, 115, 3, 2, 2, 2, 2, 117, 3, 2, 2, 2, 2, 119, 3, 2, 2, 2, 2, 121, 3, 2, 2, 2, 2, 123, 3, 2, 2, 2, 2, 125, 3, 2, 2, 2, 2, 127, 3, 2, 2, 2, 2, 129, 3, 2, 2, 2, 2, 131, 3, 2, 2, 2, 2, 133, 3, 2, 2, 2, 2, 135, 3, 2, 2, 2, 2, 137, 3, 2, 2, 2, 2, 139, 3, 2, 2, 2, 2, 141, 3, 2, 2, 2, 2, 143, 3, 2, 2, 2, 2, 145, 3, 2, 2, 2, 2, 147, 3, 2, 2, 2, 2, 149, 3, 2, 2, 2, 2, 151, 3, 2, 2, 2, 2, 153, 3, 2, 2, 2, 2, 155, 3, 2, 2, 2, 2, 157, 3, 2, 2, 2, 2, 159, 3, 2, 2, 2, 2, 161, 3, 2, 2, 2, 2, 163, 3, 2, 2, 2, 2, 165, 3, 2, 2, 2, 2, 167, 3, 2, 2, 2, 2, 169, 3, 2, 2, 2, 2, 171, 3, 2, 2, 2, 2, 173, 3, 2, 2, 2, 2, 175, 3, 2, 2, 2, 2, 177, 3, 2, 2, 2, 2, 179, 3, 2, 2, 2, 2, 181, 3, 2, 2, 2, 2, 183, 3, 2, 2, 2, 2, 185, 3, 2, 2, 2, 2, 187, 3, 2, 2, 2, 2, 189, 3, 2, 2, 2, 2, 191, 3, 2, 2, 2, 2, 193, 3, 2, 2, 2, 2, 195, 3, 2, 2, 2, 2, 197, 3, 2, 2, 2, 2, 199, 3, 2, 2, 2, 2, 201, 3, 2, 2, 2, 2, 203, 3, 2, 2, 2, 2, 205, 3, 2, 2, 2, 2, 207, 3, 2, 2, 2, 2, 209, 3, 2, 2, 2, 2, 211, 3, 2, 2, 2, 2, 213, 3, 2, 2, 2, 2, 215, 3, 2, 2, 2, 2, 217, 3, 2, 2, 2, 2, 219, 3, 2, 2, 2, 2, 221, 3, 2, 2, 2, 2, 223, 3, 2, 2, 2, 2, 225, 3, 2, 2, 2, 2, 227, 3, 2, 2, 2, 2, 229, 3, 2, 2, 2, 2, 231, 3, 2, 2, 2, 2, 233, 3, 2, 2, 2, 2, 235, 3, 2, 2, 2, 2, 237, 3, 2, 2, 2, 2, 239, 3, 2, 2, 2, 2, 241, 3, 2, 2, 2, 2, 243, 3, 2, 2, 2, 2, 245, 3, 2, 2, 2, 2, 247, 3, 2, 2, 2, 2, 249, 3, 2, 2, 2, 2, 251, 3, 2, 2, 2, 2, 253, 3, 2, 2, 2, 2, 255, 3, 2, 2, 2, 2, 257, 3, 2, 2, 2, 2, 259, 3, 2, 2, 2, 2, 261, 3, 2, 2, 2, 2, 263, 3, 2, 2, 2, 2, 265, 3, 2, 2, 2, 2, 267, 3, 2, 2, 2, 2, 269, 3, 2, 2, 2, 2, 271, 3, 2, 2, 2, 2, 273, 3, 2, 2, 2, 2, 275, 3, 2, 2, 2, 2, 277, 3, 2, 2, 2, 2, 279, 3, 2, 2, 2, 2, 281, 3, 2, 2, 2, 2, 283, 3, 2, 2, 2, 2, 285, 3, 2, 2, 2, 2, 287, 3, 2, 2, 2, 2, 289, 3, 2, 2, 2, 2, 291, 3, 2, 2, 2, 2, 293, 3, 2, 2, 2, 2, 295, 3, 2, 2, 2, 2, 297, 3, 2, 2, 2, 2, 299, 3, 2, 2, 2, 2, 301, 3, 2, 2, 2, 2, 303, 3, 2, 2, 2, 2, 305, 3, 2, 2, 2, 2, 307, 3, 2, 2, 2, 2, 309, 3, 2, 2, 2, 2, 311, 3, 2, 2, 2, 2, 313, 3, 2, 2, 2, 2, 315, 3, 2, 2, 2, 2, 317, 3, 2, 2, 2, 2, 319, 3, 2, 2, 2, 2, 321, 3, 2, 2, 2, 2, 323, 3, 2, 2, 2, 2, 325, 3, 2, 2, 2, 2, 327, 3, 2, 2, 2, 2, 329, 3, 2, 2, 2, 2, 331, 3, 2, 2, 2, 2, 333, 3, 2, 2, 2, 2, 335, 3, 2, 2, 2, 2, 337, 3, 2, 2, 2, 2, 339, 3, 2, 2, 2, 2, 341, 3, 2, 2, 2, 2, 343, 3, 2, 2, 2, 2, 345, 3, 2, 2, 2, 2, 347, 3, 2, 2, 2, 2, 349, 3, 2, 2, 2, 2, 351, 3, 2, 2, 2, 2, 353, 3, 2, 2, 2, 2, 355, 3, 2, 2, 2, 2, 357, 3, 2, 2, 2, 2, 359, 3, 2, 2, 2, 2, 361, 3, 2, 2, 2, 2, 363, 3, 2, 2, 2, 2, 365, 3, 2, 2, 2, 2, 367, 3, 2, 2, 2, 2, 369, 3, 2, 2, 2, 2, 371, 3, 2, 2, 2, 2, 373, 3, 2, 2, 2, 2, 375, 3, 2, 2, 2, 2, 377, 3, 2, 2, 2, 2, 379, 3, 2, 2, 2, 2, 381, 3, 2, 2, 2, 2, 383, 3, 2, 2, 2, 2, 385, 3, 2, 2, 2, 2, 387, 3, 2, 2, 2, 2, 389, 3, 2, 2, 2, 2, 391, 3, 2, 2, 2, 2, 393, 3, 2, 2, 2, 2, 395, 3, 2, 2, 2, 2, 397, 3, 2, 2, 2, 2, 399, 3, 2, 2, 2, 2, 401, 3, 2, 2, 2, 2, 403, 3, 2, 2, 2, 2, 405, 3, 2, 2, 2, 2, 407, 3, 2, 2, 2, 2, 409, 3, 2, 2, 2, 2, 411, 3, 2, 2, 2, 2, 413, 3, 2, 2, 2, 2, 415, 3, 2, 2, 2, 2, 417, 3, 2, 2, 2, 2, 419, 3, 2, 2, 2, 2, 421, 3, 2, 2, 2, 2, 423, 3, 2, 2, 2, 2, 425, 3, 2, 2, 2, 2, 427, 3, 2, 2, 2, 2, 429, 3, 2, 2, 2, 2, 431, 3, 2, 2, 2, 2, 433, 3, 2, 2, 2, 2, 435, 3, 2, 2, 2, 2, 437, 3, 2, 2, 2, 2, 439, 3, 2, 2, 2, 2, 441, 3, 2, 2, 2, 2, 443, 3, 2, 2, 2, 2, 445, 3, 2, 2, 2, 2, 447, 3, 2, 2, 2, 2, 449, 3, 2, 2, 2, 2, 451, 3, 2, 2, 2, 2, 453, 3, 2, 2, 2, 2, 455, 3, 2, 2, 2, 2, 457, 3, 2, 2, 2, 2, 459, 3, 2, 2, 2, 2, 461, 3, 2, 2, 2, 2, 463, 3, 2, 2, 2, 2, 465, 3, 2, 2, 2, 2, 467, 3, 2, 2, 2, 2, 469, 3, 2, 2, 2, 2, 471, 3, 2, 2, 2, 2, 473, 3, 2, 2, 2, 2, 475, 3, 2, 2, 2, 2, 477, 3, 2, 2, 2, 2, 479, 3, 2, 2, 2, 2, 481, 3, 2, 2, 2, 2, 483, 3, 2, 2, 2, 2, 485, 3, 2, 2, 2, 2, 487, 3, 2, 2, 2, 2, 489, 3, 2, 2, 2, 2, 491, 3, 2, 2, 2, 2, 493, 3, 2, 2, 2, 2, 495, 3, 2, 2, 2, 2, 497, 3, 2, 2, 2, 2, 499, 3, 2, 2, 2, 2, 501, 3, 2, 2, 2, 2, 503, 3, 2, 2, 2, 2, 505, 3, 2, 2, 2, 2, 507, 3, 2, 2, 2, 2, 509, 3, 2, 2, 2, 2, 511, 3, 2, 2, 2, 2, 513, 3, 2, 2, 2, 2, 515, 3, 2, 2, 2, 2, 517, 3, 2, 2, 2, 2, 519, 3, 2, 2, 2, 2, 521, 3, 2, 2, 2, 2, 523, 3, 2, 2, 2, 2, 525, 3, 2, 2, 2, 2, 527, 3, 2, 2, 2, 2, 529, 3, 2, 2, 2, 2, 531, 3, 2, 2, 2, 2, 533, 3, 2, 2, 2, 2, 535, 3, 2, 2, 2, 2, 537, 3, 2, 2, 2, 2, 539, 3, 2, 2, 2, 2, 541, 3, 2, 2, 2, 2, 543, 3, 2, 2, 2, 2, 545, 3, 2, 2, 2, 2, 547, 3, 2, 2, 2, 2, 549, 3, 2, 2, 2, 2, 551, 3, 2, 2, 2, 2, 553, 3, 2, 2, 2, 2, 555, 3, 2, 2, 2, 2, 557, 3, 2, 2, 2, 2, 559, 3, 2, 2, 2, 2, 561, 3, 2, 2, 2, 2, 563, 3, 2, 2, 2, 2, 565, 3, 2, 2, 2, 2, 567, 3, 2, 2, 2, 2, 569, 3, 2, 2, 2, 2, 571, 3, 2, 2, 2, 2, 573, 3, 2, 2, 2, 2, 575, 3, 2, 2, 2, 2, 577, 3, 2, 2, 2, 2, 579, 3, 2, 2, 2, 2, 581, 3, 2, 2, 2, 2, 583, 3, 2, 2, 2, 2, 585, 3, 2, 2, 2, 2, 587, 3, 2, 2, 2, 2, 589, 3, 2, 2, 2, 2, 591, 3, 2, 2, 2, 2, 593, 3, 2, 2, 2, 2, 595, 3, 2, 2, 2, 2, 597, 3, 2, 2, 2, 2, 599, 3, 2, 2, 2, 2, 601, 3, 2, 2, 2, 2, 603, 3, 2, 2, 2, 2, 605, 3, 2, 2, 2, 2, 611, 3, 2, 2, 2, 2, 613, 3, 2, 2, 2, 2, 615, 3, 2, 2, 2, 2, 617, 3, 2, 2, 2, 2, 621, 3, 2, 2, 2, 3, 623, 3, 2, 2, 2, 5, 630, 3, 2, 2, 2, 7, 639, 3, 2, 2, 2, 9, 644, 3, 2, 2, 2, 11, 649, 3, 2, 2, 2, 13, 655, 3, 2, 2, 2, 15, 662, 3, 2, 2, 2, 17, 669, 3, 2, 2, 2, 19, 675, 3, 2, 2, 2, 21, 681, 3, 2, 2, 2, 23, 686, 3, 2, 2, 2, 25, 691, 3, 2, 2, 2, 27, 696, 3, 2, 2, 2, 29, 700, 3, 2, 2, 2, 31, 705, 3, 2, 2, 2, 33, 711, 3, 2, 2, 2, 35, 718, 3, 2, 2, 2, 37, 724, 3, 2, 2, 2, 39, 730, 3, 2, 2, 2, 41, 735, 3, 2, 2, 2, 43, 743, 3, 2, 2, 2, 45, 752, 3, 2, 2, 2, 47, 762, 3, 2, 2, 2, 49, 769, 3, 2, 2, 2, 51, 772, 3, 2, 2, 2, 53, 775, 3, 2, 2, 2, 55, 778, 3, 2, 2, 2, 57, 781, 3, 2, 2, 2, 59, 788, 3, 2, 2, 2, 61, 794, 3, 2, 2, 2, 63, 796, 3, 2, 2, 2, 65, 801, 3, 2, 2, 2, 67, 810, 3, 2, 2, 2, 69, 817, 3, 2, 2, 2, 71, 822, 3, 2, 2, 2, 73, 826, 3, 2, 2, 2, 75, 829, 3, 2, 2, 2, 77, 833, 3, 2, 2, 2, 79, 843, 3, 2, 2, 2, 81, 855, 3, 2, 2, 2, 83, 873, 3, 2, 2, 2, 85, 884, 3, 2, 2, 2, 87, 891, 3, 2, 2, 2, 89, 897, 3, 2, 2, 2, 91, 907, 3, 2, 2, 2, 93, 918, 3, 2, 2, 2, 95, 932, 3, 2, 2, 2, 97, 948, 3, 2, 2, 2, 99, 961, 3, 2, 2, 2, 101, 973, 3, 2, 2, 2, 103, 986, 3, 2, 2, 2, 105, 997, 3, 2, 2, 2, 107, 1010, 3, 2, 2, 2, 109, 1025, 3, 2, 2, 2, 111, 1036, 3, 2, 2, 2, 113, 1046, 3, 2, 2, 2, 115, 1065, 3, 2, 2, 2, 117, 1089, 3, 2, 2, 2, 119, 1094, 3, 2, 2, 2, 121, 1097, 3, 2, 2, 2, 123, 1101, 3, 2, 2, 2, 125, 1104, 3, 2, 2, 2, 127, 1108, 3, 2, 2, 2, 129, 1112, 3, 2, 2, 2, 131, 1117, 3, 2, 2, 2, 133, 1123, 3, 2, 2, 2, 135, 1130, 3, 2, 2, 2, 137, 1139, 3, 2, 2, 2, 139, 1148, 3, 2, 2, 2, 141, 1160, 3, 2, 2, 2, 143, 1172, 3, 2, 2, 2, 145, 1179, 3, 2, 2, 2, 147, 1186, 3, 2, 2, 2, 149, 1191, 3, 2, 2, 2, 151, 1195, 3, 2, 2, 2, 153, 1200, 3, 2, 2, 2, 155, 1206, 3, 2, 2, 2, 157, 1214, 3, 2, 2, 2, 159, 1219, 3, 2, 2, 2, 161, 1238, 3, 2, 2, 2, 163, 1257, 3, 2, 2, 2, 165, 1271, 3, 2, 2, 2, 167, 1288, 3, 2, 2, 2, 169, 1300, 3, 2, 2, 2, 171, 1312, 3, 2, 2, 2, 173, 1328, 3, 2, 2, 2, 175, 1339, 3, 2, 2, 2, 177, 1350, 3, 2, 2, 2, 179, 1359, 3, 2, 2, 2, 181, 1370, 3, 2, 2, 2, 183, 1381, 3, 2, 2, 2, 185, 1391, 3, 2, 2, 2, 187, 1398, 3, 2, 2, 2, 189, 1410, 3, 2, 2, 2, 191, 1414, 3, 2, 2, 2, 193, 1422, 3, 2, 2, 2, 195, 1429, 3, 2, 2, 2, 197, 1434, 3, 2, 2, 2, 199, 1440, 3, 2, 2, 2, 201, 1447, 3, 2, 2, 2, 203, 1455, 3, 2, 2, 2, 205, 1457, 3, 2, 2, 2, 207, 1459, 3, 2, 2, 2, 209, 1461, 3, 2, 2, 2, 211, 1463, 3, 2, 2, 2, 213, 1465, 3, 2, 2, 2, 215, 1467, 3, 2, 2, 2, 217, 1470, 3, 2, 2, 2, 219, 1473, 3, 2, 2, 2, 221, 1476, 3, 2, 2, 2, 223, 1478, 3, 2, 2, 2, 225, 1480, 3, 2, 2, 2, 227, 1482, 3, 2, 2, 2, 229, 1484, 3, 2, 2, 2, 231, 1486, 3, 2, 2, 2, 233, 1488, 3, 2, 2, 2, 235, 1490, 3, 2, 2, 2, 237, 1492, 3, 2, 2, 2, 239, 1494, 3, 2, 2, 2, 241, 1496, 3, 2, 2, 2, 243, 1498, 3, 2, 2, 2, 245, 1500, 3, 2, 2, 2, 247, 1502, 3, 2, 2, 2, 249, 1504, 3, 2, 2, 2, 251, 1506, 3, 2, 2, 2, 253, 1508, 3, 2, 2, 2, 255, 1510, 3, 2, 2, 2, 257, 1514, 3, 2, 2, 2, 259, 1520, 3, 2, 2, 2, 261, 1535, 3, 2, 2, 2, 263, 1541, 3, 2, 2, 2, 265, 1553, 3, 2, 2, 2, 267, 1557, 3, 2, 2, 2, 269, 1562, 3, 2, 2, 2, 271, 1569, 3, 2, 2, 2, 273, 1573, 3, 2, 2, 2, 275, 1578, 3, 2, 2, 2, 277, 1584, 3, 2, 2, 2, 279, 1590, 3, 2, 2, 2, 281, 1597, 3, 2, 2, 2, 283, 1601, 3, 2, 2, 2, 285, 1607, 3, 2, 2, 2, 287, 1616, 3, 2, 2, 2, 289, 1624, 3, 2, 2, 2, 291, 1636, 3, 2, 2, 2, 293, 1647, 3, 2, 2, 2, 295, 1658, 3, 2, 2, 2, 297, 1663, 3, 2, 2, 2, 299, 1669, 3, 2, 2, 2, 301, 1674, 3, 2, 2, 2, 303, 1679, 3, 2, 2, 2, 305, 1686, 3, 2, 2, 2, 307, 1695, 3, 2, 2, 2, 309, 1709, 3, 2, 2, 2, 311, 1716, 3, 2, 2, 2, 313, 1728, 3, 2, 2, 2, 315, 1736, 3, 2, 2, 2, 317, 1745, 3, 2, 2, 2, 319, 1756, 3, 2, 2, 2, 321, 1767, 3, 2, 2, 2, 323, 1772, 3, 2, 2, 2, 325, 1782, 3, 2, 2, 2, 327, 1784, 3, 2, 2, 2, 329, 1787, 3, 2, 2, 2, 331, 1791, 3, 2, 2, 2, 333, 1796, 3, 2, 2, 2, 335, 1804, 3, 2, 2, 2, 337, 1809, 3, 2, 2, 2, 339, 1815, 3, 2, 2, 2, 341, 1817, 3, 2, 2, 2, 343, 1821, 3, 2, 2, 2, 345, 1827, 3, 2, 2, 2, 347, 1830, 3, 2, 2, 2, 349, 1834, 3, 2, 2, 2, 351, 1840, 3, 2, 2, 2, 353, 1845, 3, 2, 2, 2, 355, 1849, 3, 2, 2, 2, 357, 1852, 3, 2, 2, 2, 359, 1856, 3, 2, 2, 2, 361, 1862, 3, 2, 2, 2, 363, 1867, 3, 2, 2, 2, 365, 1873, 3, 2, 2, 2, 367, 1878, 3, 2, 2, 2, 369, 1883, 3, 2, 2, 2, 371, 1892, 3, 2, 2, 2, 373, 1897, 3, 2, 2, 2, 375, 1902, 3, 2, 2, 2, 377, 1907, 3, 2, 2, 2, 379, 1913, 3, 2, 2, 2, 381, 1917, 3, 2, 2, 2, 383, 1921, 3, 2, 2, 2, 385, 1929, 3, 2, 2, 2, 387, 1937, 3, 2, 2, 2, 389, 1941, 3, 2, 2, 2, 391, 1945, 3, 2, 2, 2, 393, 1953, 3, 2, 2, 2, 395, 1961, 3, 2, 2, 2, 397, 1974, 3, 2, 2, 2, 399, 1987, 3, 2, 2, 2, 401, 2005, 3, 2, 2, 2, 403, 2013, 3, 2, 2, 2, 405, 2018, 3, 2, 2, 2, 407, 2027, 3, 2, 2, 2, 409, 2039, 3, 2, 2, 2, 411, 2048, 3, 2, 2, 2, 413, 2056, 3, 2, 2, 2, 415, 2067, 3, 2, 2, 2, 417, 2077, 3, 2, 2, 2, 419, 2087, 3, 2, 2, 2, 421, 2097, 3, 2, 2, 2, 423, 2107, 3, 2, 2, 2, 425, 2122, 3, 2, 2, 2, 427, 2136, 3, 2, 2, 2, 429, 2145, 3, 2, 2, 2, 431, 2154, 3, 2, 2, 2, 433, 2164, 3, 2, 2, 2, 435, 2168, 3, 2, 2, 2, 437, 2179, 3, 2, 2, 2, 439, 2191, 3, 2, 2, 2, 441, 2199, 3, 2, 2, 2, 443, 2207, 3, 2, 2, 2, 445, 2212, 3, 2, 2, 2, 447, 2224, 3, 2, 2, 2, 449, 2234, 3, 2, 2, 2, 451, 2242, 3, 2, 2, 2, 453, 2251, 3, 2, 2, 2, 455, 2260, 3, 2, 2, 2, 457, 2274, 3, 2, 2, 2, 459, 2289, 3, 2, 2, 2, 461, 2296, 3, 2, 2, 2, 463, 2306, 3, 2, 2, 2, 465, 2312, 3, 2, 2, 2, 467, 2318, 3, 2, 2, 2, 469, 2323, 3, 2, 2, 2, 471, 2326, 3, 2, 2, 2, 473, 2332, 3, 2, 2, 2, 475, 2338, 3, 2, 2, 2, 477, 2345, 3, 2, 2, 2, 479, 2355, 3, 2, 2, 2, 481, 2362, 3, 2, 2, 2, 483, 2369, 3, 2, 2, 2, 485, 2375, 3, 2, 2, 2, 487, 2380, 3, 2, 2, 2, 489, 2386, 3, 2, 2, 2, 491, 2393, 3, 2, 2, 2, 493, 2401, 3, 2, 2, 2, 495, 2406, 3, 2, 2, 2, 497, 2411, 3, 2, 2, 2, 499, 2418, 3, 2, 2, 2, 501, 2428, 3, 2, 2, 2, 503, 2435, 3, 2, 2, 2, 505, 2442, 3, 2, 2, 2, 507, 2445, 3, 2, 2, 2, 509, 2452, 3, 2, 2, 2, 511, 2458, 3, 2, 2, 2, 513, 2471, 3, 2, 2, 2, 515, 2491, 3, 2, 2, 2, 517, 2509, 3, 2, 2, 2, 519, 2529, 3, 2, 2, 2, 521, 2541, 3, 2, 2, 2, 523, 2554, 3, 2, 2, 2, 525, 2577, 3, 2, 2, 2, 527, 2594, 3, 2, 2, 2, 529, 2603, 3, 2, 2, 2, 531, 2639, 3, 2, 2, 2, 533, 2645, 3, 2, 2, 2, 535, 2662, 3, 2, 2, 2, 537, 2676, 3, 2, 2, 2, 539, 2693, 3, 2, 2, 2, 541, 2720, 3, 2, 2, 2, 543, 2727, 3, 2, 2, 2, 545, 2733, 3, 2, 2, 2, 547, 2754, 3, 2, 2, 2, 549, 2774, 3, 2, 2, 2, 551, 2795, 3, 2, 2, 2, 553, 2809, 3, 2, 2, 2, 555, 2819, 3, 2, 2, 2, 557, 2827, 3, 2, 2, 2, 559, 2845, 3, 2, 2, 2, 561, 2869, 3, 2, 2, 2, 563, 2884, 3, 2, 2, 2, 565, 2905, 3, 2, 2, 2, 567, 2914, 3, 2, 2, 2, 569, 2926, 3, 2, 2, 2, 571, 2940, 3, 2, 2, 2, 573, 2955, 3, 2, 2, 2, 575, 2974, 3, 2, 2, 2, 577, 2982, 3, 2, 2, 2, 579, 2987, 3, 2, 2, 2, 581, 2999, 3, 2, 2, 2, 583, 3004, 3, 2, 2, 2, 585, 3021, 3, 2, 2, 2, 587, 3026, 3, 2, 2, 2, 589, 3029, 3, 2, 2, 2, 591, 3031, 3, 2, 2, 2, 593, 3033, 3, 2, 2, 2, 595, 3035, 3, 2, 2, 2, 597, 3037, 3, 2, 2, 2, 599, 3039, 3, 2, 2, 2, 601, 3041, 3, 2, 2, 2, 603, 3044, 3, 2, 2, 2, 605, 3053, 3, 2, 2, 2, 607, 3069, 3, 2, 2, 2, 609, 3073, 3, 2, 2, 2, 611, 3083, 3, 2, 2, 2, 613, 3086, 3, 2, 2, 2, 615, 3099, 3, 2, 2, 2, 617, 3112, 3, 2, 2, 2, 619, 3125, 3, 2, 2, 2, 621, 3127, 3, 2, 2, 2, 623, 624, 7, 85, 2, 2, 624, 625, 7, 71, 2, 2, 625, 626, 7, 67, 2, 2, 626, 627, 7, 84, 2, 2, 627, 628, 7, 69, 2, 2, 628, 629, 7, 74, 2, 2, 629, 4, 3, 2, 2, 2, 630, 631, 7, 70, 2, 2, 631, 632, 7, 71, 2, 2, 632, 633, 7, 85, 2, 2, 633, 634, 7, 69, 2, 2, 634, 635, 7, 84, 2, 2, 635, 636, 7, 75, 2, 2, 636, 637, 7, 68, 2, 2, 637, 638, 7, 71, 2, 2, 638, 6, 3, 2, 2, 2, 639, 640, 7, 85, 2, 2, 640, 641, 7, 74, 2, 2, 641, 642, 7, 81, 2, 2, 642, 643, 7, 89, 2, 2, 643, 8, 3, 2, 2, 2, 644, 645, 7, 72, 2, 2, 645, 646, 7, 84, 2, 2, 646, 647, 7, 81, 2, 2, 647, 648, 7, 79, 2, 2, 648, 10, 3, 2, 2, 2, 649, 650, 7, 89, 2, 2, 650, 651, 7, 74, 2, 2, 651, 652, 7, 71, 2, 2, 652, 653, 7, 84, 2, 2, 653, 654, 7, 71, 2, 2, 654, 12, 3, 2, 2, 2, 655, 656, 7, 72, 2, 2, 656, 657, 7, 75, 2, 2, 657, 658, 7, 71, 2, 2, 658, 659, 7, 78, 2, 2, 659, 660, 7, 70, 2, 2, 660, 661, 7, 85, 2, 2, 661, 14, 3, 2, 2, 2, 662, 663, 7, 84, 2, 2, 663, 664, 7, 71, 2, 2, 664, 665, 7, 80, 2, 2, 665, 666, 7, 67, 2, 2, 666, 667, 7, 79, 2, 2, 667, 668, 7, 71, 2, 2, 668, 16, 3, 2, 2, 2, 669, 670, 7, 85, 2, 2, 670, 671, 7, 86, 2, 2, 671, 672, 7, 67, 2, 2, 672, 673, 7, 86, 2, 2, 673, 674, 7, 85, 2, 2, 674, 18, 3, 2, 2, 2, 675, 676, 7, 70, 2, 2, 676, 677, 7, 71, 2, 2, 677, 678, 7, 70, 2, 2, 678, 679, 7, 87, 2, 2, 679, 680, 7, 82, 2, 2, 680, 20, 3, 2, 2, 2, 681, 682, 7, 85, 2, 2, 682, 683, 7, 81, 2, 2, 683, 684, 7, 84, 2, 2, 684, 685, 7, 86, 2, 2, 685, 22, 3, 2, 2, 2, 686, 687, 7, 71, 2, 2, 687, 688, 7, 88, 2, 2, 688, 689, 7, 67, 2, 2, 689, 690, 7, 78, 2, 2, 690, 24, 3, 2, 2, 2, 691, 692, 7, 74, 2, 2, 692, 693, 7, 71, 2, 2, 693, 694, 7, 67, 2, 2, 694, 695, 7, 70, 2, 2, 695, 26, 3, 2, 2, 2, 696, 697, 7, 86, 2, 2, 697, 698, 7, 81, 2, 2, 698, 699, 7, 82, 2, 2, 699, 28, 3, 2, 2, 2, 700, 701, 7, 84, 2, 2, 701, 702, 7, 67, 2, 2, 702, 703, 7, 84, 2, 2, 703, 704, 7, 71, 2, 2, 704, 30, 3, 2, 2, 2, 705, 706, 7, 82, 2, 2, 706, 707, 7, 67, 2, 2, 707, 708, 7, 84, 2, 2, 708, 709, 7, 85, 2, 2, 709, 710, 7, 71, 2, 2, 710, 32, 3, 2, 2, 2, 711, 712, 7, 79, 2, 2, 712, 713, 7, 71, 2, 2, 713, 714, 7, 86, 2, 2, 714, 715, 7, 74, 2, 2, 715, 716, 7, 81, 2, 2, 716, 717, 7, 70, 2, 2, 717, 34, 3, 2, 2, 2, 718, 719, 7, 84, 2, 2, 719, 720, 7, 71, 2, 2, 720, 721, 7, 73, 2, 2, 721, 722, 7, 71, 2, 2, 722, 723, 7, 90, 2, 2, 723, 36, 3, 2, 2, 2, 724, 725, 7, 82, 2, 2, 725, 726, 7, 87, 2, 2, 726, 727, 7, 80, 2, 2, 727, 728, 7, 69, 2, 2, 728, 729, 7, 86, 2, 2, 729, 38, 3, 2, 2, 2, 730, 731, 7, 73, 2, 2, 731, 732, 7, 84, 2, 2, 732, 733, 7, 81, 2, 2, 733, 734, 7, 77, 2, 2, 734, 40, 3, 2, 2, 2, 735, 736, 7, 82, 2, 2, 736, 737, 7, 67, 2, 2, 737, 738, 7, 86, 2, 2, 738, 739, 7, 86, 2, 2, 739, 740, 7, 71, 2, 2, 740, 741, 7, 84, 2, 2, 741, 742, 7, 80, 2, 2, 742, 42, 3, 2, 2, 2, 743, 744, 7, 82, 2, 2, 744, 745, 7, 67, 2, 2, 745, 746, 7, 86, 2, 2, 746, 747, 7, 86, 2, 2, 747, 748, 7, 71, 2, 2, 748, 749, 7, 84, 2, 2, 749, 750, 7, 80, 2, 2, 750, 751, 7, 85, 2, 2, 751, 44, 3, 2, 2, 2, 752, 753, 7, 80, 2, 2, 753, 754, 7, 71, 2, 2, 754, 755, 7, 89, 2, 2, 755, 756, 7, 97, 2, 2, 756, 757, 7, 72, 2, 2, 757, 758, 7, 75, 2, 2, 758, 759, 7, 71, 2, 2, 759, 760, 7, 78, 2, 2, 760, 761, 7, 70, 2, 2, 761, 46, 3, 2, 2, 2, 762, 763, 7, 77, 2, 2, 763, 764, 7, 79, 2, 2, 764, 765, 7, 71, 2, 2, 765, 766, 7, 67, 2, 2, 766, 767, 7, 80, 2, 2, 767, 768, 7, 85, 2, 2, 768, 48, 3, 2, 2, 2, 769, 770, 7, 67, 2, 2, 770, 771, 7, 70, 2, 2, 771, 50, 3, 2, 2, 2, 772, 773, 7, 79, 2, 2, 773, 774, 7, 78, 2, 2, 774, 52, 3, 2, 2, 2, 775, 776, 7, 67, 2, 2, 776, 777, 7, 85, 2, 2, 777, 54, 3, 2, 2, 2, 778, 779, 7, 68, 2, 2, 779, 780, 7, 91, 2, 2, 780, 56, 3, 2, 2, 2, 781, 782, 7, 85, 2, 2, 782, 783, 7, 81, 2, 2, 783, 784, 7, 87, 2, 2, 784, 785, 7, 84, 2, 2, 785, 786, 7, 69, 2, 2, 786, 787, 7, 71, 2, 2, 787, 58, 3, 2, 2, 2, 788, 789, 7, 75, 2, 2, 789, 790, 7, 80, 2, 2, 790, 791, 7, 70, 2, 2, 791, 792, 7, 71, 2, 2, 792, 793, 7, 90, 2, 2, 793, 60, 3, 2, 2, 2, 794, 795, 7, 70, 2, 2, 795, 62, 3, 2, 2, 2, 796, 797, 7, 70, 2, 2, 797, 798, 7, 71, 2, 2, 798, 799, 7, 85, 2, 2, 799, 800, 7, 69, 2, 2, 800, 64, 3, 2, 2, 2, 801, 802, 7, 69, 2, 2, 802, 803, 7, 67, 2, 2, 803, 804, 7, 86, 2, 2, 804, 805, 7, 67, 2, 2, 805, 806, 7, 78, 2, 2, 806, 807, 7, 81, 2, 2, 807, 808, 7, 73, 2, 2, 808, 809, 7, 85, 2, 2, 809, 66, 3, 2, 2, 2, 810, 811, 7, 85, 2, 2, 811, 812, 7, 81, 2, 2, 812, 813, 7, 84, 2, 2, 813, 814, 7, 86, 2, 2, 814, 815, 7, 68, 2, 2, 815, 816, 7, 91, 2, 2, 816, 68, 3, 2, 2, 2, 817, 818, 7, 67, 2, 2, 818, 819, 7, 87, 2, 2, 819, 820, 7, 86, 2, 2, 820, 821, 7, 81, 2, 2, 821, 70, 3, 2, 2, 2, 822, 823, 7, 85, 2, 2, 823, 824, 7, 86, 2, 2, 824, 825, 7, 84, 2, 2, 825, 72, 3, 2, 2, 2, 826, 827, 7, 75, 2, 2, 827, 828, 7, 82, 2, 2, 828, 74, 3, 2, 2, 2, 829, 830, 7, 80, 2, 2, 830, 831, 7, 87, 2, 2, 831, 832, 7, 79, 2, 2, 832, 76, 3, 2, 2, 2, 833, 834, 7, 77, 2, 2, 834, 835, 7, 71, 2, 2, 835, 836, 7, 71, 2, 2, 836, 837, 7, 82, 2, 2, 837, 838, 7, 71, 2, 2, 838, 839, 7, 79, 2, 2, 839, 840, 7, 82, 2, 2, 840, 841, 7, 86, 2, 2, 841, 842, 7, 91, 2, 2, 842, 78, 3, 2, 2, 2, 843, 844, 7, 69, 2, 2, 844, 845, 7, 81, 2, 2, 845, 846, 7, 80, 2, 2, 846, 847, 7, 85, 2, 2, 847, 848, 7, 71, 2, 2, 848, 849, 7, 69, 2, 2, 849, 850, 7, 87, 2, 2, 850, 851, 7, 86, 2, 2, 851, 852, 7, 75, 2, 2, 852, 853, 7, 88, 2, 2, 853, 854, 7, 71, 2, 2, 854, 80, 3, 2, 2, 2, 855, 856, 7, 70, 2, 2, 856, 857, 7, 71, 2, 2, 857, 858, 7, 70, 2, 2, 858, 859, 7, 87, 2, 2, 859, 860, 7, 82, 2, 2, 860, 861, 7, 97, 2, 2, 861, 862, 7, 85, 2, 2, 862, 863, 7, 82, 2, 2, 863, 864, 7, 78, 2, 2, 864, 865, 7, 75, 2, 2, 865, 866, 7, 86, 2, 2, 866, 867, 7, 88, 2, 2, 867, 868, 7, 67, 2, 2, 868, 869, 7, 78, 2, 2, 869, 870, 7, 87, 2, 2, 870, 871, 7, 71, 2, 2, 871, 872, 7, 85, 2, 2, 872, 82, 3, 2, 2, 2, 873, 874, 7, 82, 2, 2, 874, 875, 7, 67, 2, 2, 875, 876, 7, 84, 2, 2, 876, 877, 7, 86, 2, 2, 877, 878, 7, 75, 2, 2, 878, 879, 7, 86, 2, 2, 879, 880, 7, 75, 2, 2, 880, 881, 7, 81, 2, 2, 881, 882, 7, 80, 2, 2, 882, 883, 7, 85, 2, 2, 883, 84, 3, 2, 2, 2, 884, 885, 7, 67, 2, 2, 885, 886, 7, 78, 2, 2, 886, 887, 7, 78, 2, 2, 887, 888, 7, 80, 2, 2, 888, 889, 7, 87, 2, 2, 889, 890, 7, 79, 2, 2, 890, 86, 3, 2, 2, 2, 891, 892, 7, 70, 2, 2, 892, 893, 7, 71, 2, 2, 893, 894, 7, 78, 2, 2, 894, 895, 7, 75, 2, 2, 895, 896, 7, 79, 2, 2, 896, 88, 3, 2, 2, 2, 897, 898, 7, 69, 2, 2, 898, 899, 7, 71, 2, 2, 899, 900, 7, 80, 2, 2, 900, 901, 7, 86, 2, 2, 901, 902, 7, 84, 2, 2, 902, 903, 7, 81, 2, 2, 903, 904, 7, 75, 2, 2, 904, 905, 7, 70, 2, 2, 905, 906, 7, 85, 2, 2, 906, 90, 3, 2, 2, 2, 907, 908, 7, 75, 2, 2, 908, 909, 7, 86, 2, 2, 909, 910, 7, 71, 2, 2, 910, 911, 7, 84, 2, 2, 911, 912, 7, 67, 2, 2, 912, 913, 7, 86, 2, 2, 913, 914, 7, 75, 2, 2, 914, 915, 7, 81, 2, 2, 915, 916, 7, 80, 2, 2, 916, 917, 7, 85, 2, 2, 917, 92, 3, 2, 2, 2, 918, 919, 7, 70, 2, 2, 919, 920, 7, 75, 2, 2, 920, 921, 7, 85, 2, 2, 921, 922, 7, 86, 2, 2, 922, 923, 7, 67, 2, 2, 923, 924, 7, 80, 2, 2, 924, 925, 7, 69, 2, 2, 925, 926, 7, 71, 2, 2, 926, 927, 7, 97, 2, 2, 927, 928, 7, 86, 2, 2, 928, 929, 7, 91, 2, 2, 929, 930, 7, 82, 2, 2, 930, 931, 7, 71, 2, 2, 931, 94, 3, 2, 2, 2, 932, 933, 7, 80, 2, 2, 933, 934, 7, 87, 2, 2, 934, 935, 7, 79, 2, 2, 935, 936, 7, 68, 2, 2, 936, 937, 7, 71, 2, 2, 937, 938, 7, 84, 2, 2, 938, 939, 7, 97, 2, 2, 939, 940, 7, 81, 2, 2, 940, 941, 7, 72, 2, 2, 941, 942, 7, 97, 2, 2, 942, 943, 7, 86, 2, 2, 943, 944, 7, 84, 2, 2, 944, 945, 7, 71, 2, 2, 945, 946, 7, 71, 2, 2, 946, 947, 7, 85, 2, 2, 947, 96, 3, 2, 2, 2, 948, 949, 7, 85, 2, 2, 949, 950, 7, 74, 2, 2, 950, 951, 7, 75, 2, 2, 951, 952, 7, 80, 2, 2, 952, 953, 7, 73, 2, 2, 953, 954, 7, 78, 2, 2, 954, 955, 7, 71, 2, 2, 955, 956, 7, 97, 2, 2, 956, 957, 7, 85, 2, 2, 957, 958, 7, 75, 2, 2, 958, 959, 7, 92, 2, 2, 959, 960, 7, 71, 2, 2, 960, 98, 3, 2, 2, 2, 961, 962, 7, 85, 2, 2, 962, 963, 7, 67, 2, 2, 963, 964, 7, 79, 2, 2, 964, 965, 7, 82, 2, 2, 965, 966, 7, 78, 2, 2, 966, 967, 7, 71, 2, 2, 967, 968, 7, 97, 2, 2, 968, 969, 7, 85, 2, 2, 969, 970, 7, 75, 2, 2, 970, 971, 7, 92, 2, 2, 971, 972, 7, 71, 2, 2, 972, 100, 3, 2, 2, 2, 973, 974, 7, 81, 2, 2, 974, 975, 7, 87, 2, 2, 975, 976, 7, 86, 2, 2, 976, 977, 7, 82, 2, 2, 977, 978, 7, 87, 2, 2, 978, 979, 7, 86, 2, 2, 979, 980, 7, 97, 2, 2, 980, 981, 7, 67, 2, 2, 981, 982, 7, 72, 2, 2, 982, 983, 7, 86, 2, 2, 983, 984, 7, 71, 2, 2, 984, 985, 7, 84, 2, 2, 985, 102, 3, 2, 2, 2, 986, 987, 7, 86, 2, 2, 987, 988, 7, 75, 2, 2, 988, 989, 7, 79, 2, 2, 989, 990, 7, 71, 2, 2, 990, 991, 7, 97, 2, 2, 991, 992, 7, 70, 2, 2, 992, 993, 7, 71, 2, 2, 993, 994, 7, 69, 2, 2, 994, 995, 7, 67, 2, 2, 995, 996, 7, 91, 2, 2, 996, 104, 3, 2, 2, 2, 997, 998, 7, 67, 2, 2, 998, 999, 7, 80, 2, 2, 999, 1000, 7, 81, 2, 2, 1000, 1001, 7, 79, 2, 2, 1001, 1002, 7, 67, 2, 2, 1002, 1003, 7, 78, 2, 2, 1003, 1004, 7, 91, 2, 2, 1004, 1005, 7, 97, 2, 2, 1005, 1006, 7, 84, 2, 2, 1006, 1007, 7, 67, 2, 2, 1007, 1008, 7, 86, 2, 2, 1008, 1009, 7, 71, 2, 2, 1009, 106, 3, 2, 2, 2, 1010, 1011, 7, 69, 2, 2, 1011, 1012, 7, 67, 2, 2, 1012, 1013, 7, 86, 2, 2, 1013, 1014, 7, 71, 2, 2, 1014, 1015, 7, 73, 2, 2, 1015, 1016, 7, 81, 2, 2, 1016, 1017, 7, 84, 2, 2, 1017, 1018, 7, 91, 2, 2, 1018, 1019, 7, 97, 2, 2, 1019, 1020, 7, 72, 2, 2, 1020, 1021, 7, 75, 2, 2, 1021, 1022, 7, 71, 2, 2, 1022, 1023, 7, 78, 2, 2, 1023, 1024, 7, 70, 2, 2, 1024, 108, 3, 2, 2, 2, 1025, 1026, 7, 86, 2, 2, 1026, 1027, 7, 75, 2, 2, 1027, 1028, 7, 79, 2, 2, 1028, 1029, 7, 71, 2, 2, 1029, 1030, 7, 97, 2, 2, 1030, 1031, 7, 72, 2, 2, 1031, 1032, 7, 75, 2, 2, 1032, 1033, 7, 71, 2, 2, 1033, 1034, 7, 78, 2, 2, 1034, 1035, 7, 70, 2, 2, 1035, 110, 3, 2, 2, 2, 1036, 1037, 7, 86, 2, 2, 1037, 1038, 7, 75, 2, 2, 1038, 1039, 7, 79, 2, 2, 1039, 1040, 7, 71, 2, 2, 1040, 1041, 7, 97, 2, 2, 1041, 1042, 7, 92, 2, 2, 1042, 1043, 7, 81, 2, 2, 1043, 1044, 7, 80, 2, 2, 1044, 1045, 7, 71, 2, 2, 1045, 112, 3, 2, 2, 2, 1046, 1047, 7, 86, 2, 2, 1047, 1048, 7, 84, 2, 2, 1048, 1049, 7, 67, 2, 2, 1049, 1050, 7, 75, 2, 2, 1050, 1051, 7, 80, 2, 2, 1051, 1052, 7, 75, 2, 2, 1052, 1053, 7, 80, 2, 2, 1053, 1054, 7, 73, 2, 2, 1054, 1055, 7, 97, 2, 2, 1055, 1056, 7, 70, 2, 2, 1056, 1057, 7, 67, 2, 2, 1057, 1058, 7, 86, 2, 2, 1058, 1059, 7, 67, 2, 2, 1059, 1060, 7, 97, 2, 2, 1060, 1061, 7, 85, 2, 2, 1061, 1062, 7, 75, 2, 2, 1062, 1063, 7, 92, 2, 2, 1063, 1064, 7, 71, 2, 2, 1064, 114, 3, 2, 2, 2, 1065, 1066, 7, 67, 2, 2, 1066, 1067, 7, 80, 2, 2, 1067, 1068, 7, 81, 2, 2, 1068, 1069, 7, 79, 2, 2, 1069, 1070, 7, 67, 2, 2, 1070, 1071, 7, 78, 2, 2, 1071, 1072, 7, 91, 2, 2, 1072, 1073, 7, 97, 2, 2, 1073, 1074, 7, 85, 2, 2, 1074, 1075, 7, 69, 2, 2, 1075, 1076, 7, 81, 2, 2, 1076, 1077, 7, 84, 2, 2, 1077, 1078, 7, 71, 2, 2, 1078, 1079, 7, 97, 2, 2, 1079, 1080, 7, 86, 2, 2, 1080, 1081, 7, 74, 2, 2, 1081, 1082, 7, 84, 2, 2, 1082, 1083, 7, 71, 2, 2, 1083, 1084, 7, 85, 2, 2, 1084, 1085, 7, 74, 2, 2, 1085, 1086, 7, 81, 2, 2, 1086, 1087, 7, 78, 2, 2, 1087, 1088, 7, 70, 2, 2, 1088, 116, 3, 2, 2, 2, 1089, 1090, 7, 69, 2, 2, 1090, 1091, 7, 67, 2, 2, 1091, 1092, 7, 85, 2, 2, 1092, 1093, 7, 71, 2, 2, 1093, 118, 3, 2, 2, 2, 1094, 1095, 7, 75, 2, 2, 1095, 1096, 7, 80, 2, 2, 1096, 120, 3, 2, 2, 2, 1097, 1098, 7, 80, 2, 2, 1098, 1099, 7, 81, 2, 2, 1099, 1100, 7, 86, 2, 2, 1100, 122, 3, 2, 2, 2, 1101, 1102, 7, 81, 2, 2, 1102, 1103, 7, 84, 2, 2, 1103, 124, 3, 2, 2, 2, 1104, 1105, 7, 67, 2, 2, 1105, 1106, 7, 80, 2, 2, 1106, 1107, 7, 70, 2, 2, 1107, 126, 3, 2, 2, 2, 1108, 1109, 7, 90, 2, 2, 1109, 1110, 7, 81, 2, 2, 1110, 1111, 7, 84, 2, 2, 1111, 128, 3, 2, 2, 2, 1112, 1113, 7, 86, 2, 2, 1113, 1114, 7, 84, 2, 2, 1114, 1115, 7, 87, 2, 2, 1115, 1116, 7, 71, 2, 2, 1116, 130, 3, 2, 2, 2, 1117, 1118, 7, 72, 2, 2, 1118, 1119, 7, 67, 2, 2, 1119, 1120, 7, 78, 2, 2, 1120, 1121, 7, 85, 2, 2, 1121, 1122, 7, 71, 2, 2, 1122, 132, 3, 2, 2, 2, 1123, 1124, 7, 84, 2, 2, 1124, 1125, 7, 71, 2, 2, 1125, 1126, 7, 73, 2, 2, 1126, 1127, 7, 71, 2, 2, 1127, 1128, 7, 90, 2, 2, 1128, 1129, 7, 82, 2, 2, 1129, 134, 3, 2, 2, 2, 1130, 1131, 7, 70, 2, 2, 1131, 1132, 7, 67, 2, 2, 1132, 1133, 7, 86, 2, 2, 1133, 1134, 7, 71, 2, 2, 1134, 1135, 7, 86, 2, 2, 1135, 1136, 7, 75, 2, 2, 1136, 1137, 7, 79, 2, 2, 1137, 1138, 7, 71, 2, 2, 1138, 136, 3, 2, 2, 2, 1139, 1140, 7, 75, 2, 2, 1140, 1141, 7, 80, 2, 2, 1141, 1142, 7, 86, 2, 2, 1142, 1143, 7, 71, 2, 2, 1143, 1144, 7, 84, 2, 2, 1144, 1145, 7, 88, 2, 2, 1145, 1146, 7, 67, 2, 2, 1146, 1147, 7, 78, 2, 2, 1147, 138, 3, 2, 2, 2, 1148, 1149, 7, 79, 2, 2, 1149, 1150, 7, 75, 2, 2, 1150, 1151, 7, 69, 2, 2, 1151, 1152, 7, 84, 2, 2, 1152, 1153, 7, 81, 2, 2, 1153, 1154, 7, 85, 2, 2, 1154, 1155, 7, 71, 2, 2, 1155, 1156, 7, 69, 2, 2, 1156, 1157, 7, 81, 2, 2, 1157, 1158, 7, 80, 2, 2, 1158, 1159, 7, 70, 2, 2, 1159, 140, 3, 2, 2, 2, 1160, 1161, 7, 79, 2, 2, 1161, 1162, 7, 75, 2, 2, 1162, 1163, 7, 78, 2, 2, 1163, 1164, 7, 78, 2, 2, 1164, 1165, 7, 75, 2, 2, 1165, 1166, 7, 85, 2, 2, 1166, 1167, 7, 71, 2, 2, 1167, 1168, 7, 69, 2, 2, 1168, 1169, 7, 81, 2, 2, 1169, 1170, 7, 80, 2, 2, 1170, 1171, 7, 70, 2, 2, 1171, 142, 3, 2, 2, 2, 1172, 1173, 7, 85, 2, 2, 1173, 1174, 7, 71, 2, 2, 1174, 1175, 7, 69, 2, 2, 1175, 1176, 7, 81, 2, 2, 1176, 1177, 7, 80, 2, 2, 1177, 1178, 7, 70, 2, 2, 1178, 144, 3, 2, 2, 2, 1179, 1180, 7, 79, 2, 2, 1180, 1181, 7, 75, 2, 2, 1181, 1182, 7, 80, 2, 2, 1182, 1183, 7, 87, 2, 2, 1183, 1184, 7, 86, 2, 2, 1184, 1185, 7, 71, 2, 2, 1185, 146, 3, 2, 2, 2, 1186, 1187, 7, 74, 2, 2, 1187, 1188, 7, 81, 2, 2, 1188, 1189, 7, 87, 2, 2, 1189, 1190, 7, 84, 2, 2, 1190, 148, 3, 2, 2, 2, 1191, 1192, 7, 70, 2, 2, 1192, 1193, 7, 67, 2, 2, 1193, 1194, 7, 91, 2, 2, 1194, 150, 3, 2, 2, 2, 1195, 1196, 7, 89, 2, 2, 1196, 1197, 7, 71, 2, 2, 1197, 1198, 7, 71, 2, 2, 1198, 1199, 7, 77, 2, 2, 1199, 152, 3, 2, 2, 2, 1200, 1201, 7, 79, 2, 2, 1201, 1202, 7, 81, 2, 2, 1202, 1203, 7, 80, 2, 2, 1203, 1204, 7, 86, 2, 2, 1204, 1205, 7, 74, 2, 2, 1205, 154, 3, 2, 2, 2, 1206, 1207, 7, 83, 2, 2, 1207, 1208, 7, 87, 2, 2, 1208, 1209, 7, 67, 2, 2, 1209, 1210, 7, 84, 2, 2, 1210, 1211, 7, 86, 2, 2, 1211, 1212, 7, 71, 2, 2, 1212, 1213, 7, 84, 2, 2, 1213, 156, 3, 2, 2, 2, 1214, 1215, 7, 91, 2, 2, 1215, 1216, 7, 71, 2, 2, 1216, 1217, 7, 67, 2, 2, 1217, 1218, 7, 84, 2, 2, 1218, 158, 3, 2, 2, 2, 1219, 1220, 7, 85, 2, 2, 1220, 1221, 7, 71, 2, 2, 1221, 1222, 7, 69, 2, 2, 1222, 1223, 7, 81, 2, 2, 1223, 1224, 7, 80, 2, 2, 1224, 1225, 7, 70, 2, 2, 1225, 1226, 7, 97, 2, 2, 1226, 1227, 7, 79, 2, 2, 1227, 1228, 7, 75, 2, 2, 1228, 1229, 7, 69, 2, 2, 1229, 1230, 7, 84, 2, 2, 1230, 1231, 7, 81, 2, 2, 1231, 1232, 7, 85, 2, 2, 1232, 1233, 7, 71, 2, 2, 1233, 1234, 7, 69, 2, 2, 1234, 1235, 7, 81, 2, 2, 1235, 1236, 7, 80, 2, 2, 1236, 1237, 7, 70, 2, 2, 1237, 160, 3, 2, 2, 2, 1238, 1239, 7, 79, 2, 2, 1239, 1240, 7, 75, 2, 2, 1240, 1241, 7, 80, 2, 2, 1241, 1242, 7, 87, 2, 2, 1242, 1243, 7, 86, 2, 2, 1243, 1244, 7, 71, 2, 2, 1244, 1245, 7, 97, 2, 2, 1245, 1246, 7, 79, 2, 2, 1246, 1247, 7, 75, 2, 2, 1247, 1248, 7, 69, 2, 2, 1248, 1249, 7, 84, 2, 2, 1249, 1250, 7, 81, 2, 2, 1250, 1251, 7, 85, 2, 2, 1251, 1252, 7, 71, 2, 2, 1252, 1253, 7, 69, 2, 2, 1253, 1254, 7, 81, 2, 2, 1254, 1255, 7, 80, 2, 2, 1255, 1256, 7, 70, 2, 2, 1256, 162, 3, 2, 2, 2, 1257, 1258, 7, 79, 2, 2, 1258, 1259, 7, 75, 2, 2, 1259, 1260, 7, 80, 2, 2, 1260, 1261, 7, 87, 2, 2, 1261, 1262, 7, 86, 2, 2, 1262, 1263, 7, 71, 2, 2, 1263, 1264, 7, 97, 2, 2, 1264, 1265, 7, 85, 2, 2, 1265, 1266, 7, 71, 2, 2, 1266, 1267, 7, 69, 2, 2, 1267, 1268, 7, 81, 2, 2, 1268, 1269, 7, 80, 2, 2, 1269, 1270, 7, 70, 2, 2, 1270, 164, 3, 2, 2, 2, 1271, 1272, 7, 74, 2, 2, 1272, 1273, 7, 81, 2, 2, 1273, 1274, 7, 87, 2, 2, 1274, 1275, 7, 84, 2, 2, 1275, 1276, 7, 97, 2, 2, 1276, 1277, 7, 79, 2, 2, 1277, 1278, 7, 75, 2, 2, 1278, 1279, 7, 69, 2, 2, 1279, 1280, 7, 84, 2, 2, 1280, 1281, 7, 81, 2, 2, 1281, 1282, 7, 85, 2, 2, 1282, 1283, 7, 71, 2, 2, 1283, 1284, 7, 69, 2, 2, 1284, 1285, 7, 81, 2, 2, 1285, 1286, 7, 80, 2, 2, 1286, 1287, 7, 70, 2, 2, 1287, 166, 3, 2, 2, 2, 1288, 1289, 7, 74, 2, 2, 1289, 1290, 7, 81, 2, 2, 1290, 1291, 7, 87, 2, 2, 1291, 1292, 7, 84, 2, 2, 1292, 1293, 7, 97, 2, 2, 1293, 1294, 7, 85, 2, 2, 1294, 1295, 7, 71, 2, 2, 1295, 1296, 7, 69, 2, 2, 1296, 1297, 7, 81, 2, 2, 1297, 1298, 7, 80, 2, 2, 1298, 1299, 7, 70, 2, 2, 1299, 168, 3, 2, 2, 2, 1300, 1301, 7, 74, 2, 2, 1301, 1302, 7, 81, 2, 2, 1302, 1303, 7, 87, 2, 2, 1303, 1304, 7, 84, 2, 2, 1304, 1305, 7, 97, 2, 2, 1305, 1306, 7, 79, 2, 2, 1306, 1307, 7, 75, 2, 2, 1307, 1308, 7, 80, 2, 2, 1308, 1309, 7, 87, 2, 2, 1309, 1310, 7, 86, 2, 2, 1310, 1311, 7, 71, 2, 2, 1311, 170, 3, 2, 2, 2, 1312, 1313, 7, 70, 2, 2, 1313, 1314, 7, 67, 2, 2, 1314, 1315, 7, 91, 2, 2, 1315, 1316, 7, 97, 2, 2, 1316, 1317, 7, 79, 2, 2, 1317, 1318, 7, 75, 2, 2, 1318, 1319, 7, 69, 2, 2, 1319, 1320, 7, 84, 2, 2, 1320, 1321, 7, 81, 2, 2, 1321, 1322, 7, 85, 2, 2, 1322, 1323, 7, 71, 2, 2, 1323, 1324, 7, 69, 2, 2, 1324, 1325, 7, 81, 2, 2, 1325, 1326, 7, 80, 2, 2, 1326, 1327, 7, 70, 2, 2, 1327, 172, 3, 2, 2, 2, 1328, 1329, 7, 70, 2, 2, 1329, 1330, 7, 67, 2, 2, 1330, 1331, 7, 91, 2, 2, 1331, 1332, 7, 97, 2, 2, 1332, 1333, 7, 85, 2, 2, 1333, 1334, 7, 71, 2, 2, 1334, 1335, 7, 69, 2, 2, 1335, 1336, 7, 81, 2, 2, 1336, 1337, 7, 80, 2, 2, 1337, 1338, 7, 70, 2, 2, 1338, 174, 3, 2, 2, 2, 1339, 1340, 7, 70, 2, 2, 1340, 1341, 7, 67, 2, 2, 1341, 1342, 7, 91, 2, 2, 1342, 1343, 7, 97, 2, 2, 1343, 1344, 7, 79, 2, 2, 1344, 1345, 7, 75, 2, 2, 1345, 1346, 7, 80, 2, 2, 1346, 1347, 7, 87, 2, 2, 1347, 1348, 7, 86, 2, 2, 1348, 1349, 7, 71, 2, 2, 1349, 176, 3, 2, 2, 2, 1350, 1351, 7, 70, 2, 2, 1351, 1352, 7, 67, 2, 2, 1352, 1353, 7, 91, 2, 2, 1353, 1354, 7, 97, 2, 2, 1354, 1355, 7, 74, 2, 2, 1355, 1356, 7, 81, 2, 2, 1356, 1357, 7, 87, 2, 2, 1357, 1358, 7, 84, 2, 2, 1358, 178, 3, 2, 2, 2, 1359, 1360, 7, 91, 2, 2, 1360, 1361, 7, 71, 2, 2, 1361, 1362, 7, 67, 2, 2, 1362, 1363, 7, 84, 2, 2, 1363, 1364, 7, 97, 2, 2, 1364, 1365, 7, 79, 2, 2, 1365, 1366, 7, 81, 2, 2, 1366, 1367, 7, 80, 2, 2, 1367, 1368, 7, 86, 2, 2, 1368, 1369, 7, 74, 2, 2, 1369, 180, 3, 2, 2, 2, 1370, 1371, 7, 69, 2, 2, 1371, 1372, 7, 81, 2, 2, 1372, 1373, 7, 80, 2, 2, 1373, 1374, 7, 88, 2, 2, 1374, 1375, 7, 71, 2, 2, 1375, 1376, 7, 84, 2, 2, 1376, 1377, 7, 86, 2, 2, 1377, 1378, 7, 97, 2, 2, 1378, 1379, 7, 86, 2, 2, 1379, 1380, 7, 92, 2, 2, 1380, 182, 3, 2, 2, 2, 1381, 1382, 7, 70, 2, 2, 1382, 1383, 7, 67, 2, 2, 1383, 1384, 7, 86, 2, 2, 1384, 1385, 7, 67, 2, 2, 1385, 1386, 7, 79, 2, 2, 1386, 1387, 7, 81, 2, 2, 1387, 1388, 7, 70, 2, 2, 1388, 1389, 7, 71, 2, 2, 1389, 1390, 7, 78, 2, 2, 1390, 184, 3, 2, 2, 2, 1391, 1392, 7, 78, 2, 2, 1392, 1393, 7, 81, 2, 2, 1393, 1394, 7, 81, 2, 2, 1394, 1395, 7, 77, 2, 2, 1395, 1396, 7, 87, 2, 2, 1396, 1397, 7, 82, 2, 2, 1397, 186, 3, 2, 2, 2, 1398, 1399, 7, 85, 2, 2, 1399, 1400, 7, 67, 2, 2, 1400, 1401, 7, 88, 2, 2, 1401, 1402, 7, 71, 2, 2, 1402, 1403, 7, 70, 2, 2, 1403, 1404, 7, 85, 2, 2, 1404, 1405, 7, 71, 2, 2, 1405, 1406, 7, 67, 2, 2, 1406, 1407, 7, 84, 2, 2, 1407, 1408, 7, 69, 2, 2, 1408, 1409, 7, 74, 2, 2, 1409, 188, 3, 2, 2, 2, 1410, 1411, 7, 75, 2, 2, 1411, 1412, 7, 80, 2, 2, 1412, 1413, 7, 86, 2, 2, 1413, 190, 3, 2, 2, 2, 1414, 1415, 7, 75, 2, 2, 1415, 1416, 7, 80, 2, 2, 1416, 1417, 7, 86, 2, 2, 1417, 1418, 7, 71, 2, 2, 1418, 1419, 7, 73, 2, 2, 1419, 1420, 7, 71, 2, 2, 1420, 1421, 7, 84, 2, 2, 1421, 192, 3, 2, 2, 2, 1422, 1423, 7, 70, 2, 2, 1423, 1424, 7, 81, 2, 2, 1424, 1425, 7, 87, 2, 2, 1425, 1426, 7, 68, 2, 2, 1426, 1427, 7, 78, 2, 2, 1427, 1428, 7, 71, 2, 2, 1428, 194, 3, 2, 2, 2, 1429, 1430, 7, 78, 2, 2, 1430, 1431, 7, 81, 2, 2, 1431, 1432, 7, 80, 2, 2, 1432, 1433, 7, 73, 2, 2, 1433, 196, 3, 2, 2, 2, 1434, 1435, 7, 72, 2, 2, 1435, 1436, 7, 78, 2, 2, 1436, 1437, 7, 81, 2, 2, 1437, 1438, 7, 67, 2, 2, 1438, 1439, 7, 86, 2, 2, 1439, 198, 3, 2, 2, 2, 1440, 1441, 7, 85, 2, 2, 1441, 1442, 7, 86, 2, 2, 1442, 1443, 7, 84, 2, 2, 1443, 1444, 7, 75, 2, 2, 1444, 1445, 7, 80, 2, 2, 1445, 1446, 7, 73, 2, 2, 1446, 200, 3, 2, 2, 2, 1447, 1448, 7, 68, 2, 2, 1448, 1449, 7, 81, 2, 2, 1449, 1450, 7, 81, 2, 2, 1450, 1451, 7, 78, 2, 2, 1451, 1452, 7, 71, 2, 2, 1452, 1453, 7, 67, 2, 2, 1453, 1454, 7, 80, 2, 2, 1454, 202, 3, 2, 2, 2, 1455, 1456, 7, 126, 2, 2, 1456, 204, 3, 2, 2, 2, 1457, 1458, 7, 46, 2, 2, 1458, 206, 3, 2, 2, 2, 1459, 1460, 7, 48, 2, 2, 1460, 208, 3, 2, 2, 2, 1461, 1462, 7, 63, 2, 2, 1462, 210, 3, 2, 2, 2, 1463, 1464, 7, 64, 2, 2, 1464, 212, 3, 2, 2, 2, 1465, 1466, 7, 62, 2, 2, 1466, 214, 3, 2, 2, 2, 1467, 1468, 7, 62, 2, 2, 1468, 1469, 7, 63, 2, 2, 1469, 216, 3, 2, 2, 2, 1470, 1471, 7, 64, 2, 2, 1471, 1472, 7, 63, 2, 2, 1472, 218, 3, 2, 2, 2, 1473, 1474, 7, 35, 2, 2, 1474, 1475, 7, 63, 2, 2, 1475, 220, 3, 2, 2, 2, 1476, 1477, 7, 45, 2, 2, 1477, 222, 3, 2, 2, 2, 1478, 1479, 7, 47, 2, 2, 1479, 224, 3, 2, 2, 2, 1480, 1481, 7, 44, 2, 2, 1481, 226, 3, 2, 2, 2, 1482, 1483, 7, 49, 2, 2, 1483, 228, 3, 2, 2, 2, 1484, 1485, 7, 39, 2, 2, 1485, 230, 3, 2, 2, 2, 1486, 1487, 7, 35, 2, 2, 1487, 232, 3, 2, 2, 2, 1488, 1489, 7, 60, 2, 2, 1489, 234, 3, 2, 2, 2, 1490, 1491, 7, 42, 2, 2, 1491, 236, 3, 2, 2, 2, 1492, 1493, 7, 43, 2, 2, 1493, 238, 3, 2, 2, 2, 1494, 1495, 7, 93, 2, 2, 1495, 240, 3, 2, 2, 2, 1496, 1497, 7, 95, 2, 2, 1497, 242, 3, 2, 2, 2, 1498, 1499, 7, 41, 2, 2, 1499, 244, 3, 2, 2, 2, 1500, 1501, 7, 36, 2, 2, 1501, 246, 3, 2, 2, 2, 1502, 1503, 7, 98, 2, 2, 1503, 248, 3, 2, 2, 2, 1504, 1505, 7, 128, 2, 2, 1505, 250, 3, 2, 2, 2, 1506, 1507, 7, 40, 2, 2, 1507, 252, 3, 2, 2, 2, 1508, 1509, 7, 96, 2, 2, 1509, 254, 3, 2, 2, 2, 1510, 1511, 7, 67, 2, 2, 1511, 1512, 7, 88, 2, 2, 1512, 1513, 7, 73, 2, 2, 1513, 256, 3, 2, 2, 2, 1514, 1515, 7, 69, 2, 2, 1515, 1516, 7, 81, 2, 2, 1516, 1517, 7, 87, 2, 2, 1517, 1518, 7, 80, 2, 2, 1518, 1519, 7, 86, 2, 2, 1519, 258, 3, 2, 2, 2, 1520, 1521, 7, 70, 2, 2, 1521, 1522, 7, 75, 2, 2, 1522, 1523, 7, 85, 2, 2, 1523, 1524, 7, 86, 2, 2, 1524, 1525, 7, 75, 2, 2, 1525, 1526, 7, 80, 2, 2, 1526, 1527, 7, 69, 2, 2, 1527, 1528, 7, 86, 2, 2, 1528, 1529, 7, 97, 2, 2, 1529, 1530, 7, 69, 2, 2, 1530, 1531, 7, 81, 2, 2, 1531, 1532, 7, 87, 2, 2, 1532, 1533, 7, 80, 2, 2, 1533, 1534, 7, 86, 2, 2, 1534, 260, 3, 2, 2, 2, 1535, 1536, 7, 71, 2, 2, 1536, 1537, 7, 85, 2, 2, 1537, 1538, 7, 86, 2, 2, 1538, 1539, 7, 70, 2, 2, 1539, 1540, 7, 69, 2, 2, 1540, 262, 3, 2, 2, 2, 1541, 1542, 7, 71, 2, 2, 1542, 1543, 7, 85, 2, 2, 1543, 1544, 7, 86, 2, 2, 1544, 1545, 7, 70, 2, 2, 1545, 1546, 7, 69, 2, 2, 1546, 1547, 7, 97, 2, 2, 1547, 1548, 7, 71, 2, 2, 1548, 1549, 7, 84, 2, 2, 1549, 1550, 7, 84, 2, 2, 1550, 1551, 7, 81, 2, 2, 1551, 1552, 7, 84, 2, 2, 1552, 264, 3, 2, 2, 2, 1553, 1554, 7, 79, 2, 2, 1554, 1555, 7, 67, 2, 2, 1555, 1556, 7, 90, 2, 2, 1556, 266, 3, 2, 2, 2, 1557, 1558, 7, 79, 2, 2, 1558, 1559, 7, 71, 2, 2, 1559, 1560, 7, 67, 2, 2, 1560, 1561, 7, 80, 2, 2, 1561, 268, 3, 2, 2, 2, 1562, 1563, 7, 79, 2, 2, 1563, 1564, 7, 71, 2, 2, 1564, 1565, 7, 70, 2, 2, 1565, 1566, 7, 75, 2, 2, 1566, 1567, 7, 67, 2, 2, 1567, 1568, 7, 80, 2, 2, 1568, 270, 3, 2, 2, 2, 1569, 1570, 7, 79, 2, 2, 1570, 1571, 7, 75, 2, 2, 1571, 1572, 7, 80, 2, 2, 1572, 272, 3, 2, 2, 2, 1573, 1574, 7, 79, 2, 2, 1574, 1575, 7, 81, 2, 2, 1575, 1576, 7, 70, 2, 2, 1576, 1577, 7, 71, 2, 2, 1577, 274, 3, 2, 2, 2, 1578, 1579, 7, 84, 2, 2, 1579, 1580, 7, 67, 2, 2, 1580, 1581, 7, 80, 2, 2, 1581, 1582, 7, 73, 2, 2, 1582, 1583, 7, 71, 2, 2, 1583, 276, 3, 2, 2, 2, 1584, 1585, 7, 85, 2, 2, 1585, 1586, 7, 86, 2, 2, 1586, 1587, 7, 70, 2, 2, 1587, 1588, 7, 71, 2, 2, 1588, 1589, 7, 88, 2, 2, 1589, 278, 3, 2, 2, 2, 1590, 1591, 7, 85, 2, 2, 1591, 1592, 7, 86, 2, 2, 1592, 1593, 7, 70, 2, 2, 1593, 1594, 7, 71, 2, 2, 1594, 1595, 7, 88, 2, 2, 1595, 1596, 7, 82, 2, 2, 1596, 280, 3, 2, 2, 2, 1597, 1598, 7, 85, 2, 2, 1598, 1599, 7, 87, 2, 2, 1599, 1600, 7, 79, 2, 2, 1600, 282, 3, 2, 2, 2, 1601, 1602, 7, 85, 2, 2, 1602, 1603, 7, 87, 2, 2, 1603, 1604, 7, 79, 2, 2, 1604, 1605, 7, 85, 2, 2, 1605, 1606, 7, 83, 2, 2, 1606, 284, 3, 2, 2, 2, 1607, 1608, 7, 88, 2, 2, 1608, 1609, 7, 67, 2, 2, 1609, 1610, 7, 84, 2, 2, 1610, 1611, 7, 97, 2, 2, 1611, 1612, 7, 85, 2, 2, 1612, 1613, 7, 67, 2, 2, 1613, 1614, 7, 79, 2, 2, 1614, 1615, 7, 82, 2, 2, 1615, 286, 3, 2, 2, 2, 1616, 1617, 7, 88, 2, 2, 1617, 1618, 7, 67, 2, 2, 1618, 1619, 7, 84, 2, 2, 1619, 1620, 7, 97, 2, 2, 1620, 1621, 7, 82, 2, 2, 1621, 1622, 7, 81, 2, 2, 1622, 1623, 7, 82, 2, 2, 1623, 288, 3, 2, 2, 2, 1624, 1625, 7, 85, 2, 2, 1625, 1626, 7, 86, 2, 2, 1626, 1627, 7, 70, 2, 2, 1627, 1628, 7, 70, 2, 2, 1628, 1629, 7, 71, 2, 2, 1629, 1630, 7, 88, 2, 2, 1630, 1631, 7, 97, 2, 2, 1631, 1632, 7, 85, 2, 2, 1632, 1633, 7, 67, 2, 2, 1633, 1634, 7, 79, 2, 2, 1634, 1635, 7, 82, 2, 2, 1635, 290, 3, 2, 2, 2, 1636, 1637, 7, 85, 2, 2, 1637, 1638, 7, 86, 2, 2, 1638, 1639, 7, 70, 2, 2, 1639, 1640, 7, 70, 2, 2, 1640, 1641, 7, 71, 2, 2, 1641, 1642, 7, 88, 2, 2, 1642, 1643, 7, 97, 2, 2, 1643, 1644, 7, 82, 2, 2, 1644, 1645, 7, 81, 2, 2, 1645, 1646, 7, 82, 2, 2, 1646, 292, 3, 2, 2, 2, 1647, 1648, 7, 82, 2, 2, 1648, 1649, 7, 71, 2, 2, 1649, 1650, 7, 84, 2, 2, 1650, 1651, 7, 69, 2, 2, 1651, 1652, 7, 71, 2, 2, 1652, 1653, 7, 80, 2, 2, 1653, 1654, 7, 86, 2, 2, 1654, 1655, 7, 75, 2, 2, 1655, 1656, 7, 78, 2, 2, 1656, 1657, 7, 71, 2, 2, 1657, 294, 3, 2, 2, 2, 1658, 1659, 7, 86, 2, 2, 1659, 1660, 7, 67, 2, 2, 1660, 1661, 7, 77, 2, 2, 1661, 1662, 7, 71, 2, 2, 1662, 296, 3, 2, 2, 2, 1663, 1664, 7, 72, 2, 2, 1664, 1665, 7, 75, 2, 2, 1665, 1666, 7, 84, 2, 2, 1666, 1667, 7, 85, 2, 2, 1667, 1668, 7, 86, 2, 2, 1668, 298, 3, 2, 2, 2, 1669, 1670, 7, 78, 2, 2, 1670, 1671, 7, 67, 2, 2, 1671, 1672, 7, 85, 2, 2, 1672, 1673, 7, 86, 2, 2, 1673, 300, 3, 2, 2, 2, 1674, 1675, 7, 78, 2, 2, 1675, 1676, 7, 75, 2, 2, 1676, 1677, 7, 85, 2, 2, 1677, 1678, 7, 86, 2, 2, 1678, 302, 3, 2, 2, 2, 1679, 1680, 7, 88, 2, 2, 1680, 1681, 7, 67, 2, 2, 1681, 1682, 7, 78, 2, 2, 1682, 1683, 7, 87, 2, 2, 1683, 1684, 7, 71, 2, 2, 1684, 1685, 7, 85, 2, 2, 1685, 304, 3, 2, 2, 2, 1686, 1687, 7, 71, 2, 2, 1687, 1688, 7, 67, 2, 2, 1688, 1689, 7, 84, 2, 2, 1689, 1690, 7, 78, 2, 2, 1690, 1691, 7, 75, 2, 2, 1691, 1692, 7, 71, 2, 2, 1692, 1693, 7, 85, 2, 2, 1693, 1694, 7, 86, 2, 2, 1694, 306, 3, 2, 2, 2, 1695, 1696, 7, 71, 2, 2, 1696, 1697, 7, 67, 2, 2, 1697, 1698, 7, 84, 2, 2, 1698, 1699, 7, 78, 2, 2, 1699, 1700, 7, 75, 2, 2, 1700, 1701, 7, 71, 2, 2, 1701, 1702, 7, 85, 2, 2, 1702, 1703, 7, 86, 2, 2, 1703, 1704, 7, 97, 2, 2, 1704, 1705, 7, 86, 2, 2, 1705, 1706, 7, 75, 2, 2, 1706, 1707, 7, 79, 2, 2, 1707, 1708, 7, 71, 2, 2, 1708, 308, 3, 2, 2, 2, 1709, 1710, 7, 78, 2, 2, 1710, 1711, 7, 67, 2, 2, 1711, 1712, 7, 86, 2, 2, 1712, 1713, 7, 71, 2, 2, 1713, 1714, 7, 85, 2, 2, 1714, 1715, 7, 86, 2, 2, 1715, 310, 3, 2, 2, 2, 1716, 1717, 7, 78, 2, 2, 1717, 1718, 7, 67, 2, 2, 1718, 1719, 7, 86, 2, 2, 1719, 1720, 7, 71, 2, 2, 1720, 1721, 7, 85, 2, 2, 1721, 1722, 7, 86, 2, 2, 1722, 1723, 7, 97, 2, 2, 1723, 1724, 7, 86, 2, 2, 1724, 1725, 7, 75, 2, 2, 1725, 1726, 7, 79, 2, 2, 1726, 1727, 7, 71, 2, 2, 1727, 312, 3, 2, 2, 2, 1728, 1729, 7, 82, 2, 2, 1729, 1730, 7, 71, 2, 2, 1730, 1731, 7, 84, 2, 2, 1731, 1732, 7, 97, 2, 2, 1732, 1733, 7, 70, 2, 2, 1733, 1734, 7, 67, 2, 2, 1734, 1735, 7, 91, 2, 2, 1735, 314, 3, 2, 2, 2, 1736, 1737, 7, 82, 2, 2, 1737, 1738, 7, 71, 2, 2, 1738, 1739, 7, 84, 2, 2, 1739, 1740, 7, 97, 2, 2, 1740, 1741, 7, 74, 2, 2, 1741, 1742, 7, 81, 2, 2, 1742, 1743, 7, 87, 2, 2, 1743, 1744, 7, 84, 2, 2, 1744, 316, 3, 2, 2, 2, 1745, 1746, 7, 82, 2, 2, 1746, 1747, 7, 71, 2, 2, 1747, 1748, 7, 84, 2, 2, 1748, 1749, 7, 97, 2, 2, 1749, 1750, 7, 79, 2, 2, 1750, 1751, 7, 75, 2, 2, 1751, 1752, 7, 80, 2, 2, 1752, 1753, 7, 87, 2, 2, 1753, 1754, 7, 86, 2, 2, 1754, 1755, 7, 71, 2, 2, 1755, 318, 3, 2, 2, 2, 1756, 1757, 7, 82, 2, 2, 1757, 1758, 7, 71, 2, 2, 1758, 1759, 7, 84, 2, 2, 1759, 1760, 7, 97, 2, 2, 1760, 1761, 7, 85, 2, 2, 1761, 1762, 7, 71, 2, 2, 1762, 1763, 7, 69, 2, 2, 1763, 1764, 7, 81, 2, 2, 1764, 1765, 7, 80, 2, 2, 1765, 1766, 7, 70, 2, 2, 1766, 320, 3, 2, 2, 2, 1767, 1768, 7, 84, 2, 2, 1768, 1769, 7, 67, 2, 2, 1769, 1770, 7, 86, 2, 2, 1770, 1771, 7, 71, 2, 2, 1771, 322, 3, 2, 2, 2, 1772, 1773, 7, 85, 2, 2, 1773, 1774, 7, 82, 2, 2, 1774, 1775, 7, 67, 2, 2, 1775, 1776, 7, 84, 2, 2, 1776, 1777, 7, 77, 2, 2, 1777, 1778, 7, 78, 2, 2, 1778, 1779, 7, 75, 2, 2, 1779, 1780, 7, 80, 2, 2, 1780, 1781, 7, 71, 2, 2, 1781, 324, 3, 2, 2, 2, 1782, 1783, 7, 69, 2, 2, 1783, 326, 3, 2, 2, 2, 1784, 1785, 7, 70, 2, 2, 1785, 1786, 7, 69, 2, 2, 1786, 328, 3, 2, 2, 2, 1787, 1788, 7, 67, 2, 2, 1788, 1789, 7, 68, 2, 2, 1789, 1790, 7, 85, 2, 2, 1790, 330, 3, 2, 2, 2, 1791, 1792, 7, 69, 2, 2, 1792, 1793, 7, 71, 2, 2, 1793, 1794, 7, 75, 2, 2, 1794, 1795, 7, 78, 2, 2, 1795, 332, 3, 2, 2, 2, 1796, 1797, 7, 69, 2, 2, 1797, 1798, 7, 71, 2, 2, 1798, 1799, 7, 75, 2, 2, 1799, 1800, 7, 78, 2, 2, 1800, 1801, 7, 75, 2, 2, 1801, 1802, 7, 80, 2, 2, 1802, 1803, 7, 73, 2, 2, 1803, 334, 3, 2, 2, 2, 1804, 1805, 7, 69, 2, 2, 1805, 1806, 7, 81, 2, 2, 1806, 1807, 7, 80, 2, 2, 1807, 1808, 7, 88, 2, 2, 1808, 336, 3, 2, 2, 2, 1809, 1810, 7, 69, 2, 2, 1810, 1811, 7, 84, 2, 2, 1811, 1812, 7, 69, 2, 2, 1812, 1813, 7, 53, 2, 2, 1813, 1814, 7, 52, 2, 2, 1814, 338, 3, 2, 2, 2, 1815, 1816, 7, 71, 2, 2, 1816, 340, 3, 2, 2, 2, 1817, 1818, 7, 71, 2, 2, 1818, 1819, 7, 90, 2, 2, 1819, 1820, 7, 82, 2, 2, 1820, 342, 3, 2, 2, 2, 1821, 1822, 7, 72, 2, 2, 1822, 1823, 7, 78, 2, 2, 1823, 1824, 7, 81, 2, 2, 1824, 1825, 7, 81, 2, 2, 1825, 1826, 7, 84, 2, 2, 1826, 344, 3, 2, 2, 2, 1827, 1828, 7, 78, 2, 2, 1828, 1829, 7, 80, 2, 2, 1829, 346, 3, 2, 2, 2, 1830, 1831, 7, 78, 2, 2, 1831, 1832, 7, 81, 2, 2, 1832, 1833, 7, 73, 2, 2, 1833, 348, 3, 2, 2, 2, 1834, 1835, 7, 78, 2, 2, 1835, 1836, 7, 81, 2, 2, 1836, 1837, 7, 73, 2, 2, 1837, 1838, 7, 51, 2, 2, 1838, 1839, 7, 50, 2, 2, 1839, 350, 3, 2, 2, 2, 1840, 1841, 7, 78, 2, 2, 1841, 1842, 7, 81, 2, 2, 1842, 1843, 7, 73, 2, 2, 1843, 1844, 7, 52, 2, 2, 1844, 352, 3, 2, 2, 2, 1845, 1846, 7, 79, 2, 2, 1846, 1847, 7, 81, 2, 2, 1847, 1848, 7, 70, 2, 2, 1848, 354, 3, 2, 2, 2, 1849, 1850, 7, 82, 2, 2, 1850, 1851, 7, 75, 2, 2, 1851, 356, 3, 2, 2, 2, 1852, 1853, 7, 82, 2, 2, 1853, 1854, 7, 81, 2, 2, 1854, 1855, 7, 89, 2, 2, 1855, 358, 3, 2, 2, 2, 1856, 1857, 7, 82, 2, 2, 1857, 1858, 7, 81, 2, 2, 1858, 1859, 7, 89, 2, 2, 1859, 1860, 7, 71, 2, 2, 1860, 1861, 7, 84, 2, 2, 1861, 360, 3, 2, 2, 2, 1862, 1863, 7, 84, 2, 2, 1863, 1864, 7, 67, 2, 2, 1864, 1865, 7, 80, 2, 2, 1865, 1866, 7, 70, 2, 2, 1866, 362, 3, 2, 2, 2, 1867, 1868, 7, 84, 2, 2, 1868, 1869, 7, 81, 2, 2, 1869, 1870, 7, 87, 2, 2, 1870, 1871, 7, 80, 2, 2, 1871, 1872, 7, 70, 2, 2, 1872, 364, 3, 2, 2, 2, 1873, 1874, 7, 85, 2, 2, 1874, 1875, 7, 75, 2, 2, 1875, 1876, 7, 73, 2, 2, 1876, 1877, 7, 80, 2, 2, 1877, 366, 3, 2, 2, 2, 1878, 1879, 7, 85, 2, 2, 1879, 1880, 7, 83, 2, 2, 1880, 1881, 7, 84, 2, 2, 1881, 1882, 7, 86, 2, 2, 1882, 368, 3, 2, 2, 2, 1883, 1884, 7, 86, 2, 2, 1884, 1885, 7, 84, 2, 2, 1885, 1886, 7, 87, 2, 2, 1886, 1887, 7, 80, 2, 2, 1887, 1888, 7, 69, 2, 2, 1888, 1889, 7, 67, 2, 2, 1889, 1890, 7, 86, 2, 2, 1890, 1891, 7, 71, 2, 2, 1891, 370, 3, 2, 2, 2, 1892, 1893, 7, 67, 2, 2, 1893, 1894, 7, 69, 2, 2, 1894, 1895, 7, 81, 2, 2, 1895, 1896, 7, 85, 2, 2, 1896, 372, 3, 2, 2, 2, 1897, 1898, 7, 67, 2, 2, 1898, 1899, 7, 85, 2, 2, 1899, 1900, 7, 75, 2, 2, 1900, 1901, 7, 80, 2, 2, 1901, 374, 3, 2, 2, 2, 1902, 1903, 7, 67, 2, 2, 1903, 1904, 7, 86, 2, 2, 1904, 1905, 7, 67, 2, 2, 1905, 1906, 7, 80, 2, 2, 1906, 376, 3, 2, 2, 2, 1907, 1908, 7, 67, 2, 2, 1908, 1909, 7, 86, 2, 2, 1909, 1910, 7, 67, 2, 2, 1910, 1911, 7, 80, 2, 2, 1911, 1912, 7, 52, 2, 2, 1912, 378, 3, 2, 2, 2, 1913, 1914, 7, 69, 2, 2, 1914, 1915, 7, 81, 2, 2, 1915, 1916, 7, 85, 2, 2, 1916, 380, 3, 2, 2, 2, 1917, 1918, 7, 69, 2, 2, 1918, 1919, 7, 81, 2, 2, 1919, 1920, 7, 86, 2, 2, 1920, 382, 3, 2, 2, 2, 1921, 1922, 7, 70, 2, 2, 1922, 1923, 7, 71, 2, 2, 1923, 1924, 7, 73, 2, 2, 1924, 1925, 7, 84, 2, 2, 1925, 1926, 7, 71, 2, 2, 1926, 1927, 7, 71, 2, 2, 1927, 1928, 7, 85, 2, 2, 1928, 384, 3, 2, 2, 2, 1929, 1930, 7, 84, 2, 2, 1930, 1931, 7, 67, 2, 2, 1931, 1932, 7, 70, 2, 2, 1932, 1933, 7, 75, 2, 2, 1933, 1934, 7, 67, 2, 2, 1934, 1935, 7, 80, 2, 2, 1935, 1936, 7, 85, 2, 2, 1936, 386, 3, 2, 2, 2, 1937, 1938, 7, 85, 2, 2, 1938, 1939, 7, 75, 2, 2, 1939, 1940, 7, 80, 2, 2, 1940, 388, 3, 2, 2, 2, 1941, 1942, 7, 86, 2, 2, 1942, 1943, 7, 67, 2, 2, 1943, 1944, 7, 80, 2, 2, 1944, 390, 3, 2, 2, 2, 1945, 1946, 7, 67, 2, 2, 1946, 1947, 7, 70, 2, 2, 1947, 1948, 7, 70, 2, 2, 1948, 1949, 7, 70, 2, 2, 1949, 1950, 7, 67, 2, 2, 1950, 1951, 7, 86, 2, 2, 1951, 1952, 7, 71, 2, 2, 1952, 392, 3, 2, 2, 2, 1953, 1954, 7, 69, 2, 2, 1954, 1955, 7, 87, 2, 2, 1955, 1956, 7, 84, 2, 2, 1956, 1957, 7, 70, 2, 2, 1957, 1958, 7, 67, 2, 2, 1958, 1959, 7, 86, 2, 2, 1959, 1960, 7, 71, 2, 2, 1960, 394, 3, 2, 2, 2, 1961, 1962, 7, 69, 2, 2, 1962, 1963, 7, 87, 2, 2, 1963, 1964, 7, 84, 2, 2, 1964, 1965, 7, 84, 2, 2, 1965, 1966, 7, 71, 2, 2, 1966, 1967, 7, 80, 2, 2, 1967, 1968, 7, 86, 2, 2, 1968, 1969, 7, 97, 2, 2, 1969, 1970, 7, 70, 2, 2, 1970, 1971, 7, 67, 2, 2, 1971, 1972, 7, 86, 2, 2, 1972, 1973, 7, 71, 2, 2, 1973, 396, 3, 2, 2, 2, 1974, 1975, 7, 69, 2, 2, 1975, 1976, 7, 87, 2, 2, 1976, 1977, 7, 84, 2, 2, 1977, 1978, 7, 84, 2, 2, 1978, 1979, 7, 71, 2, 2, 1979, 1980, 7, 80, 2, 2, 1980, 1981, 7, 86, 2, 2, 1981, 1982, 7, 97, 2, 2, 1982, 1983, 7, 86, 2, 2, 1983, 1984, 7, 75, 2, 2, 1984, 1985, 7, 79, 2, 2, 1985, 1986, 7, 71, 2, 2, 1986, 398, 3, 2, 2, 2, 1987, 1988, 7, 69, 2, 2, 1988, 1989, 7, 87, 2, 2, 1989, 1990, 7, 84, 2, 2, 1990, 1991, 7, 84, 2, 2, 1991, 1992, 7, 71, 2, 2, 1992, 1993, 7, 80, 2, 2, 1993, 1994, 7, 86, 2, 2, 1994, 1995, 7, 97, 2, 2, 1995, 1996, 7, 86, 2, 2, 1996, 1997, 7, 75, 2, 2, 1997, 1998, 7, 79, 2, 2, 1998, 1999, 7, 71, 2, 2, 1999, 2000, 7, 85, 2, 2, 2000, 2001, 7, 86, 2, 2, 2001, 2002, 7, 67, 2, 2, 2002, 2003, 7, 79, 2, 2, 2003, 2004, 7, 82, 2, 2, 2004, 400, 3, 2, 2, 2, 2005, 2006, 7, 69, 2, 2, 2006, 2007, 7, 87, 2, 2, 2007, 2008, 7, 84, 2, 2, 2008, 2009, 7, 86, 2, 2, 2009, 2010, 7, 75, 2, 2, 2010, 2011, 7, 79, 2, 2, 2011, 2012, 7, 71, 2, 2, 2012, 402, 3, 2, 2, 2, 2013, 2014, 7, 70, 2, 2, 2014, 2015, 7, 67, 2, 2, 2015, 2016, 7, 86, 2, 2, 2016, 2017, 7, 71, 2, 2, 2017, 404, 3, 2, 2, 2, 2018, 2019, 7, 70, 2, 2, 2019, 2020, 7, 67, 2, 2, 2020, 2021, 7, 86, 2, 2, 2021, 2022, 7, 71, 2, 2, 2022, 2023, 7, 97, 2, 2, 2023, 2024, 7, 67, 2, 2, 2024, 2025, 7, 70, 2, 2, 2025, 2026, 7, 70, 2, 2, 2026, 406, 3, 2, 2, 2, 2027, 2028, 7, 70, 2, 2, 2028, 2029, 7, 67, 2, 2, 2029, 2030, 7, 86, 2, 2, 2030, 2031, 7, 71, 2, 2, 2031, 2032, 7, 97, 2, 2, 2032, 2033, 7, 72, 2, 2, 2033, 2034, 7, 81, 2, 2, 2034, 2035, 7, 84, 2, 2, 2035, 2036, 7, 79, 2, 2, 2036, 2037, 7, 67, 2, 2, 2037, 2038, 7, 86, 2, 2, 2038, 408, 3, 2, 2, 2, 2039, 2040, 7, 70, 2, 2, 2040, 2041, 7, 67, 2, 2, 2041, 2042, 7, 86, 2, 2, 2042, 2043, 7, 71, 2, 2, 2043, 2044, 7, 97, 2, 2, 2044, 2045, 7, 85, 2, 2, 2045, 2046, 7, 87, 2, 2, 2046, 2047, 7, 68, 2, 2, 2047, 410, 3, 2, 2, 2, 2048, 2049, 7, 70, 2, 2, 2049, 2050, 7, 67, 2, 2, 2050, 2051, 7, 91, 2, 2, 2051, 2052, 7, 80, 2, 2, 2052, 2053, 7, 67, 2, 2, 2053, 2054, 7, 79, 2, 2, 2054, 2055, 7, 71, 2, 2, 2055, 412, 3, 2, 2, 2, 2056, 2057, 7, 70, 2, 2, 2057, 2058, 7, 67, 2, 2, 2058, 2059, 7, 91, 2, 2, 2059, 2060, 7, 81, 2, 2, 2060, 2061, 7, 72, 2, 2, 2061, 2062, 7, 79, 2, 2, 2062, 2063, 7, 81, 2, 2, 2063, 2064, 7, 80, 2, 2, 2064, 2065, 7, 86, 2, 2, 2065, 2066, 7, 74, 2, 2, 2066, 414, 3, 2, 2, 2, 2067, 2068, 7, 70, 2, 2, 2068, 2069, 7, 67, 2, 2, 2069, 2070, 7, 91, 2, 2, 2070, 2071, 7, 81, 2, 2, 2071, 2072, 7, 72, 2, 2, 2072, 2073, 7, 89, 2, 2, 2073, 2074, 7, 71, 2, 2, 2074, 2075, 7, 71, 2, 2, 2075, 2076, 7, 77, 2, 2, 2076, 416, 3, 2, 2, 2, 2077, 2078, 7, 70, 2, 2, 2078, 2079, 7, 67, 2, 2, 2079, 2080, 7, 91, 2, 2, 2080, 2081, 7, 81, 2, 2, 2081, 2082, 7, 72, 2, 2, 2082, 2083, 7, 91, 2, 2, 2083, 2084, 7, 71, 2, 2, 2084, 2085, 7, 67, 2, 2, 2085, 2086, 7, 84, 2, 2, 2086, 418, 3, 2, 2, 2, 2087, 2088, 7, 72, 2, 2, 2088, 2089, 7, 84, 2, 2, 2089, 2090, 7, 81, 2, 2, 2090, 2091, 7, 79, 2, 2, 2091, 2092, 7, 97, 2, 2, 2092, 2093, 7, 70, 2, 2, 2093, 2094, 7, 67, 2, 2, 2094, 2095, 7, 91, 2, 2, 2095, 2096, 7, 85, 2, 2, 2096, 420, 3, 2, 2, 2, 2097, 2098, 7, 78, 2, 2, 2098, 2099, 7, 81, 2, 2, 2099, 2100, 7, 69, 2, 2, 2100, 2101, 7, 67, 2, 2, 2101, 2102, 7, 78, 2, 2, 2102, 2103, 7, 86, 2, 2, 2103, 2104, 7, 75, 2, 2, 2104, 2105, 7, 79, 2, 2, 2105, 2106, 7, 71, 2, 2, 2106, 422, 3, 2, 2, 2, 2107, 2108, 7, 78, 2, 2, 2108, 2109, 7, 81, 2, 2, 2109, 2110, 7, 69, 2, 2, 2110, 2111, 7, 67, 2, 2, 2111, 2112, 7, 78, 2, 2, 2112, 2113, 7, 86, 2, 2, 2113, 2114, 7, 75, 2, 2, 2114, 2115, 7, 79, 2, 2, 2115, 2116, 7, 71, 2, 2, 2116, 2117, 7, 85, 2, 2, 2117, 2118, 7, 86, 2, 2, 2118, 2119, 7, 67, 2, 2, 2119, 2120, 7, 79, 2, 2, 2120, 2121, 7, 82, 2, 2, 2121, 424, 3, 2, 2, 2, 2122, 2123, 7, 72, 2, 2, 2123, 2124, 7, 84, 2, 2, 2124, 2125, 7, 81, 2, 2, 2125, 2126, 7, 79, 2, 2, 2126, 2127, 7, 97, 2, 2, 2127, 2128, 7, 87, 2, 2, 2128, 2129, 7, 80, 2, 2, 2129, 2130, 7, 75, 2, 2, 2130, 2131, 7, 90, 2, 2, 2131, 2132, 7, 86, 2, 2, 2132, 2133, 7, 75, 2, 2, 2133, 2134, 7, 79, 2, 2, 2134, 2135, 7, 71, 2, 2, 2135, 426, 3, 2, 2, 2, 2136, 2137, 7, 79, 2, 2, 2137, 2138, 7, 67, 2, 2, 2138, 2139, 7, 77, 2, 2, 2139, 2140, 7, 71, 2, 2, 2140, 2141, 7, 70, 2, 2, 2141, 2142, 7, 67, 2, 2, 2142, 2143, 7, 86, 2, 2, 2143, 2144, 7, 71, 2, 2, 2144, 428, 3, 2, 2, 2, 2145, 2146, 7, 79, 2, 2, 2146, 2147, 7, 67, 2, 2, 2147, 2148, 7, 77, 2, 2, 2148, 2149, 7, 71, 2, 2, 2149, 2150, 7, 86, 2, 2, 2150, 2151, 7, 75, 2, 2, 2151, 2152, 7, 79, 2, 2, 2152, 2153, 7, 71, 2, 2, 2153, 430, 3, 2, 2, 2, 2154, 2155, 7, 79, 2, 2, 2155, 2156, 7, 81, 2, 2, 2156, 2157, 7, 80, 2, 2, 2157, 2158, 7, 86, 2, 2, 2158, 2159, 7, 74, 2, 2, 2159, 2160, 7, 80, 2, 2, 2160, 2161, 7, 67, 2, 2, 2161, 2162, 7, 79, 2, 2, 2162, 2163, 7, 71, 2, 2, 2163, 432, 3, 2, 2, 2, 2164, 2165, 7, 80, 2, 2, 2165, 2166, 7, 81, 2, 2, 2166, 2167, 7, 89, 2, 2, 2167, 434, 3, 2, 2, 2, 2168, 2169, 7, 82, 2, 2, 2169, 2170, 7, 71, 2, 2, 2170, 2171, 7, 84, 2, 2, 2171, 2172, 7, 75, 2, 2, 2172, 2173, 7, 81, 2, 2, 2173, 2174, 7, 70, 2, 2, 2174, 2175, 7, 97, 2, 2, 2175, 2176, 7, 67, 2, 2, 2176, 2177, 7, 70, 2, 2, 2177, 2178, 7, 70, 2, 2, 2178, 436, 3, 2, 2, 2, 2179, 2180, 7, 82, 2, 2, 2180, 2181, 7, 71, 2, 2, 2181, 2182, 7, 84, 2, 2, 2182, 2183, 7, 75, 2, 2, 2183, 2184, 7, 81, 2, 2, 2184, 2185, 7, 70, 2, 2, 2185, 2186, 7, 97, 2, 2, 2186, 2187, 7, 70, 2, 2, 2187, 2188, 7, 75, 2, 2, 2188, 2189, 7, 72, 2, 2, 2189, 2190, 7, 72, 2, 2, 2190, 438, 3, 2, 2, 2, 2191, 2192, 7, 85, 2, 2, 2192, 2193, 7, 87, 2, 2, 2193, 2194, 7, 68, 2, 2, 2194, 2195, 7, 70, 2, 2, 2195, 2196, 7, 67, 2, 2, 2196, 2197, 7, 86, 2, 2, 2197, 2198, 7, 71, 2, 2, 2198, 440, 3, 2, 2, 2, 2199, 2200, 7, 85, 2, 2, 2200, 2201, 7, 91, 2, 2, 2201, 2202, 7, 85, 2, 2, 2202, 2203, 7, 70, 2, 2, 2203, 2204, 7, 67, 2, 2, 2204, 2205, 7, 86, 2, 2, 2205, 2206, 7, 71, 2, 2, 2206, 442, 3, 2, 2, 2, 2207, 2208, 7, 86, 2, 2, 2208, 2209, 7, 75, 2, 2, 2209, 2210, 7, 79, 2, 2, 2210, 2211, 7, 71, 2, 2, 2211, 444, 3, 2, 2, 2, 2212, 2213, 7, 86, 2, 2, 2213, 2214, 7, 75, 2, 2, 2214, 2215, 7, 79, 2, 2, 2215, 2216, 7, 71, 2, 2, 2216, 2217, 7, 97, 2, 2, 2217, 2218, 7, 86, 2, 2, 2218, 2219, 7, 81, 2, 2, 2219, 2220, 7, 97, 2, 2, 2220, 2221, 7, 85, 2, 2, 2221, 2222, 7, 71, 2, 2, 2222, 2223, 7, 69, 2, 2, 2223, 446, 3, 2, 2, 2, 2224, 2225, 7, 86, 2, 2, 2225, 2226, 7, 75, 2, 2, 2226, 2227, 7, 79, 2, 2, 2227, 2228, 7, 71, 2, 2, 2228, 2229, 7, 85, 2, 2, 2229, 2230, 7, 86, 2, 2, 2230, 2231, 7, 67, 2, 2, 2231, 2232, 7, 79, 2, 2, 2232, 2233, 7, 82, 2, 2, 2233, 448, 3, 2, 2, 2, 2234, 2235, 7, 86, 2, 2, 2235, 2236, 7, 81, 2, 2, 2236, 2237, 7, 97, 2, 2, 2237, 2238, 7, 70, 2, 2, 2238, 2239, 7, 67, 2, 2, 2239, 2240, 7, 91, 2, 2, 2240, 2241, 7, 85, 2, 2, 2241, 450, 3, 2, 2, 2, 2242, 2243, 7, 87, 2, 2, 2243, 2244, 7, 86, 2, 2, 2244, 2245, 7, 69, 2, 2, 2245, 2246, 7, 97, 2, 2, 2246, 2247, 7, 70, 2, 2, 2247, 2248, 7, 67, 2, 2, 2248, 2249, 7, 86, 2, 2, 2249, 2250, 7, 71, 2, 2, 2250, 452, 3, 2, 2, 2, 2251, 2252, 7, 87, 2, 2, 2252, 2253, 7, 86, 2, 2, 2253, 2254, 7, 69, 2, 2, 2254, 2255, 7, 97, 2, 2, 2255, 2256, 7, 86, 2, 2, 2256, 2257, 7, 75, 2, 2, 2257, 2258, 7, 79, 2, 2, 2258, 2259, 7, 71, 2, 2, 2259, 454, 3, 2, 2, 2, 2260, 2261, 7, 87, 2, 2, 2261, 2262, 7, 86, 2, 2, 2262, 2263, 7, 69, 2, 2, 2263, 2264, 7, 97, 2, 2, 2264, 2265, 7, 86, 2, 2, 2265, 2266, 7, 75, 2, 2, 2266, 2267, 7, 79, 2, 2, 2267, 2268, 7, 71, 2, 2, 2268, 2269, 7, 85, 2, 2, 2269, 2270, 7, 86, 2, 2, 2270, 2271, 7, 67, 2, 2, 2271, 2272, 7, 79, 2, 2, 2272, 2273, 7, 82, 2, 2, 2273, 456, 3, 2, 2, 2, 2274, 2275, 7, 87, 2, 2, 2275, 2276, 7, 80, 2, 2, 2276, 2277, 7, 75, 2, 2, 2277, 2278, 7, 90, 2, 2, 2278, 2279, 7, 97, 2, 2, 2279, 2280, 7, 86, 2, 2, 2280, 2281, 7, 75, 2, 2, 2281, 2282, 7, 79, 2, 2, 2282, 2283, 7, 71, 2, 2, 2283, 2284, 7, 85, 2, 2, 2284, 2285, 7, 86, 2, 2, 2285, 2286, 7, 67, 2, 2, 2286, 2287, 7, 79, 2, 2, 2287, 2288, 7, 82, 2, 2, 2288, 458, 3, 2, 2, 2, 2289, 2290, 7, 85, 2, 2, 2290, 2291, 7, 87, 2, 2, 2291, 2292, 7, 68, 2, 2, 2292, 2293, 7, 85, 2, 2, 2293, 2294, 7, 86, 2, 2, 2294, 2295, 7, 84, 2, 2, 2295, 460, 3, 2, 2, 2, 2296, 2297, 7, 85, 2, 2, 2297, 2298, 7, 87, 2, 2, 2298, 2299, 7, 68, 2, 2, 2299, 2300, 7, 85, 2, 2, 2300, 2301, 7, 86, 2, 2, 2301, 2302, 7, 84, 2, 2, 2302, 2303, 7, 75, 2, 2, 2303, 2304, 7, 80, 2, 2, 2304, 2305, 7, 73, 2, 2, 2305, 462, 3, 2, 2, 2, 2306, 2307, 7, 78, 2, 2, 2307, 2308, 7, 86, 2, 2, 2308, 2309, 7, 84, 2, 2, 2309, 2310, 7, 75, 2, 2, 2310, 2311, 7, 79, 2, 2, 2311, 464, 3, 2, 2, 2, 2312, 2313, 7, 84, 2, 2, 2313, 2314, 7, 86, 2, 2, 2314, 2315, 7, 84, 2, 2, 2315, 2316, 7, 75, 2, 2, 2316, 2317, 7, 79, 2, 2, 2317, 466, 3, 2, 2, 2, 2318, 2319, 7, 86, 2, 2, 2319, 2320, 7, 84, 2, 2, 2320, 2321, 7, 75, 2, 2, 2321, 2322, 7, 79, 2, 2, 2322, 468, 3, 2, 2, 2, 2323, 2324, 7, 86, 2, 2, 2324, 2325, 7, 81, 2, 2, 2325, 470, 3, 2, 2, 2, 2326, 2327, 7, 78, 2, 2, 2327, 2328, 7, 81, 2, 2, 2328, 2329, 7, 89, 2, 2, 2329, 2330, 7, 71, 2, 2, 2330, 2331, 7, 84, 2, 2, 2331, 472, 3, 2, 2, 2, 2332, 2333, 7, 87, 2, 2, 2333, 2334, 7, 82, 2, 2, 2334, 2335, 7, 82, 2, 2, 2335, 2336, 7, 71, 2, 2, 2336, 2337, 7, 84, 2, 2, 2337, 474, 3, 2, 2, 2, 2338, 2339, 7, 69, 2, 2, 2339, 2340, 7, 81, 2, 2, 2340, 2341, 7, 80, 2, 2, 2341, 2342, 7, 69, 2, 2, 2342, 2343, 7, 67, 2, 2, 2343, 2344, 7, 86, 2, 2, 2344, 476, 3, 2, 2, 2, 2345, 2346, 7, 69, 2, 2, 2346, 2347, 7, 81, 2, 2, 2347, 2348, 7, 80, 2, 2, 2348, 2349, 7, 69, 2, 2, 2349, 2350, 7, 67, 2, 2, 2350, 2351, 7, 86, 2, 2, 2351, 2352, 7, 97, 2, 2, 2352, 2353, 7, 89, 2, 2, 2353, 2354, 7, 85, 2, 2, 2354, 478, 3, 2, 2, 2, 2355, 2356, 7, 78, 2, 2, 2356, 2357, 7, 71, 2, 2, 2357, 2358, 7, 80, 2, 2, 2358, 2359, 7, 73, 2, 2, 2359, 2360, 7, 86, 2, 2, 2360, 2361, 7, 74, 2, 2, 2361, 480, 3, 2, 2, 2, 2362, 2363, 7, 85, 2, 2, 2363, 2364, 7, 86, 2, 2, 2364, 2365, 7, 84, 2, 2, 2365, 2366, 7, 69, 2, 2, 2366, 2367, 7, 79, 2, 2, 2367, 2368, 7, 82, 2, 2, 2368, 482, 3, 2, 2, 2, 2369, 2370, 7, 84, 2, 2, 2370, 2371, 7, 75, 2, 2, 2371, 2372, 7, 73, 2, 2, 2372, 2373, 7, 74, 2, 2, 2373, 2374, 7, 86, 2, 2, 2374, 484, 3, 2, 2, 2, 2375, 2376, 7, 78, 2, 2, 2376, 2377, 7, 71, 2, 2, 2377, 2378, 7, 72, 2, 2, 2378, 2379, 7, 86, 2, 2, 2379, 486, 3, 2, 2, 2, 2380, 2381, 7, 67, 2, 2, 2381, 2382, 7, 85, 2, 2, 2382, 2383, 7, 69, 2, 2, 2383, 2384, 7, 75, 2, 2, 2384, 2385, 7, 75, 2, 2, 2385, 488, 3, 2, 2, 2, 2386, 2387, 7, 78, 2, 2, 2387, 2388, 7, 81, 2, 2, 2388, 2389, 7, 69, 2, 2, 2389, 2390, 7, 67, 2, 2, 2390, 2391, 7, 86, 2, 2, 2391, 2392, 7, 71, 2, 2, 2392, 490, 3, 2, 2, 2, 2393, 2394, 7, 84, 2, 2, 2394, 2395, 7, 71, 2, 2, 2395, 2396, 7, 82, 2, 2, 2396, 2397, 7, 78, 2, 2, 2397, 2398, 7, 67, 2, 2, 2398, 2399, 7, 69, 2, 2, 2399, 2400, 7, 71, 2, 2, 2400, 492, 3, 2, 2, 2, 2401, 2402, 7, 69, 2, 2, 2402, 2403, 7, 67, 2, 2, 2403, 2404, 7, 85, 2, 2, 2404, 2405, 7, 86, 2, 2, 2405, 494, 3, 2, 2, 2, 2406, 2407, 7, 78, 2, 2, 2407, 2408, 7, 75, 2, 2, 2408, 2409, 7, 77, 2, 2, 2409, 2410, 7, 71, 2, 2, 2410, 496, 3, 2, 2, 2, 2411, 2412, 7, 75, 2, 2, 2412, 2413, 7, 85, 2, 2, 2413, 2414, 7, 80, 2, 2, 2414, 2415, 7, 87, 2, 2, 2415, 2416, 7, 78, 2, 2, 2416, 2417, 7, 78, 2, 2, 2417, 498, 3, 2, 2, 2, 2418, 2419, 7, 75, 2, 2, 2419, 2420, 7, 85, 2, 2, 2420, 2421, 7, 80, 2, 2, 2421, 2422, 7, 81, 2, 2, 2422, 2423, 7, 86, 2, 2, 2423, 2424, 7, 80, 2, 2, 2424, 2425, 7, 87, 2, 2, 2425, 2426, 7, 78, 2, 2, 2426, 2427, 7, 78, 2, 2, 2427, 500, 3, 2, 2, 2, 2428, 2429, 7, 75, 2, 2, 2429, 2430, 7, 72, 2, 2, 2430, 2431, 7, 80, 2, 2, 2431, 2432, 7, 87, 2, 2, 2432, 2433, 7, 78, 2, 2, 2433, 2434, 7, 78, 2, 2, 2434, 502, 3, 2, 2, 2, 2435, 2436, 7, 80, 2, 2, 2436, 2437, 7, 87, 2, 2, 2437, 2438, 7, 78, 2, 2, 2438, 2439, 7, 78, 2, 2, 2439, 2440, 7, 75, 2, 2, 2440, 2441, 7, 72, 2, 2, 2441, 504, 3, 2, 2, 2, 2442, 2443, 7, 75, 2, 2, 2443, 2444, 7, 72, 2, 2, 2444, 506, 3, 2, 2, 2, 2445, 2446, 7, 86, 2, 2, 2446, 2447, 7, 91, 2, 2, 2447, 2448, 7, 82, 2, 2, 2448, 2449, 7, 71, 2, 2, 2449, 2450, 7, 81, 2, 2, 2450, 2451, 7, 72, 2, 2, 2451, 508, 3, 2, 2, 2, 2452, 2453, 7, 79, 2, 2, 2453, 2454, 7, 67, 2, 2, 2454, 2455, 7, 86, 2, 2, 2455, 2456, 7, 69, 2, 2, 2456, 2457, 7, 74, 2, 2, 2457, 510, 3, 2, 2, 2, 2458, 2459, 7, 79, 2, 2, 2459, 2460, 7, 67, 2, 2, 2460, 2461, 7, 86, 2, 2, 2461, 2462, 7, 69, 2, 2, 2462, 2463, 7, 74, 2, 2, 2463, 2464, 7, 97, 2, 2, 2464, 2465, 7, 82, 2, 2, 2465, 2466, 7, 74, 2, 2, 2466, 2467, 7, 84, 2, 2, 2467, 2468, 7, 67, 2, 2, 2468, 2469, 7, 85, 2, 2, 2469, 2470, 7, 71, 2, 2, 2470, 512, 3, 2, 2, 2, 2471, 2472, 7, 79, 2, 2, 2472, 2473, 7, 67, 2, 2, 2473, 2474, 7, 86, 2, 2, 2474, 2475, 7, 69, 2, 2, 2475, 2476, 7, 74, 2, 2, 2476, 2477, 7, 97, 2, 2, 2477, 2478, 7, 82, 2, 2, 2478, 2479, 7, 74, 2, 2, 2479, 2480, 7, 84, 2, 2, 2480, 2481, 7, 67, 2, 2, 2481, 2482, 7, 85, 2, 2, 2482, 2483, 7, 71, 2, 2, 2483, 2484, 7, 97, 2, 2, 2484, 2485, 7, 82, 2, 2, 2485, 2486, 7, 84, 2, 2, 2486, 2487, 7, 71, 2, 2, 2487, 2488, 7, 72, 2, 2, 2488, 2489, 7, 75, 2, 2, 2489, 2490, 7, 90, 2, 2, 2490, 514, 3, 2, 2, 2, 2491, 2492, 7, 79, 2, 2, 2492, 2493, 7, 67, 2, 2, 2493, 2494, 7, 86, 2, 2, 2494, 2495, 7, 69, 2, 2, 2495, 2496, 7, 74, 2, 2, 2496, 2497, 7, 97, 2, 2, 2497, 2498, 7, 68, 2, 2, 2498, 2499, 7, 81, 2, 2, 2499, 2500, 7, 81, 2, 2, 2500, 2501, 7, 78, 2, 2, 2501, 2502, 7, 97, 2, 2, 2502, 2503, 7, 82, 2, 2, 2503, 2504, 7, 84, 2, 2, 2504, 2505, 7, 71, 2, 2, 2505, 2506, 7, 72, 2, 2, 2506, 2507, 7, 75, 2, 2, 2507, 2508, 7, 90, 2, 2, 2508, 516, 3, 2, 2, 2, 2509, 2510, 7, 85, 2, 2, 2510, 2511, 7, 75, 2, 2, 2511, 2512, 7, 79, 2, 2, 2512, 2513, 7, 82, 2, 2, 2513, 2514, 7, 78, 2, 2, 2514, 2515, 7, 71, 2, 2, 2515, 2516, 7, 97, 2, 2, 2516, 2517, 7, 83, 2, 2, 2517, 2518, 7, 87, 2, 2, 2518, 2519, 7, 71, 2, 2, 2519, 2520, 7, 84, 2, 2, 2520, 2521, 7, 91, 2, 2, 2521, 2522, 7, 97, 2, 2, 2522, 2523, 7, 85, 2, 2, 2523, 2524, 7, 86, 2, 2, 2524, 2525, 7, 84, 2, 2, 2525, 2526, 7, 75, 2, 2, 2526, 2527, 7, 80, 2, 2, 2527, 2528, 7, 73, 2, 2, 2528, 518, 3, 2, 2, 2, 2529, 2530, 7, 79, 2, 2, 2530, 2531, 7, 87, 2, 2, 2531, 2532, 7, 78, 2, 2, 2532, 2533, 7, 86, 2, 2, 2533, 2534, 7, 75, 2, 2, 2534, 2535, 7, 97, 2, 2, 2535, 2536, 7, 79, 2, 2, 2536, 2537, 7, 67, 2, 2, 2537, 2538, 7, 86, 2, 2, 2538, 2539, 7, 69, 2, 2, 2539, 2540, 7, 74, 2, 2, 2540, 520, 3, 2, 2, 2, 2541, 2542, 7, 83, 2, 2, 2542, 2543, 7, 87, 2, 2, 2543, 2544, 7, 71, 2, 2, 2544, 2545, 7, 84, 2, 2, 2545, 2546, 7, 91, 2, 2, 2546, 2547, 7, 97, 2, 2, 2547, 2548, 7, 85, 2, 2, 2548, 2549, 7, 86, 2, 2, 2549, 2550, 7, 84, 2, 2, 2550, 2551, 7, 75, 2, 2, 2551, 2552, 7, 80, 2, 2, 2552, 2553, 7, 73, 2, 2, 2553, 522, 3, 2, 2, 2, 2554, 2555, 7, 67, 2, 2, 2555, 2556, 7, 78, 2, 2, 2556, 2557, 7, 78, 2, 2, 2557, 2558, 7, 81, 2, 2, 2558, 2559, 7, 89, 2, 2, 2559, 2560, 7, 97, 2, 2, 2560, 2561, 7, 78, 2, 2, 2561, 2562, 7, 71, 2, 2, 2562, 2563, 7, 67, 2, 2, 2563, 2564, 7, 70, 2, 2, 2564, 2565, 7, 75, 2, 2, 2565, 2566, 7, 80, 2, 2, 2566, 2567, 7, 73, 2, 2, 2567, 2568, 7, 97, 2, 2, 2568, 2569, 7, 89, 2, 2, 2569, 2570, 7, 75, 2, 2, 2570, 2571, 7, 78, 2, 2, 2571, 2572, 7, 70, 2, 2, 2572, 2573, 7, 69, 2, 2, 2573, 2574, 7, 67, 2, 2, 2574, 2575, 7, 84, 2, 2, 2575, 2576, 7, 70, 2, 2, 2576, 524, 3, 2, 2, 2, 2577, 2578, 7, 67, 2, 2, 2578, 2579, 7, 80, 2, 2, 2579, 2580, 7, 67, 2, 2, 2580, 2581, 7, 78, 2, 2, 2581, 2582, 7, 91, 2, 2, 2582, 2583, 7, 92, 2, 2, 2583, 2584, 7, 71, 2, 2, 2584, 2585, 7, 97, 2, 2, 2585, 2586, 7, 89, 2, 2, 2586, 2587, 7, 75, 2, 2, 2587, 2588, 7, 78, 2, 2, 2588, 2589, 7, 70, 2, 2, 2589, 2590, 7, 69, 2, 2, 2590, 2591, 7, 67, 2, 2, 2591, 2592, 7, 84, 2, 2, 2592, 2593, 7, 70, 2, 2, 2593, 526, 3, 2, 2, 2, 2594, 2595, 7, 67, 2, 2, 2595, 2596, 7, 80, 2, 2, 2596, 2597, 7, 67, 2, 2, 2597, 2598, 7, 78, 2, 2, 2598, 2599, 7, 91, 2, 2, 2599, 2600, 7, 92, 2, 2, 2600, 2601, 7, 71, 2, 2, 2601, 2602, 7, 84, 2, 2, 2602, 528, 3, 2, 2, 2, 2603, 2604, 7, 67, 2, 2, 2604, 2605, 7, 87, 2, 2, 2605, 2606, 7, 86, 2, 2, 2606, 2607, 7, 81, 2, 2, 2607, 2608, 7, 97, 2, 2, 2608, 2609, 7, 73, 2, 2, 2609, 2610, 7, 71, 2, 2, 2610, 2611, 7, 80, 2, 2, 2611, 2612, 7, 71, 2, 2, 2612, 2613, 7, 84, 2, 2, 2613, 2614, 7, 67, 2, 2, 2614, 2615, 7, 86, 2, 2, 2615, 2616, 7, 71, 2, 2, 2616, 2617, 7, 97, 2, 2, 2617, 2618, 7, 85, 2, 2, 2618, 2619, 7, 91, 2, 2, 2619, 2620, 7, 80, 2, 2, 2620, 2621, 7, 81, 2, 2, 2621, 2622, 7, 80, 2, 2, 2622, 2623, 7, 91, 2, 2, 2623, 2624, 7, 79, 2, 2, 2624, 2625, 7, 85, 2, 2, 2625, 2626, 7, 97, 2, 2, 2626, 2627, 7, 82, 2, 2, 2627, 2628, 7, 74, 2, 2, 2628, 2629, 7, 84, 2, 2, 2629, 2630, 7, 67, 2, 2, 2630, 2631, 7, 85, 2, 2, 2631, 2632, 7, 71, 2, 2, 2632, 2633, 7, 97, 2, 2, 2633, 2634, 7, 83, 2, 2, 2634, 2635, 7, 87, 2, 2, 2635, 2636, 7, 71, 2, 2, 2636, 2637, 7, 84, 2, 2, 2637, 2638, 7, 91, 2, 2, 2638, 530, 3, 2, 2, 2, 2639, 2640, 7, 68, 2, 2, 2640, 2641, 7, 81, 2, 2, 2641, 2642, 7, 81, 2, 2, 2642, 2643, 7, 85, 2, 2, 2643, 2644, 7, 86, 2, 2, 2644, 532, 3, 2, 2, 2, 2645, 2646, 7, 69, 2, 2, 2646, 2647, 7, 87, 2, 2, 2647, 2648, 7, 86, 2, 2, 2648, 2649, 7, 81, 2, 2, 2649, 2650, 7, 72, 2, 2, 2650, 2651, 7, 72, 2, 2, 2651, 2652, 7, 97, 2, 2, 2652, 2653, 7, 72, 2, 2, 2653, 2654, 7, 84, 2, 2, 2654, 2655, 7, 71, 2, 2, 2655, 2656, 7, 83, 2, 2, 2656, 2657, 7, 87, 2, 2, 2657, 2658, 7, 71, 2, 2, 2658, 2659, 7, 80, 2, 2, 2659, 2660, 7, 69, 2, 2, 2660, 2661, 7, 91, 2, 2, 2661, 534, 3, 2, 2, 2, 2662, 2663, 7, 70, 2, 2, 2663, 2664, 7, 71, 2, 2, 2664, 2665, 7, 72, 2, 2, 2665, 2666, 7, 67, 2, 2, 2666, 2667, 7, 87, 2, 2, 2667, 2668, 7, 78, 2, 2, 2668, 2669, 7, 86, 2, 2, 2669, 2670, 7, 97, 2, 2, 2670, 2671, 7, 72, 2, 2, 2671, 2672, 7, 75, 2, 2, 2672, 2673, 7, 71, 2, 2, 2673, 2674, 7, 78, 2, 2, 2674, 2675, 7, 70, 2, 2, 2675, 536, 3, 2, 2, 2, 2676, 2677, 7, 70, 2, 2, 2677, 2678, 7, 71, 2, 2, 2678, 2679, 7, 72, 2, 2, 2679, 2680, 7, 67, 2, 2, 2680, 2681, 7, 87, 2, 2, 2681, 2682, 7, 78, 2, 2, 2682, 2683, 7, 86, 2, 2, 2683, 2684, 7, 97, 2, 2, 2684, 2685, 7, 81, 2, 2, 2685, 2686, 7, 82, 2, 2, 2686, 2687, 7, 71, 2, 2, 2687, 2688, 7, 84, 2, 2, 2688, 2689, 7, 67, 2, 2, 2689, 2690, 7, 86, 2, 2, 2690, 2691, 7, 81, 2, 2, 2691, 2692, 7, 84, 2, 2, 2692, 538, 3, 2, 2, 2, 2693, 2694, 7, 71, 2, 2, 2694, 2695, 7, 80, 2, 2, 2695, 2696, 7, 67, 2, 2, 2696, 2697, 7, 68, 2, 2, 2697, 2698, 7, 78, 2, 2, 2698, 2699, 7, 71, 2, 2, 2699, 2700, 7, 97, 2, 2, 2700, 2701, 7, 82, 2, 2, 2701, 2702, 7, 81, 2, 2, 2702, 2703, 7, 85, 2, 2, 2703, 2704, 7, 75, 2, 2, 2704, 2705, 7, 86, 2, 2, 2705, 2706, 7, 75, 2, 2, 2706, 2707, 7, 81, 2, 2, 2707, 2708, 7, 80, 2, 2, 2708, 2709, 7, 97, 2, 2, 2709, 2710, 7, 75, 2, 2, 2710, 2711, 7, 80, 2, 2, 2711, 2712, 7, 69, 2, 2, 2712, 2713, 7, 84, 2, 2, 2713, 2714, 7, 71, 2, 2, 2714, 2715, 7, 79, 2, 2, 2715, 2716, 7, 71, 2, 2, 2716, 2717, 7, 80, 2, 2, 2717, 2718, 7, 86, 2, 2, 2718, 2719, 7, 85, 2, 2, 2719, 540, 3, 2, 2, 2, 2720, 2721, 7, 71, 2, 2, 2721, 2722, 7, 85, 2, 2, 2722, 2723, 7, 69, 2, 2, 2723, 2724, 7, 67, 2, 2, 2724, 2725, 7, 82, 2, 2, 2725, 2726, 7, 71, 2, 2, 2726, 542, 3, 2, 2, 2, 2727, 2728, 7, 72, 2, 2, 2728, 2729, 7, 78, 2, 2, 2729, 2730, 7, 67, 2, 2, 2730, 2731, 7, 73, 2, 2, 2731, 2732, 7, 85, 2, 2, 2732, 544, 3, 2, 2, 2, 2733, 2734, 7, 72, 2, 2, 2734, 2735, 7, 87, 2, 2, 2735, 2736, 7, 92, 2, 2, 2736, 2737, 7, 92, 2, 2, 2737, 2738, 7, 91, 2, 2, 2738, 2739, 7, 97, 2, 2, 2739, 2740, 7, 79, 2, 2, 2740, 2741, 7, 67, 2, 2, 2741, 2742, 7, 90, 2, 2, 2742, 2743, 7, 97, 2, 2, 2743, 2744, 7, 71, 2, 2, 2744, 2745, 7, 90, 2, 2, 2745, 2746, 7, 82, 2, 2, 2746, 2747, 7, 67, 2, 2, 2747, 2748, 7, 80, 2, 2, 2748, 2749, 7, 85, 2, 2, 2749, 2750, 7, 75, 2, 2, 2750, 2751, 7, 81, 2, 2, 2751, 2752, 7, 80, 2, 2, 2752, 2753, 7, 85, 2, 2, 2753, 546, 3, 2, 2, 2, 2754, 2755, 7, 72, 2, 2, 2755, 2756, 7, 87, 2, 2, 2756, 2757, 7, 92, 2, 2, 2757, 2758, 7, 92, 2, 2, 2758, 2759, 7, 91, 2, 2, 2759, 2760, 7, 97, 2, 2, 2760, 2761, 7, 82, 2, 2, 2761, 2762, 7, 84, 2, 2, 2762, 2763, 7, 71, 2, 2, 2763, 2764, 7, 72, 2, 2, 2764, 2765, 7, 75, 2, 2, 2765, 2766, 7, 90, 2, 2, 2766, 2767, 7, 97, 2, 2, 2767, 2768, 7, 78, 2, 2, 2768, 2769, 7, 71, 2, 2, 2769, 2770, 7, 80, 2, 2, 2770, 2771, 7, 73, 2, 2, 2771, 2772, 7, 86, 2, 2, 2772, 2773, 7, 74, 2, 2, 2773, 548, 3, 2, 2, 2, 2774, 2775, 7, 72, 2, 2, 2775, 2776, 7, 87, 2, 2, 2776, 2777, 7, 92, 2, 2, 2777, 2778, 7, 92, 2, 2, 2778, 2779, 7, 91, 2, 2, 2779, 2780, 7, 97, 2, 2, 2780, 2781, 7, 86, 2, 2, 2781, 2782, 7, 84, 2, 2, 2782, 2783, 7, 67, 2, 2, 2783, 2784, 7, 80, 2, 2, 2784, 2785, 7, 85, 2, 2, 2785, 2786, 7, 82, 2, 2, 2786, 2787, 7, 81, 2, 2, 2787, 2788, 7, 85, 2, 2, 2788, 2789, 7, 75, 2, 2, 2789, 2790, 7, 86, 2, 2, 2790, 2791, 7, 75, 2, 2, 2791, 2792, 7, 81, 2, 2, 2792, 2793, 7, 80, 2, 2, 2793, 2794, 7, 85, 2, 2, 2794, 550, 3, 2, 2, 2, 2795, 2796, 7, 72, 2, 2, 2796, 2797, 7, 87, 2, 2, 2797, 2798, 7, 92, 2, 2, 2798, 2799, 7, 92, 2, 2, 2799, 2800, 7, 91, 2, 2, 2800, 2801, 7, 97, 2, 2, 2801, 2802, 7, 84, 2, 2, 2802, 2803, 7, 71, 2, 2, 2803, 2804, 7, 89, 2, 2, 2804, 2805, 7, 84, 2, 2, 2805, 2806, 7, 75, 2, 2, 2806, 2807, 7, 86, 2, 2, 2807, 2808, 7, 71, 2, 2, 2808, 552, 3, 2, 2, 2, 2809, 2810, 7, 72, 2, 2, 2810, 2811, 7, 87, 2, 2, 2811, 2812, 7, 92, 2, 2, 2812, 2813, 7, 92, 2, 2, 2813, 2814, 7, 75, 2, 2, 2814, 2815, 7, 80, 2, 2, 2815, 2816, 7, 71, 2, 2, 2816, 2817, 7, 85, 2, 2, 2817, 2818, 7, 85, 2, 2, 2818, 554, 3, 2, 2, 2, 2819, 2820, 7, 78, 2, 2, 2820, 2821, 7, 71, 2, 2, 2821, 2822, 7, 80, 2, 2, 2822, 2823, 7, 75, 2, 2, 2823, 2824, 7, 71, 2, 2, 2824, 2825, 7, 80, 2, 2, 2825, 2826, 7, 86, 2, 2, 2826, 556, 3, 2, 2, 2, 2827, 2828, 7, 78, 2, 2, 2828, 2829, 7, 81, 2, 2, 2829, 2830, 7, 89, 2, 2, 2830, 2831, 7, 97, 2, 2, 2831, 2832, 7, 72, 2, 2, 2832, 2833, 7, 84, 2, 2, 2833, 2834, 7, 71, 2, 2, 2834, 2835, 7, 83, 2, 2, 2835, 2836, 7, 97, 2, 2, 2836, 2837, 7, 81, 2, 2, 2837, 2838, 7, 82, 2, 2, 2838, 2839, 7, 71, 2, 2, 2839, 2840, 7, 84, 2, 2, 2840, 2841, 7, 67, 2, 2, 2841, 2842, 7, 86, 2, 2, 2842, 2843, 7, 81, 2, 2, 2843, 2844, 7, 84, 2, 2, 2844, 558, 3, 2, 2, 2, 2845, 2846, 7, 79, 2, 2, 2846, 2847, 7, 67, 2, 2, 2847, 2848, 7, 90, 2, 2, 2848, 2849, 7, 97, 2, 2, 2849, 2850, 7, 70, 2, 2, 2850, 2851, 7, 71, 2, 2, 2851, 2852, 7, 86, 2, 2, 2852, 2853, 7, 71, 2, 2, 2853, 2854, 7, 84, 2, 2, 2854, 2855, 7, 79, 2, 2, 2855, 2856, 7, 75, 2, 2, 2856, 2857, 7, 80, 2, 2, 2857, 2858, 7, 75, 2, 2, 2858, 2859, 7, 92, 2, 2, 2859, 2860, 7, 71, 2, 2, 2860, 2861, 7, 70, 2, 2, 2861, 2862, 7, 97, 2, 2, 2862, 2863, 7, 85, 2, 2, 2863, 2864, 7, 86, 2, 2, 2864, 2865, 7, 67, 2, 2, 2865, 2866, 7, 86, 2, 2, 2866, 2867, 7, 71, 2, 2, 2867, 2868, 7, 85, 2, 2, 2868, 560, 3, 2, 2, 2, 2869, 2870, 7, 79, 2, 2, 2870, 2871, 7, 67, 2, 2, 2871, 2872, 7, 90, 2, 2, 2872, 2873, 7, 97, 2, 2, 2873, 2874, 7, 71, 2, 2, 2874, 2875, 7, 90, 2, 2, 2875, 2876, 7, 82, 2, 2, 2876, 2877, 7, 67, 2, 2, 2877, 2878, 7, 80, 2, 2, 2878, 2879, 7, 85, 2, 2, 2879, 2880, 7, 75, 2, 2, 2880, 2881, 7, 81, 2, 2, 2881, 2882, 7, 80, 2, 2, 2882, 2883, 7, 85, 2, 2, 2883, 562, 3, 2, 2, 2, 2884, 2885, 7, 79, 2, 2, 2885, 2886, 7, 75, 2, 2, 2886, 2887, 7, 80, 2, 2, 2887, 2888, 7, 75, 2, 2, 2888, 2889, 7, 79, 2, 2, 2889, 2890, 7, 87, 2, 2, 2890, 2891, 7, 79, 2, 2, 2891, 2892, 7, 97, 2, 2, 2892, 2893, 7, 85, 2, 2, 2893, 2894, 7, 74, 2, 2, 2894, 2895, 7, 81, 2, 2, 2895, 2896, 7, 87, 2, 2, 2896, 2897, 7, 78, 2, 2, 2897, 2898, 7, 70, 2, 2, 2898, 2899, 7, 97, 2, 2, 2899, 2900, 7, 79, 2, 2, 2900, 2901, 7, 67, 2, 2, 2901, 2902, 7, 86, 2, 2, 2902, 2903, 7, 69, 2, 2, 2903, 2904, 7, 74, 2, 2, 2904, 564, 3, 2, 2, 2, 2905, 2906, 7, 81, 2, 2, 2906, 2907, 7, 82, 2, 2, 2907, 2908, 7, 71, 2, 2, 2908, 2909, 7, 84, 2, 2, 2909, 2910, 7, 67, 2, 2, 2910, 2911, 7, 86, 2, 2, 2911, 2912, 7, 81, 2, 2, 2912, 2913, 7, 84, 2, 2, 2913, 566, 3, 2, 2, 2, 2914, 2915, 7, 82, 2, 2, 2915, 2916, 7, 74, 2, 2, 2916, 2917, 7, 84, 2, 2, 2917, 2918, 7, 67, 2, 2, 2918, 2919, 7, 85, 2, 2, 2919, 2920, 7, 71, 2, 2, 2920, 2921, 7, 97, 2, 2, 2921, 2922, 7, 85, 2, 2, 2922, 2923, 7, 78, 2, 2, 2923, 2924, 7, 81, 2, 2, 2924, 2925, 7, 82, 2, 2, 2925, 568, 3, 2, 2, 2, 2926, 2927, 7, 82, 2, 2, 2927, 2928, 7, 84, 2, 2, 2928, 2929, 7, 71, 2, 2, 2929, 2930, 7, 72, 2, 2, 2930, 2931, 7, 75, 2, 2, 2931, 2932, 7, 90, 2, 2, 2932, 2933, 7, 97, 2, 2, 2933, 2934, 7, 78, 2, 2, 2934, 2935, 7, 71, 2, 2, 2935, 2936, 7, 80, 2, 2, 2936, 2937, 7, 73, 2, 2, 2937, 2938, 7, 86, 2, 2, 2938, 2939, 7, 74, 2, 2, 2939, 570, 3, 2, 2, 2, 2940, 2941, 7, 83, 2, 2, 2941, 2942, 7, 87, 2, 2, 2942, 2943, 7, 81, 2, 2, 2943, 2944, 7, 86, 2, 2, 2944, 2945, 7, 71, 2, 2, 2945, 2946, 7, 97, 2, 2, 2946, 2947, 7, 67, 2, 2, 2947, 2948, 7, 80, 2, 2, 2948, 2949, 7, 67, 2, 2, 2949, 2950, 7, 78, 2, 2, 2950, 2951, 7, 91, 2, 2, 2951, 2952, 7, 92, 2, 2, 2952, 2953, 7, 71, 2, 2, 2953, 2954, 7, 84, 2, 2, 2954, 572, 3, 2, 2, 2, 2955, 2956, 7, 83, 2, 2, 2956, 2957, 7, 87, 2, 2, 2957, 2958, 7, 81, 2, 2, 2958, 2959, 7, 86, 2, 2, 2959, 2960, 7, 71, 2, 2, 2960, 2961, 7, 97, 2, 2, 2961, 2962, 7, 72, 2, 2, 2962, 2963, 7, 75, 2, 2, 2963, 2964, 7, 71, 2, 2, 2964, 2965, 7, 78, 2, 2, 2965, 2966, 7, 70, 2, 2, 2966, 2967, 7, 97, 2, 2, 2967, 2968, 7, 85, 2, 2, 2968, 2969, 7, 87, 2, 2, 2969, 2970, 7, 72, 2, 2, 2970, 2971, 7, 72, 2, 2, 2971, 2972, 7, 75, 2, 2, 2972, 2973, 7, 90, 2, 2, 2973, 574, 3, 2, 2, 2, 2974, 2975, 7, 84, 2, 2, 2975, 2976, 7, 71, 2, 2, 2976, 2977, 7, 89, 2, 2, 2977, 2978, 7, 84, 2, 2, 2978, 2979, 7, 75, 2, 2, 2979, 2980, 7, 86, 2, 2, 2980, 2981, 7, 71, 2, 2, 2981, 576, 3, 2, 2, 2, 2982, 2983, 7, 85, 2, 2, 2983, 2984, 7, 78, 2, 2, 2984, 2985, 7, 81, 2, 2, 2985, 2986, 7, 82, 2, 2, 2986, 578, 3, 2, 2, 2, 2987, 2988, 7, 86, 2, 2, 2988, 2989, 7, 75, 2, 2, 2989, 2990, 7, 71, 2, 2, 2990, 2991, 7, 97, 2, 2, 2991, 2992, 7, 68, 2, 2, 2992, 2993, 7, 84, 2, 2, 2993, 2994, 7, 71, 2, 2, 2994, 2995, 7, 67, 2, 2, 2995, 2996, 7, 77, 2, 2, 2996, 2997, 7, 71, 2, 2, 2997, 2998, 7, 84, 2, 2, 2998, 580, 3, 2, 2, 2, 2999, 3000, 7, 86, 2, 2, 3000, 3001, 7, 91, 2, 2, 3001, 3002, 7, 82, 2, 2, 3002, 3003, 7, 71, 2, 2, 3003, 582, 3, 2, 2, 2, 3004, 3005, 7, 92, 2, 2, 3005, 3006, 7, 71, 2, 2, 3006, 3007, 7, 84, 2, 2, 3007, 3008, 7, 81, 2, 2, 3008, 3009, 7, 97, 2, 2, 3009, 3010, 7, 86, 2, 2, 3010, 3011, 7, 71, 2, 2, 3011, 3012, 7, 84, 2, 2, 3012, 3013, 7, 79, 2, 2, 3013, 3014, 7, 85, 2, 2, 3014, 3015, 7, 97, 2, 2, 3015, 3016, 7, 83, 2, 2, 3016, 3017, 7, 87, 2, 2, 3017, 3018, 7, 71, 2, 2, 3018, 3019, 7, 84, 2, 2, 3019, 3020, 7, 91, 2, 2, 3020, 584, 3, 2, 2, 2, 3021, 3022, 7, 85, 2, 2, 3022, 3023, 7, 82, 2, 2, 3023, 3024, 7, 67, 2, 2, 3024, 3025, 7, 80, 2, 2, 3025, 586, 3, 2, 2, 2, 3026, 3027, 7, 79, 2, 2, 3027, 3028, 7, 85, 2, 2, 3028, 588, 3, 2, 2, 2, 3029, 3030, 7, 85, 2, 2, 3030, 590, 3, 2, 2, 2, 3031, 3032, 7, 79, 2, 2, 3032, 592, 3, 2, 2, 2, 3033, 3034, 7, 74, 2, 2, 3034, 594, 3, 2, 2, 2, 3035, 3036, 7, 89, 2, 2, 3036, 596, 3, 2, 2, 2, 3037, 3038, 7, 83, 2, 2, 3038, 598, 3, 2, 2, 2, 3039, 3040, 7, 91, 2, 2, 3040, 600, 3, 2, 2, 2, 3041, 3042, 5, 609, 305, 2, 3042, 602, 3, 2, 2, 2, 3043, 3045, 5, 619, 310, 2, 3044, 3043, 3, 2, 2, 2, 3045, 3046, 3, 2, 2, 2, 3046, 3044, 3, 2, 2, 2, 3046, 3047, 3, 2, 2, 2, 3047, 604, 3, 2, 2, 2, 3048, 3050, 5, 619, 310, 2, 3049, 3048, 3, 2, 2, 2, 3050, 3051, 3, 2, 2, 2, 3051, 3049, 3, 2, 2, 2, 3051, 3052, 3, 2, 2, 2, 3052, 3054, 3, 2, 2, 2, 3053, 3049, 3, 2, 2, 2, 3053, 3054, 3, 2, 2, 2, 3054, 3055, 3, 2, 2, 2, 3055, 3057, 7, 48, 2, 2, 3056, 3058, 5, 619, 310, 2, 3057, 3056, 3, 2, 2, 2, 3058, 3059, 3, 2, 2, 2, 3059, 3057, 3, 2, 2, 2, 3059, 3060, 3, 2, 2, 2, 3060, 606, 3, 2, 2, 2, 3061, 3063, 9, 2, 2, 2, 3062, 3064, 9, 3, 2, 2, 3063, 3062, 3, 2, 2, 2, 3064, 3065, 3, 2, 2, 2, 3065, 3063, 3, 2, 2, 2, 3065, 3066, 3, 2, 2, 2, 3066, 3068, 3, 2, 2, 2, 3067, 3061, 3, 2, 2, 2, 3068, 3071, 3, 2, 2, 2, 3069, 3067, 3, 2, 2, 2, 3069, 3070, 3, 2, 2, 2, 3070, 608, 3, 2, 2, 2, 3071, 3069, 3, 2, 2, 2, 3072, 3074, 9, 4, 2, 2, 3073, 3072, 3, 2, 2, 2, 3074, 3075, 3, 2, 2, 2, 3075, 3076, 3, 2, 2, 2, 3075, 3073, 3, 2, 2, 2, 3076, 3080, 3, 2, 2, 2, 3077, 3079, 9, 5, 2, 2, 3078, 3077, 3, 2, 2, 2, 3079, 3082, 3, 2, 2, 2, 3080, 3078, 3, 2, 2, 2, 3080, 3081, 3, 2, 2, 2, 3081, 610, 3, 2, 2, 2, 3082, 3080, 3, 2, 2, 2, 3083, 3084, 5, 609, 305, 2, 3084, 3085, 5, 607, 304, 2, 3085, 612, 3, 2, 2, 2, 3086, 3094, 7, 36, 2, 2, 3087, 3088, 7, 94, 2, 2, 3088, 3093, 11, 2, 2, 2, 3089, 3090, 7, 36, 2, 2, 3090, 3093, 7, 36, 2, 2, 3091, 3093, 10, 6, 2, 2, 3092, 3087, 3, 2, 2, 2, 3092, 3089, 3, 2, 2, 2, 3092, 3091, 3, 2, 2, 2, 3093, 3096, 3, 2, 2, 2, 3094, 3092, 3, 2, 2, 2, 3094, 3095, 3, 2, 2, 2, 3095, 3097, 3, 2, 2, 2, 3096, 3094, 3, 2, 2, 2, 3097, 3098, 7, 36, 2, 2, 3098, 614, 3, 2, 2, 2, 3099, 3107, 7, 41, 2, 2, 3100, 3101, 7, 94, 2, 2, 3101, 3106, 11, 2, 2, 2, 3102, 3103, 7, 41, 2, 2, 3103, 3106, 7, 41, 2, 2, 3104, 3106, 10, 7, 2, 2, 3105, 3100, 3, 2, 2, 2, 3105, 3102, 3, 2, 2, 2, 3105, 3104, 3, 2, 2, 2, 3106, 3109, 3, 2, 2, 2, 3107, 3105, 3, 2, 2, 2, 3107, 3108, 3, 2, 2, 2, 3108, 3110, 3, 2, 2, 2, 3109, 3107, 3, 2, 2, 2, 3110, 3111, 7, 41, 2, 2, 3111, 616, 3, 2, 2, 2, 3112, 3120, 7, 98, 2, 2, 3113, 3114, 7, 94, 2, 2, 3114, 3119, 11, 2, 2, 2, 3115, 3116, 7, 98, 2, 2, 3116, 3119, 7, 98, 2, 2, 3117, 3119, 10, 8, 2, 2, 3118, 3113, 3, 2, 2, 2, 3118, 3115, 3, 2, 2, 2, 3118, 3117, 3, 2, 2, 2, 3119, 3122, 3, 2, 2, 2, 3120, 3118, 3, 2, 2, 2, 3120, 3121, 3, 2, 2, 2, 3121, 3123, 3, 2, 2, 2, 3122, 3120, 3, 2, 2, 2, 3123, 3124, 7, 98, 2, 2, 3124, 618, 3, 2, 2, 2, 3125, 3126, 9, 9, 2, 2, 3126, 620, 3, 2, 2, 2, 3127, 3128, 11, 2, 2, 2, 3128, 3129, 3, 2, 2, 2, 3129, 3130, 8, 311, 2, 2, 3130, 622, 3, 2, 2, 2, 17, 2, 3046, 3051, 3053, 3059, 3065, 3069, 3075, 3080, 3092, 3094, 3105, 3107, 3118, 3120, 3, 2, 5, 2]
\ No newline at end of file
diff --git a/common/query_manager/antlr/output/OpenSearchPPLLexer.tokens b/common/query_manager/antlr/output/OpenSearchPPLLexer.tokens
new file mode 100644
index 0000000000..303e66c7ad
--- /dev/null
+++ b/common/query_manager/antlr/output/OpenSearchPPLLexer.tokens
@@ -0,0 +1,603 @@
+SEARCH=1
+DESCRIBE=2
+SHOW=3
+FROM=4
+WHERE=5
+FIELDS=6
+RENAME=7
+STATS=8
+DEDUP=9
+SORT=10
+EVAL=11
+HEAD=12
+TOP=13
+RARE=14
+PARSE=15
+METHOD=16
+REGEX=17
+PUNCT=18
+GROK=19
+PATTERN=20
+PATTERNS=21
+NEW_FIELD=22
+KMEANS=23
+AD=24
+ML=25
+AS=26
+BY=27
+SOURCE=28
+INDEX=29
+D=30
+DESC=31
+CATALOGS=32
+SORTBY=33
+AUTO=34
+STR=35
+IP=36
+NUM=37
+KEEPEMPTY=38
+CONSECUTIVE=39
+DEDUP_SPLITVALUES=40
+PARTITIONS=41
+ALLNUM=42
+DELIM=43
+CENTROIDS=44
+ITERATIONS=45
+DISTANCE_TYPE=46
+NUMBER_OF_TREES=47
+SHINGLE_SIZE=48
+SAMPLE_SIZE=49
+OUTPUT_AFTER=50
+TIME_DECAY=51
+ANOMALY_RATE=52
+CATEGORY_FIELD=53
+TIME_FIELD=54
+TIME_ZONE=55
+TRAINING_DATA_SIZE=56
+ANOMALY_SCORE_THRESHOLD=57
+CASE=58
+IN=59
+NOT=60
+OR=61
+AND=62
+XOR=63
+TRUE=64
+FALSE=65
+REGEXP=66
+DATETIME=67
+INTERVAL=68
+MICROSECOND=69
+MILLISECOND=70
+SECOND=71
+MINUTE=72
+HOUR=73
+DAY=74
+WEEK=75
+MONTH=76
+QUARTER=77
+YEAR=78
+SECOND_MICROSECOND=79
+MINUTE_MICROSECOND=80
+MINUTE_SECOND=81
+HOUR_MICROSECOND=82
+HOUR_SECOND=83
+HOUR_MINUTE=84
+DAY_MICROSECOND=85
+DAY_SECOND=86
+DAY_MINUTE=87
+DAY_HOUR=88
+YEAR_MONTH=89
+CONVERT_TZ=90
+DATAMODEL=91
+LOOKUP=92
+SAVEDSEARCH=93
+INT=94
+INTEGER=95
+DOUBLE=96
+LONG=97
+FLOAT=98
+STRING=99
+BOOLEAN=100
+PIPE=101
+COMMA=102
+DOT=103
+EQUAL=104
+GREATER=105
+LESS=106
+NOT_GREATER=107
+NOT_LESS=108
+NOT_EQUAL=109
+PLUS=110
+MINUS=111
+STAR=112
+DIVIDE=113
+MODULE=114
+EXCLAMATION_SYMBOL=115
+COLON=116
+LT_PRTHS=117
+RT_PRTHS=118
+LT_SQR_PRTHS=119
+RT_SQR_PRTHS=120
+SINGLE_QUOTE=121
+DOUBLE_QUOTE=122
+BACKTICK=123
+BIT_NOT_OP=124
+BIT_AND_OP=125
+BIT_XOR_OP=126
+AVG=127
+COUNT=128
+DISTINCT_COUNT=129
+ESTDC=130
+ESTDC_ERROR=131
+MAX=132
+MEAN=133
+MEDIAN=134
+MIN=135
+MODE=136
+RANGE=137
+STDEV=138
+STDEVP=139
+SUM=140
+SUMSQ=141
+VAR_SAMP=142
+VAR_POP=143
+STDDEV_SAMP=144
+STDDEV_POP=145
+PERCENTILE=146
+TAKE=147
+FIRST=148
+LAST=149
+LIST=150
+VALUES=151
+EARLIEST=152
+EARLIEST_TIME=153
+LATEST=154
+LATEST_TIME=155
+PER_DAY=156
+PER_HOUR=157
+PER_MINUTE=158
+PER_SECOND=159
+RATE=160
+SPARKLINE=161
+C=162
+DC=163
+ABS=164
+CEIL=165
+CEILING=166
+CONV=167
+CRC32=168
+E=169
+EXP=170
+FLOOR=171
+LN=172
+LOG=173
+LOG10=174
+LOG2=175
+MOD=176
+PI=177
+POW=178
+POWER=179
+RAND=180
+ROUND=181
+SIGN=182
+SQRT=183
+TRUNCATE=184
+ACOS=185
+ASIN=186
+ATAN=187
+ATAN2=188
+COS=189
+COT=190
+DEGREES=191
+RADIANS=192
+SIN=193
+TAN=194
+ADDDATE=195
+CURDATE=196
+CURRENT_DATE=197
+CURRENT_TIME=198
+CURRENT_TIMESTAMP=199
+CURTIME=200
+DATE=201
+DATE_ADD=202
+DATE_FORMAT=203
+DATE_SUB=204
+DAYNAME=205
+DAYOFMONTH=206
+DAYOFWEEK=207
+DAYOFYEAR=208
+FROM_DAYS=209
+LOCALTIME=210
+LOCALTIMESTAMP=211
+FROM_UNIXTIME=212
+MAKEDATE=213
+MAKETIME=214
+MONTHNAME=215
+NOW=216
+PERIOD_ADD=217
+PERIOD_DIFF=218
+SUBDATE=219
+SYSDATE=220
+TIME=221
+TIME_TO_SEC=222
+TIMESTAMP=223
+TO_DAYS=224
+UTC_DATE=225
+UTC_TIME=226
+UTC_TIMESTAMP=227
+UNIX_TIMESTAMP=228
+SUBSTR=229
+SUBSTRING=230
+LTRIM=231
+RTRIM=232
+TRIM=233
+TO=234
+LOWER=235
+UPPER=236
+CONCAT=237
+CONCAT_WS=238
+LENGTH=239
+STRCMP=240
+RIGHT=241
+LEFT=242
+ASCII=243
+LOCATE=244
+REPLACE=245
+CAST=246
+LIKE=247
+ISNULL=248
+ISNOTNULL=249
+IFNULL=250
+NULLIF=251
+IF=252
+TYPEOF=253
+MATCH=254
+MATCH_PHRASE=255
+MATCH_PHRASE_PREFIX=256
+MATCH_BOOL_PREFIX=257
+SIMPLE_QUERY_STRING=258
+MULTI_MATCH=259
+QUERY_STRING=260
+ALLOW_LEADING_WILDCARD=261
+ANALYZE_WILDCARD=262
+ANALYZER=263
+AUTO_GENERATE_SYNONYMS_PHRASE_QUERY=264
+BOOST=265
+CUTOFF_FREQUENCY=266
+DEFAULT_FIELD=267
+DEFAULT_OPERATOR=268
+ENABLE_POSITION_INCREMENTS=269
+ESCAPE=270
+FLAGS=271
+FUZZY_MAX_EXPANSIONS=272
+FUZZY_PREFIX_LENGTH=273
+FUZZY_TRANSPOSITIONS=274
+FUZZY_REWRITE=275
+FUZZINESS=276
+LENIENT=277
+LOW_FREQ_OPERATOR=278
+MAX_DETERMINIZED_STATES=279
+MAX_EXPANSIONS=280
+MINIMUM_SHOULD_MATCH=281
+OPERATOR=282
+PHRASE_SLOP=283
+PREFIX_LENGTH=284
+QUOTE_ANALYZER=285
+QUOTE_FIELD_SUFFIX=286
+REWRITE=287
+SLOP=288
+TIE_BREAKER=289
+TYPE=290
+ZERO_TERMS_QUERY=291
+SPAN=292
+MS=293
+S=294
+M=295
+H=296
+W=297
+Q=298
+Y=299
+ID=300
+INTEGER_LITERAL=301
+DECIMAL_LITERAL=302
+ID_DATE_SUFFIX=303
+DQUOTA_STRING=304
+SQUOTA_STRING=305
+BQUOTA_STRING=306
+ERROR_RECOGNITION=307
+'SEARCH'=1
+'DESCRIBE'=2
+'SHOW'=3
+'FROM'=4
+'WHERE'=5
+'FIELDS'=6
+'RENAME'=7
+'STATS'=8
+'DEDUP'=9
+'SORT'=10
+'EVAL'=11
+'HEAD'=12
+'TOP'=13
+'RARE'=14
+'PARSE'=15
+'METHOD'=16
+'REGEX'=17
+'PUNCT'=18
+'GROK'=19
+'PATTERN'=20
+'PATTERNS'=21
+'NEW_FIELD'=22
+'KMEANS'=23
+'AD'=24
+'ML'=25
+'AS'=26
+'BY'=27
+'SOURCE'=28
+'INDEX'=29
+'D'=30
+'DESC'=31
+'CATALOGS'=32
+'SORTBY'=33
+'AUTO'=34
+'STR'=35
+'IP'=36
+'NUM'=37
+'KEEPEMPTY'=38
+'CONSECUTIVE'=39
+'DEDUP_SPLITVALUES'=40
+'PARTITIONS'=41
+'ALLNUM'=42
+'DELIM'=43
+'CENTROIDS'=44
+'ITERATIONS'=45
+'DISTANCE_TYPE'=46
+'NUMBER_OF_TREES'=47
+'SHINGLE_SIZE'=48
+'SAMPLE_SIZE'=49
+'OUTPUT_AFTER'=50
+'TIME_DECAY'=51
+'ANOMALY_RATE'=52
+'CATEGORY_FIELD'=53
+'TIME_FIELD'=54
+'TIME_ZONE'=55
+'TRAINING_DATA_SIZE'=56
+'ANOMALY_SCORE_THRESHOLD'=57
+'CASE'=58
+'IN'=59
+'NOT'=60
+'OR'=61
+'AND'=62
+'XOR'=63
+'TRUE'=64
+'FALSE'=65
+'REGEXP'=66
+'DATETIME'=67
+'INTERVAL'=68
+'MICROSECOND'=69
+'MILLISECOND'=70
+'SECOND'=71
+'MINUTE'=72
+'HOUR'=73
+'DAY'=74
+'WEEK'=75
+'MONTH'=76
+'QUARTER'=77
+'YEAR'=78
+'SECOND_MICROSECOND'=79
+'MINUTE_MICROSECOND'=80
+'MINUTE_SECOND'=81
+'HOUR_MICROSECOND'=82
+'HOUR_SECOND'=83
+'HOUR_MINUTE'=84
+'DAY_MICROSECOND'=85
+'DAY_SECOND'=86
+'DAY_MINUTE'=87
+'DAY_HOUR'=88
+'YEAR_MONTH'=89
+'CONVERT_TZ'=90
+'DATAMODEL'=91
+'LOOKUP'=92
+'SAVEDSEARCH'=93
+'INT'=94
+'INTEGER'=95
+'DOUBLE'=96
+'LONG'=97
+'FLOAT'=98
+'STRING'=99
+'BOOLEAN'=100
+'|'=101
+','=102
+'.'=103
+'='=104
+'>'=105
+'<'=106
+'+'=110
+'-'=111
+'*'=112
+'/'=113
+'%'=114
+'!'=115
+':'=116
+'('=117
+')'=118
+'['=119
+']'=120
+'\''=121
+'"'=122
+'`'=123
+'~'=124
+'&'=125
+'^'=126
+'AVG'=127
+'COUNT'=128
+'DISTINCT_COUNT'=129
+'ESTDC'=130
+'ESTDC_ERROR'=131
+'MAX'=132
+'MEAN'=133
+'MEDIAN'=134
+'MIN'=135
+'MODE'=136
+'RANGE'=137
+'STDEV'=138
+'STDEVP'=139
+'SUM'=140
+'SUMSQ'=141
+'VAR_SAMP'=142
+'VAR_POP'=143
+'STDDEV_SAMP'=144
+'STDDEV_POP'=145
+'PERCENTILE'=146
+'TAKE'=147
+'FIRST'=148
+'LAST'=149
+'LIST'=150
+'VALUES'=151
+'EARLIEST'=152
+'EARLIEST_TIME'=153
+'LATEST'=154
+'LATEST_TIME'=155
+'PER_DAY'=156
+'PER_HOUR'=157
+'PER_MINUTE'=158
+'PER_SECOND'=159
+'RATE'=160
+'SPARKLINE'=161
+'C'=162
+'DC'=163
+'ABS'=164
+'CEIL'=165
+'CEILING'=166
+'CONV'=167
+'CRC32'=168
+'E'=169
+'EXP'=170
+'FLOOR'=171
+'LN'=172
+'LOG'=173
+'LOG10'=174
+'LOG2'=175
+'MOD'=176
+'PI'=177
+'POW'=178
+'POWER'=179
+'RAND'=180
+'ROUND'=181
+'SIGN'=182
+'SQRT'=183
+'TRUNCATE'=184
+'ACOS'=185
+'ASIN'=186
+'ATAN'=187
+'ATAN2'=188
+'COS'=189
+'COT'=190
+'DEGREES'=191
+'RADIANS'=192
+'SIN'=193
+'TAN'=194
+'ADDDATE'=195
+'CURDATE'=196
+'CURRENT_DATE'=197
+'CURRENT_TIME'=198
+'CURRENT_TIMESTAMP'=199
+'CURTIME'=200
+'DATE'=201
+'DATE_ADD'=202
+'DATE_FORMAT'=203
+'DATE_SUB'=204
+'DAYNAME'=205
+'DAYOFMONTH'=206
+'DAYOFWEEK'=207
+'DAYOFYEAR'=208
+'FROM_DAYS'=209
+'LOCALTIME'=210
+'LOCALTIMESTAMP'=211
+'FROM_UNIXTIME'=212
+'MAKEDATE'=213
+'MAKETIME'=214
+'MONTHNAME'=215
+'NOW'=216
+'PERIOD_ADD'=217
+'PERIOD_DIFF'=218
+'SUBDATE'=219
+'SYSDATE'=220
+'TIME'=221
+'TIME_TO_SEC'=222
+'TIMESTAMP'=223
+'TO_DAYS'=224
+'UTC_DATE'=225
+'UTC_TIME'=226
+'UTC_TIMESTAMP'=227
+'UNIX_TIMESTAMP'=228
+'SUBSTR'=229
+'SUBSTRING'=230
+'LTRIM'=231
+'RTRIM'=232
+'TRIM'=233
+'TO'=234
+'LOWER'=235
+'UPPER'=236
+'CONCAT'=237
+'CONCAT_WS'=238
+'LENGTH'=239
+'STRCMP'=240
+'RIGHT'=241
+'LEFT'=242
+'ASCII'=243
+'LOCATE'=244
+'REPLACE'=245
+'CAST'=246
+'LIKE'=247
+'ISNULL'=248
+'ISNOTNULL'=249
+'IFNULL'=250
+'NULLIF'=251
+'IF'=252
+'TYPEOF'=253
+'MATCH'=254
+'MATCH_PHRASE'=255
+'MATCH_PHRASE_PREFIX'=256
+'MATCH_BOOL_PREFIX'=257
+'SIMPLE_QUERY_STRING'=258
+'MULTI_MATCH'=259
+'QUERY_STRING'=260
+'ALLOW_LEADING_WILDCARD'=261
+'ANALYZE_WILDCARD'=262
+'ANALYZER'=263
+'AUTO_GENERATE_SYNONYMS_PHRASE_QUERY'=264
+'BOOST'=265
+'CUTOFF_FREQUENCY'=266
+'DEFAULT_FIELD'=267
+'DEFAULT_OPERATOR'=268
+'ENABLE_POSITION_INCREMENTS'=269
+'ESCAPE'=270
+'FLAGS'=271
+'FUZZY_MAX_EXPANSIONS'=272
+'FUZZY_PREFIX_LENGTH'=273
+'FUZZY_TRANSPOSITIONS'=274
+'FUZZY_REWRITE'=275
+'FUZZINESS'=276
+'LENIENT'=277
+'LOW_FREQ_OPERATOR'=278
+'MAX_DETERMINIZED_STATES'=279
+'MAX_EXPANSIONS'=280
+'MINIMUM_SHOULD_MATCH'=281
+'OPERATOR'=282
+'PHRASE_SLOP'=283
+'PREFIX_LENGTH'=284
+'QUOTE_ANALYZER'=285
+'QUOTE_FIELD_SUFFIX'=286
+'REWRITE'=287
+'SLOP'=288
+'TIE_BREAKER'=289
+'TYPE'=290
+'ZERO_TERMS_QUERY'=291
+'SPAN'=292
+'MS'=293
+'S'=294
+'M'=295
+'H'=296
+'W'=297
+'Q'=298
+'Y'=299
diff --git a/common/query_manager/antlr/output/OpenSearchPPLLexer.ts b/common/query_manager/antlr/output/OpenSearchPPLLexer.ts
new file mode 100644
index 0000000000..834c1d59ed
--- /dev/null
+++ b/common/query_manager/antlr/output/OpenSearchPPLLexer.ts
@@ -0,0 +1,2072 @@
+// Generated from ./common/query_manager/antlr/grammar/OpenSearchPPLLexer.g4 by ANTLR 4.9.0-SNAPSHOT
+
+
+import { ATN } from "antlr4ts/atn/ATN";
+import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer";
+import { CharStream } from "antlr4ts/CharStream";
+import { Lexer } from "antlr4ts/Lexer";
+import { LexerATNSimulator } from "antlr4ts/atn/LexerATNSimulator";
+import { NotNull } from "antlr4ts/Decorators";
+import { Override } from "antlr4ts/Decorators";
+import { RuleContext } from "antlr4ts/RuleContext";
+import { Vocabulary } from "antlr4ts/Vocabulary";
+import { VocabularyImpl } from "antlr4ts/VocabularyImpl";
+
+import * as Utils from "antlr4ts/misc/Utils";
+
+
+export class OpenSearchPPLLexer extends Lexer {
+ public static readonly SEARCH = 1;
+ public static readonly DESCRIBE = 2;
+ public static readonly SHOW = 3;
+ public static readonly FROM = 4;
+ public static readonly WHERE = 5;
+ public static readonly FIELDS = 6;
+ public static readonly RENAME = 7;
+ public static readonly STATS = 8;
+ public static readonly DEDUP = 9;
+ public static readonly SORT = 10;
+ public static readonly EVAL = 11;
+ public static readonly HEAD = 12;
+ public static readonly TOP = 13;
+ public static readonly RARE = 14;
+ public static readonly PARSE = 15;
+ public static readonly METHOD = 16;
+ public static readonly REGEX = 17;
+ public static readonly PUNCT = 18;
+ public static readonly GROK = 19;
+ public static readonly PATTERN = 20;
+ public static readonly PATTERNS = 21;
+ public static readonly NEW_FIELD = 22;
+ public static readonly KMEANS = 23;
+ public static readonly AD = 24;
+ public static readonly ML = 25;
+ public static readonly AS = 26;
+ public static readonly BY = 27;
+ public static readonly SOURCE = 28;
+ public static readonly INDEX = 29;
+ public static readonly D = 30;
+ public static readonly DESC = 31;
+ public static readonly CATALOGS = 32;
+ public static readonly SORTBY = 33;
+ public static readonly AUTO = 34;
+ public static readonly STR = 35;
+ public static readonly IP = 36;
+ public static readonly NUM = 37;
+ public static readonly KEEPEMPTY = 38;
+ public static readonly CONSECUTIVE = 39;
+ public static readonly DEDUP_SPLITVALUES = 40;
+ public static readonly PARTITIONS = 41;
+ public static readonly ALLNUM = 42;
+ public static readonly DELIM = 43;
+ public static readonly CENTROIDS = 44;
+ public static readonly ITERATIONS = 45;
+ public static readonly DISTANCE_TYPE = 46;
+ public static readonly NUMBER_OF_TREES = 47;
+ public static readonly SHINGLE_SIZE = 48;
+ public static readonly SAMPLE_SIZE = 49;
+ public static readonly OUTPUT_AFTER = 50;
+ public static readonly TIME_DECAY = 51;
+ public static readonly ANOMALY_RATE = 52;
+ public static readonly CATEGORY_FIELD = 53;
+ public static readonly TIME_FIELD = 54;
+ public static readonly TIME_ZONE = 55;
+ public static readonly TRAINING_DATA_SIZE = 56;
+ public static readonly ANOMALY_SCORE_THRESHOLD = 57;
+ public static readonly CASE = 58;
+ public static readonly IN = 59;
+ public static readonly NOT = 60;
+ public static readonly OR = 61;
+ public static readonly AND = 62;
+ public static readonly XOR = 63;
+ public static readonly TRUE = 64;
+ public static readonly FALSE = 65;
+ public static readonly REGEXP = 66;
+ public static readonly DATETIME = 67;
+ public static readonly INTERVAL = 68;
+ public static readonly MICROSECOND = 69;
+ public static readonly MILLISECOND = 70;
+ public static readonly SECOND = 71;
+ public static readonly MINUTE = 72;
+ public static readonly HOUR = 73;
+ public static readonly DAY = 74;
+ public static readonly WEEK = 75;
+ public static readonly MONTH = 76;
+ public static readonly QUARTER = 77;
+ public static readonly YEAR = 78;
+ public static readonly SECOND_MICROSECOND = 79;
+ public static readonly MINUTE_MICROSECOND = 80;
+ public static readonly MINUTE_SECOND = 81;
+ public static readonly HOUR_MICROSECOND = 82;
+ public static readonly HOUR_SECOND = 83;
+ public static readonly HOUR_MINUTE = 84;
+ public static readonly DAY_MICROSECOND = 85;
+ public static readonly DAY_SECOND = 86;
+ public static readonly DAY_MINUTE = 87;
+ public static readonly DAY_HOUR = 88;
+ public static readonly YEAR_MONTH = 89;
+ public static readonly CONVERT_TZ = 90;
+ public static readonly DATAMODEL = 91;
+ public static readonly LOOKUP = 92;
+ public static readonly SAVEDSEARCH = 93;
+ public static readonly INT = 94;
+ public static readonly INTEGER = 95;
+ public static readonly DOUBLE = 96;
+ public static readonly LONG = 97;
+ public static readonly FLOAT = 98;
+ public static readonly STRING = 99;
+ public static readonly BOOLEAN = 100;
+ public static readonly PIPE = 101;
+ public static readonly COMMA = 102;
+ public static readonly DOT = 103;
+ public static readonly EQUAL = 104;
+ public static readonly GREATER = 105;
+ public static readonly LESS = 106;
+ public static readonly NOT_GREATER = 107;
+ public static readonly NOT_LESS = 108;
+ public static readonly NOT_EQUAL = 109;
+ public static readonly PLUS = 110;
+ public static readonly MINUS = 111;
+ public static readonly STAR = 112;
+ public static readonly DIVIDE = 113;
+ public static readonly MODULE = 114;
+ public static readonly EXCLAMATION_SYMBOL = 115;
+ public static readonly COLON = 116;
+ public static readonly LT_PRTHS = 117;
+ public static readonly RT_PRTHS = 118;
+ public static readonly LT_SQR_PRTHS = 119;
+ public static readonly RT_SQR_PRTHS = 120;
+ public static readonly SINGLE_QUOTE = 121;
+ public static readonly DOUBLE_QUOTE = 122;
+ public static readonly BACKTICK = 123;
+ public static readonly BIT_NOT_OP = 124;
+ public static readonly BIT_AND_OP = 125;
+ public static readonly BIT_XOR_OP = 126;
+ public static readonly AVG = 127;
+ public static readonly COUNT = 128;
+ public static readonly DISTINCT_COUNT = 129;
+ public static readonly ESTDC = 130;
+ public static readonly ESTDC_ERROR = 131;
+ public static readonly MAX = 132;
+ public static readonly MEAN = 133;
+ public static readonly MEDIAN = 134;
+ public static readonly MIN = 135;
+ public static readonly MODE = 136;
+ public static readonly RANGE = 137;
+ public static readonly STDEV = 138;
+ public static readonly STDEVP = 139;
+ public static readonly SUM = 140;
+ public static readonly SUMSQ = 141;
+ public static readonly VAR_SAMP = 142;
+ public static readonly VAR_POP = 143;
+ public static readonly STDDEV_SAMP = 144;
+ public static readonly STDDEV_POP = 145;
+ public static readonly PERCENTILE = 146;
+ public static readonly TAKE = 147;
+ public static readonly FIRST = 148;
+ public static readonly LAST = 149;
+ public static readonly LIST = 150;
+ public static readonly VALUES = 151;
+ public static readonly EARLIEST = 152;
+ public static readonly EARLIEST_TIME = 153;
+ public static readonly LATEST = 154;
+ public static readonly LATEST_TIME = 155;
+ public static readonly PER_DAY = 156;
+ public static readonly PER_HOUR = 157;
+ public static readonly PER_MINUTE = 158;
+ public static readonly PER_SECOND = 159;
+ public static readonly RATE = 160;
+ public static readonly SPARKLINE = 161;
+ public static readonly C = 162;
+ public static readonly DC = 163;
+ public static readonly ABS = 164;
+ public static readonly CEIL = 165;
+ public static readonly CEILING = 166;
+ public static readonly CONV = 167;
+ public static readonly CRC32 = 168;
+ public static readonly E = 169;
+ public static readonly EXP = 170;
+ public static readonly FLOOR = 171;
+ public static readonly LN = 172;
+ public static readonly LOG = 173;
+ public static readonly LOG10 = 174;
+ public static readonly LOG2 = 175;
+ public static readonly MOD = 176;
+ public static readonly PI = 177;
+ public static readonly POW = 178;
+ public static readonly POWER = 179;
+ public static readonly RAND = 180;
+ public static readonly ROUND = 181;
+ public static readonly SIGN = 182;
+ public static readonly SQRT = 183;
+ public static readonly TRUNCATE = 184;
+ public static readonly ACOS = 185;
+ public static readonly ASIN = 186;
+ public static readonly ATAN = 187;
+ public static readonly ATAN2 = 188;
+ public static readonly COS = 189;
+ public static readonly COT = 190;
+ public static readonly DEGREES = 191;
+ public static readonly RADIANS = 192;
+ public static readonly SIN = 193;
+ public static readonly TAN = 194;
+ public static readonly ADDDATE = 195;
+ public static readonly CURDATE = 196;
+ public static readonly CURRENT_DATE = 197;
+ public static readonly CURRENT_TIME = 198;
+ public static readonly CURRENT_TIMESTAMP = 199;
+ public static readonly CURTIME = 200;
+ public static readonly DATE = 201;
+ public static readonly DATE_ADD = 202;
+ public static readonly DATE_FORMAT = 203;
+ public static readonly DATE_SUB = 204;
+ public static readonly DAYNAME = 205;
+ public static readonly DAYOFMONTH = 206;
+ public static readonly DAYOFWEEK = 207;
+ public static readonly DAYOFYEAR = 208;
+ public static readonly FROM_DAYS = 209;
+ public static readonly LOCALTIME = 210;
+ public static readonly LOCALTIMESTAMP = 211;
+ public static readonly FROM_UNIXTIME = 212;
+ public static readonly MAKEDATE = 213;
+ public static readonly MAKETIME = 214;
+ public static readonly MONTHNAME = 215;
+ public static readonly NOW = 216;
+ public static readonly PERIOD_ADD = 217;
+ public static readonly PERIOD_DIFF = 218;
+ public static readonly SUBDATE = 219;
+ public static readonly SYSDATE = 220;
+ public static readonly TIME = 221;
+ public static readonly TIME_TO_SEC = 222;
+ public static readonly TIMESTAMP = 223;
+ public static readonly TO_DAYS = 224;
+ public static readonly UTC_DATE = 225;
+ public static readonly UTC_TIME = 226;
+ public static readonly UTC_TIMESTAMP = 227;
+ public static readonly UNIX_TIMESTAMP = 228;
+ public static readonly SUBSTR = 229;
+ public static readonly SUBSTRING = 230;
+ public static readonly LTRIM = 231;
+ public static readonly RTRIM = 232;
+ public static readonly TRIM = 233;
+ public static readonly TO = 234;
+ public static readonly LOWER = 235;
+ public static readonly UPPER = 236;
+ public static readonly CONCAT = 237;
+ public static readonly CONCAT_WS = 238;
+ public static readonly LENGTH = 239;
+ public static readonly STRCMP = 240;
+ public static readonly RIGHT = 241;
+ public static readonly LEFT = 242;
+ public static readonly ASCII = 243;
+ public static readonly LOCATE = 244;
+ public static readonly REPLACE = 245;
+ public static readonly CAST = 246;
+ public static readonly LIKE = 247;
+ public static readonly ISNULL = 248;
+ public static readonly ISNOTNULL = 249;
+ public static readonly IFNULL = 250;
+ public static readonly NULLIF = 251;
+ public static readonly IF = 252;
+ public static readonly TYPEOF = 253;
+ public static readonly MATCH = 254;
+ public static readonly MATCH_PHRASE = 255;
+ public static readonly MATCH_PHRASE_PREFIX = 256;
+ public static readonly MATCH_BOOL_PREFIX = 257;
+ public static readonly SIMPLE_QUERY_STRING = 258;
+ public static readonly MULTI_MATCH = 259;
+ public static readonly QUERY_STRING = 260;
+ public static readonly ALLOW_LEADING_WILDCARD = 261;
+ public static readonly ANALYZE_WILDCARD = 262;
+ public static readonly ANALYZER = 263;
+ public static readonly AUTO_GENERATE_SYNONYMS_PHRASE_QUERY = 264;
+ public static readonly BOOST = 265;
+ public static readonly CUTOFF_FREQUENCY = 266;
+ public static readonly DEFAULT_FIELD = 267;
+ public static readonly DEFAULT_OPERATOR = 268;
+ public static readonly ENABLE_POSITION_INCREMENTS = 269;
+ public static readonly ESCAPE = 270;
+ public static readonly FLAGS = 271;
+ public static readonly FUZZY_MAX_EXPANSIONS = 272;
+ public static readonly FUZZY_PREFIX_LENGTH = 273;
+ public static readonly FUZZY_TRANSPOSITIONS = 274;
+ public static readonly FUZZY_REWRITE = 275;
+ public static readonly FUZZINESS = 276;
+ public static readonly LENIENT = 277;
+ public static readonly LOW_FREQ_OPERATOR = 278;
+ public static readonly MAX_DETERMINIZED_STATES = 279;
+ public static readonly MAX_EXPANSIONS = 280;
+ public static readonly MINIMUM_SHOULD_MATCH = 281;
+ public static readonly OPERATOR = 282;
+ public static readonly PHRASE_SLOP = 283;
+ public static readonly PREFIX_LENGTH = 284;
+ public static readonly QUOTE_ANALYZER = 285;
+ public static readonly QUOTE_FIELD_SUFFIX = 286;
+ public static readonly REWRITE = 287;
+ public static readonly SLOP = 288;
+ public static readonly TIE_BREAKER = 289;
+ public static readonly TYPE = 290;
+ public static readonly ZERO_TERMS_QUERY = 291;
+ public static readonly SPAN = 292;
+ public static readonly MS = 293;
+ public static readonly S = 294;
+ public static readonly M = 295;
+ public static readonly H = 296;
+ public static readonly W = 297;
+ public static readonly Q = 298;
+ public static readonly Y = 299;
+ public static readonly ID = 300;
+ public static readonly INTEGER_LITERAL = 301;
+ public static readonly DECIMAL_LITERAL = 302;
+ public static readonly ID_DATE_SUFFIX = 303;
+ public static readonly DQUOTA_STRING = 304;
+ public static readonly SQUOTA_STRING = 305;
+ public static readonly BQUOTA_STRING = 306;
+ public static readonly ERROR_RECOGNITION = 307;
+ public static readonly WHITESPACE = 2;
+ public static readonly ERRORCHANNEL = 3;
+
+ // tslint:disable:no-trailing-whitespace
+ public static readonly channelNames: string[] = [
+ "DEFAULT_TOKEN_CHANNEL", "HIDDEN", "WHITESPACE", "ERRORCHANNEL",
+ ];
+
+ // tslint:disable:no-trailing-whitespace
+ public static readonly modeNames: string[] = [
+ "DEFAULT_MODE",
+ ];
+
+ public static readonly ruleNames: string[] = [
+ "SEARCH", "DESCRIBE", "SHOW", "FROM", "WHERE", "FIELDS", "RENAME", "STATS",
+ "DEDUP", "SORT", "EVAL", "HEAD", "TOP", "RARE", "PARSE", "METHOD", "REGEX",
+ "PUNCT", "GROK", "PATTERN", "PATTERNS", "NEW_FIELD", "KMEANS", "AD", "ML",
+ "AS", "BY", "SOURCE", "INDEX", "D", "DESC", "CATALOGS", "SORTBY", "AUTO",
+ "STR", "IP", "NUM", "KEEPEMPTY", "CONSECUTIVE", "DEDUP_SPLITVALUES", "PARTITIONS",
+ "ALLNUM", "DELIM", "CENTROIDS", "ITERATIONS", "DISTANCE_TYPE", "NUMBER_OF_TREES",
+ "SHINGLE_SIZE", "SAMPLE_SIZE", "OUTPUT_AFTER", "TIME_DECAY", "ANOMALY_RATE",
+ "CATEGORY_FIELD", "TIME_FIELD", "TIME_ZONE", "TRAINING_DATA_SIZE", "ANOMALY_SCORE_THRESHOLD",
+ "CASE", "IN", "NOT", "OR", "AND", "XOR", "TRUE", "FALSE", "REGEXP", "DATETIME",
+ "INTERVAL", "MICROSECOND", "MILLISECOND", "SECOND", "MINUTE", "HOUR",
+ "DAY", "WEEK", "MONTH", "QUARTER", "YEAR", "SECOND_MICROSECOND", "MINUTE_MICROSECOND",
+ "MINUTE_SECOND", "HOUR_MICROSECOND", "HOUR_SECOND", "HOUR_MINUTE", "DAY_MICROSECOND",
+ "DAY_SECOND", "DAY_MINUTE", "DAY_HOUR", "YEAR_MONTH", "CONVERT_TZ", "DATAMODEL",
+ "LOOKUP", "SAVEDSEARCH", "INT", "INTEGER", "DOUBLE", "LONG", "FLOAT",
+ "STRING", "BOOLEAN", "PIPE", "COMMA", "DOT", "EQUAL", "GREATER", "LESS",
+ "NOT_GREATER", "NOT_LESS", "NOT_EQUAL", "PLUS", "MINUS", "STAR", "DIVIDE",
+ "MODULE", "EXCLAMATION_SYMBOL", "COLON", "LT_PRTHS", "RT_PRTHS", "LT_SQR_PRTHS",
+ "RT_SQR_PRTHS", "SINGLE_QUOTE", "DOUBLE_QUOTE", "BACKTICK", "BIT_NOT_OP",
+ "BIT_AND_OP", "BIT_XOR_OP", "AVG", "COUNT", "DISTINCT_COUNT", "ESTDC",
+ "ESTDC_ERROR", "MAX", "MEAN", "MEDIAN", "MIN", "MODE", "RANGE", "STDEV",
+ "STDEVP", "SUM", "SUMSQ", "VAR_SAMP", "VAR_POP", "STDDEV_SAMP", "STDDEV_POP",
+ "PERCENTILE", "TAKE", "FIRST", "LAST", "LIST", "VALUES", "EARLIEST", "EARLIEST_TIME",
+ "LATEST", "LATEST_TIME", "PER_DAY", "PER_HOUR", "PER_MINUTE", "PER_SECOND",
+ "RATE", "SPARKLINE", "C", "DC", "ABS", "CEIL", "CEILING", "CONV", "CRC32",
+ "E", "EXP", "FLOOR", "LN", "LOG", "LOG10", "LOG2", "MOD", "PI", "POW",
+ "POWER", "RAND", "ROUND", "SIGN", "SQRT", "TRUNCATE", "ACOS", "ASIN",
+ "ATAN", "ATAN2", "COS", "COT", "DEGREES", "RADIANS", "SIN", "TAN", "ADDDATE",
+ "CURDATE", "CURRENT_DATE", "CURRENT_TIME", "CURRENT_TIMESTAMP", "CURTIME",
+ "DATE", "DATE_ADD", "DATE_FORMAT", "DATE_SUB", "DAYNAME", "DAYOFMONTH",
+ "DAYOFWEEK", "DAYOFYEAR", "FROM_DAYS", "LOCALTIME", "LOCALTIMESTAMP",
+ "FROM_UNIXTIME", "MAKEDATE", "MAKETIME", "MONTHNAME", "NOW", "PERIOD_ADD",
+ "PERIOD_DIFF", "SUBDATE", "SYSDATE", "TIME", "TIME_TO_SEC", "TIMESTAMP",
+ "TO_DAYS", "UTC_DATE", "UTC_TIME", "UTC_TIMESTAMP", "UNIX_TIMESTAMP",
+ "SUBSTR", "SUBSTRING", "LTRIM", "RTRIM", "TRIM", "TO", "LOWER", "UPPER",
+ "CONCAT", "CONCAT_WS", "LENGTH", "STRCMP", "RIGHT", "LEFT", "ASCII", "LOCATE",
+ "REPLACE", "CAST", "LIKE", "ISNULL", "ISNOTNULL", "IFNULL", "NULLIF",
+ "IF", "TYPEOF", "MATCH", "MATCH_PHRASE", "MATCH_PHRASE_PREFIX", "MATCH_BOOL_PREFIX",
+ "SIMPLE_QUERY_STRING", "MULTI_MATCH", "QUERY_STRING", "ALLOW_LEADING_WILDCARD",
+ "ANALYZE_WILDCARD", "ANALYZER", "AUTO_GENERATE_SYNONYMS_PHRASE_QUERY",
+ "BOOST", "CUTOFF_FREQUENCY", "DEFAULT_FIELD", "DEFAULT_OPERATOR", "ENABLE_POSITION_INCREMENTS",
+ "ESCAPE", "FLAGS", "FUZZY_MAX_EXPANSIONS", "FUZZY_PREFIX_LENGTH", "FUZZY_TRANSPOSITIONS",
+ "FUZZY_REWRITE", "FUZZINESS", "LENIENT", "LOW_FREQ_OPERATOR", "MAX_DETERMINIZED_STATES",
+ "MAX_EXPANSIONS", "MINIMUM_SHOULD_MATCH", "OPERATOR", "PHRASE_SLOP", "PREFIX_LENGTH",
+ "QUOTE_ANALYZER", "QUOTE_FIELD_SUFFIX", "REWRITE", "SLOP", "TIE_BREAKER",
+ "TYPE", "ZERO_TERMS_QUERY", "SPAN", "MS", "S", "M", "H", "W", "Q", "Y",
+ "ID", "INTEGER_LITERAL", "DECIMAL_LITERAL", "DATE_SUFFIX", "ID_LITERAL",
+ "ID_DATE_SUFFIX", "DQUOTA_STRING", "SQUOTA_STRING", "BQUOTA_STRING", "DEC_DIGIT",
+ "ERROR_RECOGNITION",
+ ];
+
+ private static readonly _LITERAL_NAMES: Array = [
+ undefined, "'SEARCH'", "'DESCRIBE'", "'SHOW'", "'FROM'", "'WHERE'", "'FIELDS'",
+ "'RENAME'", "'STATS'", "'DEDUP'", "'SORT'", "'EVAL'", "'HEAD'", "'TOP'",
+ "'RARE'", "'PARSE'", "'METHOD'", "'REGEX'", "'PUNCT'", "'GROK'", "'PATTERN'",
+ "'PATTERNS'", "'NEW_FIELD'", "'KMEANS'", "'AD'", "'ML'", "'AS'", "'BY'",
+ "'SOURCE'", "'INDEX'", "'D'", "'DESC'", "'CATALOGS'", "'SORTBY'", "'AUTO'",
+ "'STR'", "'IP'", "'NUM'", "'KEEPEMPTY'", "'CONSECUTIVE'", "'DEDUP_SPLITVALUES'",
+ "'PARTITIONS'", "'ALLNUM'", "'DELIM'", "'CENTROIDS'", "'ITERATIONS'",
+ "'DISTANCE_TYPE'", "'NUMBER_OF_TREES'", "'SHINGLE_SIZE'", "'SAMPLE_SIZE'",
+ "'OUTPUT_AFTER'", "'TIME_DECAY'", "'ANOMALY_RATE'", "'CATEGORY_FIELD'",
+ "'TIME_FIELD'", "'TIME_ZONE'", "'TRAINING_DATA_SIZE'", "'ANOMALY_SCORE_THRESHOLD'",
+ "'CASE'", "'IN'", "'NOT'", "'OR'", "'AND'", "'XOR'", "'TRUE'", "'FALSE'",
+ "'REGEXP'", "'DATETIME'", "'INTERVAL'", "'MICROSECOND'", "'MILLISECOND'",
+ "'SECOND'", "'MINUTE'", "'HOUR'", "'DAY'", "'WEEK'", "'MONTH'", "'QUARTER'",
+ "'YEAR'", "'SECOND_MICROSECOND'", "'MINUTE_MICROSECOND'", "'MINUTE_SECOND'",
+ "'HOUR_MICROSECOND'", "'HOUR_SECOND'", "'HOUR_MINUTE'", "'DAY_MICROSECOND'",
+ "'DAY_SECOND'", "'DAY_MINUTE'", "'DAY_HOUR'", "'YEAR_MONTH'", "'CONVERT_TZ'",
+ "'DATAMODEL'", "'LOOKUP'", "'SAVEDSEARCH'", "'INT'", "'INTEGER'", "'DOUBLE'",
+ "'LONG'", "'FLOAT'", "'STRING'", "'BOOLEAN'", "'|'", "','", "'.'", "'='",
+ "'>'", "'<'", undefined, undefined, undefined, "'+'", "'-'", "'*'", "'/'",
+ "'%'", "'!'", "':'", "'('", "')'", "'['", "']'", "'''", "'\"'", "'`'",
+ "'~'", "'&'", "'^'", "'AVG'", "'COUNT'", "'DISTINCT_COUNT'", "'ESTDC'",
+ "'ESTDC_ERROR'", "'MAX'", "'MEAN'", "'MEDIAN'", "'MIN'", "'MODE'", "'RANGE'",
+ "'STDEV'", "'STDEVP'", "'SUM'", "'SUMSQ'", "'VAR_SAMP'", "'VAR_POP'",
+ "'STDDEV_SAMP'", "'STDDEV_POP'", "'PERCENTILE'", "'TAKE'", "'FIRST'",
+ "'LAST'", "'LIST'", "'VALUES'", "'EARLIEST'", "'EARLIEST_TIME'", "'LATEST'",
+ "'LATEST_TIME'", "'PER_DAY'", "'PER_HOUR'", "'PER_MINUTE'", "'PER_SECOND'",
+ "'RATE'", "'SPARKLINE'", "'C'", "'DC'", "'ABS'", "'CEIL'", "'CEILING'",
+ "'CONV'", "'CRC32'", "'E'", "'EXP'", "'FLOOR'", "'LN'", "'LOG'", "'LOG10'",
+ "'LOG2'", "'MOD'", "'PI'", "'POW'", "'POWER'", "'RAND'", "'ROUND'", "'SIGN'",
+ "'SQRT'", "'TRUNCATE'", "'ACOS'", "'ASIN'", "'ATAN'", "'ATAN2'", "'COS'",
+ "'COT'", "'DEGREES'", "'RADIANS'", "'SIN'", "'TAN'", "'ADDDATE'", "'CURDATE'",
+ "'CURRENT_DATE'", "'CURRENT_TIME'", "'CURRENT_TIMESTAMP'", "'CURTIME'",
+ "'DATE'", "'DATE_ADD'", "'DATE_FORMAT'", "'DATE_SUB'", "'DAYNAME'", "'DAYOFMONTH'",
+ "'DAYOFWEEK'", "'DAYOFYEAR'", "'FROM_DAYS'", "'LOCALTIME'", "'LOCALTIMESTAMP'",
+ "'FROM_UNIXTIME'", "'MAKEDATE'", "'MAKETIME'", "'MONTHNAME'", "'NOW'",
+ "'PERIOD_ADD'", "'PERIOD_DIFF'", "'SUBDATE'", "'SYSDATE'", "'TIME'", "'TIME_TO_SEC'",
+ "'TIMESTAMP'", "'TO_DAYS'", "'UTC_DATE'", "'UTC_TIME'", "'UTC_TIMESTAMP'",
+ "'UNIX_TIMESTAMP'", "'SUBSTR'", "'SUBSTRING'", "'LTRIM'", "'RTRIM'", "'TRIM'",
+ "'TO'", "'LOWER'", "'UPPER'", "'CONCAT'", "'CONCAT_WS'", "'LENGTH'", "'STRCMP'",
+ "'RIGHT'", "'LEFT'", "'ASCII'", "'LOCATE'", "'REPLACE'", "'CAST'", "'LIKE'",
+ "'ISNULL'", "'ISNOTNULL'", "'IFNULL'", "'NULLIF'", "'IF'", "'TYPEOF'",
+ "'MATCH'", "'MATCH_PHRASE'", "'MATCH_PHRASE_PREFIX'", "'MATCH_BOOL_PREFIX'",
+ "'SIMPLE_QUERY_STRING'", "'MULTI_MATCH'", "'QUERY_STRING'", "'ALLOW_LEADING_WILDCARD'",
+ "'ANALYZE_WILDCARD'", "'ANALYZER'", "'AUTO_GENERATE_SYNONYMS_PHRASE_QUERY'",
+ "'BOOST'", "'CUTOFF_FREQUENCY'", "'DEFAULT_FIELD'", "'DEFAULT_OPERATOR'",
+ "'ENABLE_POSITION_INCREMENTS'", "'ESCAPE'", "'FLAGS'", "'FUZZY_MAX_EXPANSIONS'",
+ "'FUZZY_PREFIX_LENGTH'", "'FUZZY_TRANSPOSITIONS'", "'FUZZY_REWRITE'",
+ "'FUZZINESS'", "'LENIENT'", "'LOW_FREQ_OPERATOR'", "'MAX_DETERMINIZED_STATES'",
+ "'MAX_EXPANSIONS'", "'MINIMUM_SHOULD_MATCH'", "'OPERATOR'", "'PHRASE_SLOP'",
+ "'PREFIX_LENGTH'", "'QUOTE_ANALYZER'", "'QUOTE_FIELD_SUFFIX'", "'REWRITE'",
+ "'SLOP'", "'TIE_BREAKER'", "'TYPE'", "'ZERO_TERMS_QUERY'", "'SPAN'", "'MS'",
+ "'S'", "'M'", "'H'", "'W'", "'Q'", "'Y'",
+ ];
+ private static readonly _SYMBOLIC_NAMES: Array = [
+ undefined, "SEARCH", "DESCRIBE", "SHOW", "FROM", "WHERE", "FIELDS", "RENAME",
+ "STATS", "DEDUP", "SORT", "EVAL", "HEAD", "TOP", "RARE", "PARSE", "METHOD",
+ "REGEX", "PUNCT", "GROK", "PATTERN", "PATTERNS", "NEW_FIELD", "KMEANS",
+ "AD", "ML", "AS", "BY", "SOURCE", "INDEX", "D", "DESC", "CATALOGS", "SORTBY",
+ "AUTO", "STR", "IP", "NUM", "KEEPEMPTY", "CONSECUTIVE", "DEDUP_SPLITVALUES",
+ "PARTITIONS", "ALLNUM", "DELIM", "CENTROIDS", "ITERATIONS", "DISTANCE_TYPE",
+ "NUMBER_OF_TREES", "SHINGLE_SIZE", "SAMPLE_SIZE", "OUTPUT_AFTER", "TIME_DECAY",
+ "ANOMALY_RATE", "CATEGORY_FIELD", "TIME_FIELD", "TIME_ZONE", "TRAINING_DATA_SIZE",
+ "ANOMALY_SCORE_THRESHOLD", "CASE", "IN", "NOT", "OR", "AND", "XOR", "TRUE",
+ "FALSE", "REGEXP", "DATETIME", "INTERVAL", "MICROSECOND", "MILLISECOND",
+ "SECOND", "MINUTE", "HOUR", "DAY", "WEEK", "MONTH", "QUARTER", "YEAR",
+ "SECOND_MICROSECOND", "MINUTE_MICROSECOND", "MINUTE_SECOND", "HOUR_MICROSECOND",
+ "HOUR_SECOND", "HOUR_MINUTE", "DAY_MICROSECOND", "DAY_SECOND", "DAY_MINUTE",
+ "DAY_HOUR", "YEAR_MONTH", "CONVERT_TZ", "DATAMODEL", "LOOKUP", "SAVEDSEARCH",
+ "INT", "INTEGER", "DOUBLE", "LONG", "FLOAT", "STRING", "BOOLEAN", "PIPE",
+ "COMMA", "DOT", "EQUAL", "GREATER", "LESS", "NOT_GREATER", "NOT_LESS",
+ "NOT_EQUAL", "PLUS", "MINUS", "STAR", "DIVIDE", "MODULE", "EXCLAMATION_SYMBOL",
+ "COLON", "LT_PRTHS", "RT_PRTHS", "LT_SQR_PRTHS", "RT_SQR_PRTHS", "SINGLE_QUOTE",
+ "DOUBLE_QUOTE", "BACKTICK", "BIT_NOT_OP", "BIT_AND_OP", "BIT_XOR_OP",
+ "AVG", "COUNT", "DISTINCT_COUNT", "ESTDC", "ESTDC_ERROR", "MAX", "MEAN",
+ "MEDIAN", "MIN", "MODE", "RANGE", "STDEV", "STDEVP", "SUM", "SUMSQ", "VAR_SAMP",
+ "VAR_POP", "STDDEV_SAMP", "STDDEV_POP", "PERCENTILE", "TAKE", "FIRST",
+ "LAST", "LIST", "VALUES", "EARLIEST", "EARLIEST_TIME", "LATEST", "LATEST_TIME",
+ "PER_DAY", "PER_HOUR", "PER_MINUTE", "PER_SECOND", "RATE", "SPARKLINE",
+ "C", "DC", "ABS", "CEIL", "CEILING", "CONV", "CRC32", "E", "EXP", "FLOOR",
+ "LN", "LOG", "LOG10", "LOG2", "MOD", "PI", "POW", "POWER", "RAND", "ROUND",
+ "SIGN", "SQRT", "TRUNCATE", "ACOS", "ASIN", "ATAN", "ATAN2", "COS", "COT",
+ "DEGREES", "RADIANS", "SIN", "TAN", "ADDDATE", "CURDATE", "CURRENT_DATE",
+ "CURRENT_TIME", "CURRENT_TIMESTAMP", "CURTIME", "DATE", "DATE_ADD", "DATE_FORMAT",
+ "DATE_SUB", "DAYNAME", "DAYOFMONTH", "DAYOFWEEK", "DAYOFYEAR", "FROM_DAYS",
+ "LOCALTIME", "LOCALTIMESTAMP", "FROM_UNIXTIME", "MAKEDATE", "MAKETIME",
+ "MONTHNAME", "NOW", "PERIOD_ADD", "PERIOD_DIFF", "SUBDATE", "SYSDATE",
+ "TIME", "TIME_TO_SEC", "TIMESTAMP", "TO_DAYS", "UTC_DATE", "UTC_TIME",
+ "UTC_TIMESTAMP", "UNIX_TIMESTAMP", "SUBSTR", "SUBSTRING", "LTRIM", "RTRIM",
+ "TRIM", "TO", "LOWER", "UPPER", "CONCAT", "CONCAT_WS", "LENGTH", "STRCMP",
+ "RIGHT", "LEFT", "ASCII", "LOCATE", "REPLACE", "CAST", "LIKE", "ISNULL",
+ "ISNOTNULL", "IFNULL", "NULLIF", "IF", "TYPEOF", "MATCH", "MATCH_PHRASE",
+ "MATCH_PHRASE_PREFIX", "MATCH_BOOL_PREFIX", "SIMPLE_QUERY_STRING", "MULTI_MATCH",
+ "QUERY_STRING", "ALLOW_LEADING_WILDCARD", "ANALYZE_WILDCARD", "ANALYZER",
+ "AUTO_GENERATE_SYNONYMS_PHRASE_QUERY", "BOOST", "CUTOFF_FREQUENCY", "DEFAULT_FIELD",
+ "DEFAULT_OPERATOR", "ENABLE_POSITION_INCREMENTS", "ESCAPE", "FLAGS", "FUZZY_MAX_EXPANSIONS",
+ "FUZZY_PREFIX_LENGTH", "FUZZY_TRANSPOSITIONS", "FUZZY_REWRITE", "FUZZINESS",
+ "LENIENT", "LOW_FREQ_OPERATOR", "MAX_DETERMINIZED_STATES", "MAX_EXPANSIONS",
+ "MINIMUM_SHOULD_MATCH", "OPERATOR", "PHRASE_SLOP", "PREFIX_LENGTH", "QUOTE_ANALYZER",
+ "QUOTE_FIELD_SUFFIX", "REWRITE", "SLOP", "TIE_BREAKER", "TYPE", "ZERO_TERMS_QUERY",
+ "SPAN", "MS", "S", "M", "H", "W", "Q", "Y", "ID", "INTEGER_LITERAL", "DECIMAL_LITERAL",
+ "ID_DATE_SUFFIX", "DQUOTA_STRING", "SQUOTA_STRING", "BQUOTA_STRING", "ERROR_RECOGNITION",
+ ];
+ public static readonly VOCABULARY: Vocabulary = new VocabularyImpl(OpenSearchPPLLexer._LITERAL_NAMES, OpenSearchPPLLexer._SYMBOLIC_NAMES, []);
+
+ // @Override
+ // @NotNull
+ public get vocabulary(): Vocabulary {
+ return OpenSearchPPLLexer.VOCABULARY;
+ }
+ // tslint:enable:no-trailing-whitespace
+
+
+ constructor(input: CharStream) {
+ super(input);
+ this._interp = new LexerATNSimulator(OpenSearchPPLLexer._ATN, this);
+ }
+
+ // @Override
+ public get grammarFileName(): string { return "OpenSearchPPLLexer.g4"; }
+
+ // @Override
+ public get ruleNames(): string[] { return OpenSearchPPLLexer.ruleNames; }
+
+ // @Override
+ public get serializedATN(): string { return OpenSearchPPLLexer._serializedATN; }
+
+ // @Override
+ public get channelNames(): string[] { return OpenSearchPPLLexer.channelNames; }
+
+ // @Override
+ public get modeNames(): string[] { return OpenSearchPPLLexer.modeNames; }
+
+ private static readonly _serializedATNSegments: number = 6;
+ private static readonly _serializedATNSegment0: string =
+ "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x02\u0135\u0C3B\b" +
+ "\x01\x04\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t" +
+ "\x06\x04\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f\x04" +
+ "\r\t\r\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12" +
+ "\t\x12\x04\x13\t\x13\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17" +
+ "\t\x17\x04\x18\t\x18\x04\x19\t\x19\x04\x1A\t\x1A\x04\x1B\t\x1B\x04\x1C" +
+ "\t\x1C\x04\x1D\t\x1D\x04\x1E\t\x1E\x04\x1F\t\x1F\x04 \t \x04!\t!\x04\"" +
+ "\t\"\x04#\t#\x04$\t$\x04%\t%\x04&\t&\x04\'\t\'\x04(\t(\x04)\t)\x04*\t" +
+ "*\x04+\t+\x04,\t,\x04-\t-\x04.\t.\x04/\t/\x040\t0\x041\t1\x042\t2\x04" +
+ "3\t3\x044\t4\x045\t5\x046\t6\x047\t7\x048\t8\x049\t9\x04:\t:\x04;\t;\x04" +
+ "<\t<\x04=\t=\x04>\t>\x04?\t?\x04@\t@\x04A\tA\x04B\tB\x04C\tC\x04D\tD\x04" +
+ "E\tE\x04F\tF\x04G\tG\x04H\tH\x04I\tI\x04J\tJ\x04K\tK\x04L\tL\x04M\tM\x04" +
+ "N\tN\x04O\tO\x04P\tP\x04Q\tQ\x04R\tR\x04S\tS\x04T\tT\x04U\tU\x04V\tV\x04" +
+ "W\tW\x04X\tX\x04Y\tY\x04Z\tZ\x04[\t[\x04\\\t\\\x04]\t]\x04^\t^\x04_\t" +
+ "_\x04`\t`\x04a\ta\x04b\tb\x04c\tc\x04d\td\x04e\te\x04f\tf\x04g\tg\x04" +
+ "h\th\x04i\ti\x04j\tj\x04k\tk\x04l\tl\x04m\tm\x04n\tn\x04o\to\x04p\tp\x04" +
+ "q\tq\x04r\tr\x04s\ts\x04t\tt\x04u\tu\x04v\tv\x04w\tw\x04x\tx\x04y\ty\x04" +
+ "z\tz\x04{\t{\x04|\t|\x04}\t}\x04~\t~\x04\x7F\t\x7F\x04\x80\t\x80\x04\x81" +
+ "\t\x81\x04\x82\t\x82\x04\x83\t\x83\x04\x84\t\x84\x04\x85\t\x85\x04\x86" +
+ "\t\x86\x04\x87\t\x87\x04\x88\t\x88\x04\x89\t\x89\x04\x8A\t\x8A\x04\x8B" +
+ "\t\x8B\x04\x8C\t\x8C\x04\x8D\t\x8D\x04\x8E\t\x8E\x04\x8F\t\x8F\x04\x90" +
+ "\t\x90\x04\x91\t\x91\x04\x92\t\x92\x04\x93\t\x93\x04\x94\t\x94\x04\x95" +
+ "\t\x95\x04\x96\t\x96\x04\x97\t\x97\x04\x98\t\x98\x04\x99\t\x99\x04\x9A" +
+ "\t\x9A\x04\x9B\t\x9B\x04\x9C\t\x9C\x04\x9D\t\x9D\x04\x9E\t\x9E\x04\x9F" +
+ "\t\x9F\x04\xA0\t\xA0\x04\xA1\t\xA1\x04\xA2\t\xA2\x04\xA3\t\xA3\x04\xA4" +
+ "\t\xA4\x04\xA5\t\xA5\x04\xA6\t\xA6\x04\xA7\t\xA7\x04\xA8\t\xA8\x04\xA9" +
+ "\t\xA9\x04\xAA\t\xAA\x04\xAB\t\xAB\x04\xAC\t\xAC\x04\xAD\t\xAD\x04\xAE" +
+ "\t\xAE\x04\xAF\t\xAF\x04\xB0\t\xB0\x04\xB1\t\xB1\x04\xB2\t\xB2\x04\xB3" +
+ "\t\xB3\x04\xB4\t\xB4\x04\xB5\t\xB5\x04\xB6\t\xB6\x04\xB7\t\xB7\x04\xB8" +
+ "\t\xB8\x04\xB9\t\xB9\x04\xBA\t\xBA\x04\xBB\t\xBB\x04\xBC\t\xBC\x04\xBD" +
+ "\t\xBD\x04\xBE\t\xBE\x04\xBF\t\xBF\x04\xC0\t\xC0\x04\xC1\t\xC1\x04\xC2" +
+ "\t\xC2\x04\xC3\t\xC3\x04\xC4\t\xC4\x04\xC5\t\xC5\x04\xC6\t\xC6\x04\xC7" +
+ "\t\xC7\x04\xC8\t\xC8\x04\xC9\t\xC9\x04\xCA\t\xCA\x04\xCB\t\xCB\x04\xCC" +
+ "\t\xCC\x04\xCD\t\xCD\x04\xCE\t\xCE\x04\xCF\t\xCF\x04\xD0\t\xD0\x04\xD1" +
+ "\t\xD1\x04\xD2\t\xD2\x04\xD3\t\xD3\x04\xD4\t\xD4\x04\xD5\t\xD5\x04\xD6" +
+ "\t\xD6\x04\xD7\t\xD7\x04\xD8\t\xD8\x04\xD9\t\xD9\x04\xDA\t\xDA\x04\xDB" +
+ "\t\xDB\x04\xDC\t\xDC\x04\xDD\t\xDD\x04\xDE\t\xDE\x04\xDF\t\xDF\x04\xE0" +
+ "\t\xE0\x04\xE1\t\xE1\x04\xE2\t\xE2\x04\xE3\t\xE3\x04\xE4\t\xE4\x04\xE5" +
+ "\t\xE5\x04\xE6\t\xE6\x04\xE7\t\xE7\x04\xE8\t\xE8\x04\xE9\t\xE9\x04\xEA" +
+ "\t\xEA\x04\xEB\t\xEB\x04\xEC\t\xEC\x04\xED\t\xED\x04\xEE\t\xEE\x04\xEF" +
+ "\t\xEF\x04\xF0\t\xF0\x04\xF1\t\xF1\x04\xF2\t\xF2\x04\xF3\t\xF3\x04\xF4" +
+ "\t\xF4\x04\xF5\t\xF5\x04\xF6\t\xF6\x04\xF7\t\xF7\x04\xF8\t\xF8\x04\xF9" +
+ "\t\xF9\x04\xFA\t\xFA\x04\xFB\t\xFB\x04\xFC\t\xFC\x04\xFD\t\xFD\x04\xFE" +
+ "\t\xFE\x04\xFF\t\xFF\x04\u0100\t\u0100\x04\u0101\t\u0101\x04\u0102\t\u0102" +
+ "\x04\u0103\t\u0103\x04\u0104\t\u0104\x04\u0105\t\u0105\x04\u0106\t\u0106" +
+ "\x04\u0107\t\u0107\x04\u0108\t\u0108\x04\u0109\t\u0109\x04\u010A\t\u010A" +
+ "\x04\u010B\t\u010B\x04\u010C\t\u010C\x04\u010D\t\u010D\x04\u010E\t\u010E" +
+ "\x04\u010F\t\u010F\x04\u0110\t\u0110\x04\u0111\t\u0111\x04\u0112\t\u0112" +
+ "\x04\u0113\t\u0113\x04\u0114\t\u0114\x04\u0115\t\u0115\x04\u0116\t\u0116" +
+ "\x04\u0117\t\u0117\x04\u0118\t\u0118\x04\u0119\t\u0119\x04\u011A\t\u011A" +
+ "\x04\u011B\t\u011B\x04\u011C\t\u011C\x04\u011D\t\u011D\x04\u011E\t\u011E" +
+ "\x04\u011F\t\u011F\x04\u0120\t\u0120\x04\u0121\t\u0121\x04\u0122\t\u0122" +
+ "\x04\u0123\t\u0123\x04\u0124\t\u0124\x04\u0125\t\u0125\x04\u0126\t\u0126" +
+ "\x04\u0127\t\u0127\x04\u0128\t\u0128\x04\u0129\t\u0129\x04\u012A\t\u012A" +
+ "\x04\u012B\t\u012B\x04\u012C\t\u012C\x04\u012D\t\u012D\x04\u012E\t\u012E" +
+ "\x04\u012F\t\u012F\x04\u0130\t\u0130\x04\u0131\t\u0131\x04\u0132\t\u0132" +
+ "\x04\u0133\t\u0133\x04\u0134\t\u0134\x04\u0135\t\u0135\x04\u0136\t\u0136" +
+ "\x04\u0137\t\u0137\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03\x02\x03" +
+ "\x02\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03\x03" +
+ "\x03\x03\x04\x03\x04\x03\x04\x03\x04\x03\x04\x03\x05\x03\x05\x03\x05\x03" +
+ "\x05\x03\x05\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x06\x03\x07\x03" +
+ "\x07\x03\x07\x03\x07\x03\x07\x03\x07\x03\x07\x03\b\x03\b\x03\b\x03\b\x03" +
+ "\b\x03\b\x03\b\x03\t\x03\t\x03\t\x03\t\x03\t\x03\t\x03\n\x03\n\x03\n\x03" +
+ "\n\x03\n\x03\n\x03\v\x03\v\x03\v\x03\v\x03\v\x03\f\x03\f\x03\f\x03\f\x03" +
+ "\f\x03\r\x03\r\x03\r\x03\r\x03\r\x03\x0E\x03\x0E\x03\x0E\x03\x0E\x03\x0F" +
+ "\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x03\x10\x03\x10\x03\x10\x03\x10\x03\x10" +
+ "\x03\x10\x03\x11\x03\x11\x03\x11\x03\x11\x03\x11\x03\x11\x03\x11\x03\x12" +
+ "\x03\x12\x03\x12\x03\x12\x03\x12\x03\x12\x03\x13\x03\x13\x03\x13\x03\x13" +
+ "\x03\x13\x03\x13\x03\x14\x03\x14\x03\x14\x03\x14\x03\x14\x03\x15\x03\x15" +
+ "\x03\x15\x03\x15\x03\x15\x03\x15\x03\x15\x03\x15\x03\x16\x03\x16\x03\x16" +
+ "\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x17\x03\x17\x03\x17" +
+ "\x03\x17\x03\x17\x03\x17\x03\x17\x03\x17\x03\x17\x03\x17\x03\x18\x03\x18" +
+ "\x03\x18\x03\x18\x03\x18\x03\x18\x03\x18\x03\x19\x03\x19\x03\x19\x03\x1A" +
+ "\x03\x1A\x03\x1A\x03\x1B\x03\x1B\x03\x1B\x03\x1C\x03\x1C\x03\x1C\x03\x1D" +
+ "\x03\x1D\x03\x1D\x03\x1D\x03\x1D\x03\x1D\x03\x1D\x03\x1E\x03\x1E\x03\x1E" +
+ "\x03\x1E\x03\x1E\x03\x1E\x03\x1F\x03\x1F\x03 \x03 \x03 \x03 \x03 \x03" +
+ "!\x03!\x03!\x03!\x03!\x03!\x03!\x03!\x03!\x03\"\x03\"\x03\"\x03\"\x03" +
+ "\"\x03\"\x03\"\x03#\x03#\x03#\x03#\x03#\x03$\x03$\x03$\x03$\x03%\x03%" +
+ "\x03%\x03&\x03&\x03&\x03&\x03\'\x03\'\x03\'\x03\'\x03\'\x03\'\x03\'\x03" +
+ "\'\x03\'\x03\'\x03(\x03(\x03(\x03(\x03(\x03(\x03(\x03(\x03(\x03(\x03(" +
+ "\x03(\x03)\x03)\x03)\x03)\x03)\x03)\x03)\x03)\x03)\x03)\x03)\x03)\x03" +
+ ")\x03)\x03)\x03)\x03)\x03)\x03*\x03*\x03*\x03*\x03*\x03*\x03*\x03*\x03" +
+ "*\x03*\x03*\x03+\x03+\x03+\x03+\x03+\x03+\x03+\x03,\x03,\x03,\x03,\x03" +
+ ",\x03,\x03-\x03-\x03-\x03-\x03-\x03-\x03-\x03-\x03-\x03-\x03.\x03.\x03" +
+ ".\x03.\x03.\x03.\x03.\x03.\x03.\x03.\x03.\x03/\x03/\x03/\x03/\x03/\x03" +
+ "/\x03/\x03/\x03/\x03/\x03/\x03/\x03/\x03/\x030\x030\x030\x030\x030\x03" +
+ "0\x030\x030\x030\x030\x030\x030\x030\x030\x030\x030\x031\x031\x031\x03" +
+ "1\x031\x031\x031\x031\x031\x031\x031\x031\x031\x032\x032\x032\x032\x03" +
+ "2\x032\x032\x032\x032\x032\x032\x032\x033\x033\x033\x033\x033\x033\x03" +
+ "3\x033\x033\x033\x033\x033\x033\x034\x034\x034\x034\x034\x034\x034\x03" +
+ "4\x034\x034\x034\x035\x035\x035\x035\x035\x035\x035\x035\x035\x035\x03" +
+ "5\x035\x035\x036\x036\x036\x036\x036\x036\x036\x036\x036\x036\x036\x03" +
+ "6\x036\x036\x036\x037\x037\x037\x037\x037\x037\x037\x037\x037\x037\x03" +
+ "7\x038\x038\x038\x038\x038\x038\x038\x038\x038\x038\x039\x039\x039\x03" +
+ "9\x039\x039\x039\x039\x039\x039\x039\x039\x039\x039\x039\x039\x039\x03" +
+ "9\x039\x03:\x03:\x03:\x03:\x03:\x03:\x03:\x03:\x03:\x03:\x03:\x03:\x03" +
+ ":\x03:\x03:\x03:\x03:\x03:\x03:\x03:\x03:\x03:\x03:\x03:\x03;\x03;\x03" +
+ ";\x03;\x03;\x03<\x03<\x03<\x03=\x03=\x03=\x03=\x03>\x03>\x03>\x03?\x03" +
+ "?\x03?\x03?\x03@\x03@\x03@\x03@\x03A\x03A\x03A\x03A\x03A\x03B\x03B\x03" +
+ "B\x03B\x03B\x03B\x03C\x03C\x03C\x03C\x03C\x03C\x03C\x03D\x03D\x03D\x03" +
+ "D\x03D\x03D\x03D\x03D\x03D\x03E\x03E\x03E\x03E\x03E\x03E\x03E\x03E\x03" +
+ "E\x03F\x03F\x03F\x03F\x03F\x03F\x03F\x03F\x03F\x03F\x03F\x03F\x03G\x03" +
+ "G\x03G\x03G\x03G\x03G\x03G\x03G\x03G\x03G\x03G\x03G\x03H\x03H\x03H\x03" +
+ "H\x03H\x03H\x03H\x03I\x03I\x03I\x03I\x03I\x03I\x03I\x03J\x03J\x03J\x03" +
+ "J\x03J\x03K\x03K\x03K\x03K\x03L\x03L\x03L\x03L\x03L\x03M\x03M\x03M\x03" +
+ "M\x03M\x03M\x03N\x03N\x03N\x03N\x03N\x03N\x03N\x03N\x03O\x03O\x03O\x03" +
+ "O\x03O\x03P\x03P\x03P\x03P\x03P\x03P\x03P\x03P\x03P\x03P\x03P\x03P\x03" +
+ "P\x03P\x03P\x03P\x03P\x03P\x03P\x03Q\x03Q\x03Q\x03Q\x03Q\x03Q\x03Q\x03" +
+ "Q\x03Q\x03Q\x03Q\x03Q\x03Q\x03Q\x03Q\x03Q\x03Q\x03Q\x03Q\x03R\x03R\x03" +
+ "R\x03R\x03R\x03R\x03R\x03R\x03R\x03R\x03R\x03R\x03R\x03R\x03S\x03S\x03" +
+ "S\x03S\x03S\x03S\x03S\x03S\x03S\x03S\x03S\x03S\x03S\x03S\x03S\x03S\x03" +
+ "S\x03T\x03T\x03T\x03T\x03T\x03T\x03T\x03T\x03T\x03T\x03T\x03T\x03U\x03" +
+ "U\x03U\x03U\x03U\x03U\x03U\x03U\x03U\x03U\x03U\x03U\x03V\x03V\x03V\x03" +
+ "V\x03V\x03V\x03V\x03V\x03V\x03V\x03V\x03V\x03V\x03V\x03V\x03V\x03W\x03" +
+ "W\x03W\x03W\x03W\x03W\x03W\x03W\x03W\x03W\x03W\x03X\x03X\x03X\x03X\x03" +
+ "X\x03X\x03X\x03X\x03X\x03X\x03X\x03Y\x03Y\x03Y\x03Y\x03Y\x03Y\x03Y\x03" +
+ "Y\x03Y\x03Z\x03Z\x03Z\x03Z\x03Z\x03Z\x03Z\x03Z\x03Z\x03Z\x03Z\x03[\x03" +
+ "[\x03[\x03[\x03[\x03[\x03[\x03[\x03[\x03[\x03[\x03\\\x03\\\x03\\\x03\\" +
+ "\x03\\\x03\\\x03\\\x03\\\x03\\\x03\\\x03]\x03]\x03]\x03]\x03]\x03]\x03" +
+ "]\x03^\x03^\x03^\x03^\x03^\x03^\x03^\x03^\x03^\x03^\x03^\x03^\x03_\x03" +
+ "_\x03_\x03_\x03`\x03`\x03`\x03`\x03`\x03`\x03`\x03`\x03a\x03a\x03a\x03" +
+ "a\x03a\x03a\x03a\x03b\x03b\x03b\x03b\x03b\x03c\x03c\x03c\x03c\x03c\x03" +
+ "c\x03d\x03d\x03d\x03d\x03d\x03d\x03d\x03e\x03e\x03e\x03e\x03e\x03e\x03" +
+ "e\x03e\x03f\x03f\x03g\x03g\x03h\x03h\x03i\x03i\x03j\x03j\x03k\x03k\x03" +
+ "l\x03l\x03l\x03m\x03m\x03m\x03n\x03n\x03n\x03o\x03o\x03p\x03p\x03q\x03" +
+ "q\x03r\x03r\x03s\x03s\x03t\x03t\x03u\x03u\x03v\x03v\x03w\x03w\x03x\x03" +
+ "x\x03y\x03y\x03z\x03z\x03{\x03{\x03|\x03|\x03}\x03}\x03~\x03~\x03\x7F" +
+ "\x03\x7F\x03\x80\x03\x80\x03\x80\x03\x80\x03\x81\x03\x81\x03\x81\x03\x81" +
+ "\x03\x81\x03\x81\x03\x82\x03\x82\x03\x82\x03\x82\x03\x82\x03\x82\x03\x82" +
+ "\x03\x82\x03\x82\x03\x82\x03\x82\x03\x82\x03\x82\x03\x82\x03\x82\x03\x83" +
+ "\x03\x83\x03\x83\x03\x83\x03\x83\x03\x83\x03\x84\x03\x84\x03\x84\x03\x84" +
+ "\x03\x84\x03\x84\x03\x84\x03\x84\x03\x84\x03\x84\x03\x84\x03\x84\x03\x85" +
+ "\x03\x85\x03\x85\x03\x85\x03\x86\x03\x86\x03\x86\x03\x86\x03\x86\x03\x87" +
+ "\x03\x87\x03\x87\x03\x87\x03\x87\x03\x87\x03\x87\x03\x88\x03\x88\x03\x88" +
+ "\x03\x88\x03\x89\x03\x89\x03\x89\x03\x89\x03\x89\x03\x8A\x03\x8A\x03\x8A" +
+ "\x03\x8A\x03\x8A\x03\x8A\x03\x8B\x03\x8B\x03\x8B\x03\x8B\x03\x8B\x03\x8B" +
+ "\x03\x8C\x03\x8C\x03\x8C\x03\x8C\x03\x8C\x03\x8C\x03\x8C\x03\x8D\x03\x8D" +
+ "\x03\x8D\x03\x8D\x03\x8E\x03\x8E\x03\x8E\x03\x8E\x03\x8E\x03\x8E\x03\x8F" +
+ "\x03\x8F\x03\x8F\x03\x8F\x03\x8F\x03\x8F\x03\x8F\x03\x8F\x03\x8F\x03\x90" +
+ "\x03\x90\x03\x90\x03\x90\x03\x90\x03\x90\x03\x90\x03\x90\x03\x91\x03\x91" +
+ "\x03\x91\x03\x91\x03\x91\x03\x91\x03\x91\x03\x91\x03\x91\x03\x91\x03\x91" +
+ "\x03\x91\x03\x92\x03\x92\x03\x92\x03\x92\x03\x92\x03\x92\x03\x92\x03\x92" +
+ "\x03\x92\x03\x92\x03\x92\x03\x93\x03\x93\x03\x93\x03\x93\x03\x93\x03\x93" +
+ "\x03\x93\x03\x93\x03\x93\x03\x93\x03\x93\x03\x94\x03\x94\x03\x94\x03\x94" +
+ "\x03\x94\x03\x95\x03\x95\x03\x95\x03\x95\x03\x95\x03\x95\x03\x96\x03\x96" +
+ "\x03\x96\x03\x96\x03\x96\x03\x97\x03\x97\x03\x97\x03\x97\x03\x97\x03\x98" +
+ "\x03\x98\x03\x98\x03\x98\x03\x98\x03\x98\x03\x98\x03\x99\x03\x99\x03\x99" +
+ "\x03\x99\x03\x99\x03\x99\x03\x99\x03\x99\x03\x99\x03\x9A\x03\x9A\x03\x9A" +
+ "\x03\x9A\x03\x9A\x03\x9A\x03\x9A\x03\x9A\x03\x9A\x03\x9A\x03\x9A\x03\x9A" +
+ "\x03\x9A\x03\x9A\x03\x9B\x03\x9B\x03\x9B\x03\x9B\x03\x9B\x03\x9B\x03\x9B" +
+ "\x03\x9C\x03\x9C\x03\x9C\x03\x9C\x03\x9C\x03\x9C\x03\x9C\x03\x9C\x03\x9C" +
+ "\x03\x9C\x03\x9C\x03\x9C\x03\x9D\x03\x9D\x03\x9D\x03\x9D\x03\x9D\x03\x9D" +
+ "\x03\x9D\x03\x9D\x03\x9E\x03\x9E\x03\x9E\x03\x9E\x03\x9E\x03\x9E\x03\x9E" +
+ "\x03\x9E\x03\x9E\x03\x9F\x03\x9F\x03\x9F\x03\x9F\x03\x9F\x03\x9F\x03\x9F" +
+ "\x03\x9F\x03\x9F\x03\x9F\x03\x9F\x03\xA0\x03\xA0\x03\xA0\x03\xA0\x03\xA0" +
+ "\x03\xA0\x03\xA0\x03\xA0\x03\xA0\x03\xA0\x03\xA0\x03\xA1\x03\xA1\x03\xA1" +
+ "\x03\xA1\x03\xA1\x03\xA2\x03\xA2\x03\xA2\x03\xA2\x03\xA2\x03\xA2\x03\xA2" +
+ "\x03\xA2\x03\xA2\x03\xA2\x03\xA3\x03\xA3\x03\xA4\x03\xA4\x03\xA4\x03\xA5" +
+ "\x03\xA5\x03\xA5\x03\xA5\x03\xA6\x03\xA6\x03\xA6\x03\xA6\x03\xA6\x03\xA7" +
+ "\x03\xA7\x03\xA7\x03\xA7\x03\xA7\x03\xA7\x03\xA7\x03\xA7\x03\xA8\x03\xA8" +
+ "\x03\xA8\x03\xA8\x03\xA8\x03\xA9\x03\xA9\x03\xA9\x03\xA9\x03\xA9\x03\xA9" +
+ "\x03\xAA\x03\xAA\x03\xAB\x03\xAB\x03\xAB\x03\xAB\x03\xAC\x03\xAC\x03\xAC" +
+ "\x03\xAC\x03\xAC\x03\xAC\x03\xAD\x03\xAD\x03\xAD\x03\xAE\x03\xAE\x03\xAE" +
+ "\x03\xAE\x03\xAF\x03\xAF\x03\xAF\x03\xAF\x03\xAF\x03\xAF\x03\xB0\x03\xB0" +
+ "\x03\xB0\x03\xB0\x03\xB0\x03\xB1\x03\xB1\x03\xB1\x03\xB1\x03\xB2\x03\xB2" +
+ "\x03\xB2\x03\xB3\x03\xB3\x03\xB3\x03\xB3\x03\xB4\x03\xB4\x03\xB4\x03\xB4" +
+ "\x03\xB4\x03\xB4\x03\xB5\x03\xB5\x03\xB5\x03\xB5\x03\xB5\x03\xB6\x03\xB6" +
+ "\x03\xB6\x03\xB6\x03\xB6\x03\xB6\x03\xB7\x03\xB7\x03\xB7\x03\xB7\x03\xB7" +
+ "\x03\xB8\x03\xB8\x03\xB8\x03\xB8\x03\xB8\x03\xB9\x03\xB9\x03\xB9\x03\xB9" +
+ "\x03\xB9\x03\xB9\x03\xB9\x03\xB9\x03\xB9\x03\xBA\x03\xBA\x03\xBA\x03\xBA" +
+ "\x03\xBA\x03\xBB\x03\xBB\x03\xBB\x03\xBB\x03\xBB\x03\xBC\x03\xBC\x03\xBC" +
+ "\x03\xBC\x03\xBC\x03\xBD\x03\xBD\x03\xBD\x03\xBD\x03\xBD\x03\xBD\x03\xBE" +
+ "\x03\xBE\x03\xBE\x03\xBE\x03\xBF\x03\xBF\x03\xBF\x03\xBF\x03\xC0\x03\xC0" +
+ "\x03\xC0\x03\xC0\x03\xC0\x03\xC0\x03\xC0\x03\xC0\x03\xC1\x03\xC1\x03\xC1" +
+ "\x03\xC1\x03\xC1\x03\xC1\x03\xC1\x03\xC1\x03\xC2\x03\xC2\x03\xC2\x03\xC2" +
+ "\x03\xC3\x03\xC3\x03\xC3\x03\xC3\x03\xC4\x03\xC4\x03\xC4\x03\xC4\x03\xC4" +
+ "\x03\xC4\x03\xC4\x03\xC4\x03\xC5\x03\xC5\x03\xC5\x03\xC5\x03\xC5\x03\xC5" +
+ "\x03\xC5\x03\xC5\x03\xC6\x03\xC6\x03\xC6\x03\xC6\x03\xC6\x03\xC6\x03\xC6" +
+ "\x03\xC6\x03\xC6\x03\xC6\x03\xC6\x03\xC6\x03\xC6\x03\xC7\x03\xC7\x03\xC7" +
+ "\x03\xC7\x03\xC7\x03\xC7\x03\xC7\x03\xC7\x03\xC7\x03\xC7\x03\xC7\x03\xC7" +
+ "\x03\xC7\x03\xC8\x03\xC8\x03\xC8\x03\xC8\x03\xC8\x03\xC8\x03\xC8\x03\xC8" +
+ "\x03\xC8\x03\xC8\x03\xC8\x03\xC8\x03\xC8\x03\xC8\x03\xC8\x03\xC8\x03\xC8" +
+ "\x03\xC8\x03\xC9\x03\xC9\x03\xC9\x03\xC9\x03\xC9\x03\xC9\x03\xC9\x03\xC9" +
+ "\x03\xCA\x03\xCA\x03\xCA\x03\xCA\x03\xCA\x03\xCB\x03\xCB\x03\xCB\x03\xCB" +
+ "\x03\xCB\x03\xCB\x03\xCB\x03\xCB\x03\xCB\x03\xCC\x03\xCC\x03\xCC\x03\xCC" +
+ "\x03\xCC\x03\xCC\x03\xCC\x03\xCC\x03\xCC\x03\xCC\x03\xCC\x03\xCC\x03\xCD" +
+ "\x03\xCD\x03\xCD\x03\xCD\x03\xCD\x03\xCD\x03\xCD\x03\xCD\x03\xCD\x03\xCE" +
+ "\x03\xCE\x03\xCE\x03\xCE\x03\xCE\x03\xCE\x03\xCE\x03\xCE\x03\xCF\x03\xCF" +
+ "\x03\xCF\x03\xCF\x03\xCF\x03\xCF\x03\xCF\x03\xCF\x03\xCF\x03\xCF\x03\xCF" +
+ "\x03\xD0\x03\xD0\x03\xD0\x03\xD0\x03\xD0\x03\xD0\x03\xD0\x03\xD0\x03\xD0" +
+ "\x03\xD0\x03\xD1\x03\xD1\x03\xD1\x03\xD1\x03\xD1\x03\xD1\x03\xD1\x03\xD1" +
+ "\x03\xD1\x03\xD1\x03\xD2\x03\xD2\x03\xD2\x03\xD2\x03\xD2\x03\xD2\x03\xD2" +
+ "\x03\xD2\x03\xD2\x03\xD2\x03\xD3\x03\xD3\x03\xD3\x03\xD3\x03\xD3\x03\xD3" +
+ "\x03\xD3\x03\xD3\x03\xD3\x03\xD3\x03\xD4\x03\xD4\x03\xD4\x03\xD4\x03\xD4" +
+ "\x03\xD4\x03\xD4\x03\xD4\x03\xD4\x03\xD4\x03\xD4\x03\xD4\x03\xD4\x03\xD4" +
+ "\x03\xD4\x03\xD5\x03\xD5\x03\xD5\x03\xD5\x03\xD5\x03\xD5\x03\xD5\x03\xD5" +
+ "\x03\xD5\x03\xD5\x03\xD5\x03\xD5\x03\xD5\x03\xD5\x03\xD6\x03\xD6\x03\xD6" +
+ "\x03\xD6\x03\xD6\x03\xD6\x03\xD6\x03\xD6\x03\xD6\x03\xD7\x03\xD7\x03\xD7" +
+ "\x03\xD7\x03\xD7\x03\xD7\x03\xD7\x03\xD7\x03\xD7\x03\xD8\x03\xD8\x03\xD8" +
+ "\x03\xD8\x03\xD8\x03\xD8\x03\xD8\x03\xD8\x03\xD8\x03\xD8\x03\xD9\x03\xD9" +
+ "\x03\xD9\x03\xD9\x03\xDA\x03\xDA\x03\xDA\x03\xDA\x03\xDA\x03\xDA\x03\xDA" +
+ "\x03\xDA\x03\xDA\x03\xDA\x03\xDA\x03\xDB\x03\xDB\x03\xDB\x03\xDB\x03\xDB" +
+ "\x03\xDB\x03\xDB\x03\xDB\x03\xDB\x03\xDB\x03\xDB\x03\xDB\x03\xDC\x03\xDC" +
+ "\x03\xDC\x03\xDC\x03\xDC\x03\xDC\x03\xDC\x03\xDC\x03\xDD\x03\xDD\x03\xDD" +
+ "\x03\xDD\x03\xDD\x03\xDD\x03\xDD\x03\xDD\x03\xDE\x03\xDE\x03\xDE\x03\xDE" +
+ "\x03\xDE\x03\xDF\x03\xDF\x03\xDF\x03\xDF\x03\xDF\x03\xDF\x03\xDF\x03\xDF" +
+ "\x03\xDF\x03\xDF\x03\xDF\x03\xDF\x03\xE0\x03\xE0\x03\xE0\x03\xE0\x03\xE0" +
+ "\x03\xE0\x03\xE0\x03\xE0\x03\xE0\x03\xE0\x03\xE1\x03\xE1\x03\xE1\x03\xE1" +
+ "\x03\xE1\x03\xE1\x03\xE1\x03\xE1\x03\xE2\x03\xE2\x03\xE2\x03\xE2\x03\xE2" +
+ "\x03\xE2\x03\xE2\x03\xE2\x03\xE2\x03\xE3\x03\xE3\x03\xE3\x03\xE3\x03\xE3" +
+ "\x03\xE3\x03\xE3\x03\xE3\x03\xE3\x03\xE4\x03\xE4\x03\xE4\x03\xE4\x03\xE4" +
+ "\x03\xE4\x03\xE4\x03\xE4\x03\xE4\x03\xE4\x03\xE4\x03\xE4\x03\xE4\x03\xE4" +
+ "\x03\xE5\x03\xE5\x03\xE5\x03\xE5\x03\xE5\x03\xE5\x03\xE5\x03\xE5\x03\xE5" +
+ "\x03\xE5\x03\xE5\x03\xE5\x03\xE5\x03\xE5\x03\xE5\x03\xE6\x03\xE6\x03\xE6" +
+ "\x03\xE6\x03\xE6\x03\xE6\x03\xE6\x03\xE7\x03\xE7\x03\xE7\x03\xE7\x03\xE7" +
+ "\x03\xE7\x03\xE7\x03\xE7\x03\xE7\x03\xE7\x03\xE8\x03\xE8\x03\xE8\x03\xE8" +
+ "\x03\xE8\x03\xE8\x03\xE9\x03\xE9\x03\xE9\x03\xE9\x03\xE9\x03\xE9\x03\xEA" +
+ "\x03\xEA\x03\xEA\x03\xEA\x03\xEA\x03\xEB\x03\xEB\x03\xEB\x03\xEC\x03\xEC" +
+ "\x03\xEC\x03\xEC\x03\xEC\x03\xEC\x03\xED\x03\xED\x03\xED\x03\xED\x03\xED" +
+ "\x03\xED\x03\xEE\x03\xEE\x03\xEE\x03\xEE\x03\xEE\x03\xEE\x03\xEE\x03\xEF" +
+ "\x03\xEF\x03\xEF\x03\xEF\x03\xEF\x03\xEF\x03\xEF\x03\xEF\x03\xEF\x03\xEF" +
+ "\x03\xF0\x03\xF0\x03\xF0\x03\xF0\x03\xF0\x03\xF0\x03\xF0\x03\xF1\x03\xF1" +
+ "\x03\xF1\x03\xF1\x03\xF1\x03\xF1\x03\xF1\x03\xF2\x03\xF2\x03\xF2\x03\xF2" +
+ "\x03\xF2\x03\xF2\x03\xF3\x03\xF3\x03\xF3\x03\xF3\x03\xF3\x03\xF4\x03\xF4" +
+ "\x03\xF4\x03\xF4\x03\xF4\x03\xF4\x03\xF5\x03\xF5\x03\xF5\x03\xF5\x03\xF5" +
+ "\x03\xF5\x03\xF5\x03\xF6\x03\xF6\x03\xF6\x03\xF6\x03\xF6\x03\xF6\x03\xF6" +
+ "\x03\xF6\x03\xF7\x03\xF7\x03\xF7\x03\xF7\x03\xF7\x03\xF8\x03\xF8\x03\xF8" +
+ "\x03\xF8\x03\xF8\x03\xF9\x03\xF9\x03\xF9\x03\xF9\x03\xF9\x03\xF9\x03\xF9" +
+ "\x03\xFA\x03\xFA\x03\xFA\x03\xFA\x03\xFA\x03\xFA\x03\xFA\x03\xFA\x03\xFA" +
+ "\x03\xFA\x03\xFB\x03\xFB\x03\xFB\x03\xFB\x03\xFB\x03\xFB\x03\xFB\x03\xFC" +
+ "\x03\xFC\x03\xFC\x03\xFC\x03\xFC\x03\xFC\x03\xFC\x03\xFD\x03\xFD\x03\xFD" +
+ "\x03\xFE\x03\xFE\x03\xFE\x03\xFE\x03\xFE\x03\xFE\x03\xFE\x03\xFF\x03\xFF" +
+ "\x03\xFF\x03\xFF\x03\xFF\x03\xFF\x03\u0100\x03\u0100\x03\u0100\x03\u0100" +
+ "\x03\u0100\x03\u0100\x03\u0100\x03\u0100\x03\u0100\x03\u0100\x03\u0100" +
+ "\x03\u0100\x03\u0100\x03\u0101\x03\u0101\x03\u0101\x03\u0101\x03\u0101" +
+ "\x03\u0101\x03\u0101\x03\u0101\x03\u0101\x03\u0101\x03\u0101\x03\u0101" +
+ "\x03\u0101\x03\u0101\x03\u0101\x03\u0101\x03\u0101\x03\u0101\x03\u0101" +
+ "\x03\u0101\x03\u0102\x03\u0102\x03\u0102\x03\u0102\x03\u0102";
+ private static readonly _serializedATNSegment1: string =
+ "\x03\u0102\x03\u0102\x03\u0102\x03\u0102\x03\u0102\x03\u0102\x03\u0102" +
+ "\x03\u0102\x03\u0102\x03\u0102\x03\u0102\x03\u0102\x03\u0102\x03\u0103" +
+ "\x03\u0103\x03\u0103\x03\u0103\x03\u0103\x03\u0103\x03\u0103\x03\u0103" +
+ "\x03\u0103\x03\u0103\x03\u0103\x03\u0103\x03\u0103\x03\u0103\x03\u0103" +
+ "\x03\u0103\x03\u0103\x03\u0103\x03\u0103\x03\u0103\x03\u0104\x03\u0104" +
+ "\x03\u0104\x03\u0104\x03\u0104\x03\u0104\x03\u0104\x03\u0104\x03\u0104" +
+ "\x03\u0104\x03\u0104\x03\u0104\x03\u0105\x03\u0105\x03\u0105\x03\u0105" +
+ "\x03\u0105\x03\u0105\x03\u0105\x03\u0105\x03\u0105\x03\u0105\x03\u0105" +
+ "\x03\u0105\x03\u0105\x03\u0106\x03\u0106\x03\u0106\x03\u0106\x03\u0106" +
+ "\x03\u0106\x03\u0106\x03\u0106\x03\u0106\x03\u0106\x03\u0106\x03\u0106" +
+ "\x03\u0106\x03\u0106\x03\u0106\x03\u0106\x03\u0106\x03\u0106\x03\u0106" +
+ "\x03\u0106\x03\u0106\x03\u0106\x03\u0106\x03\u0107\x03\u0107\x03\u0107" +
+ "\x03\u0107\x03\u0107\x03\u0107\x03\u0107\x03\u0107\x03\u0107\x03\u0107" +
+ "\x03\u0107\x03\u0107\x03\u0107\x03\u0107\x03\u0107\x03\u0107\x03\u0107" +
+ "\x03\u0108\x03\u0108\x03\u0108\x03\u0108\x03\u0108\x03\u0108\x03\u0108" +
+ "\x03\u0108\x03\u0108\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109" +
+ "\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109" +
+ "\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109" +
+ "\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109" +
+ "\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109\x03\u0109" +
+ "\x03\u0109\x03\u0109\x03\u0109\x03\u010A\x03\u010A\x03\u010A\x03\u010A" +
+ "\x03\u010A\x03\u010A\x03\u010B\x03\u010B\x03\u010B\x03\u010B\x03\u010B" +
+ "\x03\u010B\x03\u010B\x03\u010B\x03\u010B\x03\u010B\x03\u010B\x03\u010B" +
+ "\x03\u010B\x03\u010B\x03\u010B\x03\u010B\x03\u010B\x03\u010C\x03\u010C" +
+ "\x03\u010C\x03\u010C\x03\u010C\x03\u010C\x03\u010C\x03\u010C\x03\u010C" +
+ "\x03\u010C\x03\u010C\x03\u010C\x03\u010C\x03\u010C\x03\u010D\x03\u010D" +
+ "\x03\u010D\x03\u010D\x03\u010D\x03\u010D\x03\u010D\x03\u010D\x03\u010D" +
+ "\x03\u010D\x03\u010D\x03\u010D\x03\u010D\x03\u010D\x03\u010D\x03\u010D" +
+ "\x03\u010D\x03\u010E\x03\u010E\x03\u010E\x03\u010E\x03\u010E\x03\u010E" +
+ "\x03\u010E\x03\u010E\x03\u010E\x03\u010E\x03\u010E\x03\u010E\x03\u010E" +
+ "\x03\u010E\x03\u010E\x03\u010E\x03\u010E\x03\u010E\x03\u010E\x03\u010E" +
+ "\x03\u010E\x03\u010E\x03\u010E\x03\u010E\x03\u010E\x03\u010E\x03\u010E" +
+ "\x03\u010F\x03\u010F\x03\u010F\x03\u010F\x03\u010F\x03\u010F\x03\u010F" +
+ "\x03\u0110\x03\u0110\x03\u0110\x03\u0110\x03\u0110\x03\u0110\x03\u0111" +
+ "\x03\u0111\x03\u0111\x03\u0111\x03\u0111\x03\u0111\x03\u0111\x03\u0111" +
+ "\x03\u0111\x03\u0111\x03\u0111\x03\u0111\x03\u0111\x03\u0111\x03\u0111" +
+ "\x03\u0111\x03\u0111\x03\u0111\x03\u0111\x03\u0111\x03\u0111\x03\u0112" +
+ "\x03\u0112\x03\u0112\x03\u0112\x03\u0112\x03\u0112\x03\u0112\x03\u0112" +
+ "\x03\u0112\x03\u0112\x03\u0112\x03\u0112\x03\u0112\x03\u0112\x03\u0112" +
+ "\x03\u0112\x03\u0112\x03\u0112\x03\u0112\x03\u0112\x03\u0113\x03\u0113" +
+ "\x03\u0113\x03\u0113\x03\u0113\x03\u0113\x03\u0113\x03\u0113\x03\u0113" +
+ "\x03\u0113\x03\u0113\x03\u0113\x03\u0113\x03\u0113\x03\u0113\x03\u0113" +
+ "\x03\u0113\x03\u0113\x03\u0113\x03\u0113\x03\u0113\x03\u0114\x03\u0114" +
+ "\x03\u0114\x03\u0114\x03\u0114\x03\u0114\x03\u0114\x03\u0114\x03\u0114" +
+ "\x03\u0114\x03\u0114\x03\u0114\x03\u0114\x03\u0114\x03\u0115\x03\u0115" +
+ "\x03\u0115\x03\u0115\x03\u0115\x03\u0115\x03\u0115\x03\u0115\x03\u0115" +
+ "\x03\u0115\x03\u0116\x03\u0116\x03\u0116\x03\u0116\x03\u0116\x03\u0116" +
+ "\x03\u0116\x03\u0116\x03\u0117\x03\u0117\x03\u0117\x03\u0117\x03\u0117" +
+ "\x03\u0117\x03\u0117\x03\u0117\x03\u0117\x03\u0117\x03\u0117\x03\u0117" +
+ "\x03\u0117\x03\u0117\x03\u0117\x03\u0117\x03\u0117\x03\u0117\x03\u0118" +
+ "\x03\u0118\x03\u0118\x03\u0118\x03\u0118\x03\u0118\x03\u0118\x03\u0118" +
+ "\x03\u0118\x03\u0118\x03\u0118\x03\u0118\x03\u0118\x03\u0118\x03\u0118" +
+ "\x03\u0118\x03\u0118\x03\u0118\x03\u0118\x03\u0118\x03\u0118\x03\u0118" +
+ "\x03\u0118\x03\u0118\x03\u0119\x03\u0119\x03\u0119\x03\u0119\x03\u0119" +
+ "\x03\u0119\x03\u0119\x03\u0119\x03\u0119\x03\u0119\x03\u0119\x03\u0119" +
+ "\x03\u0119\x03\u0119\x03\u0119\x03\u011A\x03\u011A\x03\u011A\x03\u011A" +
+ "\x03\u011A\x03\u011A\x03\u011A\x03\u011A\x03\u011A\x03\u011A\x03\u011A" +
+ "\x03\u011A\x03\u011A\x03\u011A\x03\u011A\x03\u011A\x03\u011A\x03\u011A" +
+ "\x03\u011A\x03\u011A\x03\u011A\x03\u011B\x03\u011B\x03\u011B\x03\u011B" +
+ "\x03\u011B\x03\u011B\x03\u011B\x03\u011B\x03\u011B\x03\u011C\x03\u011C" +
+ "\x03\u011C\x03\u011C\x03\u011C\x03\u011C\x03\u011C\x03\u011C\x03\u011C" +
+ "\x03\u011C\x03\u011C\x03\u011C\x03\u011D\x03\u011D\x03\u011D\x03\u011D" +
+ "\x03\u011D\x03\u011D\x03\u011D\x03\u011D\x03\u011D\x03\u011D\x03\u011D" +
+ "\x03\u011D\x03\u011D\x03\u011D\x03\u011E\x03\u011E\x03\u011E\x03\u011E" +
+ "\x03\u011E\x03\u011E\x03\u011E\x03\u011E\x03\u011E\x03\u011E\x03\u011E" +
+ "\x03\u011E\x03\u011E\x03\u011E\x03\u011E\x03\u011F\x03\u011F\x03\u011F" +
+ "\x03\u011F\x03\u011F\x03\u011F\x03\u011F\x03\u011F\x03\u011F\x03\u011F" +
+ "\x03\u011F\x03\u011F\x03\u011F\x03\u011F\x03\u011F\x03\u011F\x03\u011F" +
+ "\x03\u011F\x03\u011F\x03\u0120\x03\u0120\x03\u0120\x03\u0120\x03\u0120" +
+ "\x03\u0120\x03\u0120\x03\u0120\x03\u0121\x03\u0121\x03\u0121\x03\u0121" +
+ "\x03\u0121\x03\u0122\x03\u0122\x03\u0122\x03\u0122\x03\u0122\x03\u0122" +
+ "\x03\u0122\x03\u0122\x03\u0122\x03\u0122\x03\u0122\x03\u0122\x03\u0123" +
+ "\x03\u0123\x03\u0123\x03\u0123\x03\u0123\x03\u0124\x03\u0124\x03\u0124" +
+ "\x03\u0124\x03\u0124\x03\u0124\x03\u0124\x03\u0124\x03\u0124\x03\u0124" +
+ "\x03\u0124\x03\u0124\x03\u0124\x03\u0124\x03\u0124\x03\u0124\x03\u0124" +
+ "\x03\u0125\x03\u0125\x03\u0125\x03\u0125\x03\u0125\x03\u0126\x03\u0126" +
+ "\x03\u0126\x03\u0127\x03\u0127\x03\u0128\x03\u0128\x03\u0129\x03\u0129" +
+ "\x03\u012A\x03\u012A\x03\u012B\x03\u012B\x03\u012C\x03\u012C\x03\u012D" +
+ "\x03\u012D\x03\u012E\x06\u012E\u0BE5\n\u012E\r\u012E\x0E\u012E\u0BE6\x03" +
+ "\u012F\x06\u012F\u0BEA\n\u012F\r\u012F\x0E\u012F\u0BEB\x05\u012F\u0BEE" +
+ "\n\u012F\x03\u012F\x03\u012F\x06\u012F\u0BF2\n\u012F\r\u012F\x0E\u012F" +
+ "\u0BF3\x03\u0130\x03\u0130\x06\u0130\u0BF8\n\u0130\r\u0130\x0E\u0130\u0BF9" +
+ "\x07\u0130\u0BFC\n\u0130\f\u0130\x0E\u0130\u0BFF\v\u0130\x03\u0131\x06" +
+ "\u0131\u0C02\n\u0131\r\u0131\x0E\u0131\u0C03\x03\u0131\x07\u0131\u0C07" +
+ "\n\u0131\f\u0131\x0E\u0131\u0C0A\v\u0131\x03\u0132\x03\u0132\x03\u0132" +
+ "\x03\u0133\x03\u0133\x03\u0133\x03\u0133\x03\u0133\x03\u0133\x07\u0133" +
+ "\u0C15\n\u0133\f\u0133\x0E\u0133\u0C18\v\u0133\x03\u0133\x03\u0133\x03" +
+ "\u0134\x03\u0134\x03\u0134\x03\u0134\x03\u0134\x03\u0134\x07\u0134\u0C22" +
+ "\n\u0134\f\u0134\x0E\u0134\u0C25\v\u0134\x03\u0134\x03\u0134\x03\u0135" +
+ "\x03\u0135\x03\u0135\x03\u0135\x03\u0135\x03\u0135\x07\u0135\u0C2F\n\u0135" +
+ "\f\u0135\x0E\u0135\u0C32\v\u0135\x03\u0135\x03\u0135\x03\u0136\x03\u0136" +
+ "\x03\u0137\x03\u0137\x03\u0137\x03\u0137\x03\u0C03\x02\x02\u0138\x03\x02" +
+ "\x03\x05\x02\x04\x07\x02\x05\t\x02\x06\v\x02\x07\r\x02\b\x0F\x02\t\x11" +
+ "\x02\n\x13\x02\v\x15\x02\f\x17\x02\r\x19\x02\x0E\x1B\x02\x0F\x1D\x02\x10" +
+ "\x1F\x02\x11!\x02\x12#\x02\x13%\x02\x14\'\x02\x15)\x02\x16+\x02\x17-\x02" +
+ "\x18/\x02\x191\x02\x1A3\x02\x1B5\x02\x1C7\x02\x1D9\x02\x1E;\x02\x1F=\x02" +
+ " ?\x02!A\x02\"C\x02#E\x02$G\x02%I\x02&K\x02\'M\x02(O\x02)Q\x02*S\x02+" +
+ "U\x02,W\x02-Y\x02.[\x02/]\x020_\x021a\x022c\x023e\x024g\x025i\x026k\x02" +
+ "7m\x028o\x029q\x02:s\x02;u\x02{\x02?}\x02@\x7F\x02A\x81\x02" +
+ "B\x83\x02C\x85\x02D\x87\x02E\x89\x02F\x8B\x02G\x8D\x02H\x8F\x02I\x91\x02" +
+ "J\x93\x02K\x95\x02L\x97\x02M\x99\x02N\x9B\x02O\x9D\x02P\x9F\x02Q\xA1\x02" +
+ "R\xA3\x02S\xA5\x02T\xA7\x02U\xA9\x02V\xAB\x02W\xAD\x02X\xAF\x02Y\xB1\x02" +
+ "Z\xB3\x02[\xB5\x02\\\xB7\x02]\xB9\x02^\xBB\x02_\xBD\x02`\xBF\x02a\xC1" +
+ "\x02b\xC3\x02c\xC5\x02d\xC7\x02e\xC9\x02f\xCB\x02g\xCD\x02h\xCF\x02i\xD1" +
+ "\x02j\xD3\x02k\xD5\x02l\xD7\x02m\xD9\x02n\xDB\x02o\xDD\x02p\xDF\x02q\xE1" +
+ "\x02r\xE3\x02s\xE5\x02t\xE7\x02u\xE9\x02v\xEB\x02w\xED\x02x\xEF\x02y\xF1" +
+ "\x02z\xF3\x02{\xF5\x02|\xF7\x02}\xF9\x02~\xFB\x02\x7F\xFD\x02\x80\xFF" +
+ "\x02\x81\u0101\x02\x82\u0103\x02\x83\u0105\x02\x84\u0107\x02\x85\u0109" +
+ "\x02\x86\u010B\x02\x87\u010D\x02\x88\u010F\x02\x89\u0111\x02\x8A\u0113" +
+ "\x02\x8B\u0115\x02\x8C\u0117\x02\x8D\u0119\x02\x8E\u011B\x02\x8F\u011D" +
+ "\x02\x90\u011F\x02\x91\u0121\x02\x92\u0123\x02\x93\u0125\x02\x94\u0127" +
+ "\x02\x95\u0129\x02\x96\u012B\x02\x97\u012D\x02\x98\u012F\x02\x99\u0131" +
+ "\x02\x9A\u0133\x02\x9B\u0135\x02\x9C\u0137\x02\x9D\u0139\x02\x9E\u013B" +
+ "\x02\x9F\u013D\x02\xA0\u013F\x02\xA1\u0141\x02\xA2\u0143\x02\xA3\u0145" +
+ "\x02\xA4\u0147\x02\xA5\u0149\x02\xA6\u014B\x02\xA7\u014D\x02\xA8\u014F" +
+ "\x02\xA9\u0151\x02\xAA\u0153\x02\xAB\u0155\x02\xAC\u0157\x02\xAD\u0159" +
+ "\x02\xAE\u015B\x02\xAF\u015D\x02\xB0\u015F\x02\xB1\u0161\x02\xB2\u0163" +
+ "\x02\xB3\u0165\x02\xB4\u0167\x02\xB5\u0169\x02\xB6\u016B\x02\xB7\u016D" +
+ "\x02\xB8\u016F\x02\xB9\u0171\x02\xBA\u0173\x02\xBB\u0175\x02\xBC\u0177" +
+ "\x02\xBD\u0179\x02\xBE\u017B\x02\xBF\u017D\x02\xC0\u017F\x02\xC1\u0181" +
+ "\x02\xC2\u0183\x02\xC3\u0185\x02\xC4\u0187\x02\xC5\u0189\x02\xC6\u018B" +
+ "\x02\xC7\u018D\x02\xC8\u018F\x02\xC9\u0191\x02\xCA\u0193\x02\xCB\u0195" +
+ "\x02\xCC\u0197\x02\xCD\u0199\x02\xCE\u019B\x02\xCF\u019D\x02\xD0\u019F" +
+ "\x02\xD1\u01A1\x02\xD2\u01A3\x02\xD3\u01A5\x02\xD4\u01A7\x02\xD5\u01A9" +
+ "\x02\xD6\u01AB\x02\xD7\u01AD\x02\xD8\u01AF\x02\xD9\u01B1\x02\xDA\u01B3" +
+ "\x02\xDB\u01B5\x02\xDC\u01B7\x02\xDD\u01B9\x02\xDE\u01BB\x02\xDF\u01BD" +
+ "\x02\xE0\u01BF\x02\xE1\u01C1\x02\xE2\u01C3\x02\xE3\u01C5\x02\xE4\u01C7" +
+ "\x02\xE5\u01C9\x02\xE6\u01CB\x02\xE7\u01CD\x02\xE8\u01CF\x02\xE9\u01D1" +
+ "\x02\xEA\u01D3\x02\xEB\u01D5\x02\xEC\u01D7\x02\xED\u01D9\x02\xEE\u01DB" +
+ "\x02\xEF\u01DD\x02\xF0\u01DF\x02\xF1\u01E1\x02\xF2\u01E3\x02\xF3\u01E5" +
+ "\x02\xF4\u01E7\x02\xF5\u01E9\x02\xF6\u01EB\x02\xF7\u01ED\x02\xF8\u01EF" +
+ "\x02\xF9\u01F1\x02\xFA\u01F3\x02\xFB\u01F5\x02\xFC\u01F7\x02\xFD\u01F9" +
+ "\x02\xFE\u01FB\x02\xFF\u01FD\x02\u0100\u01FF\x02\u0101\u0201\x02\u0102" +
+ "\u0203\x02\u0103\u0205\x02\u0104\u0207\x02\u0105\u0209\x02\u0106\u020B" +
+ "\x02\u0107\u020D\x02\u0108\u020F\x02\u0109\u0211\x02\u010A\u0213\x02\u010B" +
+ "\u0215\x02\u010C\u0217\x02\u010D\u0219\x02\u010E\u021B\x02\u010F\u021D" +
+ "\x02\u0110\u021F\x02\u0111\u0221\x02\u0112\u0223\x02\u0113\u0225\x02\u0114" +
+ "\u0227\x02\u0115\u0229\x02\u0116\u022B\x02\u0117\u022D\x02\u0118\u022F" +
+ "\x02\u0119\u0231\x02\u011A\u0233\x02\u011B\u0235\x02\u011C\u0237\x02\u011D" +
+ "\u0239\x02\u011E\u023B\x02\u011F\u023D\x02\u0120\u023F\x02\u0121\u0241" +
+ "\x02\u0122\u0243\x02\u0123\u0245\x02\u0124\u0247\x02\u0125\u0249\x02\u0126" +
+ "\u024B\x02\u0127\u024D\x02\u0128\u024F\x02\u0129\u0251\x02\u012A\u0253" +
+ "\x02\u012B\u0255\x02\u012C\u0257\x02\u012D\u0259\x02\u012E\u025B\x02\u012F" +
+ "\u025D\x02\u0130\u025F\x02\x02\u0261\x02\x02\u0263\x02\u0131\u0265\x02" +
+ "\u0132\u0267\x02\u0133\u0269\x02\u0134\u026B\x02\x02\u026D\x02\u0135\x03" +
+ "\x02\n\x03\x02/0\x04\x02,,2;\x04\x02,,B\\\x07\x02,,//2;C\\aa\x04\x02$" +
+ "$^^\x04\x02))^^\x04\x02^^bb\x03\x022;\x02\u0C48\x02\x03\x03\x02\x02\x02" +
+ "\x02\x05\x03\x02\x02\x02\x02\x07\x03\x02\x02\x02\x02\t\x03\x02\x02\x02" +
+ "\x02\v\x03\x02\x02\x02\x02\r\x03\x02\x02\x02\x02\x0F\x03\x02\x02\x02\x02" +
+ "\x11\x03\x02\x02\x02\x02\x13\x03\x02\x02\x02\x02\x15\x03\x02\x02\x02\x02" +
+ "\x17\x03\x02\x02\x02\x02\x19\x03\x02\x02\x02\x02\x1B\x03\x02\x02\x02\x02" +
+ "\x1D\x03\x02\x02\x02\x02\x1F\x03\x02\x02\x02\x02!\x03\x02\x02\x02\x02" +
+ "#\x03\x02\x02\x02\x02%\x03\x02\x02\x02\x02\'\x03\x02\x02\x02\x02)\x03" +
+ "\x02\x02\x02\x02+\x03\x02\x02\x02\x02-\x03\x02\x02\x02\x02/\x03\x02\x02" +
+ "\x02\x021\x03\x02\x02\x02\x023\x03\x02\x02\x02\x025\x03\x02\x02\x02\x02" +
+ "7\x03\x02\x02\x02\x029\x03\x02\x02\x02\x02;\x03\x02\x02\x02\x02=\x03\x02" +
+ "\x02\x02\x02?\x03\x02\x02\x02\x02A\x03\x02\x02\x02\x02C\x03\x02\x02\x02" +
+ "\x02E\x03\x02\x02\x02\x02G\x03\x02\x02\x02\x02I\x03\x02\x02\x02\x02K\x03" +
+ "\x02\x02\x02\x02M\x03\x02\x02\x02\x02O\x03\x02\x02\x02\x02Q\x03\x02\x02" +
+ "\x02\x02S\x03\x02\x02\x02\x02U\x03\x02\x02\x02\x02W\x03\x02\x02\x02\x02" +
+ "Y\x03\x02\x02\x02\x02[\x03\x02\x02\x02\x02]\x03\x02\x02\x02\x02_\x03\x02" +
+ "\x02\x02\x02a\x03\x02\x02\x02\x02c\x03\x02\x02\x02\x02e\x03\x02\x02\x02" +
+ "\x02g\x03\x02\x02\x02\x02i\x03\x02\x02\x02\x02k\x03\x02\x02\x02\x02m\x03" +
+ "\x02\x02\x02\x02o\x03\x02\x02\x02\x02q\x03\x02\x02\x02\x02s\x03\x02\x02" +
+ "\x02\x02u\x03\x02\x02\x02\x02w\x03\x02\x02\x02\x02y\x03\x02\x02\x02\x02" +
+ "{\x03\x02\x02\x02\x02}\x03\x02\x02\x02\x02\x7F\x03\x02\x02\x02\x02\x81" +
+ "\x03\x02\x02\x02\x02\x83\x03\x02\x02\x02\x02\x85\x03\x02\x02\x02\x02\x87" +
+ "\x03\x02\x02\x02\x02\x89\x03\x02\x02\x02\x02\x8B\x03\x02\x02\x02\x02\x8D" +
+ "\x03\x02\x02\x02\x02\x8F\x03\x02\x02\x02\x02\x91\x03\x02\x02\x02\x02\x93" +
+ "\x03\x02\x02\x02\x02\x95\x03\x02\x02\x02\x02\x97\x03\x02\x02\x02\x02\x99" +
+ "\x03\x02\x02\x02\x02\x9B\x03\x02\x02\x02\x02\x9D\x03\x02\x02\x02\x02\x9F" +
+ "\x03\x02\x02\x02\x02\xA1\x03\x02\x02\x02\x02\xA3\x03\x02\x02\x02\x02\xA5" +
+ "\x03\x02\x02\x02\x02\xA7\x03\x02\x02\x02\x02\xA9\x03\x02\x02\x02\x02\xAB" +
+ "\x03\x02\x02\x02\x02\xAD\x03\x02\x02\x02\x02\xAF\x03\x02\x02\x02\x02\xB1" +
+ "\x03\x02\x02\x02\x02\xB3\x03\x02\x02\x02\x02\xB5\x03\x02\x02\x02\x02\xB7" +
+ "\x03\x02\x02\x02\x02\xB9\x03\x02\x02\x02\x02\xBB\x03\x02\x02\x02\x02\xBD" +
+ "\x03\x02\x02\x02\x02\xBF\x03\x02\x02\x02\x02\xC1\x03\x02\x02\x02\x02\xC3" +
+ "\x03\x02\x02\x02\x02\xC5\x03\x02\x02\x02\x02\xC7\x03\x02\x02\x02\x02\xC9" +
+ "\x03\x02\x02\x02\x02\xCB\x03\x02\x02\x02\x02\xCD\x03\x02\x02\x02\x02\xCF" +
+ "\x03\x02\x02\x02\x02\xD1\x03\x02\x02\x02\x02\xD3\x03\x02\x02\x02\x02\xD5" +
+ "\x03\x02\x02\x02\x02\xD7\x03\x02\x02\x02\x02\xD9\x03\x02\x02\x02\x02\xDB" +
+ "\x03\x02\x02\x02\x02\xDD\x03\x02\x02\x02\x02\xDF\x03\x02\x02\x02\x02\xE1" +
+ "\x03\x02\x02\x02\x02\xE3\x03\x02\x02\x02\x02\xE5\x03\x02\x02\x02\x02\xE7" +
+ "\x03\x02\x02\x02\x02\xE9\x03\x02\x02\x02\x02\xEB\x03\x02\x02\x02\x02\xED" +
+ "\x03\x02\x02\x02\x02\xEF\x03\x02\x02\x02\x02\xF1\x03\x02\x02\x02\x02\xF3" +
+ "\x03\x02\x02\x02\x02\xF5\x03\x02\x02\x02\x02\xF7\x03\x02\x02\x02\x02\xF9" +
+ "\x03\x02\x02\x02\x02\xFB\x03\x02\x02\x02\x02\xFD\x03\x02\x02\x02\x02\xFF" +
+ "\x03\x02\x02\x02\x02\u0101\x03\x02\x02\x02\x02\u0103\x03\x02\x02\x02\x02" +
+ "\u0105\x03\x02\x02\x02\x02\u0107\x03\x02\x02\x02\x02\u0109\x03\x02\x02" +
+ "\x02\x02\u010B\x03\x02\x02\x02\x02\u010D\x03\x02\x02\x02\x02\u010F\x03" +
+ "\x02\x02\x02\x02\u0111\x03\x02\x02\x02\x02\u0113\x03\x02\x02\x02\x02\u0115" +
+ "\x03\x02\x02\x02\x02\u0117\x03\x02\x02\x02\x02\u0119\x03\x02\x02\x02\x02" +
+ "\u011B\x03\x02\x02\x02\x02\u011D\x03\x02\x02\x02\x02\u011F\x03\x02\x02" +
+ "\x02\x02\u0121\x03\x02\x02\x02\x02\u0123\x03\x02\x02\x02\x02\u0125\x03" +
+ "\x02\x02\x02\x02\u0127\x03\x02\x02\x02\x02\u0129\x03\x02\x02\x02\x02\u012B" +
+ "\x03\x02\x02\x02\x02\u012D\x03\x02\x02\x02\x02\u012F\x03\x02\x02\x02\x02" +
+ "\u0131\x03\x02\x02\x02\x02\u0133\x03\x02\x02\x02\x02\u0135\x03\x02\x02" +
+ "\x02\x02\u0137\x03\x02\x02\x02\x02\u0139\x03\x02\x02\x02\x02\u013B\x03" +
+ "\x02\x02\x02\x02\u013D\x03\x02\x02\x02\x02\u013F\x03\x02\x02\x02\x02\u0141" +
+ "\x03\x02\x02\x02\x02\u0143\x03\x02\x02\x02\x02\u0145\x03\x02\x02\x02\x02" +
+ "\u0147\x03\x02\x02\x02\x02\u0149\x03\x02\x02\x02\x02\u014B\x03\x02\x02" +
+ "\x02\x02\u014D\x03\x02\x02\x02\x02\u014F\x03\x02\x02\x02\x02\u0151\x03" +
+ "\x02\x02\x02\x02\u0153\x03\x02\x02\x02\x02\u0155\x03\x02\x02\x02\x02\u0157" +
+ "\x03\x02\x02\x02\x02\u0159\x03\x02\x02\x02\x02\u015B\x03\x02\x02\x02\x02" +
+ "\u015D\x03\x02\x02\x02\x02\u015F\x03\x02\x02\x02\x02\u0161\x03\x02\x02" +
+ "\x02\x02\u0163\x03\x02\x02\x02\x02\u0165\x03\x02\x02\x02\x02\u0167\x03" +
+ "\x02\x02\x02\x02\u0169\x03\x02\x02\x02\x02\u016B\x03\x02\x02\x02\x02\u016D" +
+ "\x03\x02\x02\x02\x02\u016F\x03\x02\x02\x02\x02\u0171\x03\x02\x02\x02\x02" +
+ "\u0173\x03\x02\x02\x02\x02\u0175\x03\x02\x02\x02\x02\u0177\x03\x02\x02" +
+ "\x02\x02\u0179\x03\x02\x02\x02\x02\u017B\x03\x02\x02\x02\x02\u017D\x03" +
+ "\x02\x02\x02\x02\u017F\x03\x02\x02\x02\x02\u0181\x03\x02\x02\x02\x02\u0183" +
+ "\x03\x02\x02\x02\x02\u0185\x03\x02\x02\x02\x02\u0187\x03\x02\x02\x02\x02" +
+ "\u0189\x03\x02\x02\x02\x02\u018B\x03\x02\x02\x02\x02\u018D\x03\x02\x02" +
+ "\x02\x02\u018F\x03\x02\x02\x02\x02\u0191\x03\x02\x02\x02\x02\u0193\x03" +
+ "\x02\x02\x02\x02\u0195\x03\x02\x02\x02\x02\u0197\x03\x02\x02\x02\x02\u0199" +
+ "\x03\x02\x02\x02\x02\u019B\x03\x02\x02\x02\x02\u019D\x03\x02\x02\x02\x02" +
+ "\u019F\x03\x02\x02\x02\x02\u01A1\x03\x02\x02\x02\x02\u01A3\x03\x02\x02" +
+ "\x02\x02\u01A5\x03\x02\x02\x02\x02\u01A7\x03\x02\x02\x02\x02\u01A9\x03" +
+ "\x02\x02\x02\x02\u01AB\x03\x02\x02\x02\x02\u01AD\x03\x02\x02\x02\x02\u01AF" +
+ "\x03\x02\x02\x02\x02\u01B1\x03\x02\x02\x02\x02\u01B3\x03\x02\x02\x02\x02" +
+ "\u01B5\x03\x02\x02\x02\x02\u01B7\x03\x02\x02\x02\x02\u01B9\x03\x02\x02" +
+ "\x02\x02\u01BB\x03\x02\x02\x02\x02\u01BD\x03\x02\x02\x02\x02\u01BF\x03" +
+ "\x02\x02\x02\x02\u01C1\x03\x02\x02\x02\x02\u01C3\x03\x02\x02\x02\x02\u01C5" +
+ "\x03\x02\x02\x02\x02\u01C7\x03\x02\x02\x02\x02\u01C9\x03\x02\x02\x02\x02" +
+ "\u01CB\x03\x02\x02\x02\x02\u01CD\x03\x02\x02\x02\x02\u01CF\x03\x02\x02" +
+ "\x02\x02\u01D1\x03\x02\x02\x02\x02\u01D3\x03\x02\x02\x02\x02\u01D5\x03" +
+ "\x02\x02\x02\x02\u01D7\x03\x02\x02\x02\x02\u01D9\x03\x02\x02\x02\x02\u01DB" +
+ "\x03\x02\x02\x02\x02\u01DD\x03\x02\x02\x02\x02\u01DF\x03\x02\x02\x02\x02" +
+ "\u01E1\x03\x02\x02\x02\x02\u01E3\x03\x02\x02\x02\x02\u01E5\x03\x02\x02" +
+ "\x02\x02\u01E7\x03\x02\x02\x02\x02\u01E9\x03\x02\x02\x02\x02\u01EB\x03" +
+ "\x02\x02\x02\x02\u01ED\x03\x02\x02\x02\x02\u01EF\x03\x02\x02\x02\x02\u01F1" +
+ "\x03\x02\x02\x02\x02\u01F3\x03\x02\x02\x02\x02\u01F5\x03\x02\x02\x02\x02" +
+ "\u01F7\x03\x02\x02\x02\x02\u01F9\x03\x02\x02\x02\x02\u01FB\x03\x02\x02" +
+ "\x02\x02\u01FD\x03\x02\x02\x02\x02\u01FF\x03\x02\x02\x02\x02\u0201\x03" +
+ "\x02\x02\x02\x02\u0203\x03\x02\x02\x02\x02\u0205\x03\x02\x02\x02\x02\u0207" +
+ "\x03\x02\x02\x02\x02\u0209\x03\x02\x02\x02\x02\u020B\x03\x02\x02\x02\x02" +
+ "\u020D\x03\x02\x02\x02\x02\u020F\x03\x02\x02\x02\x02\u0211\x03\x02\x02" +
+ "\x02\x02\u0213\x03\x02\x02\x02\x02\u0215\x03\x02\x02\x02\x02\u0217\x03" +
+ "\x02\x02\x02\x02\u0219\x03\x02\x02\x02\x02\u021B\x03\x02\x02\x02\x02\u021D" +
+ "\x03\x02\x02\x02\x02\u021F\x03\x02\x02\x02\x02\u0221\x03\x02\x02\x02\x02" +
+ "\u0223\x03\x02\x02\x02\x02\u0225\x03\x02\x02\x02\x02\u0227\x03\x02\x02" +
+ "\x02\x02\u0229\x03\x02\x02\x02\x02\u022B\x03\x02\x02\x02\x02\u022D\x03" +
+ "\x02\x02\x02\x02\u022F\x03\x02\x02\x02\x02\u0231\x03\x02\x02\x02\x02\u0233" +
+ "\x03\x02\x02\x02\x02\u0235\x03\x02\x02\x02\x02\u0237\x03\x02\x02\x02\x02" +
+ "\u0239\x03\x02\x02\x02\x02\u023B\x03\x02\x02\x02\x02\u023D\x03\x02\x02" +
+ "\x02\x02\u023F\x03\x02\x02\x02\x02\u0241\x03\x02\x02\x02\x02\u0243\x03" +
+ "\x02\x02\x02\x02\u0245\x03\x02\x02\x02\x02\u0247\x03\x02\x02\x02\x02\u0249" +
+ "\x03\x02\x02\x02\x02\u024B\x03\x02\x02\x02\x02\u024D\x03\x02\x02\x02\x02" +
+ "\u024F\x03\x02\x02\x02\x02\u0251\x03\x02\x02\x02\x02\u0253\x03\x02\x02" +
+ "\x02\x02\u0255\x03\x02\x02\x02\x02\u0257\x03\x02\x02\x02\x02\u0259\x03" +
+ "\x02\x02\x02\x02\u025B\x03\x02\x02\x02\x02\u025D\x03\x02\x02\x02\x02\u0263" +
+ "\x03\x02\x02\x02\x02\u0265\x03\x02\x02\x02\x02\u0267\x03\x02\x02\x02\x02" +
+ "\u0269\x03\x02\x02\x02\x02\u026D\x03\x02\x02\x02\x03\u026F\x03\x02\x02" +
+ "\x02\x05\u0276\x03\x02\x02\x02\x07\u027F\x03\x02\x02\x02\t\u0284\x03\x02" +
+ "\x02\x02\v\u0289\x03\x02\x02\x02\r\u028F\x03\x02\x02\x02\x0F\u0296\x03" +
+ "\x02\x02\x02\x11\u029D\x03\x02\x02\x02\x13\u02A3\x03\x02\x02\x02\x15\u02A9" +
+ "\x03\x02\x02\x02\x17\u02AE\x03\x02\x02\x02\x19\u02B3\x03\x02\x02\x02\x1B" +
+ "\u02B8\x03\x02\x02\x02\x1D\u02BC\x03\x02\x02\x02\x1F\u02C1\x03\x02\x02" +
+ "\x02!\u02C7\x03\x02\x02\x02#\u02CE\x03\x02\x02\x02%\u02D4\x03\x02\x02" +
+ "\x02\'\u02DA\x03\x02\x02\x02)\u02DF\x03\x02\x02\x02+\u02E7\x03\x02\x02" +
+ "\x02-\u02F0\x03\x02\x02\x02/\u02FA\x03\x02\x02\x021\u0301\x03\x02\x02" +
+ "\x023\u0304\x03\x02\x02\x025\u0307\x03\x02\x02\x027\u030A\x03\x02\x02" +
+ "\x029\u030D\x03\x02\x02\x02;\u0314\x03\x02\x02\x02=\u031A\x03\x02\x02" +
+ "\x02?\u031C\x03\x02\x02\x02A\u0321\x03\x02\x02\x02C\u032A\x03\x02\x02" +
+ "\x02E\u0331\x03\x02\x02\x02G\u0336\x03\x02\x02\x02I\u033A\x03\x02\x02" +
+ "\x02K\u033D\x03\x02\x02\x02M\u0341\x03\x02\x02\x02O\u034B\x03\x02\x02" +
+ "\x02Q\u0357\x03\x02\x02\x02S\u0369\x03\x02\x02\x02U\u0374\x03\x02\x02" +
+ "\x02W\u037B\x03\x02\x02\x02Y\u0381\x03\x02\x02\x02[\u038B\x03\x02\x02" +
+ "\x02]\u0396\x03\x02\x02\x02_\u03A4\x03\x02\x02\x02a\u03B4\x03\x02\x02" +
+ "\x02c\u03C1\x03\x02\x02\x02e\u03CD\x03\x02\x02\x02g\u03DA\x03\x02\x02" +
+ "\x02i\u03E5\x03\x02\x02\x02k\u03F2\x03\x02\x02\x02m\u0401\x03\x02\x02" +
+ "\x02o\u040C\x03\x02\x02\x02q\u0416\x03\x02\x02\x02s\u0429\x03\x02\x02" +
+ "\x02u\u0441\x03\x02\x02\x02w\u0446\x03\x02\x02\x02y\u0449\x03\x02\x02" +
+ "\x02{\u044D\x03\x02\x02\x02}\u0450\x03\x02\x02\x02\x7F\u0454\x03\x02\x02" +
+ "\x02\x81\u0458\x03\x02\x02\x02\x83\u045D\x03\x02\x02\x02\x85\u0463\x03" +
+ "\x02\x02\x02\x87\u046A\x03\x02\x02\x02\x89\u0473\x03\x02\x02\x02\x8B\u047C" +
+ "\x03\x02\x02\x02\x8D\u0488\x03\x02\x02\x02\x8F\u0494\x03\x02\x02\x02\x91" +
+ "\u049B\x03\x02\x02\x02\x93\u04A2\x03\x02\x02\x02\x95\u04A7\x03\x02\x02" +
+ "\x02\x97\u04AB\x03\x02\x02\x02\x99\u04B0\x03\x02\x02\x02\x9B\u04B6\x03" +
+ "\x02\x02\x02\x9D\u04BE\x03\x02\x02\x02\x9F\u04C3\x03\x02\x02\x02\xA1\u04D6" +
+ "\x03\x02\x02\x02\xA3\u04E9\x03\x02\x02\x02\xA5\u04F7\x03\x02\x02\x02\xA7" +
+ "\u0508\x03\x02\x02\x02\xA9\u0514\x03\x02\x02\x02\xAB\u0520\x03\x02\x02" +
+ "\x02\xAD\u0530\x03\x02\x02\x02\xAF\u053B\x03\x02\x02\x02\xB1\u0546\x03" +
+ "\x02\x02\x02\xB3\u054F\x03\x02\x02\x02\xB5\u055A\x03\x02\x02\x02\xB7\u0565" +
+ "\x03\x02\x02\x02\xB9\u056F\x03\x02\x02\x02\xBB\u0576\x03\x02\x02\x02\xBD" +
+ "\u0582\x03\x02\x02\x02\xBF\u0586\x03\x02\x02\x02\xC1\u058E\x03\x02\x02" +
+ "\x02\xC3\u0595\x03\x02\x02\x02\xC5\u059A\x03\x02\x02\x02\xC7\u05A0\x03" +
+ "\x02\x02\x02\xC9\u05A7\x03\x02\x02\x02\xCB\u05AF\x03\x02\x02\x02\xCD\u05B1" +
+ "\x03\x02\x02\x02\xCF\u05B3\x03\x02\x02\x02\xD1\u05B5\x03\x02\x02\x02\xD3" +
+ "\u05B7\x03\x02\x02\x02\xD5\u05B9\x03\x02\x02\x02\xD7\u05BB\x03\x02\x02" +
+ "\x02\xD9\u05BE\x03\x02\x02\x02\xDB\u05C1\x03\x02\x02\x02\xDD\u05C4\x03" +
+ "\x02\x02\x02\xDF\u05C6\x03\x02\x02\x02\xE1\u05C8\x03\x02\x02\x02\xE3\u05CA" +
+ "\x03\x02\x02\x02\xE5\u05CC\x03\x02\x02\x02\xE7\u05CE\x03\x02\x02\x02\xE9" +
+ "\u05D0\x03\x02\x02\x02\xEB\u05D2\x03\x02\x02\x02\xED\u05D4\x03\x02\x02" +
+ "\x02\xEF\u05D6\x03\x02\x02\x02\xF1\u05D8\x03\x02\x02\x02\xF3\u05DA\x03" +
+ "\x02\x02\x02\xF5\u05DC\x03\x02\x02\x02\xF7\u05DE\x03\x02\x02\x02\xF9\u05E0" +
+ "\x03\x02\x02\x02\xFB\u05E2\x03\x02\x02\x02\xFD\u05E4\x03\x02\x02\x02\xFF" +
+ "\u05E6\x03\x02\x02\x02\u0101\u05EA\x03\x02\x02\x02\u0103\u05F0\x03\x02" +
+ "\x02\x02\u0105\u05FF\x03\x02\x02\x02\u0107\u0605\x03\x02\x02\x02\u0109" +
+ "\u0611\x03\x02\x02\x02\u010B\u0615\x03\x02\x02\x02\u010D\u061A\x03\x02" +
+ "\x02\x02\u010F\u0621\x03\x02\x02\x02\u0111\u0625\x03\x02\x02\x02\u0113" +
+ "\u062A\x03\x02\x02\x02\u0115\u0630\x03\x02\x02\x02\u0117\u0636\x03\x02" +
+ "\x02\x02\u0119\u063D\x03\x02\x02\x02\u011B\u0641\x03\x02\x02\x02\u011D" +
+ "\u0647\x03\x02\x02\x02\u011F\u0650\x03\x02\x02\x02\u0121\u0658\x03\x02" +
+ "\x02\x02\u0123\u0664\x03\x02\x02\x02\u0125\u066F\x03\x02\x02\x02\u0127";
+ private static readonly _serializedATNSegment2: string =
+ "\u067A\x03\x02\x02\x02\u0129\u067F\x03\x02\x02\x02\u012B\u0685\x03\x02" +
+ "\x02\x02\u012D\u068A\x03\x02\x02\x02\u012F\u068F\x03\x02\x02\x02\u0131" +
+ "\u0696\x03\x02\x02\x02\u0133\u069F\x03\x02\x02\x02\u0135\u06AD\x03\x02" +
+ "\x02\x02\u0137\u06B4\x03\x02\x02\x02\u0139\u06C0\x03\x02\x02\x02\u013B" +
+ "\u06C8\x03\x02\x02\x02\u013D\u06D1\x03\x02\x02\x02\u013F\u06DC\x03\x02" +
+ "\x02\x02\u0141\u06E7\x03\x02\x02\x02\u0143\u06EC\x03\x02\x02\x02\u0145" +
+ "\u06F6\x03\x02\x02\x02\u0147\u06F8\x03\x02\x02\x02\u0149\u06FB\x03\x02" +
+ "\x02\x02\u014B\u06FF\x03\x02\x02\x02\u014D\u0704\x03\x02\x02\x02\u014F" +
+ "\u070C\x03\x02\x02\x02\u0151\u0711\x03\x02\x02\x02\u0153\u0717\x03\x02" +
+ "\x02\x02\u0155\u0719\x03\x02\x02\x02\u0157\u071D\x03\x02\x02\x02\u0159" +
+ "\u0723\x03\x02\x02\x02\u015B\u0726\x03\x02\x02\x02\u015D\u072A\x03\x02" +
+ "\x02\x02\u015F\u0730\x03\x02\x02\x02\u0161\u0735\x03\x02\x02\x02\u0163" +
+ "\u0739\x03\x02\x02\x02\u0165\u073C\x03\x02\x02\x02\u0167\u0740\x03\x02" +
+ "\x02\x02\u0169\u0746\x03\x02\x02\x02\u016B\u074B\x03\x02\x02\x02\u016D" +
+ "\u0751\x03\x02\x02\x02\u016F\u0756\x03\x02\x02\x02\u0171\u075B\x03\x02" +
+ "\x02\x02\u0173\u0764\x03\x02\x02\x02\u0175\u0769\x03\x02\x02\x02\u0177" +
+ "\u076E\x03\x02\x02\x02\u0179\u0773\x03\x02\x02\x02\u017B\u0779\x03\x02" +
+ "\x02\x02\u017D\u077D\x03\x02\x02\x02\u017F\u0781\x03\x02\x02\x02\u0181" +
+ "\u0789\x03\x02\x02\x02\u0183\u0791\x03\x02\x02\x02\u0185\u0795\x03\x02" +
+ "\x02\x02\u0187\u0799\x03\x02\x02\x02\u0189\u07A1\x03\x02\x02\x02\u018B" +
+ "\u07A9\x03\x02\x02\x02\u018D\u07B6\x03\x02\x02\x02\u018F\u07C3\x03\x02" +
+ "\x02\x02\u0191\u07D5\x03\x02\x02\x02\u0193\u07DD\x03\x02\x02\x02\u0195" +
+ "\u07E2\x03\x02\x02\x02\u0197\u07EB\x03\x02\x02\x02\u0199\u07F7\x03\x02" +
+ "\x02\x02\u019B\u0800\x03\x02\x02\x02\u019D\u0808\x03\x02\x02\x02\u019F" +
+ "\u0813\x03\x02\x02\x02\u01A1\u081D\x03\x02\x02\x02\u01A3\u0827\x03\x02" +
+ "\x02\x02\u01A5\u0831\x03\x02\x02\x02\u01A7\u083B\x03\x02\x02\x02\u01A9" +
+ "\u084A\x03\x02\x02\x02\u01AB\u0858\x03\x02\x02\x02\u01AD\u0861\x03\x02" +
+ "\x02\x02\u01AF\u086A\x03\x02\x02\x02\u01B1\u0874\x03\x02\x02\x02\u01B3" +
+ "\u0878\x03\x02\x02\x02\u01B5\u0883\x03\x02\x02\x02\u01B7\u088F\x03\x02" +
+ "\x02\x02\u01B9\u0897\x03\x02\x02\x02\u01BB\u089F\x03\x02\x02\x02\u01BD" +
+ "\u08A4\x03\x02\x02\x02\u01BF\u08B0\x03\x02\x02\x02\u01C1\u08BA\x03\x02" +
+ "\x02\x02\u01C3\u08C2\x03\x02\x02\x02\u01C5\u08CB\x03\x02\x02\x02\u01C7" +
+ "\u08D4\x03\x02\x02\x02\u01C9\u08E2\x03\x02\x02\x02\u01CB\u08F1\x03\x02" +
+ "\x02\x02\u01CD\u08F8\x03\x02\x02\x02\u01CF\u0902\x03\x02\x02\x02\u01D1" +
+ "\u0908\x03\x02\x02\x02\u01D3\u090E\x03\x02\x02\x02\u01D5\u0913\x03\x02" +
+ "\x02\x02\u01D7\u0916\x03\x02\x02\x02\u01D9\u091C\x03\x02\x02\x02\u01DB" +
+ "\u0922\x03\x02\x02\x02\u01DD\u0929\x03\x02\x02\x02\u01DF\u0933\x03\x02" +
+ "\x02\x02\u01E1\u093A\x03\x02\x02\x02\u01E3\u0941\x03\x02\x02\x02\u01E5" +
+ "\u0947\x03\x02\x02\x02\u01E7\u094C\x03\x02\x02\x02\u01E9\u0952\x03\x02" +
+ "\x02\x02\u01EB\u0959\x03\x02\x02\x02\u01ED\u0961\x03\x02\x02\x02\u01EF" +
+ "\u0966\x03\x02\x02\x02\u01F1\u096B\x03\x02\x02\x02\u01F3\u0972\x03\x02" +
+ "\x02\x02\u01F5\u097C\x03\x02\x02\x02\u01F7\u0983\x03\x02\x02\x02\u01F9" +
+ "\u098A\x03\x02\x02\x02\u01FB\u098D\x03\x02\x02\x02\u01FD\u0994\x03\x02" +
+ "\x02\x02\u01FF\u099A\x03\x02\x02\x02\u0201\u09A7\x03\x02\x02\x02\u0203" +
+ "\u09BB\x03\x02\x02\x02\u0205\u09CD\x03\x02\x02\x02\u0207\u09E1\x03\x02" +
+ "\x02\x02\u0209\u09ED\x03\x02\x02\x02\u020B\u09FA\x03\x02\x02\x02\u020D" +
+ "\u0A11\x03\x02\x02\x02\u020F\u0A22\x03\x02\x02\x02\u0211\u0A2B\x03\x02" +
+ "\x02\x02\u0213\u0A4F\x03\x02\x02\x02\u0215\u0A55\x03\x02\x02\x02\u0217" +
+ "\u0A66\x03\x02\x02\x02\u0219\u0A74\x03\x02\x02\x02\u021B\u0A85\x03\x02" +
+ "\x02\x02\u021D\u0AA0\x03\x02\x02\x02\u021F\u0AA7\x03\x02\x02\x02\u0221" +
+ "\u0AAD\x03\x02\x02\x02\u0223\u0AC2\x03\x02\x02\x02\u0225\u0AD6\x03\x02" +
+ "\x02\x02\u0227\u0AEB\x03\x02\x02\x02\u0229\u0AF9\x03\x02\x02\x02\u022B" +
+ "\u0B03\x03\x02\x02\x02\u022D\u0B0B\x03\x02\x02\x02\u022F\u0B1D\x03\x02" +
+ "\x02\x02\u0231\u0B35\x03\x02\x02\x02\u0233\u0B44\x03\x02\x02\x02\u0235" +
+ "\u0B59\x03\x02\x02\x02\u0237\u0B62\x03\x02\x02\x02\u0239\u0B6E\x03\x02" +
+ "\x02\x02\u023B\u0B7C\x03\x02\x02\x02\u023D\u0B8B\x03\x02\x02\x02\u023F" +
+ "\u0B9E\x03\x02\x02\x02\u0241\u0BA6\x03\x02\x02\x02\u0243\u0BAB\x03\x02" +
+ "\x02\x02\u0245\u0BB7\x03\x02\x02\x02\u0247\u0BBC\x03\x02\x02\x02\u0249" +
+ "\u0BCD\x03\x02\x02\x02\u024B\u0BD2\x03\x02\x02\x02\u024D\u0BD5\x03\x02" +
+ "\x02\x02\u024F\u0BD7\x03\x02\x02\x02\u0251\u0BD9\x03\x02\x02\x02\u0253" +
+ "\u0BDB\x03\x02\x02\x02\u0255\u0BDD\x03\x02\x02\x02\u0257\u0BDF\x03\x02" +
+ "\x02\x02\u0259\u0BE1\x03\x02\x02\x02\u025B\u0BE4\x03\x02\x02\x02\u025D" +
+ "\u0BED\x03\x02\x02\x02\u025F\u0BFD\x03\x02\x02\x02\u0261\u0C01\x03\x02" +
+ "\x02\x02\u0263\u0C0B\x03\x02\x02\x02\u0265\u0C0E\x03\x02\x02\x02\u0267" +
+ "\u0C1B\x03\x02\x02\x02\u0269\u0C28\x03\x02\x02\x02\u026B\u0C35\x03\x02" +
+ "\x02\x02\u026D\u0C37\x03\x02\x02\x02\u026F\u0270\x07U\x02\x02\u0270\u0271" +
+ "\x07G\x02\x02\u0271\u0272\x07C\x02\x02\u0272\u0273\x07T\x02\x02\u0273" +
+ "\u0274\x07E\x02\x02\u0274\u0275\x07J\x02\x02\u0275\x04\x03\x02\x02\x02" +
+ "\u0276\u0277\x07F\x02\x02\u0277\u0278\x07G\x02\x02\u0278\u0279\x07U\x02" +
+ "\x02\u0279\u027A\x07E\x02\x02\u027A\u027B\x07T\x02\x02\u027B\u027C\x07" +
+ "K\x02\x02\u027C\u027D\x07D\x02\x02\u027D\u027E\x07G\x02\x02\u027E\x06" +
+ "\x03\x02\x02\x02\u027F\u0280\x07U\x02\x02\u0280\u0281\x07J\x02\x02\u0281" +
+ "\u0282\x07Q\x02\x02\u0282\u0283\x07Y\x02\x02\u0283\b\x03\x02\x02\x02\u0284" +
+ "\u0285\x07H\x02\x02\u0285\u0286\x07T\x02\x02\u0286\u0287\x07Q\x02\x02" +
+ "\u0287\u0288\x07O\x02\x02\u0288\n\x03\x02\x02\x02\u0289\u028A\x07Y\x02" +
+ "\x02\u028A\u028B\x07J\x02\x02\u028B\u028C\x07G\x02\x02\u028C\u028D\x07" +
+ "T\x02\x02\u028D\u028E\x07G\x02\x02\u028E\f\x03\x02\x02\x02\u028F\u0290" +
+ "\x07H\x02\x02\u0290\u0291\x07K\x02\x02\u0291\u0292\x07G\x02\x02\u0292" +
+ "\u0293\x07N\x02\x02\u0293\u0294\x07F\x02\x02\u0294\u0295\x07U\x02\x02" +
+ "\u0295\x0E\x03\x02\x02\x02\u0296\u0297\x07T\x02\x02\u0297\u0298\x07G\x02" +
+ "\x02\u0298\u0299\x07P\x02\x02\u0299\u029A\x07C\x02\x02\u029A\u029B\x07" +
+ "O\x02\x02\u029B\u029C\x07G\x02\x02\u029C\x10\x03\x02\x02\x02\u029D\u029E" +
+ "\x07U\x02\x02\u029E\u029F\x07V\x02\x02\u029F\u02A0\x07C\x02\x02\u02A0" +
+ "\u02A1\x07V\x02\x02\u02A1\u02A2\x07U\x02\x02\u02A2\x12\x03\x02\x02\x02" +
+ "\u02A3\u02A4\x07F\x02\x02\u02A4\u02A5\x07G\x02\x02\u02A5\u02A6\x07F\x02" +
+ "\x02\u02A6\u02A7\x07W\x02\x02\u02A7\u02A8\x07R\x02\x02\u02A8\x14\x03\x02" +
+ "\x02\x02\u02A9\u02AA\x07U\x02\x02\u02AA\u02AB\x07Q\x02\x02\u02AB\u02AC" +
+ "\x07T\x02\x02\u02AC\u02AD\x07V\x02\x02\u02AD\x16\x03\x02\x02\x02\u02AE" +
+ "\u02AF\x07G\x02\x02\u02AF\u02B0\x07X\x02\x02\u02B0\u02B1\x07C\x02\x02" +
+ "\u02B1\u02B2\x07N\x02\x02\u02B2\x18\x03\x02\x02\x02\u02B3\u02B4\x07J\x02" +
+ "\x02\u02B4\u02B5\x07G\x02\x02\u02B5\u02B6\x07C\x02\x02\u02B6\u02B7\x07" +
+ "F\x02\x02\u02B7\x1A\x03\x02\x02\x02\u02B8\u02B9\x07V\x02\x02\u02B9\u02BA" +
+ "\x07Q\x02\x02\u02BA\u02BB\x07R\x02\x02\u02BB\x1C\x03\x02\x02\x02\u02BC" +
+ "\u02BD\x07T\x02\x02\u02BD\u02BE\x07C\x02\x02\u02BE\u02BF\x07T\x02\x02" +
+ "\u02BF\u02C0\x07G\x02\x02\u02C0\x1E\x03\x02\x02\x02\u02C1\u02C2\x07R\x02" +
+ "\x02\u02C2\u02C3\x07C\x02\x02\u02C3\u02C4\x07T\x02\x02\u02C4\u02C5\x07" +
+ "U\x02\x02\u02C5\u02C6\x07G\x02\x02\u02C6 \x03\x02\x02\x02\u02C7\u02C8" +
+ "\x07O\x02\x02\u02C8\u02C9\x07G\x02\x02\u02C9\u02CA\x07V\x02\x02\u02CA" +
+ "\u02CB\x07J\x02\x02\u02CB\u02CC\x07Q\x02\x02\u02CC\u02CD\x07F\x02\x02" +
+ "\u02CD\"\x03\x02\x02\x02\u02CE\u02CF\x07T\x02\x02\u02CF\u02D0\x07G\x02" +
+ "\x02\u02D0\u02D1\x07I\x02\x02\u02D1\u02D2\x07G\x02\x02\u02D2\u02D3\x07" +
+ "Z\x02\x02\u02D3$\x03\x02\x02\x02\u02D4\u02D5\x07R\x02\x02\u02D5\u02D6" +
+ "\x07W\x02\x02\u02D6\u02D7\x07P\x02\x02\u02D7\u02D8\x07E\x02\x02\u02D8" +
+ "\u02D9\x07V\x02\x02\u02D9&\x03\x02\x02\x02\u02DA\u02DB\x07I\x02\x02\u02DB" +
+ "\u02DC\x07T\x02\x02\u02DC\u02DD\x07Q\x02\x02\u02DD\u02DE\x07M\x02\x02" +
+ "\u02DE(\x03\x02\x02\x02\u02DF\u02E0\x07R\x02\x02\u02E0\u02E1\x07C\x02" +
+ "\x02\u02E1\u02E2\x07V\x02\x02\u02E2\u02E3\x07V\x02\x02\u02E3\u02E4\x07" +
+ "G\x02\x02\u02E4\u02E5\x07T\x02\x02\u02E5\u02E6\x07P\x02\x02\u02E6*\x03" +
+ "\x02\x02\x02\u02E7\u02E8\x07R\x02\x02\u02E8\u02E9\x07C\x02\x02\u02E9\u02EA" +
+ "\x07V\x02\x02\u02EA\u02EB\x07V\x02\x02\u02EB\u02EC\x07G\x02\x02\u02EC" +
+ "\u02ED\x07T\x02\x02\u02ED\u02EE\x07P\x02\x02\u02EE\u02EF\x07U\x02\x02" +
+ "\u02EF,\x03\x02\x02\x02\u02F0\u02F1\x07P\x02\x02\u02F1\u02F2\x07G\x02" +
+ "\x02\u02F2\u02F3\x07Y\x02\x02\u02F3\u02F4\x07a\x02\x02\u02F4\u02F5\x07" +
+ "H\x02\x02\u02F5\u02F6\x07K\x02\x02\u02F6\u02F7\x07G\x02\x02\u02F7\u02F8" +
+ "\x07N\x02\x02\u02F8\u02F9\x07F\x02\x02\u02F9.\x03\x02\x02\x02\u02FA\u02FB" +
+ "\x07M\x02\x02\u02FB\u02FC\x07O\x02\x02\u02FC\u02FD\x07G\x02\x02\u02FD" +
+ "\u02FE\x07C\x02\x02\u02FE\u02FF\x07P\x02\x02\u02FF\u0300\x07U\x02\x02" +
+ "\u03000\x03\x02\x02\x02\u0301\u0302\x07C\x02\x02\u0302\u0303\x07F\x02" +
+ "\x02\u03032\x03\x02\x02\x02\u0304\u0305\x07O\x02\x02\u0305\u0306\x07N" +
+ "\x02\x02\u03064\x03\x02\x02\x02\u0307\u0308\x07C\x02\x02\u0308\u0309\x07" +
+ "U\x02\x02\u03096\x03\x02\x02\x02\u030A\u030B\x07D\x02\x02\u030B\u030C" +
+ "\x07[\x02\x02\u030C8\x03\x02\x02\x02\u030D\u030E\x07U\x02\x02\u030E\u030F" +
+ "\x07Q\x02\x02\u030F\u0310\x07W\x02\x02\u0310\u0311\x07T\x02\x02\u0311" +
+ "\u0312\x07E\x02\x02\u0312\u0313\x07G\x02\x02\u0313:\x03\x02\x02\x02\u0314" +
+ "\u0315\x07K\x02\x02\u0315\u0316\x07P\x02\x02\u0316\u0317\x07F\x02\x02" +
+ "\u0317\u0318\x07G\x02\x02\u0318\u0319\x07Z\x02\x02\u0319<\x03\x02\x02" +
+ "\x02\u031A\u031B\x07F\x02\x02\u031B>\x03\x02\x02\x02\u031C\u031D\x07F" +
+ "\x02\x02\u031D\u031E\x07G\x02\x02\u031E\u031F\x07U\x02\x02\u031F\u0320" +
+ "\x07E\x02\x02\u0320@\x03\x02\x02\x02\u0321\u0322\x07E\x02\x02\u0322\u0323" +
+ "\x07C\x02\x02\u0323\u0324\x07V\x02\x02\u0324\u0325\x07C\x02\x02\u0325" +
+ "\u0326\x07N\x02\x02\u0326\u0327\x07Q\x02\x02\u0327\u0328\x07I\x02\x02" +
+ "\u0328\u0329\x07U\x02\x02\u0329B\x03\x02\x02\x02\u032A\u032B\x07U\x02" +
+ "\x02\u032B\u032C\x07Q\x02\x02\u032C\u032D\x07T\x02\x02\u032D\u032E\x07" +
+ "V\x02\x02\u032E\u032F\x07D\x02\x02\u032F\u0330\x07[\x02\x02\u0330D\x03" +
+ "\x02\x02\x02\u0331\u0332\x07C\x02\x02\u0332\u0333\x07W\x02\x02\u0333\u0334" +
+ "\x07V\x02\x02\u0334\u0335\x07Q\x02\x02\u0335F\x03\x02\x02\x02\u0336\u0337" +
+ "\x07U\x02\x02\u0337\u0338\x07V\x02\x02\u0338\u0339\x07T\x02\x02\u0339" +
+ "H\x03\x02\x02\x02\u033A\u033B\x07K\x02\x02\u033B\u033C\x07R\x02\x02\u033C" +
+ "J\x03\x02\x02\x02\u033D\u033E\x07P\x02\x02\u033E\u033F\x07W\x02\x02\u033F" +
+ "\u0340\x07O\x02\x02\u0340L\x03\x02\x02\x02\u0341\u0342\x07M\x02\x02\u0342" +
+ "\u0343\x07G\x02\x02\u0343\u0344\x07G\x02\x02\u0344\u0345\x07R\x02\x02" +
+ "\u0345\u0346\x07G\x02\x02\u0346\u0347\x07O\x02\x02\u0347\u0348\x07R\x02" +
+ "\x02\u0348\u0349\x07V\x02\x02\u0349\u034A\x07[\x02\x02\u034AN\x03\x02" +
+ "\x02\x02\u034B\u034C\x07E\x02\x02\u034C\u034D\x07Q\x02\x02\u034D\u034E" +
+ "\x07P\x02\x02\u034E\u034F\x07U\x02\x02\u034F\u0350\x07G\x02\x02\u0350" +
+ "\u0351\x07E\x02\x02\u0351\u0352\x07W\x02\x02\u0352\u0353\x07V\x02\x02" +
+ "\u0353\u0354\x07K\x02\x02\u0354\u0355\x07X\x02\x02\u0355\u0356\x07G\x02" +
+ "\x02\u0356P\x03\x02\x02\x02\u0357\u0358\x07F\x02\x02\u0358\u0359\x07G" +
+ "\x02\x02\u0359\u035A\x07F\x02\x02\u035A\u035B\x07W\x02\x02\u035B\u035C" +
+ "\x07R\x02\x02\u035C\u035D\x07a\x02\x02\u035D\u035E\x07U\x02\x02\u035E" +
+ "\u035F\x07R\x02\x02\u035F\u0360\x07N\x02\x02\u0360\u0361\x07K\x02\x02" +
+ "\u0361\u0362\x07V\x02\x02\u0362\u0363\x07X\x02\x02\u0363\u0364\x07C\x02" +
+ "\x02\u0364\u0365\x07N\x02\x02\u0365\u0366\x07W\x02\x02\u0366\u0367\x07" +
+ "G\x02\x02\u0367\u0368\x07U\x02\x02\u0368R\x03\x02\x02\x02\u0369\u036A" +
+ "\x07R\x02\x02\u036A\u036B\x07C\x02\x02\u036B\u036C\x07T\x02\x02\u036C" +
+ "\u036D\x07V\x02\x02\u036D\u036E\x07K\x02\x02\u036E\u036F\x07V\x02\x02" +
+ "\u036F\u0370\x07K\x02\x02\u0370\u0371\x07Q\x02\x02\u0371\u0372\x07P\x02" +
+ "\x02\u0372\u0373\x07U\x02\x02\u0373T\x03\x02\x02\x02\u0374\u0375\x07C" +
+ "\x02\x02\u0375\u0376\x07N\x02\x02\u0376\u0377\x07N\x02\x02\u0377\u0378" +
+ "\x07P\x02\x02\u0378\u0379\x07W\x02\x02\u0379\u037A\x07O\x02\x02\u037A" +
+ "V\x03\x02\x02\x02\u037B\u037C\x07F\x02\x02\u037C\u037D\x07G\x02\x02\u037D" +
+ "\u037E\x07N\x02\x02\u037E\u037F\x07K\x02\x02\u037F\u0380\x07O\x02\x02" +
+ "\u0380X\x03\x02\x02\x02\u0381\u0382\x07E\x02\x02\u0382\u0383\x07G\x02" +
+ "\x02\u0383\u0384\x07P\x02\x02\u0384\u0385\x07V\x02\x02\u0385\u0386\x07" +
+ "T\x02\x02\u0386\u0387\x07Q\x02\x02\u0387\u0388\x07K\x02\x02\u0388\u0389" +
+ "\x07F\x02\x02\u0389\u038A\x07U\x02\x02\u038AZ\x03\x02\x02\x02\u038B\u038C" +
+ "\x07K\x02\x02\u038C\u038D\x07V\x02\x02\u038D\u038E\x07G\x02\x02\u038E" +
+ "\u038F\x07T\x02\x02\u038F\u0390\x07C\x02\x02\u0390\u0391\x07V\x02\x02" +
+ "\u0391\u0392\x07K\x02\x02\u0392\u0393\x07Q\x02\x02\u0393\u0394\x07P\x02" +
+ "\x02\u0394\u0395\x07U\x02\x02\u0395\\\x03\x02\x02\x02\u0396\u0397\x07" +
+ "F\x02\x02\u0397\u0398\x07K\x02\x02\u0398\u0399\x07U\x02\x02\u0399\u039A" +
+ "\x07V\x02\x02\u039A\u039B\x07C\x02\x02\u039B\u039C\x07P\x02\x02\u039C" +
+ "\u039D\x07E\x02\x02\u039D\u039E\x07G\x02\x02\u039E\u039F\x07a\x02\x02" +
+ "\u039F\u03A0\x07V\x02\x02\u03A0\u03A1\x07[\x02\x02\u03A1\u03A2\x07R\x02" +
+ "\x02\u03A2\u03A3\x07G\x02\x02\u03A3^\x03\x02\x02\x02\u03A4\u03A5\x07P" +
+ "\x02\x02\u03A5\u03A6\x07W\x02\x02\u03A6\u03A7\x07O\x02\x02\u03A7\u03A8" +
+ "\x07D\x02\x02\u03A8\u03A9\x07G\x02\x02\u03A9\u03AA\x07T\x02\x02\u03AA" +
+ "\u03AB\x07a\x02\x02\u03AB\u03AC\x07Q\x02\x02\u03AC\u03AD\x07H\x02\x02" +
+ "\u03AD\u03AE\x07a\x02\x02\u03AE\u03AF\x07V\x02\x02\u03AF\u03B0\x07T\x02" +
+ "\x02\u03B0\u03B1\x07G\x02\x02\u03B1\u03B2\x07G\x02\x02\u03B2\u03B3\x07" +
+ "U\x02\x02\u03B3`\x03\x02\x02\x02\u03B4\u03B5\x07U\x02\x02\u03B5\u03B6" +
+ "\x07J\x02\x02\u03B6\u03B7\x07K\x02\x02\u03B7\u03B8\x07P\x02\x02\u03B8" +
+ "\u03B9\x07I\x02\x02\u03B9\u03BA\x07N\x02\x02\u03BA\u03BB\x07G\x02\x02" +
+ "\u03BB\u03BC\x07a\x02\x02\u03BC\u03BD\x07U\x02\x02\u03BD\u03BE\x07K\x02" +
+ "\x02\u03BE\u03BF\x07\\\x02\x02\u03BF\u03C0\x07G\x02\x02\u03C0b\x03\x02" +
+ "\x02\x02\u03C1\u03C2\x07U\x02\x02\u03C2\u03C3\x07C\x02\x02\u03C3\u03C4" +
+ "\x07O\x02\x02\u03C4\u03C5\x07R\x02\x02\u03C5\u03C6\x07N\x02\x02\u03C6" +
+ "\u03C7\x07G\x02\x02\u03C7\u03C8\x07a\x02\x02\u03C8\u03C9\x07U\x02\x02" +
+ "\u03C9\u03CA\x07K\x02\x02\u03CA\u03CB\x07\\\x02\x02\u03CB\u03CC\x07G\x02" +
+ "\x02\u03CCd\x03\x02\x02\x02\u03CD\u03CE\x07Q\x02\x02\u03CE\u03CF\x07W" +
+ "\x02\x02\u03CF\u03D0\x07V\x02\x02\u03D0\u03D1\x07R\x02\x02\u03D1\u03D2" +
+ "\x07W\x02\x02\u03D2\u03D3\x07V\x02\x02\u03D3\u03D4\x07a\x02\x02\u03D4" +
+ "\u03D5\x07C\x02\x02\u03D5\u03D6\x07H\x02\x02\u03D6\u03D7\x07V\x02\x02" +
+ "\u03D7\u03D8\x07G\x02\x02\u03D8\u03D9\x07T\x02\x02\u03D9f\x03\x02\x02" +
+ "\x02\u03DA\u03DB\x07V\x02\x02\u03DB\u03DC\x07K\x02\x02\u03DC\u03DD\x07" +
+ "O\x02\x02\u03DD\u03DE\x07G\x02\x02\u03DE\u03DF\x07a\x02\x02\u03DF\u03E0" +
+ "\x07F\x02\x02\u03E0\u03E1\x07G\x02\x02\u03E1\u03E2\x07E\x02\x02\u03E2" +
+ "\u03E3\x07C\x02\x02\u03E3\u03E4\x07[\x02\x02\u03E4h\x03\x02\x02\x02\u03E5" +
+ "\u03E6\x07C\x02\x02\u03E6\u03E7\x07P\x02\x02\u03E7\u03E8\x07Q\x02\x02" +
+ "\u03E8\u03E9\x07O\x02\x02\u03E9\u03EA\x07C\x02\x02\u03EA\u03EB\x07N\x02" +
+ "\x02\u03EB\u03EC\x07[\x02\x02\u03EC\u03ED\x07a\x02\x02\u03ED\u03EE\x07" +
+ "T\x02\x02\u03EE\u03EF\x07C\x02\x02\u03EF\u03F0\x07V\x02\x02\u03F0\u03F1" +
+ "\x07G\x02\x02\u03F1j\x03\x02\x02\x02\u03F2\u03F3\x07E\x02\x02\u03F3\u03F4" +
+ "\x07C\x02\x02\u03F4\u03F5\x07V\x02\x02\u03F5\u03F6\x07G\x02\x02\u03F6" +
+ "\u03F7\x07I\x02\x02\u03F7\u03F8\x07Q\x02\x02\u03F8\u03F9\x07T\x02\x02" +
+ "\u03F9\u03FA\x07[\x02\x02\u03FA\u03FB\x07a\x02\x02\u03FB\u03FC\x07H\x02" +
+ "\x02\u03FC\u03FD\x07K\x02\x02\u03FD\u03FE\x07G\x02\x02\u03FE\u03FF\x07" +
+ "N\x02\x02\u03FF\u0400\x07F\x02\x02\u0400l\x03\x02\x02\x02\u0401\u0402" +
+ "\x07V\x02\x02\u0402\u0403\x07K\x02\x02\u0403\u0404\x07O\x02\x02\u0404" +
+ "\u0405\x07G\x02\x02\u0405\u0406\x07a\x02\x02\u0406\u0407\x07H\x02\x02" +
+ "\u0407\u0408\x07K\x02\x02\u0408\u0409\x07G\x02\x02\u0409\u040A\x07N\x02" +
+ "\x02\u040A\u040B\x07F\x02\x02\u040Bn\x03\x02\x02\x02\u040C\u040D\x07V" +
+ "\x02\x02\u040D\u040E\x07K\x02\x02\u040E\u040F\x07O\x02\x02\u040F\u0410" +
+ "\x07G\x02\x02\u0410\u0411\x07a\x02\x02\u0411\u0412\x07\\\x02\x02\u0412" +
+ "\u0413\x07Q\x02\x02\u0413\u0414\x07P\x02\x02\u0414\u0415\x07G\x02\x02" +
+ "\u0415p\x03\x02\x02\x02\u0416\u0417\x07V\x02\x02\u0417\u0418\x07T\x02" +
+ "\x02\u0418\u0419\x07C\x02\x02\u0419\u041A\x07K\x02\x02\u041A\u041B\x07" +
+ "P\x02\x02\u041B\u041C\x07K\x02\x02\u041C\u041D\x07P\x02\x02\u041D\u041E" +
+ "\x07I\x02\x02\u041E\u041F\x07a\x02\x02\u041F\u0420\x07F\x02\x02\u0420" +
+ "\u0421\x07C\x02\x02\u0421\u0422\x07V\x02\x02\u0422\u0423\x07C\x02\x02" +
+ "\u0423\u0424\x07a\x02\x02\u0424\u0425\x07U\x02\x02\u0425\u0426\x07K\x02" +
+ "\x02\u0426\u0427\x07\\\x02\x02\u0427\u0428\x07G\x02\x02\u0428r\x03\x02" +
+ "\x02\x02\u0429\u042A\x07C\x02\x02\u042A\u042B\x07P\x02\x02\u042B\u042C" +
+ "\x07Q\x02\x02\u042C\u042D\x07O\x02\x02\u042D\u042E\x07C\x02\x02\u042E" +
+ "\u042F\x07N\x02\x02\u042F\u0430\x07[\x02\x02\u0430\u0431\x07a\x02\x02" +
+ "\u0431\u0432\x07U\x02\x02\u0432\u0433\x07E\x02\x02\u0433\u0434\x07Q\x02" +
+ "\x02\u0434\u0435\x07T\x02\x02\u0435\u0436\x07G\x02\x02\u0436\u0437\x07" +
+ "a\x02\x02\u0437\u0438\x07V\x02\x02\u0438\u0439\x07J\x02\x02\u0439\u043A" +
+ "\x07T\x02\x02\u043A\u043B\x07G\x02\x02\u043B\u043C\x07U\x02\x02\u043C" +
+ "\u043D\x07J\x02\x02\u043D\u043E\x07Q\x02\x02\u043E\u043F\x07N\x02\x02" +
+ "\u043F\u0440\x07F\x02\x02\u0440t\x03\x02\x02\x02\u0441\u0442\x07E\x02" +
+ "\x02\u0442\u0443\x07C\x02\x02\u0443\u0444\x07U\x02\x02\u0444\u0445\x07" +
+ "G\x02\x02\u0445v\x03\x02\x02\x02\u0446\u0447\x07K\x02\x02\u0447\u0448" +
+ "\x07P\x02\x02\u0448x\x03\x02\x02\x02\u0449\u044A\x07P\x02\x02\u044A\u044B" +
+ "\x07Q\x02\x02\u044B\u044C\x07V\x02\x02\u044Cz\x03\x02\x02\x02\u044D\u044E" +
+ "\x07Q\x02\x02\u044E\u044F\x07T\x02\x02\u044F|\x03\x02\x02\x02\u0450\u0451" +
+ "\x07C\x02\x02\u0451\u0452\x07P\x02\x02\u0452\u0453\x07F\x02\x02\u0453" +
+ "~\x03\x02\x02\x02\u0454\u0455\x07Z\x02\x02\u0455\u0456\x07Q\x02\x02\u0456" +
+ "\u0457\x07T\x02\x02\u0457\x80\x03\x02\x02\x02\u0458\u0459\x07V\x02\x02" +
+ "\u0459\u045A\x07T\x02\x02\u045A\u045B\x07W\x02\x02\u045B\u045C\x07G\x02" +
+ "\x02\u045C\x82\x03\x02\x02\x02\u045D\u045E\x07H\x02\x02\u045E\u045F\x07" +
+ "C\x02\x02\u045F\u0460\x07N\x02\x02\u0460\u0461\x07U\x02\x02\u0461\u0462" +
+ "\x07G\x02\x02\u0462\x84\x03\x02\x02\x02\u0463\u0464\x07T\x02\x02\u0464" +
+ "\u0465\x07G\x02\x02\u0465\u0466\x07I\x02\x02\u0466\u0467\x07G\x02\x02" +
+ "\u0467\u0468\x07Z\x02\x02\u0468\u0469\x07R\x02\x02\u0469\x86\x03\x02\x02" +
+ "\x02\u046A\u046B\x07F\x02\x02\u046B\u046C\x07C\x02\x02\u046C\u046D\x07" +
+ "V\x02\x02\u046D\u046E\x07G\x02\x02\u046E\u046F\x07V\x02\x02\u046F\u0470" +
+ "\x07K\x02\x02\u0470\u0471\x07O\x02\x02\u0471\u0472\x07G\x02\x02\u0472" +
+ "\x88\x03\x02\x02\x02\u0473\u0474\x07K\x02\x02\u0474\u0475\x07P\x02\x02" +
+ "\u0475\u0476\x07V\x02\x02\u0476\u0477\x07G\x02\x02\u0477\u0478\x07T\x02" +
+ "\x02\u0478\u0479\x07X\x02\x02\u0479\u047A\x07C\x02\x02\u047A\u047B\x07" +
+ "N\x02\x02\u047B\x8A\x03\x02\x02\x02\u047C\u047D\x07O\x02\x02\u047D\u047E" +
+ "\x07K\x02\x02\u047E\u047F\x07E\x02\x02\u047F\u0480\x07T\x02\x02\u0480" +
+ "\u0481\x07Q\x02\x02\u0481\u0482\x07U\x02\x02\u0482\u0483\x07G\x02\x02" +
+ "\u0483\u0484\x07E\x02\x02\u0484\u0485\x07Q\x02\x02\u0485\u0486\x07P\x02" +
+ "\x02\u0486\u0487\x07F\x02\x02\u0487\x8C\x03\x02\x02\x02\u0488\u0489\x07" +
+ "O\x02\x02\u0489\u048A\x07K\x02\x02\u048A\u048B\x07N\x02\x02\u048B\u048C" +
+ "\x07N\x02\x02\u048C\u048D\x07K\x02\x02\u048D\u048E\x07U\x02\x02\u048E" +
+ "\u048F\x07G\x02\x02\u048F\u0490\x07E\x02\x02\u0490\u0491\x07Q\x02\x02" +
+ "\u0491\u0492\x07P\x02\x02\u0492\u0493\x07F\x02\x02\u0493\x8E\x03\x02\x02" +
+ "\x02\u0494\u0495\x07U\x02\x02\u0495\u0496\x07G\x02\x02\u0496\u0497\x07" +
+ "E\x02\x02\u0497\u0498\x07Q\x02\x02\u0498\u0499\x07P\x02\x02\u0499\u049A" +
+ "\x07F\x02\x02\u049A\x90\x03\x02\x02\x02\u049B\u049C\x07O\x02\x02\u049C" +
+ "\u049D\x07K\x02\x02\u049D\u049E\x07P\x02\x02\u049E\u049F\x07W\x02\x02" +
+ "\u049F\u04A0\x07V\x02\x02\u04A0\u04A1\x07G\x02\x02\u04A1\x92\x03\x02\x02" +
+ "\x02\u04A2\u04A3\x07J\x02\x02\u04A3\u04A4\x07Q\x02\x02\u04A4\u04A5\x07" +
+ "W\x02\x02\u04A5\u04A6\x07T\x02\x02\u04A6\x94\x03\x02\x02\x02\u04A7\u04A8" +
+ "\x07F\x02\x02\u04A8\u04A9\x07C\x02\x02\u04A9\u04AA\x07[\x02\x02\u04AA" +
+ "\x96\x03\x02\x02\x02\u04AB\u04AC\x07Y\x02\x02\u04AC\u04AD\x07G\x02\x02" +
+ "\u04AD\u04AE\x07G\x02\x02\u04AE\u04AF\x07M\x02\x02\u04AF\x98\x03\x02\x02" +
+ "\x02\u04B0\u04B1\x07O\x02\x02\u04B1\u04B2\x07Q\x02\x02\u04B2\u04B3\x07" +
+ "P\x02\x02\u04B3\u04B4\x07V\x02\x02\u04B4\u04B5\x07J\x02\x02\u04B5\x9A" +
+ "\x03\x02\x02\x02\u04B6\u04B7\x07S\x02\x02\u04B7\u04B8\x07W\x02\x02\u04B8" +
+ "\u04B9\x07C\x02\x02\u04B9\u04BA\x07T\x02\x02\u04BA\u04BB\x07V\x02\x02" +
+ "\u04BB\u04BC\x07G\x02\x02\u04BC\u04BD\x07T\x02\x02\u04BD\x9C\x03\x02\x02" +
+ "\x02\u04BE\u04BF\x07[\x02\x02\u04BF\u04C0\x07G\x02\x02\u04C0\u04C1\x07" +
+ "C\x02\x02\u04C1\u04C2\x07T\x02\x02\u04C2\x9E\x03\x02\x02\x02\u04C3\u04C4" +
+ "\x07U\x02\x02\u04C4\u04C5\x07G\x02\x02\u04C5\u04C6\x07E\x02\x02\u04C6" +
+ "\u04C7\x07Q\x02\x02\u04C7\u04C8\x07P\x02\x02\u04C8\u04C9\x07F\x02\x02" +
+ "\u04C9\u04CA\x07a\x02\x02\u04CA\u04CB\x07O\x02\x02\u04CB\u04CC\x07K\x02" +
+ "\x02\u04CC\u04CD\x07E\x02\x02\u04CD\u04CE\x07T\x02\x02\u04CE\u04CF\x07" +
+ "Q\x02\x02\u04CF\u04D0\x07U\x02\x02\u04D0\u04D1\x07G\x02\x02\u04D1\u04D2" +
+ "\x07E\x02\x02\u04D2\u04D3\x07Q\x02\x02\u04D3\u04D4\x07P\x02\x02\u04D4" +
+ "\u04D5\x07F\x02\x02\u04D5\xA0\x03\x02\x02\x02\u04D6\u04D7\x07O\x02\x02" +
+ "\u04D7\u04D8\x07K\x02\x02\u04D8\u04D9\x07P\x02\x02\u04D9\u04DA\x07W\x02" +
+ "\x02\u04DA\u04DB\x07V\x02\x02\u04DB\u04DC\x07G\x02\x02\u04DC\u04DD\x07" +
+ "a\x02\x02\u04DD\u04DE\x07O\x02\x02\u04DE\u04DF\x07K\x02\x02\u04DF\u04E0" +
+ "\x07E\x02\x02\u04E0\u04E1\x07T\x02\x02\u04E1\u04E2\x07Q\x02\x02\u04E2" +
+ "\u04E3\x07U\x02\x02\u04E3\u04E4\x07G\x02\x02\u04E4\u04E5\x07E\x02\x02" +
+ "\u04E5\u04E6\x07Q\x02\x02\u04E6\u04E7\x07P\x02\x02\u04E7\u04E8\x07F\x02" +
+ "\x02\u04E8\xA2\x03\x02\x02\x02\u04E9\u04EA\x07O\x02\x02\u04EA\u04EB\x07" +
+ "K\x02\x02\u04EB\u04EC\x07P\x02\x02\u04EC\u04ED\x07W\x02\x02\u04ED\u04EE" +
+ "\x07V\x02\x02\u04EE\u04EF\x07G\x02\x02\u04EF\u04F0\x07a\x02\x02\u04F0" +
+ "\u04F1\x07U\x02\x02\u04F1\u04F2\x07G\x02\x02\u04F2\u04F3\x07E\x02\x02" +
+ "\u04F3\u04F4\x07Q\x02\x02\u04F4\u04F5\x07P\x02\x02\u04F5\u04F6\x07F\x02" +
+ "\x02\u04F6\xA4\x03\x02\x02\x02\u04F7\u04F8\x07J\x02\x02\u04F8\u04F9\x07" +
+ "Q\x02\x02\u04F9\u04FA\x07W\x02\x02\u04FA\u04FB\x07T\x02\x02\u04FB\u04FC" +
+ "\x07a\x02\x02\u04FC\u04FD\x07O\x02\x02\u04FD\u04FE\x07K\x02\x02\u04FE" +
+ "\u04FF\x07E\x02\x02\u04FF\u0500\x07T\x02\x02\u0500\u0501\x07Q\x02\x02" +
+ "\u0501\u0502\x07U\x02\x02\u0502\u0503\x07G\x02\x02\u0503\u0504\x07E\x02" +
+ "\x02\u0504\u0505\x07Q\x02\x02\u0505\u0506\x07P\x02\x02\u0506\u0507\x07" +
+ "F\x02\x02\u0507\xA6\x03\x02\x02\x02\u0508\u0509\x07J\x02\x02\u0509\u050A" +
+ "\x07Q\x02\x02\u050A\u050B\x07W\x02\x02\u050B\u050C\x07T\x02\x02\u050C" +
+ "\u050D\x07";
+ private static readonly _serializedATNSegment3: string =
+ "a\x02\x02\u050D\u050E\x07U\x02\x02\u050E\u050F\x07G\x02\x02\u050F\u0510" +
+ "\x07E\x02\x02\u0510\u0511\x07Q\x02\x02\u0511\u0512\x07P\x02\x02\u0512" +
+ "\u0513\x07F\x02\x02\u0513\xA8\x03\x02\x02\x02\u0514\u0515\x07J\x02\x02" +
+ "\u0515\u0516\x07Q\x02\x02\u0516\u0517\x07W\x02\x02\u0517\u0518\x07T\x02" +
+ "\x02\u0518\u0519\x07a\x02\x02\u0519\u051A\x07O\x02\x02\u051A\u051B\x07" +
+ "K\x02\x02\u051B\u051C\x07P\x02\x02\u051C\u051D\x07W\x02\x02\u051D\u051E" +
+ "\x07V\x02\x02\u051E\u051F\x07G\x02\x02\u051F\xAA\x03\x02\x02\x02\u0520" +
+ "\u0521\x07F\x02\x02\u0521\u0522\x07C\x02\x02\u0522\u0523\x07[\x02\x02" +
+ "\u0523\u0524\x07a\x02\x02\u0524\u0525\x07O\x02\x02\u0525\u0526\x07K\x02" +
+ "\x02\u0526\u0527\x07E\x02\x02\u0527\u0528\x07T\x02\x02\u0528\u0529\x07" +
+ "Q\x02\x02\u0529\u052A\x07U\x02\x02\u052A\u052B\x07G\x02\x02\u052B\u052C" +
+ "\x07E\x02\x02\u052C\u052D\x07Q\x02\x02\u052D\u052E\x07P\x02\x02\u052E" +
+ "\u052F\x07F\x02\x02\u052F\xAC\x03\x02\x02\x02\u0530\u0531\x07F\x02\x02" +
+ "\u0531\u0532\x07C\x02\x02\u0532\u0533\x07[\x02\x02\u0533\u0534\x07a\x02" +
+ "\x02\u0534\u0535\x07U\x02\x02\u0535\u0536\x07G\x02\x02\u0536\u0537\x07" +
+ "E\x02\x02\u0537\u0538\x07Q\x02\x02\u0538\u0539\x07P\x02\x02\u0539\u053A" +
+ "\x07F\x02\x02\u053A\xAE\x03\x02\x02\x02\u053B\u053C\x07F\x02\x02\u053C" +
+ "\u053D\x07C\x02\x02\u053D\u053E\x07[\x02\x02\u053E\u053F\x07a\x02\x02" +
+ "\u053F\u0540\x07O\x02\x02\u0540\u0541\x07K\x02\x02\u0541\u0542\x07P\x02" +
+ "\x02\u0542\u0543\x07W\x02\x02\u0543\u0544\x07V\x02\x02\u0544\u0545\x07" +
+ "G\x02\x02\u0545\xB0\x03\x02\x02\x02\u0546\u0547\x07F\x02\x02\u0547\u0548" +
+ "\x07C\x02\x02\u0548\u0549\x07[\x02\x02\u0549\u054A\x07a\x02\x02\u054A" +
+ "\u054B\x07J\x02\x02\u054B\u054C\x07Q\x02\x02\u054C\u054D\x07W\x02\x02" +
+ "\u054D\u054E\x07T\x02\x02\u054E\xB2\x03\x02\x02\x02\u054F\u0550\x07[\x02" +
+ "\x02\u0550\u0551\x07G\x02\x02\u0551\u0552\x07C\x02\x02\u0552\u0553\x07" +
+ "T\x02\x02\u0553\u0554\x07a\x02\x02\u0554\u0555\x07O\x02\x02\u0555\u0556" +
+ "\x07Q\x02\x02\u0556\u0557\x07P\x02\x02\u0557\u0558\x07V\x02\x02\u0558" +
+ "\u0559\x07J\x02\x02\u0559\xB4\x03\x02\x02\x02\u055A\u055B\x07E\x02\x02" +
+ "\u055B\u055C\x07Q\x02\x02\u055C\u055D\x07P\x02\x02\u055D\u055E\x07X\x02" +
+ "\x02\u055E\u055F\x07G\x02\x02\u055F\u0560\x07T\x02\x02\u0560\u0561\x07" +
+ "V\x02\x02\u0561\u0562\x07a\x02\x02\u0562\u0563\x07V\x02\x02\u0563\u0564" +
+ "\x07\\\x02\x02\u0564\xB6\x03\x02\x02\x02\u0565\u0566\x07F\x02\x02\u0566" +
+ "\u0567\x07C\x02\x02\u0567\u0568\x07V\x02\x02\u0568\u0569\x07C\x02\x02" +
+ "\u0569\u056A\x07O\x02\x02\u056A\u056B\x07Q\x02\x02\u056B\u056C\x07F\x02" +
+ "\x02\u056C\u056D\x07G\x02\x02\u056D\u056E\x07N\x02\x02\u056E\xB8\x03\x02" +
+ "\x02\x02\u056F\u0570\x07N\x02\x02\u0570\u0571\x07Q\x02\x02\u0571\u0572" +
+ "\x07Q\x02\x02\u0572\u0573\x07M\x02\x02\u0573\u0574\x07W\x02\x02\u0574" +
+ "\u0575\x07R\x02\x02\u0575\xBA\x03\x02\x02\x02\u0576\u0577\x07U\x02\x02" +
+ "\u0577\u0578\x07C\x02\x02\u0578\u0579\x07X\x02\x02\u0579\u057A\x07G\x02" +
+ "\x02\u057A\u057B\x07F\x02\x02\u057B\u057C\x07U\x02\x02\u057C\u057D\x07" +
+ "G\x02\x02\u057D\u057E\x07C\x02\x02\u057E\u057F\x07T\x02\x02\u057F\u0580" +
+ "\x07E\x02\x02\u0580\u0581\x07J\x02\x02\u0581\xBC\x03\x02\x02\x02\u0582" +
+ "\u0583\x07K\x02\x02\u0583\u0584\x07P\x02\x02\u0584\u0585\x07V\x02\x02" +
+ "\u0585\xBE\x03\x02\x02\x02\u0586\u0587\x07K\x02\x02\u0587\u0588\x07P\x02" +
+ "\x02\u0588\u0589\x07V\x02\x02\u0589\u058A\x07G\x02\x02\u058A\u058B\x07" +
+ "I\x02\x02\u058B\u058C\x07G\x02\x02\u058C\u058D\x07T\x02\x02\u058D\xC0" +
+ "\x03\x02\x02\x02\u058E\u058F\x07F\x02\x02\u058F\u0590\x07Q\x02\x02\u0590" +
+ "\u0591\x07W\x02\x02\u0591\u0592\x07D\x02\x02\u0592\u0593\x07N\x02\x02" +
+ "\u0593\u0594\x07G\x02\x02\u0594\xC2\x03\x02\x02\x02\u0595\u0596\x07N\x02" +
+ "\x02\u0596\u0597\x07Q\x02\x02\u0597\u0598\x07P\x02\x02\u0598\u0599\x07" +
+ "I\x02\x02\u0599\xC4\x03\x02\x02\x02\u059A\u059B\x07H\x02\x02\u059B\u059C" +
+ "\x07N\x02\x02\u059C\u059D\x07Q\x02\x02\u059D\u059E\x07C\x02\x02\u059E" +
+ "\u059F\x07V\x02\x02\u059F\xC6\x03\x02\x02\x02\u05A0\u05A1\x07U\x02\x02" +
+ "\u05A1\u05A2\x07V\x02\x02\u05A2\u05A3\x07T\x02\x02\u05A3\u05A4\x07K\x02" +
+ "\x02\u05A4\u05A5\x07P\x02\x02\u05A5\u05A6\x07I\x02\x02\u05A6\xC8\x03\x02" +
+ "\x02\x02\u05A7\u05A8\x07D\x02\x02\u05A8\u05A9\x07Q\x02\x02\u05A9\u05AA" +
+ "\x07Q\x02\x02\u05AA\u05AB\x07N\x02\x02\u05AB\u05AC\x07G\x02\x02\u05AC" +
+ "\u05AD\x07C\x02\x02\u05AD\u05AE\x07P\x02\x02\u05AE\xCA\x03\x02\x02\x02" +
+ "\u05AF\u05B0\x07~\x02\x02\u05B0\xCC\x03\x02\x02\x02\u05B1\u05B2\x07.\x02" +
+ "\x02\u05B2\xCE\x03\x02\x02\x02\u05B3\u05B4\x070\x02\x02\u05B4\xD0\x03" +
+ "\x02\x02\x02\u05B5\u05B6\x07?\x02\x02\u05B6\xD2\x03\x02\x02\x02\u05B7" +
+ "\u05B8\x07@\x02\x02\u05B8\xD4\x03\x02\x02\x02\u05B9\u05BA\x07>\x02\x02" +
+ "\u05BA\xD6\x03\x02\x02\x02\u05BB\u05BC\x07>\x02\x02\u05BC\u05BD\x07?\x02" +
+ "\x02\u05BD\xD8\x03\x02\x02\x02\u05BE\u05BF\x07@\x02\x02\u05BF\u05C0\x07" +
+ "?\x02\x02\u05C0\xDA\x03\x02\x02\x02\u05C1\u05C2\x07#\x02\x02\u05C2\u05C3" +
+ "\x07?\x02\x02\u05C3\xDC\x03\x02\x02\x02\u05C4\u05C5\x07-\x02\x02\u05C5" +
+ "\xDE\x03\x02\x02\x02\u05C6\u05C7\x07/\x02\x02\u05C7\xE0\x03\x02\x02\x02" +
+ "\u05C8\u05C9\x07,\x02\x02\u05C9\xE2\x03\x02\x02\x02\u05CA\u05CB\x071\x02" +
+ "\x02\u05CB\xE4\x03\x02\x02\x02\u05CC\u05CD\x07\'\x02\x02\u05CD\xE6\x03" +
+ "\x02\x02\x02\u05CE\u05CF\x07#\x02\x02\u05CF\xE8\x03\x02\x02\x02\u05D0" +
+ "\u05D1\x07<\x02\x02\u05D1\xEA\x03\x02\x02\x02\u05D2\u05D3\x07*\x02\x02" +
+ "\u05D3\xEC\x03\x02\x02\x02\u05D4\u05D5\x07+\x02\x02\u05D5\xEE\x03\x02" +
+ "\x02\x02\u05D6\u05D7\x07]\x02\x02\u05D7\xF0\x03\x02\x02\x02\u05D8\u05D9" +
+ "\x07_\x02\x02\u05D9\xF2\x03\x02\x02\x02\u05DA\u05DB\x07)\x02\x02\u05DB" +
+ "\xF4\x03\x02\x02\x02\u05DC\u05DD\x07$\x02\x02\u05DD\xF6\x03\x02\x02\x02" +
+ "\u05DE\u05DF\x07b\x02\x02\u05DF\xF8\x03\x02\x02\x02\u05E0\u05E1\x07\x80" +
+ "\x02\x02\u05E1\xFA\x03\x02\x02\x02\u05E2\u05E3\x07(\x02\x02\u05E3\xFC" +
+ "\x03\x02\x02\x02\u05E4\u05E5\x07`\x02\x02\u05E5\xFE\x03\x02\x02\x02\u05E6" +
+ "\u05E7\x07C\x02\x02\u05E7\u05E8\x07X\x02\x02\u05E8\u05E9\x07I\x02\x02" +
+ "\u05E9\u0100\x03\x02\x02\x02\u05EA\u05EB\x07E\x02\x02\u05EB\u05EC\x07" +
+ "Q\x02\x02\u05EC\u05ED\x07W\x02\x02\u05ED\u05EE\x07P\x02\x02\u05EE\u05EF" +
+ "\x07V\x02\x02\u05EF\u0102\x03\x02\x02\x02\u05F0\u05F1\x07F\x02\x02\u05F1" +
+ "\u05F2\x07K\x02\x02\u05F2\u05F3\x07U\x02\x02\u05F3\u05F4\x07V\x02\x02" +
+ "\u05F4\u05F5\x07K\x02\x02\u05F5\u05F6\x07P\x02\x02\u05F6\u05F7\x07E\x02" +
+ "\x02\u05F7\u05F8\x07V\x02\x02\u05F8\u05F9\x07a\x02\x02\u05F9\u05FA\x07" +
+ "E\x02\x02\u05FA\u05FB\x07Q\x02\x02\u05FB\u05FC\x07W\x02\x02\u05FC\u05FD" +
+ "\x07P\x02\x02\u05FD\u05FE\x07V\x02\x02\u05FE\u0104\x03\x02\x02\x02\u05FF" +
+ "\u0600\x07G\x02\x02\u0600\u0601\x07U\x02\x02\u0601\u0602\x07V\x02\x02" +
+ "\u0602\u0603\x07F\x02\x02\u0603\u0604\x07E\x02\x02\u0604\u0106\x03\x02" +
+ "\x02\x02\u0605\u0606\x07G\x02\x02\u0606\u0607\x07U\x02\x02\u0607\u0608" +
+ "\x07V\x02\x02\u0608\u0609\x07F\x02\x02\u0609\u060A\x07E\x02\x02\u060A" +
+ "\u060B\x07a\x02\x02\u060B\u060C\x07G\x02\x02\u060C\u060D\x07T\x02\x02" +
+ "\u060D\u060E\x07T\x02\x02\u060E\u060F\x07Q\x02\x02\u060F\u0610\x07T\x02" +
+ "\x02\u0610\u0108\x03\x02\x02\x02\u0611\u0612\x07O\x02\x02\u0612\u0613" +
+ "\x07C\x02\x02\u0613\u0614\x07Z\x02\x02\u0614\u010A\x03\x02\x02\x02\u0615" +
+ "\u0616\x07O\x02\x02\u0616\u0617\x07G\x02\x02\u0617\u0618\x07C\x02\x02" +
+ "\u0618\u0619\x07P\x02\x02\u0619\u010C\x03\x02\x02\x02\u061A\u061B\x07" +
+ "O\x02\x02\u061B\u061C\x07G\x02\x02\u061C\u061D\x07F\x02\x02\u061D\u061E" +
+ "\x07K\x02\x02\u061E\u061F\x07C\x02\x02\u061F\u0620\x07P\x02\x02\u0620" +
+ "\u010E\x03\x02\x02\x02\u0621\u0622\x07O\x02\x02\u0622\u0623\x07K\x02\x02" +
+ "\u0623\u0624\x07P\x02\x02\u0624\u0110\x03\x02\x02\x02\u0625\u0626\x07" +
+ "O\x02\x02\u0626\u0627\x07Q\x02\x02\u0627\u0628\x07F\x02\x02\u0628\u0629" +
+ "\x07G\x02\x02\u0629\u0112\x03\x02\x02\x02\u062A\u062B\x07T\x02\x02\u062B" +
+ "\u062C\x07C\x02\x02\u062C\u062D\x07P\x02\x02\u062D\u062E\x07I\x02\x02" +
+ "\u062E\u062F\x07G\x02\x02\u062F\u0114\x03\x02\x02\x02\u0630\u0631\x07" +
+ "U\x02\x02\u0631\u0632\x07V\x02\x02\u0632\u0633\x07F\x02\x02\u0633\u0634" +
+ "\x07G\x02\x02\u0634\u0635\x07X\x02\x02\u0635\u0116\x03\x02\x02\x02\u0636" +
+ "\u0637\x07U\x02\x02\u0637\u0638\x07V\x02\x02\u0638\u0639\x07F\x02\x02" +
+ "\u0639\u063A\x07G\x02\x02\u063A\u063B\x07X\x02\x02\u063B\u063C\x07R\x02" +
+ "\x02\u063C\u0118\x03\x02\x02\x02\u063D\u063E\x07U\x02\x02\u063E\u063F" +
+ "\x07W\x02\x02\u063F\u0640\x07O\x02\x02\u0640\u011A\x03\x02\x02\x02\u0641" +
+ "\u0642\x07U\x02\x02\u0642\u0643\x07W\x02\x02\u0643\u0644\x07O\x02\x02" +
+ "\u0644\u0645\x07U\x02\x02\u0645\u0646\x07S\x02\x02\u0646\u011C\x03\x02" +
+ "\x02\x02\u0647\u0648\x07X\x02\x02\u0648\u0649\x07C\x02\x02\u0649\u064A" +
+ "\x07T\x02\x02\u064A\u064B\x07a\x02\x02\u064B\u064C\x07U\x02\x02\u064C" +
+ "\u064D\x07C\x02\x02\u064D\u064E\x07O\x02\x02\u064E\u064F\x07R\x02\x02" +
+ "\u064F\u011E\x03\x02\x02\x02\u0650\u0651\x07X\x02\x02\u0651\u0652\x07" +
+ "C\x02\x02\u0652\u0653\x07T\x02\x02\u0653\u0654\x07a\x02\x02\u0654\u0655" +
+ "\x07R\x02\x02\u0655\u0656\x07Q\x02\x02\u0656\u0657\x07R\x02\x02\u0657" +
+ "\u0120\x03\x02\x02\x02\u0658\u0659\x07U\x02\x02\u0659\u065A\x07V\x02\x02" +
+ "\u065A\u065B\x07F\x02\x02\u065B\u065C\x07F\x02\x02\u065C\u065D\x07G\x02" +
+ "\x02\u065D\u065E\x07X\x02\x02\u065E\u065F\x07a\x02\x02\u065F\u0660\x07" +
+ "U\x02\x02\u0660\u0661\x07C\x02\x02\u0661\u0662\x07O\x02\x02\u0662\u0663" +
+ "\x07R\x02\x02\u0663\u0122\x03\x02\x02\x02\u0664\u0665\x07U\x02\x02\u0665" +
+ "\u0666\x07V\x02\x02\u0666\u0667\x07F\x02\x02\u0667\u0668\x07F\x02\x02" +
+ "\u0668\u0669\x07G\x02\x02\u0669\u066A\x07X\x02\x02\u066A\u066B\x07a\x02" +
+ "\x02\u066B\u066C\x07R\x02\x02\u066C\u066D\x07Q\x02\x02\u066D\u066E\x07" +
+ "R\x02\x02\u066E\u0124\x03\x02\x02\x02\u066F\u0670\x07R\x02\x02\u0670\u0671" +
+ "\x07G\x02\x02\u0671\u0672\x07T\x02\x02\u0672\u0673\x07E\x02\x02\u0673" +
+ "\u0674\x07G\x02\x02\u0674\u0675\x07P\x02\x02\u0675\u0676\x07V\x02\x02" +
+ "\u0676\u0677\x07K\x02\x02\u0677\u0678\x07N\x02\x02\u0678\u0679\x07G\x02" +
+ "\x02\u0679\u0126\x03\x02\x02\x02\u067A\u067B\x07V\x02\x02\u067B\u067C" +
+ "\x07C\x02\x02\u067C\u067D\x07M\x02\x02\u067D\u067E\x07G\x02\x02\u067E" +
+ "\u0128\x03\x02\x02\x02\u067F\u0680\x07H\x02\x02\u0680\u0681\x07K\x02\x02" +
+ "\u0681\u0682\x07T\x02\x02\u0682\u0683\x07U\x02\x02\u0683\u0684\x07V\x02" +
+ "\x02\u0684\u012A\x03\x02\x02\x02\u0685\u0686\x07N\x02\x02\u0686\u0687" +
+ "\x07C\x02\x02\u0687\u0688\x07U\x02\x02\u0688\u0689\x07V\x02\x02\u0689" +
+ "\u012C\x03\x02\x02\x02\u068A\u068B\x07N\x02\x02\u068B\u068C\x07K\x02\x02" +
+ "\u068C\u068D\x07U\x02\x02\u068D\u068E\x07V\x02\x02\u068E\u012E\x03\x02" +
+ "\x02\x02\u068F\u0690\x07X\x02\x02\u0690\u0691\x07C\x02\x02\u0691\u0692" +
+ "\x07N\x02\x02\u0692\u0693\x07W\x02\x02\u0693\u0694\x07G\x02\x02\u0694" +
+ "\u0695\x07U\x02\x02\u0695\u0130\x03\x02\x02\x02\u0696\u0697\x07G\x02\x02" +
+ "\u0697\u0698\x07C\x02\x02\u0698\u0699\x07T\x02\x02\u0699\u069A\x07N\x02" +
+ "\x02\u069A\u069B\x07K\x02\x02\u069B\u069C\x07G\x02\x02\u069C\u069D\x07" +
+ "U\x02\x02\u069D\u069E\x07V\x02\x02\u069E\u0132\x03\x02\x02\x02\u069F\u06A0" +
+ "\x07G\x02\x02\u06A0\u06A1\x07C\x02\x02\u06A1\u06A2\x07T\x02\x02\u06A2" +
+ "\u06A3\x07N\x02\x02\u06A3\u06A4\x07K\x02\x02\u06A4\u06A5\x07G\x02\x02" +
+ "\u06A5\u06A6\x07U\x02\x02\u06A6\u06A7\x07V\x02\x02\u06A7\u06A8\x07a\x02" +
+ "\x02\u06A8\u06A9\x07V\x02\x02\u06A9\u06AA\x07K\x02\x02\u06AA\u06AB\x07" +
+ "O\x02\x02\u06AB\u06AC\x07G\x02\x02\u06AC\u0134\x03\x02\x02\x02\u06AD\u06AE" +
+ "\x07N\x02\x02\u06AE\u06AF\x07C\x02\x02\u06AF\u06B0\x07V\x02\x02\u06B0" +
+ "\u06B1\x07G\x02\x02\u06B1\u06B2\x07U\x02\x02\u06B2\u06B3\x07V\x02\x02" +
+ "\u06B3\u0136\x03\x02\x02\x02\u06B4\u06B5\x07N\x02\x02\u06B5\u06B6\x07" +
+ "C\x02\x02\u06B6\u06B7\x07V\x02\x02\u06B7\u06B8\x07G\x02\x02\u06B8\u06B9" +
+ "\x07U\x02\x02\u06B9\u06BA\x07V\x02\x02\u06BA\u06BB\x07a\x02\x02\u06BB" +
+ "\u06BC\x07V\x02\x02\u06BC\u06BD\x07K\x02\x02\u06BD\u06BE\x07O\x02\x02" +
+ "\u06BE\u06BF\x07G\x02\x02\u06BF\u0138\x03\x02\x02\x02\u06C0\u06C1\x07" +
+ "R\x02\x02\u06C1\u06C2\x07G\x02\x02\u06C2\u06C3\x07T\x02\x02\u06C3\u06C4" +
+ "\x07a\x02\x02\u06C4\u06C5\x07F\x02\x02\u06C5\u06C6\x07C\x02\x02\u06C6" +
+ "\u06C7\x07[\x02\x02\u06C7\u013A\x03\x02\x02\x02\u06C8\u06C9\x07R\x02\x02" +
+ "\u06C9\u06CA\x07G\x02\x02\u06CA\u06CB\x07T\x02\x02\u06CB\u06CC\x07a\x02" +
+ "\x02\u06CC\u06CD\x07J\x02\x02\u06CD\u06CE\x07Q\x02\x02\u06CE\u06CF\x07" +
+ "W\x02\x02\u06CF\u06D0\x07T\x02\x02\u06D0\u013C\x03\x02\x02\x02\u06D1\u06D2" +
+ "\x07R\x02\x02\u06D2\u06D3\x07G\x02\x02\u06D3\u06D4\x07T\x02\x02\u06D4" +
+ "\u06D5\x07a\x02\x02\u06D5\u06D6\x07O\x02\x02\u06D6\u06D7\x07K\x02\x02" +
+ "\u06D7\u06D8\x07P\x02\x02\u06D8\u06D9\x07W\x02\x02\u06D9\u06DA\x07V\x02" +
+ "\x02\u06DA\u06DB\x07G\x02\x02\u06DB\u013E\x03\x02\x02\x02\u06DC\u06DD" +
+ "\x07R\x02\x02\u06DD\u06DE\x07G\x02\x02\u06DE\u06DF\x07T\x02\x02\u06DF" +
+ "\u06E0\x07a\x02\x02\u06E0\u06E1\x07U\x02\x02\u06E1\u06E2\x07G\x02\x02" +
+ "\u06E2\u06E3\x07E\x02\x02\u06E3\u06E4\x07Q\x02\x02\u06E4\u06E5\x07P\x02" +
+ "\x02\u06E5\u06E6\x07F\x02\x02\u06E6\u0140\x03\x02\x02\x02\u06E7\u06E8" +
+ "\x07T\x02\x02\u06E8\u06E9\x07C\x02\x02\u06E9\u06EA\x07V\x02\x02\u06EA" +
+ "\u06EB\x07G\x02\x02\u06EB\u0142\x03\x02\x02\x02\u06EC\u06ED\x07U\x02\x02" +
+ "\u06ED\u06EE\x07R\x02\x02\u06EE\u06EF\x07C\x02\x02\u06EF\u06F0\x07T\x02" +
+ "\x02\u06F0\u06F1\x07M\x02\x02\u06F1\u06F2\x07N\x02\x02\u06F2\u06F3\x07" +
+ "K\x02\x02\u06F3\u06F4\x07P\x02\x02\u06F4\u06F5\x07G\x02\x02\u06F5\u0144" +
+ "\x03\x02\x02\x02\u06F6\u06F7\x07E\x02\x02\u06F7\u0146\x03\x02\x02\x02" +
+ "\u06F8\u06F9\x07F\x02\x02\u06F9\u06FA\x07E\x02\x02\u06FA\u0148\x03\x02" +
+ "\x02\x02\u06FB\u06FC\x07C\x02\x02\u06FC\u06FD\x07D\x02\x02\u06FD\u06FE" +
+ "\x07U\x02\x02\u06FE\u014A\x03\x02\x02\x02\u06FF\u0700\x07E\x02\x02\u0700" +
+ "\u0701\x07G\x02\x02\u0701\u0702\x07K\x02\x02\u0702\u0703\x07N\x02\x02" +
+ "\u0703\u014C\x03\x02\x02\x02\u0704\u0705\x07E\x02\x02\u0705\u0706\x07" +
+ "G\x02\x02\u0706\u0707\x07K\x02\x02\u0707\u0708\x07N\x02\x02\u0708\u0709" +
+ "\x07K\x02\x02\u0709\u070A\x07P\x02\x02\u070A\u070B\x07I\x02\x02\u070B" +
+ "\u014E\x03\x02\x02\x02\u070C\u070D\x07E\x02\x02\u070D\u070E\x07Q\x02\x02" +
+ "\u070E\u070F\x07P\x02\x02\u070F\u0710\x07X\x02\x02\u0710\u0150\x03\x02" +
+ "\x02\x02\u0711\u0712\x07E\x02\x02\u0712\u0713\x07T\x02\x02\u0713\u0714" +
+ "\x07E\x02\x02\u0714\u0715\x075\x02\x02\u0715\u0716\x074\x02\x02\u0716" +
+ "\u0152\x03\x02\x02\x02\u0717\u0718\x07G\x02\x02\u0718\u0154\x03\x02\x02" +
+ "\x02\u0719\u071A\x07G\x02\x02\u071A\u071B\x07Z\x02\x02\u071B\u071C\x07" +
+ "R\x02\x02\u071C\u0156\x03\x02\x02\x02\u071D\u071E\x07H\x02\x02\u071E\u071F" +
+ "\x07N\x02\x02\u071F\u0720\x07Q\x02\x02\u0720\u0721\x07Q\x02\x02\u0721" +
+ "\u0722\x07T\x02\x02\u0722\u0158\x03\x02\x02\x02\u0723\u0724\x07N\x02\x02" +
+ "\u0724\u0725\x07P\x02\x02\u0725\u015A\x03\x02\x02\x02\u0726\u0727\x07" +
+ "N\x02\x02\u0727\u0728\x07Q\x02\x02\u0728\u0729\x07I\x02\x02\u0729\u015C" +
+ "\x03\x02\x02\x02\u072A\u072B\x07N\x02\x02\u072B\u072C\x07Q\x02\x02\u072C" +
+ "\u072D\x07I\x02\x02\u072D\u072E\x073\x02\x02\u072E\u072F\x072\x02\x02" +
+ "\u072F\u015E\x03\x02\x02\x02\u0730\u0731\x07N\x02\x02\u0731\u0732\x07" +
+ "Q\x02\x02\u0732\u0733\x07I\x02\x02\u0733\u0734\x074\x02\x02\u0734\u0160" +
+ "\x03\x02\x02\x02\u0735\u0736\x07O\x02\x02\u0736\u0737\x07Q\x02\x02\u0737" +
+ "\u0738\x07F\x02\x02\u0738\u0162\x03\x02\x02\x02\u0739\u073A\x07R\x02\x02" +
+ "\u073A\u073B\x07K\x02\x02\u073B\u0164\x03\x02\x02\x02\u073C\u073D\x07" +
+ "R\x02\x02\u073D\u073E\x07Q\x02\x02\u073E\u073F\x07Y\x02\x02\u073F\u0166" +
+ "\x03\x02\x02\x02\u0740\u0741\x07R\x02\x02\u0741\u0742\x07Q\x02\x02\u0742" +
+ "\u0743\x07Y\x02\x02\u0743\u0744\x07G\x02\x02\u0744\u0745\x07T\x02\x02" +
+ "\u0745\u0168\x03\x02\x02\x02\u0746\u0747\x07T\x02\x02\u0747\u0748\x07" +
+ "C\x02\x02\u0748\u0749\x07P\x02\x02\u0749\u074A\x07F\x02\x02\u074A\u016A" +
+ "\x03\x02\x02\x02\u074B\u074C\x07T\x02\x02\u074C\u074D\x07Q\x02\x02\u074D" +
+ "\u074E\x07W\x02\x02\u074E\u074F\x07P\x02\x02\u074F\u0750\x07F\x02\x02" +
+ "\u0750\u016C\x03\x02\x02\x02\u0751\u0752\x07U\x02\x02\u0752\u0753\x07" +
+ "K\x02\x02\u0753\u0754\x07I\x02\x02\u0754\u0755\x07P\x02\x02\u0755\u016E" +
+ "\x03\x02\x02\x02\u0756\u0757\x07U\x02\x02\u0757\u0758\x07S\x02\x02\u0758" +
+ "\u0759\x07T\x02\x02\u0759\u075A\x07V\x02\x02\u075A\u0170\x03\x02\x02\x02" +
+ "\u075B\u075C\x07V\x02\x02\u075C\u075D\x07T\x02\x02\u075D\u075E\x07W\x02" +
+ "\x02\u075E\u075F\x07P\x02\x02\u075F\u0760\x07E\x02\x02\u0760\u0761\x07" +
+ "C\x02\x02\u0761\u0762\x07V\x02\x02\u0762\u0763\x07G\x02\x02\u0763\u0172" +
+ "\x03\x02\x02\x02\u0764\u0765\x07C\x02\x02\u0765\u0766\x07E\x02\x02\u0766" +
+ "\u0767\x07Q\x02\x02\u0767\u0768\x07U\x02\x02\u0768\u0174\x03\x02\x02\x02" +
+ "\u0769\u076A\x07C\x02\x02\u076A\u076B\x07U\x02\x02\u076B\u076C\x07K\x02" +
+ "\x02\u076C\u076D\x07P\x02\x02\u076D\u0176\x03\x02\x02\x02\u076E\u076F" +
+ "\x07C\x02\x02\u076F\u0770\x07V\x02\x02\u0770\u0771\x07C\x02\x02\u0771" +
+ "\u0772\x07P\x02\x02\u0772\u0178\x03\x02\x02\x02\u0773\u0774\x07C\x02\x02" +
+ "\u0774\u0775\x07V\x02\x02\u0775\u0776\x07C\x02\x02\u0776\u0777\x07P\x02" +
+ "\x02\u0777\u0778\x074\x02\x02\u0778\u017A\x03\x02\x02\x02\u0779\u077A" +
+ "\x07E\x02\x02\u077A\u077B\x07Q\x02\x02\u077B\u077C\x07U\x02\x02\u077C" +
+ "\u017C\x03\x02\x02\x02\u077D\u077E\x07E\x02\x02\u077E\u077F\x07Q\x02\x02" +
+ "\u077F\u0780\x07V\x02\x02\u0780\u017E\x03\x02\x02\x02\u0781\u0782\x07" +
+ "F\x02\x02\u0782\u0783\x07G\x02\x02\u0783\u0784\x07I\x02\x02\u0784\u0785" +
+ "\x07T\x02\x02\u0785\u0786\x07G\x02\x02\u0786\u0787\x07G\x02\x02\u0787" +
+ "\u0788\x07U\x02\x02\u0788\u0180\x03\x02\x02\x02\u0789\u078A\x07T\x02\x02" +
+ "\u078A\u078B\x07C\x02\x02\u078B\u078C\x07F\x02\x02\u078C\u078D\x07K\x02" +
+ "\x02\u078D\u078E\x07C\x02\x02\u078E\u078F\x07P\x02\x02\u078F\u0790\x07" +
+ "U\x02\x02\u0790\u0182\x03\x02\x02\x02\u0791\u0792\x07U\x02\x02\u0792\u0793" +
+ "\x07K\x02\x02\u0793\u0794\x07P\x02\x02\u0794\u0184\x03\x02\x02\x02\u0795" +
+ "\u0796\x07V\x02\x02\u0796\u0797\x07C\x02\x02\u0797\u0798\x07P\x02\x02" +
+ "\u0798\u0186\x03\x02\x02\x02\u0799\u079A\x07C\x02\x02\u079A\u079B\x07" +
+ "F\x02\x02\u079B\u079C\x07F\x02\x02\u079C\u079D\x07F\x02\x02\u079D\u079E" +
+ "\x07C\x02\x02\u079E\u079F\x07V\x02\x02\u079F\u07A0\x07G\x02\x02\u07A0" +
+ "\u0188\x03\x02\x02\x02\u07A1\u07A2\x07E\x02\x02\u07A2\u07A3\x07W\x02\x02" +
+ "\u07A3\u07A4\x07T\x02\x02\u07A4\u07A5\x07F\x02\x02\u07A5\u07A6\x07C\x02" +
+ "\x02\u07A6\u07A7\x07V\x02\x02\u07A7\u07A8\x07G\x02\x02\u07A8\u018A\x03" +
+ "\x02\x02\x02\u07A9\u07AA\x07E\x02\x02\u07AA\u07AB\x07W\x02\x02\u07AB\u07AC" +
+ "\x07T\x02\x02\u07AC\u07AD\x07T\x02\x02\u07AD\u07AE\x07G\x02\x02\u07AE" +
+ "\u07AF\x07P\x02\x02\u07AF\u07B0\x07V\x02\x02\u07B0\u07B1\x07a\x02\x02" +
+ "\u07B1\u07B2\x07F\x02\x02\u07B2\u07B3\x07C\x02\x02\u07B3\u07B4\x07V\x02" +
+ "\x02\u07B4\u07B5\x07G\x02\x02\u07B5\u018C\x03\x02\x02\x02\u07B6\u07B7" +
+ "\x07E\x02\x02\u07B7\u07B8\x07W\x02\x02\u07B8\u07B9\x07T\x02\x02\u07B9" +
+ "\u07BA\x07T\x02\x02\u07BA\u07BB\x07G\x02\x02\u07BB\u07BC\x07P\x02\x02" +
+ "\u07BC\u07BD\x07V\x02\x02\u07BD\u07BE\x07a\x02\x02\u07BE\u07BF\x07V\x02" +
+ "\x02\u07BF\u07C0\x07K\x02\x02\u07C0\u07C1\x07O\x02\x02\u07C1\u07C2\x07" +
+ "G\x02\x02\u07C2\u018E\x03\x02\x02\x02\u07C3\u07C4\x07E\x02\x02\u07C4\u07C5" +
+ "\x07W\x02\x02\u07C5\u07C6\x07T\x02\x02\u07C6\u07C7\x07T\x02\x02\u07C7" +
+ "\u07C8\x07G\x02\x02\u07C8\u07C9\x07P\x02\x02\u07C9\u07CA\x07V\x02\x02" +
+ "\u07CA\u07CB\x07a\x02\x02\u07CB\u07CC\x07V\x02\x02\u07CC\u07CD\x07K\x02" +
+ "\x02\u07CD\u07CE\x07O\x02\x02\u07CE\u07CF\x07G\x02\x02\u07CF\u07D0\x07" +
+ "U\x02\x02\u07D0\u07D1\x07V\x02\x02\u07D1\u07D2\x07C\x02\x02\u07D2\u07D3" +
+ "\x07O\x02\x02\u07D3\u07D4\x07R\x02\x02\u07D4\u0190\x03\x02\x02\x02\u07D5" +
+ "\u07D6\x07E\x02\x02\u07D6\u07D7\x07W\x02\x02\u07D7\u07D8\x07T\x02\x02" +
+ "\u07D8\u07D9\x07V\x02\x02\u07D9\u07DA\x07K\x02\x02\u07DA\u07DB\x07O\x02" +
+ "\x02\u07DB\u07DC\x07G\x02\x02\u07DC\u0192\x03\x02\x02\x02\u07DD\u07DE" +
+ "\x07F\x02\x02\u07DE\u07DF\x07C\x02\x02\u07DF\u07E0\x07V\x02\x02\u07E0" +
+ "\u07E1\x07G\x02\x02\u07E1\u0194\x03\x02\x02\x02\u07E2\u07E3\x07F\x02\x02" +
+ "\u07E3\u07E4\x07C\x02\x02\u07E4\u07E5\x07V\x02\x02\u07E5\u07E6\x07G\x02" +
+ "\x02\u07E6\u07E7\x07a\x02\x02\u07E7\u07E8\x07C\x02\x02\u07E8\u07E9\x07" +
+ "F\x02\x02\u07E9\u07EA\x07F\x02\x02\u07EA\u0196\x03\x02\x02\x02\u07EB\u07EC" +
+ "\x07F\x02\x02\u07EC\u07ED\x07C\x02\x02\u07ED\u07EE\x07V\x02\x02\u07EE" +
+ "\u07EF\x07G\x02\x02\u07EF\u07F0\x07a\x02\x02\u07F0\u07F1\x07H\x02\x02" +
+ "\u07F1\u07F2\x07Q\x02\x02\u07F2\u07F3\x07T\x02\x02\u07F3\u07F4\x07O\x02" +
+ "\x02\u07F4\u07F5\x07C\x02\x02\u07F5\u07F6\x07V\x02\x02\u07F6\u0198\x03" +
+ "\x02\x02\x02\u07F7\u07F8\x07F\x02\x02\u07F8\u07F9\x07C\x02\x02\u07F9\u07FA" +
+ "\x07V\x02\x02\u07FA\u07FB\x07G\x02\x02\u07FB\u07FC\x07a\x02\x02\u07FC" +
+ "\u07FD\x07U\x02\x02\u07FD\u07FE\x07W\x02\x02\u07FE\u07FF\x07D\x02\x02" +
+ "\u07FF\u019A\x03\x02\x02\x02\u0800\u0801\x07F\x02\x02\u0801\u0802\x07" +
+ "C\x02\x02\u0802\u0803\x07[\x02\x02\u0803\u0804\x07P\x02\x02\u0804\u0805" +
+ "\x07C\x02\x02\u0805\u0806\x07O\x02\x02\u0806\u0807\x07G\x02\x02\u0807" +
+ "\u019C\x03\x02\x02\x02\u0808\u0809\x07F\x02\x02\u0809\u080A\x07C\x02\x02" +
+ "\u080A\u080B\x07[\x02\x02\u080B\u080C\x07Q\x02\x02\u080C\u080D\x07H\x02" +
+ "\x02\u080D\u080E\x07O\x02\x02\u080E\u080F\x07Q\x02\x02\u080F\u0810\x07" +
+ "P\x02\x02\u0810\u0811\x07V\x02\x02\u0811\u0812\x07J\x02\x02\u0812\u019E" +
+ "\x03\x02\x02\x02\u0813\u0814\x07F\x02\x02\u0814\u0815\x07C\x02\x02\u0815" +
+ "\u0816\x07[\x02\x02\u0816\u0817\x07Q\x02\x02\u0817\u0818\x07H\x02\x02" +
+ "\u0818\u0819\x07Y\x02\x02\u0819\u081A\x07G\x02\x02\u081A\u081B\x07G\x02" +
+ "\x02\u081B\u081C\x07M\x02\x02\u081C\u01A0\x03\x02\x02\x02\u081D\u081E" +
+ "\x07F\x02\x02\u081E\u081F\x07C\x02\x02\u081F\u0820\x07[\x02\x02\u0820" +
+ "\u0821\x07Q\x02\x02\u0821\u0822\x07H\x02\x02\u0822\u0823\x07[\x02\x02" +
+ "\u0823\u0824\x07G\x02\x02\u0824\u0825\x07C\x02\x02\u0825\u0826\x07T\x02" +
+ "\x02\u0826\u01A2\x03\x02\x02\x02\u0827\u0828\x07H\x02\x02\u0828\u0829" +
+ "\x07T\x02\x02\u0829\u082A\x07Q\x02\x02\u082A\u082B\x07O\x02\x02\u082B" +
+ "\u082C\x07a\x02\x02\u082C\u082D\x07F\x02\x02\u082D\u082E\x07C\x02\x02" +
+ "\u082E\u082F\x07[\x02\x02\u082F\u0830\x07U\x02\x02\u0830\u01A4\x03\x02" +
+ "\x02\x02\u0831\u0832\x07N\x02\x02\u0832\u0833\x07Q\x02\x02\u0833\u0834" +
+ "\x07E\x02\x02\u0834\u0835\x07C\x02\x02\u0835\u0836\x07N\x02\x02\u0836" +
+ "\u0837\x07V\x02\x02\u0837\u0838\x07K\x02\x02\u0838\u0839\x07O\x02\x02" +
+ "\u0839\u083A\x07G\x02\x02\u083A\u01A6\x03\x02\x02\x02\u083B\u083C\x07" +
+ "N\x02\x02\u083C\u083D\x07Q\x02\x02\u083D\u083E\x07E\x02\x02\u083E\u083F" +
+ "\x07C\x02\x02\u083F\u0840\x07N\x02\x02\u0840\u0841\x07V\x02\x02\u0841" +
+ "\u0842\x07K\x02\x02\u0842\u0843\x07O\x02\x02\u0843\u0844\x07G\x02\x02" +
+ "\u0844\u0845\x07U\x02\x02\u0845\u0846\x07V\x02\x02\u0846\u0847\x07C\x02" +
+ "\x02\u0847\u0848\x07O\x02\x02\u0848\u0849\x07R\x02\x02\u0849\u01A8\x03" +
+ "\x02\x02\x02\u084A\u084B\x07H\x02\x02\u084B\u084C\x07T\x02\x02\u084C\u084D" +
+ "\x07Q\x02\x02\u084D\u084E\x07O\x02";
+ private static readonly _serializedATNSegment4: string =
+ "\x02\u084E\u084F\x07a\x02\x02\u084F\u0850\x07W\x02\x02\u0850\u0851\x07" +
+ "P\x02\x02\u0851\u0852\x07K\x02\x02\u0852\u0853\x07Z\x02\x02\u0853\u0854" +
+ "\x07V\x02\x02\u0854\u0855\x07K\x02\x02\u0855\u0856\x07O\x02\x02\u0856" +
+ "\u0857\x07G\x02\x02\u0857\u01AA\x03\x02\x02\x02\u0858\u0859\x07O\x02\x02" +
+ "\u0859\u085A\x07C\x02\x02\u085A\u085B\x07M\x02\x02\u085B\u085C\x07G\x02" +
+ "\x02\u085C\u085D\x07F\x02\x02\u085D\u085E\x07C\x02\x02\u085E\u085F\x07" +
+ "V\x02\x02\u085F\u0860\x07G\x02\x02\u0860\u01AC\x03\x02\x02\x02\u0861\u0862" +
+ "\x07O\x02\x02\u0862\u0863\x07C\x02\x02\u0863\u0864\x07M\x02\x02\u0864" +
+ "\u0865\x07G\x02\x02\u0865\u0866\x07V\x02\x02\u0866\u0867\x07K\x02\x02" +
+ "\u0867\u0868\x07O\x02\x02\u0868\u0869\x07G\x02\x02\u0869\u01AE\x03\x02" +
+ "\x02\x02\u086A\u086B\x07O\x02\x02\u086B\u086C\x07Q\x02\x02\u086C\u086D" +
+ "\x07P\x02\x02\u086D\u086E\x07V\x02\x02\u086E\u086F\x07J\x02\x02\u086F" +
+ "\u0870\x07P\x02\x02\u0870\u0871\x07C\x02\x02\u0871\u0872\x07O\x02\x02" +
+ "\u0872\u0873\x07G\x02\x02\u0873\u01B0\x03\x02\x02\x02\u0874\u0875\x07" +
+ "P\x02\x02\u0875\u0876\x07Q\x02\x02\u0876\u0877\x07Y\x02\x02\u0877\u01B2" +
+ "\x03\x02\x02\x02\u0878\u0879\x07R\x02\x02\u0879\u087A\x07G\x02\x02\u087A" +
+ "\u087B\x07T\x02\x02\u087B\u087C\x07K\x02\x02\u087C\u087D\x07Q\x02\x02" +
+ "\u087D\u087E\x07F\x02\x02\u087E\u087F\x07a\x02\x02\u087F\u0880\x07C\x02" +
+ "\x02\u0880\u0881\x07F\x02\x02\u0881\u0882\x07F\x02\x02\u0882\u01B4\x03" +
+ "\x02\x02\x02\u0883\u0884\x07R\x02\x02\u0884\u0885\x07G\x02\x02\u0885\u0886" +
+ "\x07T\x02\x02\u0886\u0887\x07K\x02\x02\u0887\u0888\x07Q\x02\x02\u0888" +
+ "\u0889\x07F\x02\x02\u0889\u088A\x07a\x02\x02\u088A\u088B\x07F\x02\x02" +
+ "\u088B\u088C\x07K\x02\x02\u088C\u088D\x07H\x02\x02\u088D\u088E\x07H\x02" +
+ "\x02\u088E\u01B6\x03\x02\x02\x02\u088F\u0890\x07U\x02\x02\u0890\u0891" +
+ "\x07W\x02\x02\u0891\u0892\x07D\x02\x02\u0892\u0893\x07F\x02\x02\u0893" +
+ "\u0894\x07C\x02\x02\u0894\u0895\x07V\x02\x02\u0895\u0896\x07G\x02\x02" +
+ "\u0896\u01B8\x03\x02\x02\x02\u0897\u0898\x07U\x02\x02\u0898\u0899\x07" +
+ "[\x02\x02\u0899\u089A\x07U\x02\x02\u089A\u089B\x07F\x02\x02\u089B\u089C" +
+ "\x07C\x02\x02\u089C\u089D\x07V\x02\x02\u089D\u089E\x07G\x02\x02\u089E" +
+ "\u01BA\x03\x02\x02\x02\u089F\u08A0\x07V\x02\x02\u08A0\u08A1\x07K\x02\x02" +
+ "\u08A1\u08A2\x07O\x02\x02\u08A2\u08A3\x07G\x02\x02\u08A3\u01BC\x03\x02" +
+ "\x02\x02\u08A4\u08A5\x07V\x02\x02\u08A5\u08A6\x07K\x02\x02\u08A6\u08A7" +
+ "\x07O\x02\x02\u08A7\u08A8\x07G\x02\x02\u08A8\u08A9\x07a\x02\x02\u08A9" +
+ "\u08AA\x07V\x02\x02\u08AA\u08AB\x07Q\x02\x02\u08AB\u08AC\x07a\x02\x02" +
+ "\u08AC\u08AD\x07U\x02\x02\u08AD\u08AE\x07G\x02\x02\u08AE\u08AF\x07E\x02" +
+ "\x02\u08AF\u01BE\x03\x02\x02\x02\u08B0\u08B1\x07V\x02\x02\u08B1\u08B2" +
+ "\x07K\x02\x02\u08B2\u08B3\x07O\x02\x02\u08B3\u08B4\x07G\x02\x02\u08B4" +
+ "\u08B5\x07U\x02\x02\u08B5\u08B6\x07V\x02\x02\u08B6\u08B7\x07C\x02\x02" +
+ "\u08B7\u08B8\x07O\x02\x02\u08B8\u08B9\x07R\x02\x02\u08B9\u01C0\x03\x02" +
+ "\x02\x02\u08BA\u08BB\x07V\x02\x02\u08BB\u08BC\x07Q\x02\x02\u08BC\u08BD" +
+ "\x07a\x02\x02\u08BD\u08BE\x07F\x02\x02\u08BE\u08BF\x07C\x02\x02\u08BF" +
+ "\u08C0\x07[\x02\x02\u08C0\u08C1\x07U\x02\x02\u08C1\u01C2\x03\x02\x02\x02" +
+ "\u08C2\u08C3\x07W\x02\x02\u08C3\u08C4\x07V\x02\x02\u08C4\u08C5\x07E\x02" +
+ "\x02\u08C5\u08C6\x07a\x02\x02\u08C6\u08C7\x07F\x02\x02\u08C7\u08C8\x07" +
+ "C\x02\x02\u08C8\u08C9\x07V\x02\x02\u08C9\u08CA\x07G\x02\x02\u08CA\u01C4" +
+ "\x03\x02\x02\x02\u08CB\u08CC\x07W\x02\x02\u08CC\u08CD\x07V\x02\x02\u08CD" +
+ "\u08CE\x07E\x02\x02\u08CE\u08CF\x07a\x02\x02\u08CF\u08D0\x07V\x02\x02" +
+ "\u08D0\u08D1\x07K\x02\x02\u08D1\u08D2\x07O\x02\x02\u08D2\u08D3\x07G\x02" +
+ "\x02\u08D3\u01C6\x03\x02\x02\x02\u08D4\u08D5\x07W\x02\x02\u08D5\u08D6" +
+ "\x07V\x02\x02\u08D6\u08D7\x07E\x02\x02\u08D7\u08D8\x07a\x02\x02\u08D8" +
+ "\u08D9\x07V\x02\x02\u08D9\u08DA\x07K\x02\x02\u08DA\u08DB\x07O\x02\x02" +
+ "\u08DB\u08DC\x07G\x02\x02\u08DC\u08DD\x07U\x02\x02\u08DD\u08DE\x07V\x02" +
+ "\x02\u08DE\u08DF\x07C\x02\x02\u08DF\u08E0\x07O\x02\x02\u08E0\u08E1\x07" +
+ "R\x02\x02\u08E1\u01C8\x03\x02\x02\x02\u08E2\u08E3\x07W\x02\x02\u08E3\u08E4" +
+ "\x07P\x02\x02\u08E4\u08E5\x07K\x02\x02\u08E5\u08E6\x07Z\x02\x02\u08E6" +
+ "\u08E7\x07a\x02\x02\u08E7\u08E8\x07V\x02\x02\u08E8\u08E9\x07K\x02\x02" +
+ "\u08E9\u08EA\x07O\x02\x02\u08EA\u08EB\x07G\x02\x02\u08EB\u08EC\x07U\x02" +
+ "\x02\u08EC\u08ED\x07V\x02\x02\u08ED\u08EE\x07C\x02\x02\u08EE\u08EF\x07" +
+ "O\x02\x02\u08EF\u08F0\x07R\x02\x02\u08F0\u01CA\x03\x02\x02\x02\u08F1\u08F2" +
+ "\x07U\x02\x02\u08F2\u08F3\x07W\x02\x02\u08F3\u08F4\x07D\x02\x02\u08F4" +
+ "\u08F5\x07U\x02\x02\u08F5\u08F6\x07V\x02\x02\u08F6\u08F7\x07T\x02\x02" +
+ "\u08F7\u01CC\x03\x02\x02\x02\u08F8\u08F9\x07U\x02\x02\u08F9\u08FA\x07" +
+ "W\x02\x02\u08FA\u08FB\x07D\x02\x02\u08FB\u08FC\x07U\x02\x02\u08FC\u08FD" +
+ "\x07V\x02\x02\u08FD\u08FE\x07T\x02\x02\u08FE\u08FF\x07K\x02\x02\u08FF" +
+ "\u0900\x07P\x02\x02\u0900\u0901\x07I\x02\x02\u0901\u01CE\x03\x02\x02\x02" +
+ "\u0902\u0903\x07N\x02\x02\u0903\u0904\x07V\x02\x02\u0904\u0905\x07T\x02" +
+ "\x02\u0905\u0906\x07K\x02\x02\u0906\u0907\x07O\x02\x02\u0907\u01D0\x03" +
+ "\x02\x02\x02\u0908\u0909\x07T\x02\x02\u0909\u090A\x07V\x02\x02\u090A\u090B" +
+ "\x07T\x02\x02\u090B\u090C\x07K\x02\x02\u090C\u090D\x07O\x02\x02\u090D" +
+ "\u01D2\x03\x02\x02\x02\u090E\u090F\x07V\x02\x02\u090F\u0910\x07T\x02\x02" +
+ "\u0910\u0911\x07K\x02\x02\u0911\u0912\x07O\x02\x02\u0912\u01D4\x03\x02" +
+ "\x02\x02\u0913\u0914\x07V\x02\x02\u0914\u0915\x07Q\x02\x02\u0915\u01D6" +
+ "\x03\x02\x02\x02\u0916\u0917\x07N\x02\x02\u0917\u0918\x07Q\x02\x02\u0918" +
+ "\u0919\x07Y\x02\x02\u0919\u091A\x07G\x02\x02\u091A\u091B\x07T\x02\x02" +
+ "\u091B\u01D8\x03\x02\x02\x02\u091C\u091D\x07W\x02\x02\u091D\u091E\x07" +
+ "R\x02\x02\u091E\u091F\x07R\x02\x02\u091F\u0920\x07G\x02\x02\u0920\u0921" +
+ "\x07T\x02\x02\u0921\u01DA\x03\x02\x02\x02\u0922\u0923\x07E\x02\x02\u0923" +
+ "\u0924\x07Q\x02\x02\u0924\u0925\x07P\x02\x02\u0925\u0926\x07E\x02\x02" +
+ "\u0926\u0927\x07C\x02\x02\u0927\u0928\x07V\x02\x02\u0928\u01DC\x03\x02" +
+ "\x02\x02\u0929\u092A\x07E\x02\x02\u092A\u092B\x07Q\x02\x02\u092B\u092C" +
+ "\x07P\x02\x02\u092C\u092D\x07E\x02\x02\u092D\u092E\x07C\x02\x02\u092E" +
+ "\u092F\x07V\x02\x02\u092F\u0930\x07a\x02\x02\u0930\u0931\x07Y\x02\x02" +
+ "\u0931\u0932\x07U\x02\x02\u0932\u01DE\x03\x02\x02\x02\u0933\u0934\x07" +
+ "N\x02\x02\u0934\u0935\x07G\x02\x02\u0935\u0936\x07P\x02\x02\u0936\u0937" +
+ "\x07I\x02\x02\u0937\u0938\x07V\x02\x02\u0938\u0939\x07J\x02\x02\u0939" +
+ "\u01E0\x03\x02\x02\x02\u093A\u093B\x07U\x02\x02\u093B\u093C\x07V\x02\x02" +
+ "\u093C\u093D\x07T\x02\x02\u093D\u093E\x07E\x02\x02\u093E\u093F\x07O\x02" +
+ "\x02\u093F\u0940\x07R\x02\x02\u0940\u01E2\x03\x02\x02\x02\u0941\u0942" +
+ "\x07T\x02\x02\u0942\u0943\x07K\x02\x02\u0943\u0944\x07I\x02\x02\u0944" +
+ "\u0945\x07J\x02\x02\u0945\u0946\x07V\x02\x02\u0946\u01E4\x03\x02\x02\x02" +
+ "\u0947\u0948\x07N\x02\x02\u0948\u0949\x07G\x02\x02\u0949\u094A\x07H\x02" +
+ "\x02\u094A\u094B\x07V\x02\x02\u094B\u01E6\x03\x02\x02\x02\u094C\u094D" +
+ "\x07C\x02\x02\u094D\u094E\x07U\x02\x02\u094E\u094F\x07E\x02\x02\u094F" +
+ "\u0950\x07K\x02\x02\u0950\u0951\x07K\x02\x02\u0951\u01E8\x03\x02\x02\x02" +
+ "\u0952\u0953\x07N\x02\x02\u0953\u0954\x07Q\x02\x02\u0954\u0955\x07E\x02" +
+ "\x02\u0955\u0956\x07C\x02\x02\u0956\u0957\x07V\x02\x02\u0957\u0958\x07" +
+ "G\x02\x02\u0958\u01EA\x03\x02\x02\x02\u0959\u095A\x07T\x02\x02\u095A\u095B" +
+ "\x07G\x02\x02\u095B\u095C\x07R\x02\x02\u095C\u095D\x07N\x02\x02\u095D" +
+ "\u095E\x07C\x02\x02\u095E\u095F\x07E\x02\x02\u095F\u0960\x07G\x02\x02" +
+ "\u0960\u01EC\x03\x02\x02\x02\u0961\u0962\x07E\x02\x02\u0962\u0963\x07" +
+ "C\x02\x02\u0963\u0964\x07U\x02\x02\u0964\u0965\x07V\x02\x02\u0965\u01EE" +
+ "\x03\x02\x02\x02\u0966\u0967\x07N\x02\x02\u0967\u0968\x07K\x02\x02\u0968" +
+ "\u0969\x07M\x02\x02\u0969\u096A\x07G\x02\x02\u096A\u01F0\x03\x02\x02\x02" +
+ "\u096B\u096C\x07K\x02\x02\u096C\u096D\x07U\x02\x02\u096D\u096E\x07P\x02" +
+ "\x02\u096E\u096F\x07W\x02\x02\u096F\u0970\x07N\x02\x02\u0970\u0971\x07" +
+ "N\x02\x02\u0971\u01F2\x03\x02\x02\x02\u0972\u0973\x07K\x02\x02\u0973\u0974" +
+ "\x07U\x02\x02\u0974\u0975\x07P\x02\x02\u0975\u0976\x07Q\x02\x02\u0976" +
+ "\u0977\x07V\x02\x02\u0977\u0978\x07P\x02\x02\u0978\u0979\x07W\x02\x02" +
+ "\u0979\u097A\x07N\x02\x02\u097A\u097B\x07N\x02\x02\u097B\u01F4\x03\x02" +
+ "\x02\x02\u097C\u097D\x07K\x02\x02\u097D\u097E\x07H\x02\x02\u097E\u097F" +
+ "\x07P\x02\x02\u097F\u0980\x07W\x02\x02\u0980\u0981\x07N\x02\x02\u0981" +
+ "\u0982\x07N\x02\x02\u0982\u01F6\x03\x02\x02\x02\u0983\u0984\x07P\x02\x02" +
+ "\u0984\u0985\x07W\x02\x02\u0985\u0986\x07N\x02\x02\u0986\u0987\x07N\x02" +
+ "\x02\u0987\u0988\x07K\x02\x02\u0988\u0989\x07H\x02\x02\u0989\u01F8\x03" +
+ "\x02\x02\x02\u098A\u098B\x07K\x02\x02\u098B\u098C\x07H\x02\x02\u098C\u01FA" +
+ "\x03\x02\x02\x02\u098D\u098E\x07V\x02\x02\u098E\u098F\x07[\x02\x02\u098F" +
+ "\u0990\x07R\x02\x02\u0990\u0991\x07G\x02\x02\u0991\u0992\x07Q\x02\x02" +
+ "\u0992\u0993\x07H\x02\x02\u0993\u01FC\x03\x02\x02\x02\u0994\u0995\x07" +
+ "O\x02\x02\u0995\u0996\x07C\x02\x02\u0996\u0997\x07V\x02\x02\u0997\u0998" +
+ "\x07E\x02\x02\u0998\u0999\x07J\x02\x02\u0999\u01FE\x03\x02\x02\x02\u099A" +
+ "\u099B\x07O\x02\x02\u099B\u099C\x07C\x02\x02\u099C\u099D\x07V\x02\x02" +
+ "\u099D\u099E\x07E\x02\x02\u099E\u099F\x07J\x02\x02\u099F\u09A0\x07a\x02" +
+ "\x02\u09A0\u09A1\x07R\x02\x02\u09A1\u09A2\x07J\x02\x02\u09A2\u09A3\x07" +
+ "T\x02\x02\u09A3\u09A4\x07C\x02\x02\u09A4\u09A5\x07U\x02\x02\u09A5\u09A6" +
+ "\x07G\x02\x02\u09A6\u0200\x03\x02\x02\x02\u09A7\u09A8\x07O\x02\x02\u09A8" +
+ "\u09A9\x07C\x02\x02\u09A9\u09AA\x07V\x02\x02\u09AA\u09AB\x07E\x02\x02" +
+ "\u09AB\u09AC\x07J\x02\x02\u09AC\u09AD\x07a\x02\x02\u09AD\u09AE\x07R\x02" +
+ "\x02\u09AE\u09AF\x07J\x02\x02\u09AF\u09B0\x07T\x02\x02\u09B0\u09B1\x07" +
+ "C\x02\x02\u09B1\u09B2\x07U\x02\x02\u09B2\u09B3\x07G\x02\x02\u09B3\u09B4" +
+ "\x07a\x02\x02\u09B4\u09B5\x07R\x02\x02\u09B5\u09B6\x07T\x02\x02\u09B6" +
+ "\u09B7\x07G\x02\x02\u09B7\u09B8\x07H\x02\x02\u09B8\u09B9\x07K\x02\x02" +
+ "\u09B9\u09BA\x07Z\x02\x02\u09BA\u0202\x03\x02\x02\x02\u09BB\u09BC\x07" +
+ "O\x02\x02\u09BC\u09BD\x07C\x02\x02\u09BD\u09BE\x07V\x02\x02\u09BE\u09BF" +
+ "\x07E\x02\x02\u09BF\u09C0\x07J\x02\x02\u09C0\u09C1\x07a\x02\x02\u09C1" +
+ "\u09C2\x07D\x02\x02\u09C2\u09C3\x07Q\x02\x02\u09C3\u09C4\x07Q\x02\x02" +
+ "\u09C4\u09C5\x07N\x02\x02\u09C5\u09C6\x07a\x02\x02\u09C6\u09C7\x07R\x02" +
+ "\x02\u09C7\u09C8\x07T\x02\x02\u09C8\u09C9\x07G\x02\x02\u09C9\u09CA\x07" +
+ "H\x02\x02\u09CA\u09CB\x07K\x02\x02\u09CB\u09CC\x07Z\x02\x02\u09CC\u0204" +
+ "\x03\x02\x02\x02\u09CD\u09CE\x07U\x02\x02\u09CE\u09CF\x07K\x02\x02\u09CF" +
+ "\u09D0\x07O\x02\x02\u09D0\u09D1\x07R\x02\x02\u09D1\u09D2\x07N\x02\x02" +
+ "\u09D2\u09D3\x07G\x02\x02\u09D3\u09D4\x07a\x02\x02\u09D4\u09D5\x07S\x02" +
+ "\x02\u09D5\u09D6\x07W\x02\x02\u09D6\u09D7\x07G\x02\x02\u09D7\u09D8\x07" +
+ "T\x02\x02\u09D8\u09D9\x07[\x02\x02\u09D9\u09DA\x07a\x02\x02\u09DA\u09DB" +
+ "\x07U\x02\x02\u09DB\u09DC\x07V\x02\x02\u09DC\u09DD\x07T\x02\x02\u09DD" +
+ "\u09DE\x07K\x02\x02\u09DE\u09DF\x07P\x02\x02\u09DF\u09E0\x07I\x02\x02" +
+ "\u09E0\u0206\x03\x02\x02\x02\u09E1\u09E2\x07O\x02\x02\u09E2\u09E3\x07" +
+ "W\x02\x02\u09E3\u09E4\x07N\x02\x02\u09E4\u09E5\x07V\x02\x02\u09E5\u09E6" +
+ "\x07K\x02\x02\u09E6\u09E7\x07a\x02\x02\u09E7\u09E8\x07O\x02\x02\u09E8" +
+ "\u09E9\x07C\x02\x02\u09E9\u09EA\x07V\x02\x02\u09EA\u09EB\x07E\x02\x02" +
+ "\u09EB\u09EC\x07J\x02\x02\u09EC\u0208\x03\x02\x02\x02\u09ED\u09EE\x07" +
+ "S\x02\x02\u09EE\u09EF\x07W\x02\x02\u09EF\u09F0\x07G\x02\x02\u09F0\u09F1" +
+ "\x07T\x02\x02\u09F1\u09F2\x07[\x02\x02\u09F2\u09F3\x07a\x02\x02\u09F3" +
+ "\u09F4\x07U\x02\x02\u09F4\u09F5\x07V\x02\x02\u09F5\u09F6\x07T\x02\x02" +
+ "\u09F6\u09F7\x07K\x02\x02\u09F7\u09F8\x07P\x02\x02\u09F8\u09F9\x07I\x02" +
+ "\x02\u09F9\u020A\x03\x02\x02\x02\u09FA\u09FB\x07C\x02\x02\u09FB\u09FC" +
+ "\x07N\x02\x02\u09FC\u09FD\x07N\x02\x02\u09FD\u09FE\x07Q\x02\x02\u09FE" +
+ "\u09FF\x07Y\x02\x02\u09FF\u0A00\x07a\x02\x02\u0A00\u0A01\x07N\x02\x02" +
+ "\u0A01\u0A02\x07G\x02\x02\u0A02\u0A03\x07C\x02\x02\u0A03\u0A04\x07F\x02" +
+ "\x02\u0A04\u0A05\x07K\x02\x02\u0A05\u0A06\x07P\x02\x02\u0A06\u0A07\x07" +
+ "I\x02\x02\u0A07\u0A08\x07a\x02\x02\u0A08\u0A09\x07Y\x02\x02\u0A09\u0A0A" +
+ "\x07K\x02\x02\u0A0A\u0A0B\x07N\x02\x02\u0A0B\u0A0C\x07F\x02\x02\u0A0C" +
+ "\u0A0D\x07E\x02\x02\u0A0D\u0A0E\x07C\x02\x02\u0A0E\u0A0F\x07T\x02\x02" +
+ "\u0A0F\u0A10\x07F\x02\x02\u0A10\u020C\x03\x02\x02\x02\u0A11\u0A12\x07" +
+ "C\x02\x02\u0A12\u0A13\x07P\x02\x02\u0A13\u0A14\x07C\x02\x02\u0A14\u0A15" +
+ "\x07N\x02\x02\u0A15\u0A16\x07[\x02\x02\u0A16\u0A17\x07\\\x02\x02\u0A17" +
+ "\u0A18\x07G\x02\x02\u0A18\u0A19\x07a\x02\x02\u0A19\u0A1A\x07Y\x02\x02" +
+ "\u0A1A\u0A1B\x07K\x02\x02\u0A1B\u0A1C\x07N\x02\x02\u0A1C\u0A1D\x07F\x02" +
+ "\x02\u0A1D\u0A1E\x07E\x02\x02\u0A1E\u0A1F\x07C\x02\x02\u0A1F\u0A20\x07" +
+ "T\x02\x02\u0A20\u0A21\x07F\x02\x02\u0A21\u020E\x03\x02\x02\x02\u0A22\u0A23" +
+ "\x07C\x02\x02\u0A23\u0A24\x07P\x02\x02\u0A24\u0A25\x07C\x02\x02\u0A25" +
+ "\u0A26\x07N\x02\x02\u0A26\u0A27\x07[\x02\x02\u0A27\u0A28\x07\\\x02\x02" +
+ "\u0A28\u0A29\x07G\x02\x02\u0A29\u0A2A\x07T\x02\x02\u0A2A\u0210\x03\x02" +
+ "\x02\x02\u0A2B\u0A2C\x07C\x02\x02\u0A2C\u0A2D\x07W\x02\x02\u0A2D\u0A2E" +
+ "\x07V\x02\x02\u0A2E\u0A2F\x07Q\x02\x02\u0A2F\u0A30\x07a\x02\x02\u0A30" +
+ "\u0A31\x07I\x02\x02\u0A31\u0A32\x07G\x02\x02\u0A32\u0A33\x07P\x02\x02" +
+ "\u0A33\u0A34\x07G\x02\x02\u0A34\u0A35\x07T\x02\x02\u0A35\u0A36\x07C\x02" +
+ "\x02\u0A36\u0A37\x07V\x02\x02\u0A37\u0A38\x07G\x02\x02\u0A38\u0A39\x07" +
+ "a\x02\x02\u0A39\u0A3A\x07U\x02\x02\u0A3A\u0A3B\x07[\x02\x02\u0A3B\u0A3C" +
+ "\x07P\x02\x02\u0A3C\u0A3D\x07Q\x02\x02\u0A3D\u0A3E\x07P\x02\x02\u0A3E" +
+ "\u0A3F\x07[\x02\x02\u0A3F\u0A40\x07O\x02\x02\u0A40\u0A41\x07U\x02\x02" +
+ "\u0A41\u0A42\x07a\x02\x02\u0A42\u0A43\x07R\x02\x02\u0A43\u0A44\x07J\x02" +
+ "\x02\u0A44\u0A45\x07T\x02\x02\u0A45\u0A46\x07C\x02\x02\u0A46\u0A47\x07" +
+ "U\x02\x02\u0A47\u0A48\x07G\x02\x02\u0A48\u0A49\x07a\x02\x02\u0A49\u0A4A" +
+ "\x07S\x02\x02\u0A4A\u0A4B\x07W\x02\x02\u0A4B\u0A4C\x07G\x02\x02\u0A4C" +
+ "\u0A4D\x07T\x02\x02\u0A4D\u0A4E\x07[\x02\x02\u0A4E\u0212\x03\x02\x02\x02" +
+ "\u0A4F\u0A50\x07D\x02\x02\u0A50\u0A51\x07Q\x02\x02\u0A51\u0A52\x07Q\x02" +
+ "\x02\u0A52\u0A53\x07U\x02\x02\u0A53\u0A54\x07V\x02\x02\u0A54\u0214\x03" +
+ "\x02\x02\x02\u0A55\u0A56\x07E\x02\x02\u0A56\u0A57\x07W\x02\x02\u0A57\u0A58" +
+ "\x07V\x02\x02\u0A58\u0A59\x07Q\x02\x02\u0A59\u0A5A\x07H\x02\x02\u0A5A" +
+ "\u0A5B\x07H\x02\x02\u0A5B\u0A5C\x07a\x02\x02\u0A5C\u0A5D\x07H\x02\x02" +
+ "\u0A5D\u0A5E\x07T\x02\x02\u0A5E\u0A5F\x07G\x02\x02\u0A5F\u0A60\x07S\x02" +
+ "\x02\u0A60\u0A61\x07W\x02\x02\u0A61\u0A62\x07G\x02\x02\u0A62\u0A63\x07" +
+ "P\x02\x02\u0A63\u0A64\x07E\x02\x02\u0A64\u0A65\x07[\x02\x02\u0A65\u0216" +
+ "\x03\x02\x02\x02\u0A66\u0A67\x07F\x02\x02\u0A67\u0A68\x07G\x02\x02\u0A68" +
+ "\u0A69\x07H\x02\x02\u0A69\u0A6A\x07C\x02\x02\u0A6A\u0A6B\x07W\x02\x02" +
+ "\u0A6B\u0A6C\x07N\x02\x02\u0A6C\u0A6D\x07V\x02\x02\u0A6D\u0A6E\x07a\x02" +
+ "\x02\u0A6E\u0A6F\x07H\x02\x02\u0A6F\u0A70\x07K\x02\x02\u0A70\u0A71\x07" +
+ "G\x02\x02\u0A71\u0A72\x07N\x02\x02\u0A72\u0A73\x07F\x02\x02\u0A73\u0218" +
+ "\x03\x02\x02\x02\u0A74\u0A75\x07F\x02\x02\u0A75\u0A76\x07G\x02\x02\u0A76" +
+ "\u0A77\x07H\x02\x02\u0A77\u0A78\x07C\x02\x02\u0A78\u0A79\x07W\x02\x02" +
+ "\u0A79\u0A7A\x07N\x02\x02\u0A7A\u0A7B\x07V\x02\x02\u0A7B\u0A7C\x07a\x02" +
+ "\x02\u0A7C\u0A7D\x07Q\x02\x02\u0A7D\u0A7E\x07R\x02\x02\u0A7E\u0A7F\x07" +
+ "G\x02\x02\u0A7F\u0A80\x07T\x02\x02\u0A80\u0A81\x07C\x02\x02\u0A81\u0A82" +
+ "\x07V\x02\x02\u0A82\u0A83\x07Q\x02\x02\u0A83\u0A84\x07T\x02\x02\u0A84" +
+ "\u021A\x03\x02\x02\x02\u0A85\u0A86\x07G\x02\x02\u0A86\u0A87\x07P\x02\x02" +
+ "\u0A87\u0A88\x07C\x02\x02\u0A88\u0A89\x07D\x02\x02\u0A89\u0A8A\x07N\x02" +
+ "\x02\u0A8A\u0A8B\x07G\x02\x02\u0A8B\u0A8C\x07a\x02\x02\u0A8C\u0A8D\x07" +
+ "R\x02\x02\u0A8D\u0A8E\x07Q\x02\x02\u0A8E\u0A8F\x07U\x02\x02\u0A8F\u0A90" +
+ "\x07K\x02\x02\u0A90\u0A91\x07V\x02\x02\u0A91\u0A92\x07K\x02\x02\u0A92" +
+ "\u0A93\x07Q\x02\x02\u0A93\u0A94\x07P\x02\x02\u0A94\u0A95\x07a\x02\x02" +
+ "\u0A95\u0A96\x07K\x02\x02\u0A96\u0A97\x07P\x02\x02\u0A97\u0A98\x07E\x02" +
+ "\x02\u0A98\u0A99\x07T\x02\x02\u0A99\u0A9A\x07G\x02\x02\u0A9A\u0A9B\x07" +
+ "O\x02\x02\u0A9B\u0A9C\x07G\x02\x02\u0A9C\u0A9D\x07P\x02\x02\u0A9D\u0A9E" +
+ "\x07V\x02\x02\u0A9E\u0A9F\x07U\x02\x02\u0A9F\u021C\x03\x02\x02\x02\u0AA0" +
+ "\u0AA1\x07G\x02\x02\u0AA1\u0AA2\x07U\x02\x02\u0AA2\u0AA3\x07E\x02\x02" +
+ "\u0AA3\u0AA4\x07C\x02\x02\u0AA4\u0AA5\x07R\x02\x02\u0AA5\u0AA6\x07G\x02" +
+ "\x02\u0AA6\u021E\x03\x02\x02\x02\u0AA7\u0AA8\x07H\x02\x02\u0AA8\u0AA9" +
+ "\x07N\x02\x02\u0AA9\u0AAA\x07C\x02\x02\u0AAA\u0AAB\x07I\x02\x02\u0AAB" +
+ "\u0AAC\x07U\x02\x02\u0AAC\u0220\x03\x02\x02\x02\u0AAD\u0AAE\x07H\x02\x02" +
+ "\u0AAE\u0AAF\x07W\x02\x02\u0AAF\u0AB0\x07\\\x02\x02\u0AB0\u0AB1\x07\\" +
+ "\x02\x02\u0AB1\u0AB2\x07[\x02\x02\u0AB2\u0AB3\x07a\x02\x02\u0AB3\u0AB4" +
+ "\x07O\x02\x02\u0AB4\u0AB5\x07C\x02\x02\u0AB5\u0AB6\x07Z\x02\x02\u0AB6" +
+ "\u0AB7\x07a\x02\x02\u0AB7\u0AB8\x07G\x02\x02\u0AB8\u0AB9\x07Z\x02\x02" +
+ "\u0AB9\u0ABA\x07R\x02\x02\u0ABA\u0ABB\x07C\x02\x02\u0ABB\u0ABC\x07P\x02" +
+ "\x02\u0ABC\u0ABD\x07U\x02\x02\u0ABD\u0ABE\x07K\x02\x02\u0ABE\u0ABF\x07" +
+ "Q\x02\x02\u0ABF\u0AC0\x07P\x02\x02\u0AC0\u0AC1\x07U\x02\x02\u0AC1\u0222" +
+ "\x03\x02\x02\x02\u0AC2\u0AC3\x07H\x02\x02\u0AC3\u0AC4\x07W\x02\x02\u0AC4" +
+ "\u0AC5\x07\\\x02\x02\u0AC5\u0AC6\x07\\\x02\x02\u0AC6\u0AC7\x07[\x02\x02" +
+ "\u0AC7\u0AC8\x07a\x02\x02\u0AC8\u0AC9\x07R\x02\x02\u0AC9\u0ACA\x07T\x02" +
+ "\x02\u0ACA\u0ACB\x07G\x02\x02\u0ACB\u0ACC\x07H\x02\x02\u0ACC\u0ACD\x07" +
+ "K\x02\x02\u0ACD\u0ACE\x07Z\x02\x02\u0ACE\u0ACF\x07a\x02\x02\u0ACF\u0AD0" +
+ "\x07N\x02\x02\u0AD0\u0AD1\x07G\x02\x02\u0AD1\u0AD2\x07P\x02\x02\u0AD2" +
+ "\u0AD3\x07I\x02\x02\u0AD3\u0AD4\x07V\x02\x02\u0AD4\u0AD5\x07J\x02\x02" +
+ "\u0AD5\u0224\x03\x02\x02\x02\u0AD6\u0AD7\x07H\x02\x02\u0AD7\u0AD8\x07" +
+ "W\x02\x02\u0AD8\u0AD9\x07\\\x02\x02\u0AD9\u0ADA\x07\\\x02\x02\u0ADA\u0ADB" +
+ "\x07[\x02\x02\u0ADB\u0ADC\x07a\x02\x02\u0ADC\u0ADD\x07V\x02\x02\u0ADD" +
+ "\u0ADE\x07T\x02\x02\u0ADE\u0ADF\x07C\x02\x02\u0ADF\u0AE0\x07P\x02\x02" +
+ "\u0AE0\u0AE1\x07U\x02\x02\u0AE1\u0AE2\x07R\x02\x02\u0AE2\u0AE3\x07Q\x02" +
+ "\x02\u0AE3\u0AE4\x07U\x02\x02\u0AE4\u0AE5\x07K\x02\x02\u0AE5\u0AE6\x07" +
+ "V\x02\x02\u0AE6\u0AE7\x07K\x02\x02\u0AE7\u0AE8\x07Q\x02\x02\u0AE8\u0AE9" +
+ "\x07P\x02\x02\u0AE9\u0AEA\x07U\x02\x02\u0AEA\u0226\x03\x02\x02\x02\u0AEB" +
+ "\u0AEC\x07H\x02\x02\u0AEC\u0AED\x07W\x02\x02\u0AED\u0AEE\x07\\\x02\x02" +
+ "\u0AEE\u0AEF\x07\\\x02\x02\u0AEF\u0AF0\x07[\x02\x02\u0AF0\u0AF1\x07a\x02" +
+ "\x02\u0AF1\u0AF2\x07T\x02\x02\u0AF2\u0AF3\x07G\x02\x02\u0AF3\u0AF4\x07" +
+ "Y\x02\x02\u0AF4\u0AF5\x07T\x02\x02\u0AF5\u0AF6\x07K\x02\x02\u0AF6\u0AF7" +
+ "\x07V\x02\x02\u0AF7\u0AF8\x07G\x02\x02\u0AF8\u0228\x03\x02\x02\x02\u0AF9" +
+ "\u0AFA\x07H\x02\x02\u0AFA\u0AFB\x07W\x02\x02\u0AFB\u0AFC\x07\\\x02\x02" +
+ "\u0AFC\u0AFD\x07\\\x02\x02\u0AFD\u0AFE\x07K\x02\x02\u0AFE\u0AFF\x07P\x02" +
+ "\x02\u0AFF\u0B00\x07G\x02\x02\u0B00\u0B01\x07U\x02\x02\u0B01\u0B02\x07" +
+ "U\x02\x02\u0B02\u022A\x03\x02\x02\x02\u0B03\u0B04\x07N\x02\x02\u0B04\u0B05" +
+ "\x07G\x02\x02\u0B05\u0B06\x07P\x02\x02\u0B06\u0B07\x07K\x02\x02\u0B07" +
+ "\u0B08\x07G\x02\x02\u0B08\u0B09\x07P\x02\x02\u0B09\u0B0A\x07V\x02\x02" +
+ "\u0B0A\u022C\x03\x02\x02\x02\u0B0B\u0B0C\x07N\x02\x02\u0B0C\u0B0D\x07" +
+ "Q\x02\x02\u0B0D\u0B0E\x07Y\x02\x02\u0B0E\u0B0F\x07a\x02\x02\u0B0F\u0B10" +
+ "\x07H\x02\x02\u0B10\u0B11\x07T\x02\x02\u0B11\u0B12\x07G\x02\x02\u0B12" +
+ "\u0B13\x07S\x02\x02\u0B13\u0B14\x07a\x02\x02\u0B14\u0B15\x07Q\x02\x02" +
+ "\u0B15\u0B16\x07R\x02\x02\u0B16\u0B17\x07G\x02\x02\u0B17\u0B18\x07T\x02" +
+ "\x02\u0B18\u0B19\x07C\x02\x02\u0B19\u0B1A\x07V\x02\x02\u0B1A\u0B1B\x07" +
+ "Q\x02\x02\u0B1B\u0B1C\x07T\x02\x02\u0B1C\u022E\x03\x02\x02\x02\u0B1D\u0B1E" +
+ "\x07O\x02\x02\u0B1E\u0B1F\x07C\x02\x02\u0B1F\u0B20\x07Z\x02\x02\u0B20" +
+ "\u0B21\x07a\x02\x02\u0B21\u0B22\x07F\x02\x02\u0B22\u0B23\x07G\x02\x02" +
+ "\u0B23\u0B24\x07V\x02\x02\u0B24\u0B25\x07G\x02\x02\u0B25\u0B26\x07T\x02" +
+ "\x02\u0B26\u0B27\x07O\x02\x02\u0B27\u0B28\x07K\x02\x02\u0B28\u0B29\x07" +
+ "P\x02\x02\u0B29\u0B2A\x07K\x02\x02\u0B2A\u0B2B\x07\\\x02\x02\u0B2B\u0B2C" +
+ "\x07G\x02\x02\u0B2C\u0B2D\x07F\x02\x02\u0B2D\u0B2E\x07a\x02\x02\u0B2E" +
+ "\u0B2F\x07U\x02\x02\u0B2F\u0B30\x07V\x02\x02\u0B30\u0B31\x07C\x02\x02" +
+ "\u0B31\u0B32\x07V\x02\x02\u0B32\u0B33\x07G\x02\x02\u0B33\u0B34\x07U\x02" +
+ "\x02\u0B34\u0230\x03\x02\x02\x02\u0B35\u0B36\x07O\x02\x02\u0B36\u0B37" +
+ "\x07C\x02\x02\u0B37\u0B38\x07Z\x02\x02\u0B38\u0B39\x07a\x02\x02\u0B39" +
+ "\u0B3A\x07G\x02\x02\u0B3A\u0B3B\x07Z\x02\x02\u0B3B\u0B3C\x07R\x02\x02" +
+ "\u0B3C\u0B3D\x07C\x02\x02\u0B3D\u0B3E\x07P\x02\x02\u0B3E\u0B3F\x07U\x02" +
+ "\x02\u0B3F\u0B40\x07K\x02\x02\u0B40\u0B41\x07Q\x02\x02\u0B41\u0B42\x07" +
+ "P\x02\x02\u0B42\u0B43\x07U\x02\x02\u0B43\u0232\x03\x02\x02\x02\u0B44\u0B45" +
+ "\x07O\x02\x02\u0B45\u0B46\x07K\x02\x02\u0B46\u0B47\x07P\x02\x02\u0B47" +
+ "\u0B48\x07K\x02\x02\u0B48\u0B49\x07O\x02\x02\u0B49\u0B4A\x07W\x02\x02" +
+ "\u0B4A\u0B4B\x07O\x02\x02\u0B4B\u0B4C\x07a\x02\x02\u0B4C\u0B4D\x07U\x02" +
+ "\x02\u0B4D\u0B4E\x07J\x02\x02\u0B4E\u0B4F\x07Q\x02\x02\u0B4F\u0B50\x07" +
+ "W\x02\x02\u0B50\u0B51\x07N\x02\x02\u0B51\u0B52\x07F\x02\x02\u0B52\u0B53" +
+ "\x07a\x02\x02\u0B53\u0B54\x07O\x02\x02\u0B54\u0B55\x07C\x02\x02\u0B55" +
+ "\u0B56\x07V\x02\x02\u0B56\u0B57\x07E\x02\x02\u0B57\u0B58\x07J\x02\x02" +
+ "\u0B58\u0234\x03\x02\x02\x02\u0B59\u0B5A\x07Q\x02\x02\u0B5A\u0B5B\x07" +
+ "R\x02\x02\u0B5B\u0B5C\x07G\x02\x02\u0B5C\u0B5D\x07T\x02\x02\u0B5D\u0B5E" +
+ "\x07C\x02\x02\u0B5E\u0B5F\x07V\x02\x02\u0B5F\u0B60\x07Q\x02\x02\u0B60" +
+ "\u0B61\x07T\x02\x02\u0B61\u0236\x03\x02\x02\x02\u0B62\u0B63\x07R\x02\x02" +
+ "\u0B63\u0B64\x07J\x02\x02\u0B64\u0B65\x07T\x02\x02\u0B65\u0B66\x07C\x02" +
+ "\x02\u0B66\u0B67\x07U\x02\x02\u0B67\u0B68\x07G\x02\x02\u0B68\u0B69\x07" +
+ "a\x02\x02\u0B69\u0B6A\x07U\x02\x02\u0B6A\u0B6B\x07N\x02\x02\u0B6B\u0B6C" +
+ "\x07Q\x02\x02\u0B6C\u0B6D\x07R\x02\x02\u0B6D\u0238\x03\x02\x02\x02\u0B6E" +
+ "\u0B6F\x07R\x02\x02\u0B6F\u0B70\x07T\x02\x02\u0B70\u0B71\x07G\x02\x02" +
+ "\u0B71\u0B72\x07H\x02\x02\u0B72\u0B73\x07K\x02\x02\u0B73\u0B74\x07Z\x02" +
+ "\x02\u0B74\u0B75\x07a\x02\x02\u0B75\u0B76\x07N\x02\x02\u0B76\u0B77\x07" +
+ "G\x02\x02\u0B77\u0B78\x07P\x02\x02\u0B78\u0B79\x07I\x02\x02\u0B79\u0B7A" +
+ "\x07V\x02\x02\u0B7A\u0B7B\x07J\x02\x02\u0B7B\u023A\x03\x02\x02\x02\u0B7C" +
+ "\u0B7D\x07S\x02\x02\u0B7D\u0B7E\x07W\x02\x02\u0B7E\u0B7F\x07Q\x02\x02" +
+ "\u0B7F\u0B80\x07V\x02\x02\u0B80\u0B81\x07G\x02\x02\u0B81\u0B82\x07a\x02" +
+ "\x02\u0B82\u0B83\x07C\x02\x02\u0B83\u0B84\x07P\x02\x02\u0B84\u0B85\x07" +
+ "C\x02\x02\u0B85\u0B86\x07N\x02\x02\u0B86\u0B87\x07[\x02\x02\u0B87\u0B88" +
+ "\x07\\\x02\x02\u0B88\u0B89\x07G\x02\x02\u0B89\u0B8A\x07T\x02\x02\u0B8A" +
+ "\u023C\x03\x02\x02\x02\u0B8B\u0B8C\x07S\x02\x02\u0B8C\u0B8D\x07W\x02\x02" +
+ "\u0B8D\u0B8E\x07Q\x02\x02\u0B8E\u0B8F\x07V\x02\x02\u0B8F";
+ private static readonly _serializedATNSegment5: string =
+ "\u0B90\x07G\x02\x02\u0B90\u0B91\x07a\x02\x02\u0B91\u0B92\x07H\x02\x02" +
+ "\u0B92\u0B93\x07K\x02\x02\u0B93\u0B94\x07G\x02\x02\u0B94\u0B95\x07N\x02" +
+ "\x02\u0B95\u0B96\x07F\x02\x02\u0B96\u0B97\x07a\x02\x02\u0B97\u0B98\x07" +
+ "U\x02\x02\u0B98\u0B99\x07W\x02\x02\u0B99\u0B9A\x07H\x02\x02\u0B9A\u0B9B" +
+ "\x07H\x02\x02\u0B9B\u0B9C\x07K\x02\x02\u0B9C\u0B9D\x07Z\x02\x02\u0B9D" +
+ "\u023E\x03\x02\x02\x02\u0B9E\u0B9F\x07T\x02\x02\u0B9F\u0BA0\x07G\x02\x02" +
+ "\u0BA0\u0BA1\x07Y\x02\x02\u0BA1\u0BA2\x07T\x02\x02\u0BA2\u0BA3\x07K\x02" +
+ "\x02\u0BA3\u0BA4\x07V\x02\x02\u0BA4\u0BA5\x07G\x02\x02\u0BA5\u0240\x03" +
+ "\x02\x02\x02\u0BA6\u0BA7\x07U\x02\x02\u0BA7\u0BA8\x07N\x02\x02\u0BA8\u0BA9" +
+ "\x07Q\x02\x02\u0BA9\u0BAA\x07R\x02\x02\u0BAA\u0242\x03\x02\x02\x02\u0BAB" +
+ "\u0BAC\x07V\x02\x02\u0BAC\u0BAD\x07K\x02\x02\u0BAD\u0BAE\x07G\x02\x02" +
+ "\u0BAE\u0BAF\x07a\x02\x02\u0BAF\u0BB0\x07D\x02\x02\u0BB0\u0BB1\x07T\x02" +
+ "\x02\u0BB1\u0BB2\x07G\x02\x02\u0BB2\u0BB3\x07C\x02\x02\u0BB3\u0BB4\x07" +
+ "M\x02\x02\u0BB4\u0BB5\x07G\x02\x02\u0BB5\u0BB6\x07T\x02\x02\u0BB6\u0244" +
+ "\x03\x02\x02\x02\u0BB7\u0BB8\x07V\x02\x02\u0BB8\u0BB9\x07[\x02\x02\u0BB9" +
+ "\u0BBA\x07R\x02\x02\u0BBA\u0BBB\x07G\x02\x02\u0BBB\u0246\x03\x02\x02\x02" +
+ "\u0BBC\u0BBD\x07\\\x02\x02\u0BBD\u0BBE\x07G\x02\x02\u0BBE\u0BBF\x07T\x02" +
+ "\x02\u0BBF\u0BC0\x07Q\x02\x02\u0BC0\u0BC1\x07a\x02\x02\u0BC1\u0BC2\x07" +
+ "V\x02\x02\u0BC2\u0BC3\x07G\x02\x02\u0BC3\u0BC4\x07T\x02\x02\u0BC4\u0BC5" +
+ "\x07O\x02\x02\u0BC5\u0BC6\x07U\x02\x02\u0BC6\u0BC7\x07a\x02\x02\u0BC7" +
+ "\u0BC8\x07S\x02\x02\u0BC8\u0BC9\x07W\x02\x02\u0BC9\u0BCA\x07G\x02\x02" +
+ "\u0BCA\u0BCB\x07T\x02\x02\u0BCB\u0BCC\x07[\x02\x02\u0BCC\u0248\x03\x02" +
+ "\x02\x02\u0BCD\u0BCE\x07U\x02\x02\u0BCE\u0BCF\x07R\x02\x02\u0BCF\u0BD0" +
+ "\x07C\x02\x02\u0BD0\u0BD1\x07P\x02\x02\u0BD1\u024A\x03\x02\x02\x02\u0BD2" +
+ "\u0BD3\x07O\x02\x02\u0BD3\u0BD4\x07U\x02\x02\u0BD4\u024C\x03\x02\x02\x02" +
+ "\u0BD5\u0BD6\x07U\x02\x02\u0BD6\u024E\x03\x02\x02\x02\u0BD7\u0BD8\x07" +
+ "O\x02\x02\u0BD8\u0250\x03\x02\x02\x02\u0BD9\u0BDA\x07J\x02\x02\u0BDA\u0252" +
+ "\x03\x02\x02\x02\u0BDB\u0BDC\x07Y\x02\x02\u0BDC\u0254\x03\x02\x02\x02" +
+ "\u0BDD\u0BDE\x07S\x02\x02\u0BDE\u0256\x03\x02\x02\x02\u0BDF\u0BE0\x07" +
+ "[\x02\x02\u0BE0\u0258\x03\x02\x02\x02\u0BE1\u0BE2\x05\u0261\u0131\x02" +
+ "\u0BE2\u025A\x03\x02\x02\x02\u0BE3\u0BE5\x05\u026B\u0136\x02\u0BE4\u0BE3" +
+ "\x03\x02\x02\x02\u0BE5\u0BE6\x03\x02\x02\x02\u0BE6\u0BE4\x03\x02\x02\x02" +
+ "\u0BE6\u0BE7\x03\x02\x02\x02\u0BE7\u025C\x03\x02\x02\x02\u0BE8\u0BEA\x05" +
+ "\u026B\u0136\x02\u0BE9\u0BE8\x03\x02\x02\x02\u0BEA\u0BEB\x03\x02\x02\x02" +
+ "\u0BEB\u0BE9\x03\x02\x02\x02\u0BEB\u0BEC\x03\x02\x02\x02\u0BEC\u0BEE\x03" +
+ "\x02\x02\x02\u0BED\u0BE9\x03\x02\x02\x02\u0BED\u0BEE\x03\x02\x02\x02\u0BEE" +
+ "\u0BEF\x03\x02\x02\x02\u0BEF\u0BF1\x070\x02\x02\u0BF0\u0BF2\x05\u026B" +
+ "\u0136\x02\u0BF1\u0BF0\x03\x02\x02\x02\u0BF2\u0BF3\x03\x02\x02\x02\u0BF3" +
+ "\u0BF1\x03\x02\x02\x02\u0BF3\u0BF4\x03\x02\x02\x02\u0BF4\u025E\x03\x02" +
+ "\x02\x02\u0BF5\u0BF7\t\x02\x02\x02\u0BF6\u0BF8\t\x03\x02\x02\u0BF7\u0BF6" +
+ "\x03\x02\x02\x02\u0BF8\u0BF9\x03\x02\x02\x02\u0BF9\u0BF7\x03\x02\x02\x02" +
+ "\u0BF9\u0BFA\x03\x02\x02\x02\u0BFA\u0BFC\x03\x02\x02\x02\u0BFB\u0BF5\x03" +
+ "\x02\x02\x02\u0BFC\u0BFF\x03\x02\x02\x02\u0BFD\u0BFB\x03\x02\x02\x02\u0BFD" +
+ "\u0BFE\x03\x02\x02\x02\u0BFE\u0260\x03\x02\x02\x02\u0BFF\u0BFD\x03\x02" +
+ "\x02\x02\u0C00\u0C02\t\x04\x02\x02\u0C01\u0C00\x03\x02\x02\x02\u0C02\u0C03" +
+ "\x03\x02\x02\x02\u0C03\u0C04\x03\x02\x02\x02\u0C03\u0C01\x03\x02\x02\x02" +
+ "\u0C04\u0C08\x03\x02\x02\x02\u0C05\u0C07\t\x05\x02\x02\u0C06\u0C05\x03" +
+ "\x02\x02\x02\u0C07\u0C0A\x03\x02\x02\x02\u0C08\u0C06\x03\x02\x02\x02\u0C08" +
+ "\u0C09\x03\x02\x02\x02\u0C09\u0262\x03\x02\x02\x02\u0C0A\u0C08\x03\x02" +
+ "\x02\x02\u0C0B\u0C0C\x05\u0261\u0131\x02\u0C0C\u0C0D\x05\u025F\u0130\x02" +
+ "\u0C0D\u0264\x03\x02\x02\x02\u0C0E\u0C16\x07$\x02\x02\u0C0F\u0C10\x07" +
+ "^\x02\x02\u0C10\u0C15\v\x02\x02\x02\u0C11\u0C12\x07$\x02\x02\u0C12\u0C15" +
+ "\x07$\x02\x02\u0C13\u0C15\n\x06\x02\x02\u0C14\u0C0F\x03\x02\x02\x02\u0C14" +
+ "\u0C11\x03\x02\x02\x02\u0C14\u0C13\x03\x02\x02\x02\u0C15\u0C18\x03\x02" +
+ "\x02\x02\u0C16\u0C14\x03\x02\x02\x02\u0C16\u0C17\x03\x02\x02\x02\u0C17" +
+ "\u0C19\x03\x02\x02\x02\u0C18\u0C16\x03\x02\x02\x02\u0C19\u0C1A\x07$\x02" +
+ "\x02\u0C1A\u0266\x03\x02\x02\x02\u0C1B\u0C23\x07)\x02\x02\u0C1C\u0C1D" +
+ "\x07^\x02\x02\u0C1D\u0C22\v\x02\x02\x02\u0C1E\u0C1F\x07)\x02\x02\u0C1F" +
+ "\u0C22\x07)\x02\x02\u0C20\u0C22\n\x07\x02\x02\u0C21\u0C1C\x03\x02\x02" +
+ "\x02\u0C21\u0C1E\x03\x02\x02\x02\u0C21\u0C20\x03\x02\x02\x02\u0C22\u0C25" +
+ "\x03\x02\x02\x02\u0C23\u0C21\x03\x02\x02\x02\u0C23\u0C24\x03\x02\x02\x02" +
+ "\u0C24\u0C26\x03\x02\x02\x02\u0C25\u0C23\x03\x02\x02\x02\u0C26\u0C27\x07" +
+ ")\x02\x02\u0C27\u0268\x03\x02\x02\x02\u0C28\u0C30\x07b\x02\x02\u0C29\u0C2A" +
+ "\x07^\x02\x02\u0C2A\u0C2F\v\x02\x02\x02\u0C2B\u0C2C\x07b\x02\x02\u0C2C" +
+ "\u0C2F\x07b\x02\x02\u0C2D\u0C2F\n\b\x02\x02\u0C2E\u0C29\x03\x02\x02\x02" +
+ "\u0C2E\u0C2B\x03\x02\x02\x02\u0C2E\u0C2D\x03\x02\x02\x02\u0C2F\u0C32\x03" +
+ "\x02\x02\x02\u0C30\u0C2E\x03\x02\x02\x02\u0C30\u0C31\x03\x02\x02\x02\u0C31" +
+ "\u0C33\x03\x02\x02\x02\u0C32\u0C30\x03\x02\x02\x02\u0C33\u0C34\x07b\x02" +
+ "\x02\u0C34\u026A\x03\x02\x02\x02\u0C35\u0C36\t\t\x02\x02\u0C36\u026C\x03" +
+ "\x02\x02\x02\u0C37\u0C38\v\x02\x02\x02\u0C38\u0C39\x03\x02\x02\x02\u0C39" +
+ "\u0C3A\b\u0137\x02\x02\u0C3A\u026E\x03\x02\x02\x02\x11\x02\u0BE6\u0BEB" +
+ "\u0BED\u0BF3\u0BF9\u0BFD\u0C03\u0C08\u0C14\u0C16\u0C21\u0C23\u0C2E\u0C30" +
+ "\x03\x02\x05\x02";
+ public static readonly _serializedATN: string = Utils.join(
+ [
+ OpenSearchPPLLexer._serializedATNSegment0,
+ OpenSearchPPLLexer._serializedATNSegment1,
+ OpenSearchPPLLexer._serializedATNSegment2,
+ OpenSearchPPLLexer._serializedATNSegment3,
+ OpenSearchPPLLexer._serializedATNSegment4,
+ OpenSearchPPLLexer._serializedATNSegment5,
+ ],
+ "",
+ );
+ public static __ATN: ATN;
+ public static get _ATN(): ATN {
+ if (!OpenSearchPPLLexer.__ATN) {
+ OpenSearchPPLLexer.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(OpenSearchPPLLexer._serializedATN));
+ }
+
+ return OpenSearchPPLLexer.__ATN;
+ }
+
+}
+
diff --git a/common/query_manager/antlr/output/OpenSearchPPLParser.interp b/common/query_manager/antlr/output/OpenSearchPPLParser.interp
new file mode 100644
index 0000000000..1610ee03ef
--- /dev/null
+++ b/common/query_manager/antlr/output/OpenSearchPPLParser.interp
@@ -0,0 +1,728 @@
+token literal names:
+null
+'SEARCH'
+'DESCRIBE'
+'SHOW'
+'FROM'
+'WHERE'
+'FIELDS'
+'RENAME'
+'STATS'
+'DEDUP'
+'SORT'
+'EVAL'
+'HEAD'
+'TOP'
+'RARE'
+'PARSE'
+'METHOD'
+'REGEX'
+'PUNCT'
+'GROK'
+'PATTERN'
+'PATTERNS'
+'NEW_FIELD'
+'KMEANS'
+'AD'
+'ML'
+'AS'
+'BY'
+'SOURCE'
+'INDEX'
+'D'
+'DESC'
+'CATALOGS'
+'SORTBY'
+'AUTO'
+'STR'
+'IP'
+'NUM'
+'KEEPEMPTY'
+'CONSECUTIVE'
+'DEDUP_SPLITVALUES'
+'PARTITIONS'
+'ALLNUM'
+'DELIM'
+'CENTROIDS'
+'ITERATIONS'
+'DISTANCE_TYPE'
+'NUMBER_OF_TREES'
+'SHINGLE_SIZE'
+'SAMPLE_SIZE'
+'OUTPUT_AFTER'
+'TIME_DECAY'
+'ANOMALY_RATE'
+'CATEGORY_FIELD'
+'TIME_FIELD'
+'TIME_ZONE'
+'TRAINING_DATA_SIZE'
+'ANOMALY_SCORE_THRESHOLD'
+'CASE'
+'IN'
+'NOT'
+'OR'
+'AND'
+'XOR'
+'TRUE'
+'FALSE'
+'REGEXP'
+'DATETIME'
+'INTERVAL'
+'MICROSECOND'
+'MILLISECOND'
+'SECOND'
+'MINUTE'
+'HOUR'
+'DAY'
+'WEEK'
+'MONTH'
+'QUARTER'
+'YEAR'
+'SECOND_MICROSECOND'
+'MINUTE_MICROSECOND'
+'MINUTE_SECOND'
+'HOUR_MICROSECOND'
+'HOUR_SECOND'
+'HOUR_MINUTE'
+'DAY_MICROSECOND'
+'DAY_SECOND'
+'DAY_MINUTE'
+'DAY_HOUR'
+'YEAR_MONTH'
+'CONVERT_TZ'
+'DATAMODEL'
+'LOOKUP'
+'SAVEDSEARCH'
+'INT'
+'INTEGER'
+'DOUBLE'
+'LONG'
+'FLOAT'
+'STRING'
+'BOOLEAN'
+'|'
+','
+'.'
+'='
+'>'
+'<'
+null
+null
+null
+'+'
+'-'
+'*'
+'/'
+'%'
+'!'
+':'
+'('
+')'
+'['
+']'
+'\''
+'"'
+'`'
+'~'
+'&'
+'^'
+'AVG'
+'COUNT'
+'DISTINCT_COUNT'
+'ESTDC'
+'ESTDC_ERROR'
+'MAX'
+'MEAN'
+'MEDIAN'
+'MIN'
+'MODE'
+'RANGE'
+'STDEV'
+'STDEVP'
+'SUM'
+'SUMSQ'
+'VAR_SAMP'
+'VAR_POP'
+'STDDEV_SAMP'
+'STDDEV_POP'
+'PERCENTILE'
+'TAKE'
+'FIRST'
+'LAST'
+'LIST'
+'VALUES'
+'EARLIEST'
+'EARLIEST_TIME'
+'LATEST'
+'LATEST_TIME'
+'PER_DAY'
+'PER_HOUR'
+'PER_MINUTE'
+'PER_SECOND'
+'RATE'
+'SPARKLINE'
+'C'
+'DC'
+'ABS'
+'CEIL'
+'CEILING'
+'CONV'
+'CRC32'
+'E'
+'EXP'
+'FLOOR'
+'LN'
+'LOG'
+'LOG10'
+'LOG2'
+'MOD'
+'PI'
+'POW'
+'POWER'
+'RAND'
+'ROUND'
+'SIGN'
+'SQRT'
+'TRUNCATE'
+'ACOS'
+'ASIN'
+'ATAN'
+'ATAN2'
+'COS'
+'COT'
+'DEGREES'
+'RADIANS'
+'SIN'
+'TAN'
+'ADDDATE'
+'CURDATE'
+'CURRENT_DATE'
+'CURRENT_TIME'
+'CURRENT_TIMESTAMP'
+'CURTIME'
+'DATE'
+'DATE_ADD'
+'DATE_FORMAT'
+'DATE_SUB'
+'DAYNAME'
+'DAYOFMONTH'
+'DAYOFWEEK'
+'DAYOFYEAR'
+'FROM_DAYS'
+'LOCALTIME'
+'LOCALTIMESTAMP'
+'FROM_UNIXTIME'
+'MAKEDATE'
+'MAKETIME'
+'MONTHNAME'
+'NOW'
+'PERIOD_ADD'
+'PERIOD_DIFF'
+'SUBDATE'
+'SYSDATE'
+'TIME'
+'TIME_TO_SEC'
+'TIMESTAMP'
+'TO_DAYS'
+'UTC_DATE'
+'UTC_TIME'
+'UTC_TIMESTAMP'
+'UNIX_TIMESTAMP'
+'SUBSTR'
+'SUBSTRING'
+'LTRIM'
+'RTRIM'
+'TRIM'
+'TO'
+'LOWER'
+'UPPER'
+'CONCAT'
+'CONCAT_WS'
+'LENGTH'
+'STRCMP'
+'RIGHT'
+'LEFT'
+'ASCII'
+'LOCATE'
+'REPLACE'
+'CAST'
+'LIKE'
+'ISNULL'
+'ISNOTNULL'
+'IFNULL'
+'NULLIF'
+'IF'
+'TYPEOF'
+'MATCH'
+'MATCH_PHRASE'
+'MATCH_PHRASE_PREFIX'
+'MATCH_BOOL_PREFIX'
+'SIMPLE_QUERY_STRING'
+'MULTI_MATCH'
+'QUERY_STRING'
+'ALLOW_LEADING_WILDCARD'
+'ANALYZE_WILDCARD'
+'ANALYZER'
+'AUTO_GENERATE_SYNONYMS_PHRASE_QUERY'
+'BOOST'
+'CUTOFF_FREQUENCY'
+'DEFAULT_FIELD'
+'DEFAULT_OPERATOR'
+'ENABLE_POSITION_INCREMENTS'
+'ESCAPE'
+'FLAGS'
+'FUZZY_MAX_EXPANSIONS'
+'FUZZY_PREFIX_LENGTH'
+'FUZZY_TRANSPOSITIONS'
+'FUZZY_REWRITE'
+'FUZZINESS'
+'LENIENT'
+'LOW_FREQ_OPERATOR'
+'MAX_DETERMINIZED_STATES'
+'MAX_EXPANSIONS'
+'MINIMUM_SHOULD_MATCH'
+'OPERATOR'
+'PHRASE_SLOP'
+'PREFIX_LENGTH'
+'QUOTE_ANALYZER'
+'QUOTE_FIELD_SUFFIX'
+'REWRITE'
+'SLOP'
+'TIE_BREAKER'
+'TYPE'
+'ZERO_TERMS_QUERY'
+'SPAN'
+'MS'
+'S'
+'M'
+'H'
+'W'
+'Q'
+'Y'
+null
+null
+null
+null
+null
+null
+null
+null
+
+token symbolic names:
+null
+SEARCH
+DESCRIBE
+SHOW
+FROM
+WHERE
+FIELDS
+RENAME
+STATS
+DEDUP
+SORT
+EVAL
+HEAD
+TOP
+RARE
+PARSE
+METHOD
+REGEX
+PUNCT
+GROK
+PATTERN
+PATTERNS
+NEW_FIELD
+KMEANS
+AD
+ML
+AS
+BY
+SOURCE
+INDEX
+D
+DESC
+CATALOGS
+SORTBY
+AUTO
+STR
+IP
+NUM
+KEEPEMPTY
+CONSECUTIVE
+DEDUP_SPLITVALUES
+PARTITIONS
+ALLNUM
+DELIM
+CENTROIDS
+ITERATIONS
+DISTANCE_TYPE
+NUMBER_OF_TREES
+SHINGLE_SIZE
+SAMPLE_SIZE
+OUTPUT_AFTER
+TIME_DECAY
+ANOMALY_RATE
+CATEGORY_FIELD
+TIME_FIELD
+TIME_ZONE
+TRAINING_DATA_SIZE
+ANOMALY_SCORE_THRESHOLD
+CASE
+IN
+NOT
+OR
+AND
+XOR
+TRUE
+FALSE
+REGEXP
+DATETIME
+INTERVAL
+MICROSECOND
+MILLISECOND
+SECOND
+MINUTE
+HOUR
+DAY
+WEEK
+MONTH
+QUARTER
+YEAR
+SECOND_MICROSECOND
+MINUTE_MICROSECOND
+MINUTE_SECOND
+HOUR_MICROSECOND
+HOUR_SECOND
+HOUR_MINUTE
+DAY_MICROSECOND
+DAY_SECOND
+DAY_MINUTE
+DAY_HOUR
+YEAR_MONTH
+CONVERT_TZ
+DATAMODEL
+LOOKUP
+SAVEDSEARCH
+INT
+INTEGER
+DOUBLE
+LONG
+FLOAT
+STRING
+BOOLEAN
+PIPE
+COMMA
+DOT
+EQUAL
+GREATER
+LESS
+NOT_GREATER
+NOT_LESS
+NOT_EQUAL
+PLUS
+MINUS
+STAR
+DIVIDE
+MODULE
+EXCLAMATION_SYMBOL
+COLON
+LT_PRTHS
+RT_PRTHS
+LT_SQR_PRTHS
+RT_SQR_PRTHS
+SINGLE_QUOTE
+DOUBLE_QUOTE
+BACKTICK
+BIT_NOT_OP
+BIT_AND_OP
+BIT_XOR_OP
+AVG
+COUNT
+DISTINCT_COUNT
+ESTDC
+ESTDC_ERROR
+MAX
+MEAN
+MEDIAN
+MIN
+MODE
+RANGE
+STDEV
+STDEVP
+SUM
+SUMSQ
+VAR_SAMP
+VAR_POP
+STDDEV_SAMP
+STDDEV_POP
+PERCENTILE
+TAKE
+FIRST
+LAST
+LIST
+VALUES
+EARLIEST
+EARLIEST_TIME
+LATEST
+LATEST_TIME
+PER_DAY
+PER_HOUR
+PER_MINUTE
+PER_SECOND
+RATE
+SPARKLINE
+C
+DC
+ABS
+CEIL
+CEILING
+CONV
+CRC32
+E
+EXP
+FLOOR
+LN
+LOG
+LOG10
+LOG2
+MOD
+PI
+POW
+POWER
+RAND
+ROUND
+SIGN
+SQRT
+TRUNCATE
+ACOS
+ASIN
+ATAN
+ATAN2
+COS
+COT
+DEGREES
+RADIANS
+SIN
+TAN
+ADDDATE
+CURDATE
+CURRENT_DATE
+CURRENT_TIME
+CURRENT_TIMESTAMP
+CURTIME
+DATE
+DATE_ADD
+DATE_FORMAT
+DATE_SUB
+DAYNAME
+DAYOFMONTH
+DAYOFWEEK
+DAYOFYEAR
+FROM_DAYS
+LOCALTIME
+LOCALTIMESTAMP
+FROM_UNIXTIME
+MAKEDATE
+MAKETIME
+MONTHNAME
+NOW
+PERIOD_ADD
+PERIOD_DIFF
+SUBDATE
+SYSDATE
+TIME
+TIME_TO_SEC
+TIMESTAMP
+TO_DAYS
+UTC_DATE
+UTC_TIME
+UTC_TIMESTAMP
+UNIX_TIMESTAMP
+SUBSTR
+SUBSTRING
+LTRIM
+RTRIM
+TRIM
+TO
+LOWER
+UPPER
+CONCAT
+CONCAT_WS
+LENGTH
+STRCMP
+RIGHT
+LEFT
+ASCII
+LOCATE
+REPLACE
+CAST
+LIKE
+ISNULL
+ISNOTNULL
+IFNULL
+NULLIF
+IF
+TYPEOF
+MATCH
+MATCH_PHRASE
+MATCH_PHRASE_PREFIX
+MATCH_BOOL_PREFIX
+SIMPLE_QUERY_STRING
+MULTI_MATCH
+QUERY_STRING
+ALLOW_LEADING_WILDCARD
+ANALYZE_WILDCARD
+ANALYZER
+AUTO_GENERATE_SYNONYMS_PHRASE_QUERY
+BOOST
+CUTOFF_FREQUENCY
+DEFAULT_FIELD
+DEFAULT_OPERATOR
+ENABLE_POSITION_INCREMENTS
+ESCAPE
+FLAGS
+FUZZY_MAX_EXPANSIONS
+FUZZY_PREFIX_LENGTH
+FUZZY_TRANSPOSITIONS
+FUZZY_REWRITE
+FUZZINESS
+LENIENT
+LOW_FREQ_OPERATOR
+MAX_DETERMINIZED_STATES
+MAX_EXPANSIONS
+MINIMUM_SHOULD_MATCH
+OPERATOR
+PHRASE_SLOP
+PREFIX_LENGTH
+QUOTE_ANALYZER
+QUOTE_FIELD_SUFFIX
+REWRITE
+SLOP
+TIE_BREAKER
+TYPE
+ZERO_TERMS_QUERY
+SPAN
+MS
+S
+M
+H
+W
+Q
+Y
+ID
+INTEGER_LITERAL
+DECIMAL_LITERAL
+ID_DATE_SUFFIX
+DQUOTA_STRING
+SQUOTA_STRING
+BQUOTA_STRING
+ERROR_RECOGNITION
+
+rule names:
+root
+pplStatement
+pplCommands
+commands
+searchCommand
+describeCommand
+showCatalogsCommand
+whereCommand
+fieldsCommand
+renameCommand
+statsCommand
+dedupCommand
+sortCommand
+evalCommand
+headCommand
+topCommand
+rareCommand
+grokCommand
+parseCommand
+patternsCommand
+patternsParameter
+patternsMethod
+kmeansCommand
+kmeansParameter
+adCommand
+adParameter
+mlCommand
+mlArg
+fromClause
+tableSourceClause
+renameClasue
+byClause
+statsByClause
+bySpanClause
+spanClause
+sortbyClause
+evalClause
+statsAggTerm
+statsFunction
+statsFunctionName
+takeAggFunction
+percentileAggFunction
+expression
+logicalExpression
+comparisonExpression
+valueExpression
+primaryExpression
+constantFunction
+booleanExpression
+relevanceExpression
+singleFieldRelevanceFunction
+multiFieldRelevanceFunction
+tableSource
+tableFunction
+fieldList
+wcFieldList
+sortField
+sortFieldExpression
+fieldExpression
+wcFieldExpression
+evalFunctionCall
+dataTypeFunctionCall
+booleanFunctionCall
+convertedDataType
+evalFunctionName
+functionArgs
+functionArg
+relevanceArg
+relevanceArgName
+relevanceFieldAndWeight
+relevanceFieldWeight
+relevanceField
+relevanceQuery
+relevanceArgValue
+mathematicalFunctionBase
+trigonometricFunctionName
+dateAndTimeFunctionBase
+constantFunctionName
+conditionFunctionBase
+systemFunctionBase
+textFunctionBase
+comparisonOperator
+binaryOperator
+singleFieldRelevanceFunctionName
+multiFieldRelevanceFunctionName
+literalValue
+intervalLiteral
+stringLiteral
+integerLiteral
+decimalLiteral
+booleanLiteral
+datetimeLiteral
+dateLiteral
+timeLiteral
+timestampLiteral
+intervalUnit
+timespanUnit
+valueList
+qualifiedName
+wcQualifiedName
+ident
+wildcard
+keywordsCanBeId
+
+
+atn:
+[3, 51485, 51898, 1421, 44986, 20307, 1543, 60043, 49729, 3, 309, 998, 4, 2, 9, 2, 4, 3, 9, 3, 4, 4, 9, 4, 4, 5, 9, 5, 4, 6, 9, 6, 4, 7, 9, 7, 4, 8, 9, 8, 4, 9, 9, 9, 4, 10, 9, 10, 4, 11, 9, 11, 4, 12, 9, 12, 4, 13, 9, 13, 4, 14, 9, 14, 4, 15, 9, 15, 4, 16, 9, 16, 4, 17, 9, 17, 4, 18, 9, 18, 4, 19, 9, 19, 4, 20, 9, 20, 4, 21, 9, 21, 4, 22, 9, 22, 4, 23, 9, 23, 4, 24, 9, 24, 4, 25, 9, 25, 4, 26, 9, 26, 4, 27, 9, 27, 4, 28, 9, 28, 4, 29, 9, 29, 4, 30, 9, 30, 4, 31, 9, 31, 4, 32, 9, 32, 4, 33, 9, 33, 4, 34, 9, 34, 4, 35, 9, 35, 4, 36, 9, 36, 4, 37, 9, 37, 4, 38, 9, 38, 4, 39, 9, 39, 4, 40, 9, 40, 4, 41, 9, 41, 4, 42, 9, 42, 4, 43, 9, 43, 4, 44, 9, 44, 4, 45, 9, 45, 4, 46, 9, 46, 4, 47, 9, 47, 4, 48, 9, 48, 4, 49, 9, 49, 4, 50, 9, 50, 4, 51, 9, 51, 4, 52, 9, 52, 4, 53, 9, 53, 4, 54, 9, 54, 4, 55, 9, 55, 4, 56, 9, 56, 4, 57, 9, 57, 4, 58, 9, 58, 4, 59, 9, 59, 4, 60, 9, 60, 4, 61, 9, 61, 4, 62, 9, 62, 4, 63, 9, 63, 4, 64, 9, 64, 4, 65, 9, 65, 4, 66, 9, 66, 4, 67, 9, 67, 4, 68, 9, 68, 4, 69, 9, 69, 4, 70, 9, 70, 4, 71, 9, 71, 4, 72, 9, 72, 4, 73, 9, 73, 4, 74, 9, 74, 4, 75, 9, 75, 4, 76, 9, 76, 4, 77, 9, 77, 4, 78, 9, 78, 4, 79, 9, 79, 4, 80, 9, 80, 4, 81, 9, 81, 4, 82, 9, 82, 4, 83, 9, 83, 4, 84, 9, 84, 4, 85, 9, 85, 4, 86, 9, 86, 4, 87, 9, 87, 4, 88, 9, 88, 4, 89, 9, 89, 4, 90, 9, 90, 4, 91, 9, 91, 4, 92, 9, 92, 4, 93, 9, 93, 4, 94, 9, 94, 4, 95, 9, 95, 4, 96, 9, 96, 4, 97, 9, 97, 4, 98, 9, 98, 4, 99, 9, 99, 4, 100, 9, 100, 4, 101, 9, 101, 4, 102, 9, 102, 4, 103, 9, 103, 4, 104, 9, 104, 3, 2, 5, 2, 210, 10, 2, 3, 2, 3, 2, 3, 3, 3, 3, 3, 3, 7, 3, 217, 10, 3, 12, 3, 14, 3, 220, 11, 3, 3, 4, 3, 4, 3, 4, 5, 4, 225, 10, 4, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 3, 5, 5, 5, 243, 10, 5, 3, 6, 5, 6, 246, 10, 6, 3, 6, 3, 6, 5, 6, 250, 10, 6, 3, 6, 3, 6, 3, 6, 3, 6, 5, 6, 256, 10, 6, 3, 6, 3, 6, 3, 6, 5, 6, 261, 10, 6, 3, 7, 3, 7, 3, 7, 3, 8, 3, 8, 3, 8, 3, 9, 3, 9, 3, 9, 3, 10, 3, 10, 5, 10, 274, 10, 10, 3, 10, 3, 10, 3, 11, 3, 11, 3, 11, 3, 11, 7, 11, 282, 10, 11, 12, 11, 14, 11, 285, 11, 11, 3, 12, 3, 12, 3, 12, 3, 12, 5, 12, 291, 10, 12, 3, 12, 3, 12, 3, 12, 5, 12, 296, 10, 12, 3, 12, 3, 12, 3, 12, 5, 12, 301, 10, 12, 3, 12, 3, 12, 3, 12, 7, 12, 306, 10, 12, 12, 12, 14, 12, 309, 11, 12, 3, 12, 5, 12, 312, 10, 12, 3, 12, 3, 12, 3, 12, 5, 12, 317, 10, 12, 3, 13, 3, 13, 5, 13, 321, 10, 13, 3, 13, 3, 13, 3, 13, 3, 13, 5, 13, 327, 10, 13, 3, 13, 3, 13, 3, 13, 5, 13, 332, 10, 13, 3, 14, 3, 14, 3, 14, 3, 15, 3, 15, 3, 15, 3, 15, 7, 15, 341, 10, 15, 12, 15, 14, 15, 344, 11, 15, 3, 16, 3, 16, 5, 16, 348, 10, 16, 3, 16, 3, 16, 5, 16, 352, 10, 16, 3, 17, 3, 17, 5, 17, 356, 10, 17, 3, 17, 3, 17, 5, 17, 360, 10, 17, 3, 18, 3, 18, 3, 18, 5, 18, 365, 10, 18, 3, 19, 3, 19, 3, 19, 3, 19, 3, 20, 3, 20, 3, 20, 3, 20, 3, 21, 3, 21, 7, 21, 377, 10, 21, 12, 21, 14, 21, 380, 11, 21, 3, 21, 3, 21, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 3, 22, 5, 22, 390, 10, 22, 3, 23, 3, 23, 3, 24, 3, 24, 7, 24, 396, 10, 24, 12, 24, 14, 24, 399, 11, 24, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 3, 25, 5, 25, 410, 10, 25, 3, 26, 3, 26, 7, 26, 414, 10, 26, 12, 26, 14, 26, 417, 11, 26, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 3, 27, 5, 27, 455, 10, 27, 3, 28, 3, 28, 7, 28, 459, 10, 28, 12, 28, 14, 28, 462, 11, 28, 3, 29, 3, 29, 3, 29, 3, 29, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 3, 30, 5, 30, 480, 10, 30, 3, 31, 3, 31, 3, 31, 7, 31, 485, 10, 31, 12, 31, 14, 31, 488, 11, 31, 3, 32, 3, 32, 3, 32, 3, 32, 3, 33, 3, 33, 3, 33, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 3, 34, 5, 34, 506, 10, 34, 3, 35, 3, 35, 3, 35, 5, 35, 511, 10, 35, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 3, 36, 5, 36, 519, 10, 36, 3, 36, 3, 36, 3, 37, 3, 37, 3, 37, 7, 37, 526, 10, 37, 12, 37, 14, 37, 529, 11, 37, 3, 38, 3, 38, 3, 38, 3, 38, 3, 39, 3, 39, 3, 39, 5, 39, 538, 10, 39, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 3, 40, 5, 40, 555, 10, 40, 3, 41, 3, 41, 3, 42, 3, 42, 3, 42, 3, 42, 3, 42, 5, 42, 564, 10, 42, 3, 42, 3, 42, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 43, 3, 44, 3, 44, 3, 44, 5, 44, 579, 10, 44, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 5, 45, 587, 10, 45, 3, 45, 3, 45, 3, 45, 3, 45, 3, 45, 5, 45, 594, 10, 45, 3, 45, 3, 45, 3, 45, 3, 45, 7, 45, 600, 10, 45, 12, 45, 14, 45, 603, 11, 45, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 3, 46, 5, 46, 613, 10, 46, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 3, 47, 5, 47, 623, 10, 47, 3, 47, 3, 47, 3, 47, 3, 47, 7, 47, 629, 10, 47, 12, 47, 14, 47, 632, 11, 47, 3, 48, 3, 48, 3, 48, 3, 48, 3, 48, 5, 48, 639, 10, 48, 3, 49, 3, 49, 3, 49, 5, 49, 644, 10, 49, 3, 49, 3, 49, 3, 50, 3, 50, 3, 51, 3, 51, 5, 51, 652, 10, 51, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 3, 52, 7, 52, 661, 10, 52, 12, 52, 14, 52, 664, 11, 52, 3, 52, 3, 52, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 7, 53, 674, 10, 53, 12, 53, 14, 53, 677, 11, 53, 3, 53, 3, 53, 3, 53, 3, 53, 3, 53, 7, 53, 684, 10, 53, 12, 53, 14, 53, 687, 11, 53, 3, 53, 3, 53, 3, 54, 3, 54, 5, 54, 693, 10, 54, 3, 55, 3, 55, 3, 55, 3, 55, 3, 55, 3, 56, 3, 56, 3, 56, 7, 56, 703, 10, 56, 12, 56, 14, 56, 706, 11, 56, 3, 57, 3, 57, 3, 57, 7, 57, 711, 10, 57, 12, 57, 14, 57, 714, 11, 57, 3, 58, 5, 58, 717, 10, 58, 3, 58, 3, 58, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 3, 59, 5, 59, 742, 10, 59, 3, 60, 3, 60, 3, 61, 3, 61, 3, 62, 3, 62, 3, 62, 3, 62, 3, 62, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 63, 3, 64, 3, 64, 3, 64, 3, 64, 3, 64, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 3, 65, 5, 65, 775, 10, 65, 3, 66, 3, 66, 3, 66, 3, 66, 3, 66, 5, 66, 782, 10, 66, 3, 67, 3, 67, 3, 67, 7, 67, 787, 10, 67, 12, 67, 14, 67, 790, 11, 67, 5, 67, 792, 10, 67, 3, 68, 3, 68, 3, 68, 5, 68, 797, 10, 68, 3, 68, 3, 68, 3, 69, 3, 69, 3, 69, 3, 69, 3, 70, 3, 70, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 3, 71, 5, 71, 815, 10, 71, 3, 72, 3, 72, 5, 72, 819, 10, 72, 3, 73, 3, 73, 5, 73, 823, 10, 73, 3, 74, 3, 74, 3, 75, 3, 75, 5, 75, 829, 10, 75, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 3, 76, 5, 76, 853, 10, 76, 3, 77, 3, 77, 3, 78, 3, 78, 3, 79, 3, 79, 3, 80, 3, 80, 3, 81, 3, 81, 3, 82, 3, 82, 3, 83, 3, 83, 3, 84, 3, 84, 3, 85, 3, 85, 3, 86, 3, 86, 3, 87, 3, 87, 3, 87, 3, 87, 3, 87, 3, 87, 5, 87, 881, 10, 87, 3, 88, 3, 88, 3, 88, 3, 88, 3, 89, 3, 89, 3, 90, 5, 90, 890, 10, 90, 3, 90, 3, 90, 3, 91, 5, 91, 895, 10, 91, 3, 91, 3, 91, 3, 92, 3, 92, 3, 93, 3, 93, 3, 93, 5, 93, 904, 10, 93, 3, 94, 3, 94, 3, 94, 3, 95, 3, 95, 3, 95, 3, 96, 3, 96, 3, 96, 3, 97, 3, 97, 3, 98, 3, 98, 3, 99, 3, 99, 3, 99, 3, 99, 7, 99, 923, 10, 99, 12, 99, 14, 99, 926, 11, 99, 3, 99, 3, 99, 3, 100, 3, 100, 3, 100, 7, 100, 933, 10, 100, 12, 100, 14, 100, 936, 11, 100, 3, 101, 3, 101, 3, 101, 7, 101, 941, 10, 101, 12, 101, 14, 101, 944, 11, 101, 3, 102, 5, 102, 947, 10, 102, 3, 102, 3, 102, 3, 102, 3, 102, 3, 102, 3, 102, 3, 102, 5, 102, 956, 10, 102, 3, 103, 3, 103, 3, 103, 7, 103, 961, 10, 103, 12, 103, 14, 103, 964, 11, 103, 3, 103, 5, 103, 967, 10, 103, 3, 103, 3, 103, 3, 103, 3, 103, 3, 103, 3, 103, 3, 103, 3, 103, 3, 103, 3, 103, 3, 103, 3, 103, 5, 103, 981, 10, 103, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 3, 104, 5, 104, 996, 10, 104, 3, 104, 2, 2, 4, 88, 92, 105, 2, 2, 4, 2, 6, 2, 8, 2, 10, 2, 12, 2, 14, 2, 16, 2, 18, 2, 20, 2, 22, 2, 24, 2, 26, 2, 28, 2, 30, 2, 32, 2, 34, 2, 36, 2, 38, 2, 40, 2, 42, 2, 44, 2, 46, 2, 48, 2, 50, 2, 52, 2, 54, 2, 56, 2, 58, 2, 60, 2, 62, 2, 64, 2, 66, 2, 68, 2, 70, 2, 72, 2, 74, 2, 76, 2, 78, 2, 80, 2, 82, 2, 84, 2, 86, 2, 88, 2, 90, 2, 92, 2, 94, 2, 96, 2, 98, 2, 100, 2, 102, 2, 104, 2, 106, 2, 108, 2, 110, 2, 112, 2, 114, 2, 116, 2, 118, 2, 120, 2, 122, 2, 124, 2, 126, 2, 128, 2, 130, 2, 132, 2, 134, 2, 136, 2, 138, 2, 140, 2, 142, 2, 144, 2, 146, 2, 148, 2, 150, 2, 152, 2, 154, 2, 156, 2, 158, 2, 160, 2, 162, 2, 164, 2, 166, 2, 168, 2, 170, 2, 172, 2, 174, 2, 176, 2, 178, 2, 180, 2, 182, 2, 184, 2, 186, 2, 188, 2, 190, 2, 192, 2, 194, 2, 196, 2, 198, 2, 200, 2, 202, 2, 204, 2, 206, 2, 2, 20, 3, 2, 112, 113, 3, 2, 19, 20, 4, 2, 131, 131, 165, 165, 7, 2, 129, 130, 134, 134, 137, 137, 142, 142, 144, 147, 5, 2, 8, 8, 57, 57, 263, 293, 3, 2, 187, 196, 11, 2, 69, 69, 71, 71, 73, 80, 92, 92, 197, 197, 203, 211, 214, 217, 219, 226, 230, 230, 6, 2, 198, 202, 212, 213, 218, 218, 227, 229, 3, 2, 249, 254, 4, 2, 231, 235, 237, 247, 4, 2, 68, 68, 106, 111, 3, 2, 112, 116, 3, 2, 256, 259, 3, 2, 260, 262, 3, 2, 306, 307, 3, 2, 66, 67, 4, 2, 71, 71, 73, 91, 5, 2, 32, 32, 72, 80, 295, 301, 2, 1072, 2, 209, 3, 2, 2, 2, 4, 213, 3, 2, 2, 2, 6, 224, 3, 2, 2, 2, 8, 242, 3, 2, 2, 2, 10, 260, 3, 2, 2, 2, 12, 262, 3, 2, 2, 2, 14, 265, 3, 2, 2, 2, 16, 268, 3, 2, 2, 2, 18, 271, 3, 2, 2, 2, 20, 277, 3, 2, 2, 2, 22, 286, 3, 2, 2, 2, 24, 318, 3, 2, 2, 2, 26, 333, 3, 2, 2, 2, 28, 336, 3, 2, 2, 2, 30, 345, 3, 2, 2, 2, 32, 353, 3, 2, 2, 2, 34, 361, 3, 2, 2, 2, 36, 366, 3, 2, 2, 2, 38, 370, 3, 2, 2, 2, 40, 374, 3, 2, 2, 2, 42, 389, 3, 2, 2, 2, 44, 391, 3, 2, 2, 2, 46, 393, 3, 2, 2, 2, 48, 409, 3, 2, 2, 2, 50, 411, 3, 2, 2, 2, 52, 454, 3, 2, 2, 2, 54, 456, 3, 2, 2, 2, 56, 463, 3, 2, 2, 2, 58, 479, 3, 2, 2, 2, 60, 481, 3, 2, 2, 2, 62, 489, 3, 2, 2, 2, 64, 493, 3, 2, 2, 2, 66, 505, 3, 2, 2, 2, 68, 507, 3, 2, 2, 2, 70, 512, 3, 2, 2, 2, 72, 522, 3, 2, 2, 2, 74, 530, 3, 2, 2, 2, 76, 534, 3, 2, 2, 2, 78, 554, 3, 2, 2, 2, 80, 556, 3, 2, 2, 2, 82, 558, 3, 2, 2, 2, 84, 567, 3, 2, 2, 2, 86, 578, 3, 2, 2, 2, 88, 586, 3, 2, 2, 2, 90, 612, 3, 2, 2, 2, 92, 622, 3, 2, 2, 2, 94, 638, 3, 2, 2, 2, 96, 640, 3, 2, 2, 2, 98, 647, 3, 2, 2, 2, 100, 651, 3, 2, 2, 2, 102, 653, 3, 2, 2, 2, 104, 667, 3, 2, 2, 2, 106, 692, 3, 2, 2, 2, 108, 694, 3, 2, 2, 2, 110, 699, 3, 2, 2, 2, 112, 707, 3, 2, 2, 2, 114, 716, 3, 2, 2, 2, 116, 741, 3, 2, 2, 2, 118, 743, 3, 2, 2, 2, 120, 745, 3, 2, 2, 2, 122, 747, 3, 2, 2, 2, 124, 752, 3, 2, 2, 2, 126, 759, 3, 2, 2, 2, 128, 774, 3, 2, 2, 2, 130, 781, 3, 2, 2, 2, 132, 791, 3, 2, 2, 2, 134, 796, 3, 2, 2, 2, 136, 800, 3, 2, 2, 2, 138, 804, 3, 2, 2, 2, 140, 814, 3, 2, 2, 2, 142, 818, 3, 2, 2, 2, 144, 822, 3, 2, 2, 2, 146, 824, 3, 2, 2, 2, 148, 828, 3, 2, 2, 2, 150, 852, 3, 2, 2, 2, 152, 854, 3, 2, 2, 2, 154, 856, 3, 2, 2, 2, 156, 858, 3, 2, 2, 2, 158, 860, 3, 2, 2, 2, 160, 862, 3, 2, 2, 2, 162, 864, 3, 2, 2, 2, 164, 866, 3, 2, 2, 2, 166, 868, 3, 2, 2, 2, 168, 870, 3, 2, 2, 2, 170, 872, 3, 2, 2, 2, 172, 880, 3, 2, 2, 2, 174, 882, 3, 2, 2, 2, 176, 886, 3, 2, 2, 2, 178, 889, 3, 2, 2, 2, 180, 894, 3, 2, 2, 2, 182, 898, 3, 2, 2, 2, 184, 903, 3, 2, 2, 2, 186, 905, 3, 2, 2, 2, 188, 908, 3, 2, 2, 2, 190, 911, 3, 2, 2, 2, 192, 914, 3, 2, 2, 2, 194, 916, 3, 2, 2, 2, 196, 918, 3, 2, 2, 2, 198, 929, 3, 2, 2, 2, 200, 937, 3, 2, 2, 2, 202, 955, 3, 2, 2, 2, 204, 980, 3, 2, 2, 2, 206, 995, 3, 2, 2, 2, 208, 210, 5, 4, 3, 2, 209, 208, 3, 2, 2, 2, 209, 210, 3, 2, 2, 2, 210, 211, 3, 2, 2, 2, 211, 212, 7, 2, 2, 3, 212, 3, 3, 2, 2, 2, 213, 218, 5, 6, 4, 2, 214, 215, 7, 103, 2, 2, 215, 217, 5, 8, 5, 2, 216, 214, 3, 2, 2, 2, 217, 220, 3, 2, 2, 2, 218, 216, 3, 2, 2, 2, 218, 219, 3, 2, 2, 2, 219, 5, 3, 2, 2, 2, 220, 218, 3, 2, 2, 2, 221, 225, 5, 10, 6, 2, 222, 225, 5, 12, 7, 2, 223, 225, 5, 14, 8, 2, 224, 221, 3, 2, 2, 2, 224, 222, 3, 2, 2, 2, 224, 223, 3, 2, 2, 2, 225, 7, 3, 2, 2, 2, 226, 243, 5, 16, 9, 2, 227, 243, 5, 18, 10, 2, 228, 243, 5, 20, 11, 2, 229, 243, 5, 22, 12, 2, 230, 243, 5, 24, 13, 2, 231, 243, 5, 26, 14, 2, 232, 243, 5, 28, 15, 2, 233, 243, 5, 30, 16, 2, 234, 243, 5, 32, 17, 2, 235, 243, 5, 34, 18, 2, 236, 243, 5, 36, 19, 2, 237, 243, 5, 38, 20, 2, 238, 243, 5, 40, 21, 2, 239, 243, 5, 46, 24, 2, 240, 243, 5, 50, 26, 2, 241, 243, 5, 54, 28, 2, 242, 226, 3, 2, 2, 2, 242, 227, 3, 2, 2, 2, 242, 228, 3, 2, 2, 2, 242, 229, 3, 2, 2, 2, 242, 230, 3, 2, 2, 2, 242, 231, 3, 2, 2, 2, 242, 232, 3, 2, 2, 2, 242, 233, 3, 2, 2, 2, 242, 234, 3, 2, 2, 2, 242, 235, 3, 2, 2, 2, 242, 236, 3, 2, 2, 2, 242, 237, 3, 2, 2, 2, 242, 238, 3, 2, 2, 2, 242, 239, 3, 2, 2, 2, 242, 240, 3, 2, 2, 2, 242, 241, 3, 2, 2, 2, 243, 9, 3, 2, 2, 2, 244, 246, 7, 3, 2, 2, 245, 244, 3, 2, 2, 2, 245, 246, 3, 2, 2, 2, 246, 247, 3, 2, 2, 2, 247, 261, 5, 58, 30, 2, 248, 250, 7, 3, 2, 2, 249, 248, 3, 2, 2, 2, 249, 250, 3, 2, 2, 2, 250, 251, 3, 2, 2, 2, 251, 252, 5, 58, 30, 2, 252, 253, 5, 88, 45, 2, 253, 261, 3, 2, 2, 2, 254, 256, 7, 3, 2, 2, 255, 254, 3, 2, 2, 2, 255, 256, 3, 2, 2, 2, 256, 257, 3, 2, 2, 2, 257, 258, 5, 88, 45, 2, 258, 259, 5, 58, 30, 2, 259, 261, 3, 2, 2, 2, 260, 245, 3, 2, 2, 2, 260, 249, 3, 2, 2, 2, 260, 255, 3, 2, 2, 2, 261, 11, 3, 2, 2, 2, 262, 263, 7, 4, 2, 2, 263, 264, 5, 60, 31, 2, 264, 13, 3, 2, 2, 2, 265, 266, 7, 5, 2, 2, 266, 267, 7, 34, 2, 2, 267, 15, 3, 2, 2, 2, 268, 269, 7, 7, 2, 2, 269, 270, 5, 88, 45, 2, 270, 17, 3, 2, 2, 2, 271, 273, 7, 8, 2, 2, 272, 274, 9, 2, 2, 2, 273, 272, 3, 2, 2, 2, 273, 274, 3, 2, 2, 2, 274, 275, 3, 2, 2, 2, 275, 276, 5, 110, 56, 2, 276, 19, 3, 2, 2, 2, 277, 278, 7, 9, 2, 2, 278, 283, 5, 62, 32, 2, 279, 280, 7, 104, 2, 2, 280, 282, 5, 62, 32, 2, 281, 279, 3, 2, 2, 2, 282, 285, 3, 2, 2, 2, 283, 281, 3, 2, 2, 2, 283, 284, 3, 2, 2, 2, 284, 21, 3, 2, 2, 2, 285, 283, 3, 2, 2, 2, 286, 290, 7, 10, 2, 2, 287, 288, 7, 43, 2, 2, 288, 289, 7, 106, 2, 2, 289, 291, 5, 178, 90, 2, 290, 287, 3, 2, 2, 2, 290, 291, 3, 2, 2, 2, 291, 295, 3, 2, 2, 2, 292, 293, 7, 44, 2, 2, 293, 294, 7, 106, 2, 2, 294, 296, 5, 182, 92, 2, 295, 292, 3, 2, 2, 2, 295, 296, 3, 2, 2, 2, 296, 300, 3, 2, 2, 2, 297, 298, 7, 45, 2, 2, 298, 299, 7, 106, 2, 2, 299, 301, 5, 176, 89, 2, 300, 297, 3, 2, 2, 2, 300, 301, 3, 2, 2, 2, 301, 302, 3, 2, 2, 2, 302, 307, 5, 76, 39, 2, 303, 304, 7, 104, 2, 2, 304, 306, 5, 76, 39, 2, 305, 303, 3, 2, 2, 2, 306, 309, 3, 2, 2, 2, 307, 305, 3, 2, 2, 2, 307, 308, 3, 2, 2, 2, 308, 311, 3, 2, 2, 2, 309, 307, 3, 2, 2, 2, 310, 312, 5, 66, 34, 2, 311, 310, 3, 2, 2, 2, 311, 312, 3, 2, 2, 2, 312, 316, 3, 2, 2, 2, 313, 314, 7, 42, 2, 2, 314, 315, 7, 106, 2, 2, 315, 317, 5, 182, 92, 2, 316, 313, 3, 2, 2, 2, 316, 317, 3, 2, 2, 2, 317, 23, 3, 2, 2, 2, 318, 320, 7, 11, 2, 2, 319, 321, 5, 178, 90, 2, 320, 319, 3, 2, 2, 2, 320, 321, 3, 2, 2, 2, 321, 322, 3, 2, 2, 2, 322, 326, 5, 110, 56, 2, 323, 324, 7, 40, 2, 2, 324, 325, 7, 106, 2, 2, 325, 327, 5, 182, 92, 2, 326, 323, 3, 2, 2, 2, 326, 327, 3, 2, 2, 2, 327, 331, 3, 2, 2, 2, 328, 329, 7, 41, 2, 2, 329, 330, 7, 106, 2, 2, 330, 332, 5, 182, 92, 2, 331, 328, 3, 2, 2, 2, 331, 332, 3, 2, 2, 2, 332, 25, 3, 2, 2, 2, 333, 334, 7, 12, 2, 2, 334, 335, 5, 72, 37, 2, 335, 27, 3, 2, 2, 2, 336, 337, 7, 13, 2, 2, 337, 342, 5, 74, 38, 2, 338, 339, 7, 104, 2, 2, 339, 341, 5, 74, 38, 2, 340, 338, 3, 2, 2, 2, 341, 344, 3, 2, 2, 2, 342, 340, 3, 2, 2, 2, 342, 343, 3, 2, 2, 2, 343, 29, 3, 2, 2, 2, 344, 342, 3, 2, 2, 2, 345, 347, 7, 14, 2, 2, 346, 348, 5, 178, 90, 2, 347, 346, 3, 2, 2, 2, 347, 348, 3, 2, 2, 2, 348, 351, 3, 2, 2, 2, 349, 350, 7, 6, 2, 2, 350, 352, 5, 178, 90, 2, 351, 349, 3, 2, 2, 2, 351, 352, 3, 2, 2, 2, 352, 31, 3, 2, 2, 2, 353, 355, 7, 15, 2, 2, 354, 356, 5, 178, 90, 2, 355, 354, 3, 2, 2, 2, 355, 356, 3, 2, 2, 2, 356, 357, 3, 2, 2, 2, 357, 359, 5, 110, 56, 2, 358, 360, 5, 64, 33, 2, 359, 358, 3, 2, 2, 2, 359, 360, 3, 2, 2, 2, 360, 33, 3, 2, 2, 2, 361, 362, 7, 16, 2, 2, 362, 364, 5, 110, 56, 2, 363, 365, 5, 64, 33, 2, 364, 363, 3, 2, 2, 2, 364, 365, 3, 2, 2, 2, 365, 35, 3, 2, 2, 2, 366, 367, 7, 21, 2, 2, 367, 368, 5, 86, 44, 2, 368, 369, 5, 176, 89, 2, 369, 37, 3, 2, 2, 2, 370, 371, 7, 17, 2, 2, 371, 372, 5, 86, 44, 2, 372, 373, 5, 176, 89, 2, 373, 39, 3, 2, 2, 2, 374, 378, 7, 23, 2, 2, 375, 377, 5, 42, 22, 2, 376, 375, 3, 2, 2, 2, 377, 380, 3, 2, 2, 2, 378, 376, 3, 2, 2, 2, 378, 379, 3, 2, 2, 2, 379, 381, 3, 2, 2, 2, 380, 378, 3, 2, 2, 2, 381, 382, 5, 86, 44, 2, 382, 41, 3, 2, 2, 2, 383, 384, 7, 24, 2, 2, 384, 385, 7, 106, 2, 2, 385, 390, 5, 176, 89, 2, 386, 387, 7, 22, 2, 2, 387, 388, 7, 106, 2, 2, 388, 390, 5, 176, 89, 2, 389, 383, 3, 2, 2, 2, 389, 386, 3, 2, 2, 2, 390, 43, 3, 2, 2, 2, 391, 392, 9, 3, 2, 2, 392, 45, 3, 2, 2, 2, 393, 397, 7, 25, 2, 2, 394, 396, 5, 48, 25, 2, 395, 394, 3, 2, 2, 2, 396, 399, 3, 2, 2, 2, 397, 395, 3, 2, 2, 2, 397, 398, 3, 2, 2, 2, 398, 47, 3, 2, 2, 2, 399, 397, 3, 2, 2, 2, 400, 401, 7, 46, 2, 2, 401, 402, 7, 106, 2, 2, 402, 410, 5, 178, 90, 2, 403, 404, 7, 47, 2, 2, 404, 405, 7, 106, 2, 2, 405, 410, 5, 178, 90, 2, 406, 407, 7, 48, 2, 2, 407, 408, 7, 106, 2, 2, 408, 410, 5, 176, 89, 2, 409, 400, 3, 2, 2, 2, 409, 403, 3, 2, 2, 2, 409, 406, 3, 2, 2, 2, 410, 49, 3, 2, 2, 2, 411, 415, 7, 26, 2, 2, 412, 414, 5, 52, 27, 2, 413, 412, 3, 2, 2, 2, 414, 417, 3, 2, 2, 2, 415, 413, 3, 2, 2, 2, 415, 416, 3, 2, 2, 2, 416, 51, 3, 2, 2, 2, 417, 415, 3, 2, 2, 2, 418, 419, 7, 49, 2, 2, 419, 420, 7, 106, 2, 2, 420, 455, 5, 178, 90, 2, 421, 422, 7, 50, 2, 2, 422, 423, 7, 106, 2, 2, 423, 455, 5, 178, 90, 2, 424, 425, 7, 51, 2, 2, 425, 426, 7, 106, 2, 2, 426, 455, 5, 178, 90, 2, 427, 428, 7, 52, 2, 2, 428, 429, 7, 106, 2, 2, 429, 455, 5, 178, 90, 2, 430, 431, 7, 53, 2, 2, 431, 432, 7, 106, 2, 2, 432, 455, 5, 180, 91, 2, 433, 434, 7, 54, 2, 2, 434, 435, 7, 106, 2, 2, 435, 455, 5, 180, 91, 2, 436, 437, 7, 55, 2, 2, 437, 438, 7, 106, 2, 2, 438, 455, 5, 176, 89, 2, 439, 440, 7, 56, 2, 2, 440, 441, 7, 106, 2, 2, 441, 455, 5, 176, 89, 2, 442, 443, 7, 205, 2, 2, 443, 444, 7, 106, 2, 2, 444, 455, 5, 176, 89, 2, 445, 446, 7, 57, 2, 2, 446, 447, 7, 106, 2, 2, 447, 455, 5, 176, 89, 2, 448, 449, 7, 58, 2, 2, 449, 450, 7, 106, 2, 2, 450, 455, 5, 178, 90, 2, 451, 452, 7, 59, 2, 2, 452, 453, 7, 106, 2, 2, 453, 455, 5, 180, 91, 2, 454, 418, 3, 2, 2, 2, 454, 421, 3, 2, 2, 2, 454, 424, 3, 2, 2, 2, 454, 427, 3, 2, 2, 2, 454, 430, 3, 2, 2, 2, 454, 433, 3, 2, 2, 2, 454, 436, 3, 2, 2, 2, 454, 439, 3, 2, 2, 2, 454, 442, 3, 2, 2, 2, 454, 445, 3, 2, 2, 2, 454, 448, 3, 2, 2, 2, 454, 451, 3, 2, 2, 2, 455, 53, 3, 2, 2, 2, 456, 460, 7, 27, 2, 2, 457, 459, 5, 56, 29, 2, 458, 457, 3, 2, 2, 2, 459, 462, 3, 2, 2, 2, 460, 458, 3, 2, 2, 2, 460, 461, 3, 2, 2, 2, 461, 55, 3, 2, 2, 2, 462, 460, 3, 2, 2, 2, 463, 464, 5, 202, 102, 2, 464, 465, 7, 106, 2, 2, 465, 466, 5, 172, 87, 2, 466, 57, 3, 2, 2, 2, 467, 468, 7, 30, 2, 2, 468, 469, 7, 106, 2, 2, 469, 480, 5, 60, 31, 2, 470, 471, 7, 31, 2, 2, 471, 472, 7, 106, 2, 2, 472, 480, 5, 60, 31, 2, 473, 474, 7, 30, 2, 2, 474, 475, 7, 106, 2, 2, 475, 480, 5, 108, 55, 2, 476, 477, 7, 31, 2, 2, 477, 478, 7, 106, 2, 2, 478, 480, 5, 108, 55, 2, 479, 467, 3, 2, 2, 2, 479, 470, 3, 2, 2, 2, 479, 473, 3, 2, 2, 2, 479, 476, 3, 2, 2, 2, 480, 59, 3, 2, 2, 2, 481, 486, 5, 106, 54, 2, 482, 483, 7, 104, 2, 2, 483, 485, 5, 106, 54, 2, 484, 482, 3, 2, 2, 2, 485, 488, 3, 2, 2, 2, 486, 484, 3, 2, 2, 2, 486, 487, 3, 2, 2, 2, 487, 61, 3, 2, 2, 2, 488, 486, 3, 2, 2, 2, 489, 490, 5, 120, 61, 2, 490, 491, 7, 28, 2, 2, 491, 492, 5, 120, 61, 2, 492, 63, 3, 2, 2, 2, 493, 494, 7, 29, 2, 2, 494, 495, 5, 110, 56, 2, 495, 65, 3, 2, 2, 2, 496, 497, 7, 29, 2, 2, 497, 506, 5, 110, 56, 2, 498, 499, 7, 29, 2, 2, 499, 506, 5, 68, 35, 2, 500, 501, 7, 29, 2, 2, 501, 502, 5, 68, 35, 2, 502, 503, 7, 104, 2, 2, 503, 504, 5, 110, 56, 2, 504, 506, 3, 2, 2, 2, 505, 496, 3, 2, 2, 2, 505, 498, 3, 2, 2, 2, 505, 500, 3, 2, 2, 2, 506, 67, 3, 2, 2, 2, 507, 510, 5, 70, 36, 2, 508, 509, 7, 28, 2, 2, 509, 511, 5, 198, 100, 2, 510, 508, 3, 2, 2, 2, 510, 511, 3, 2, 2, 2, 511, 69, 3, 2, 2, 2, 512, 513, 7, 294, 2, 2, 513, 514, 7, 119, 2, 2, 514, 515, 5, 118, 60, 2, 515, 516, 7, 104, 2, 2, 516, 518, 5, 172, 87, 2, 517, 519, 5, 194, 98, 2, 518, 517, 3, 2, 2, 2, 518, 519, 3, 2, 2, 2, 519, 520, 3, 2, 2, 2, 520, 521, 7, 120, 2, 2, 521, 71, 3, 2, 2, 2, 522, 527, 5, 114, 58, 2, 523, 524, 7, 104, 2, 2, 524, 526, 5, 114, 58, 2, 525, 523, 3, 2, 2, 2, 526, 529, 3, 2, 2, 2, 527, 525, 3, 2, 2, 2, 527, 528, 3, 2, 2, 2, 528, 73, 3, 2, 2, 2, 529, 527, 3, 2, 2, 2, 530, 531, 5, 118, 60, 2, 531, 532, 7, 106, 2, 2, 532, 533, 5, 86, 44, 2, 533, 75, 3, 2, 2, 2, 534, 537, 5, 78, 40, 2, 535, 536, 7, 28, 2, 2, 536, 538, 5, 120, 61, 2, 537, 535, 3, 2, 2, 2, 537, 538, 3, 2, 2, 2, 538, 77, 3, 2, 2, 2, 539, 540, 5, 80, 41, 2, 540, 541, 7, 119, 2, 2, 541, 542, 5, 92, 47, 2, 542, 543, 7, 120, 2, 2, 543, 555, 3, 2, 2, 2, 544, 545, 7, 130, 2, 2, 545, 546, 7, 119, 2, 2, 546, 555, 7, 120, 2, 2, 547, 548, 9, 4, 2, 2, 548, 549, 7, 119, 2, 2, 549, 550, 5, 92, 47, 2, 550, 551, 7, 120, 2, 2, 551, 555, 3, 2, 2, 2, 552, 555, 5, 84, 43, 2, 553, 555, 5, 82, 42, 2, 554, 539, 3, 2, 2, 2, 554, 544, 3, 2, 2, 2, 554, 547, 3, 2, 2, 2, 554, 552, 3, 2, 2, 2, 554, 553, 3, 2, 2, 2, 555, 79, 3, 2, 2, 2, 556, 557, 9, 5, 2, 2, 557, 81, 3, 2, 2, 2, 558, 559, 7, 149, 2, 2, 559, 560, 7, 119, 2, 2, 560, 563, 5, 118, 60, 2, 561, 562, 7, 104, 2, 2, 562, 564, 5, 178, 90, 2, 563, 561, 3, 2, 2, 2, 563, 564, 3, 2, 2, 2, 564, 565, 3, 2, 2, 2, 565, 566, 7, 120, 2, 2, 566, 83, 3, 2, 2, 2, 567, 568, 7, 148, 2, 2, 568, 569, 7, 108, 2, 2, 569, 570, 5, 178, 90, 2, 570, 571, 7, 107, 2, 2, 571, 572, 7, 119, 2, 2, 572, 573, 5, 118, 60, 2, 573, 574, 7, 120, 2, 2, 574, 85, 3, 2, 2, 2, 575, 579, 5, 88, 45, 2, 576, 579, 5, 90, 46, 2, 577, 579, 5, 92, 47, 2, 578, 575, 3, 2, 2, 2, 578, 576, 3, 2, 2, 2, 578, 577, 3, 2, 2, 2, 579, 87, 3, 2, 2, 2, 580, 581, 8, 45, 1, 2, 581, 587, 5, 90, 46, 2, 582, 583, 7, 62, 2, 2, 583, 587, 5, 88, 45, 8, 584, 587, 5, 98, 50, 2, 585, 587, 5, 100, 51, 2, 586, 580, 3, 2, 2, 2, 586, 582, 3, 2, 2, 2, 586, 584, 3, 2, 2, 2, 586, 585, 3, 2, 2, 2, 587, 601, 3, 2, 2, 2, 588, 589, 12, 7, 2, 2, 589, 590, 7, 63, 2, 2, 590, 600, 5, 88, 45, 8, 591, 593, 12, 6, 2, 2, 592, 594, 7, 64, 2, 2, 593, 592, 3, 2, 2, 2, 593, 594, 3, 2, 2, 2, 594, 595, 3, 2, 2, 2, 595, 600, 5, 88, 45, 7, 596, 597, 12, 5, 2, 2, 597, 598, 7, 65, 2, 2, 598, 600, 5, 88, 45, 6, 599, 588, 3, 2, 2, 2, 599, 591, 3, 2, 2, 2, 599, 596, 3, 2, 2, 2, 600, 603, 3, 2, 2, 2, 601, 599, 3, 2, 2, 2, 601, 602, 3, 2, 2, 2, 602, 89, 3, 2, 2, 2, 603, 601, 3, 2, 2, 2, 604, 605, 5, 92, 47, 2, 605, 606, 5, 164, 83, 2, 606, 607, 5, 92, 47, 2, 607, 613, 3, 2, 2, 2, 608, 609, 5, 92, 47, 2, 609, 610, 7, 61, 2, 2, 610, 611, 5, 196, 99, 2, 611, 613, 3, 2, 2, 2, 612, 604, 3, 2, 2, 2, 612, 608, 3, 2, 2, 2, 613, 91, 3, 2, 2, 2, 614, 615, 8, 47, 1, 2, 615, 616, 7, 119, 2, 2, 616, 617, 5, 92, 47, 2, 617, 618, 5, 166, 84, 2, 618, 619, 5, 92, 47, 2, 619, 620, 7, 120, 2, 2, 620, 623, 3, 2, 2, 2, 621, 623, 5, 94, 48, 2, 622, 614, 3, 2, 2, 2, 622, 621, 3, 2, 2, 2, 623, 630, 3, 2, 2, 2, 624, 625, 12, 5, 2, 2, 625, 626, 5, 166, 84, 2, 626, 627, 5, 92, 47, 6, 627, 629, 3, 2, 2, 2, 628, 624, 3, 2, 2, 2, 629, 632, 3, 2, 2, 2, 630, 628, 3, 2, 2, 2, 630, 631, 3, 2, 2, 2, 631, 93, 3, 2, 2, 2, 632, 630, 3, 2, 2, 2, 633, 639, 5, 122, 62, 2, 634, 639, 5, 124, 63, 2, 635, 639, 5, 118, 60, 2, 636, 639, 5, 172, 87, 2, 637, 639, 5, 96, 49, 2, 638, 633, 3, 2, 2, 2, 638, 634, 3, 2, 2, 2, 638, 635, 3, 2, 2, 2, 638, 636, 3, 2, 2, 2, 638, 637, 3, 2, 2, 2, 639, 95, 3, 2, 2, 2, 640, 641, 5, 156, 79, 2, 641, 643, 7, 119, 2, 2, 642, 644, 5, 132, 67, 2, 643, 642, 3, 2, 2, 2, 643, 644, 3, 2, 2, 2, 644, 645, 3, 2, 2, 2, 645, 646, 7, 120, 2, 2, 646, 97, 3, 2, 2, 2, 647, 648, 5, 126, 64, 2, 648, 99, 3, 2, 2, 2, 649, 652, 5, 102, 52, 2, 650, 652, 5, 104, 53, 2, 651, 649, 3, 2, 2, 2, 651, 650, 3, 2, 2, 2, 652, 101, 3, 2, 2, 2, 653, 654, 5, 168, 85, 2, 654, 655, 7, 119, 2, 2, 655, 656, 5, 144, 73, 2, 656, 657, 7, 104, 2, 2, 657, 662, 5, 146, 74, 2, 658, 659, 7, 104, 2, 2, 659, 661, 5, 136, 69, 2, 660, 658, 3, 2, 2, 2, 661, 664, 3, 2, 2, 2, 662, 660, 3, 2, 2, 2, 662, 663, 3, 2, 2, 2, 663, 665, 3, 2, 2, 2, 664, 662, 3, 2, 2, 2, 665, 666, 7, 120, 2, 2, 666, 103, 3, 2, 2, 2, 667, 668, 5, 170, 86, 2, 668, 669, 7, 119, 2, 2, 669, 670, 7, 121, 2, 2, 670, 675, 5, 140, 71, 2, 671, 672, 7, 104, 2, 2, 672, 674, 5, 140, 71, 2, 673, 671, 3, 2, 2, 2, 674, 677, 3, 2, 2, 2, 675, 673, 3, 2, 2, 2, 675, 676, 3, 2, 2, 2, 676, 678, 3, 2, 2, 2, 677, 675, 3, 2, 2, 2, 678, 679, 7, 122, 2, 2, 679, 680, 7, 104, 2, 2, 680, 685, 5, 146, 74, 2, 681, 682, 7, 104, 2, 2, 682, 684, 5, 136, 69, 2, 683, 681, 3, 2, 2, 2, 684, 687, 3, 2, 2, 2, 685, 683, 3, 2, 2, 2, 685, 686, 3, 2, 2, 2, 686, 688, 3, 2, 2, 2, 687, 685, 3, 2, 2, 2, 688, 689, 7, 120, 2, 2, 689, 105, 3, 2, 2, 2, 690, 693, 5, 198, 100, 2, 691, 693, 7, 305, 2, 2, 692, 690, 3, 2, 2, 2, 692, 691, 3, 2, 2, 2, 693, 107, 3, 2, 2, 2, 694, 695, 5, 198, 100, 2, 695, 696, 7, 119, 2, 2, 696, 697, 5, 132, 67, 2, 697, 698, 7, 120, 2, 2, 698, 109, 3, 2, 2, 2, 699, 704, 5, 118, 60, 2, 700, 701, 7, 104, 2, 2, 701, 703, 5, 118, 60, 2, 702, 700, 3, 2, 2, 2, 703, 706, 3, 2, 2, 2, 704, 702, 3, 2, 2, 2, 704, 705, 3, 2, 2, 2, 705, 111, 3, 2, 2, 2, 706, 704, 3, 2, 2, 2, 707, 712, 5, 120, 61, 2, 708, 709, 7, 104, 2, 2, 709, 711, 5, 120, 61, 2, 710, 708, 3, 2, 2, 2, 711, 714, 3, 2, 2, 2, 712, 710, 3, 2, 2, 2, 712, 713, 3, 2, 2, 2, 713, 113, 3, 2, 2, 2, 714, 712, 3, 2, 2, 2, 715, 717, 9, 2, 2, 2, 716, 715, 3, 2, 2, 2, 716, 717, 3, 2, 2, 2, 717, 718, 3, 2, 2, 2, 718, 719, 5, 116, 59, 2, 719, 115, 3, 2, 2, 2, 720, 742, 5, 118, 60, 2, 721, 722, 7, 36, 2, 2, 722, 723, 7, 119, 2, 2, 723, 724, 5, 118, 60, 2, 724, 725, 7, 120, 2, 2, 725, 742, 3, 2, 2, 2, 726, 727, 7, 37, 2, 2, 727, 728, 7, 119, 2, 2, 728, 729, 5, 118, 60, 2, 729, 730, 7, 120, 2, 2, 730, 742, 3, 2, 2, 2, 731, 732, 7, 38, 2, 2, 732, 733, 7, 119, 2, 2, 733, 734, 5, 118, 60, 2, 734, 735, 7, 120, 2, 2, 735, 742, 3, 2, 2, 2, 736, 737, 7, 39, 2, 2, 737, 738, 7, 119, 2, 2, 738, 739, 5, 118, 60, 2, 739, 740, 7, 120, 2, 2, 740, 742, 3, 2, 2, 2, 741, 720, 3, 2, 2, 2, 741, 721, 3, 2, 2, 2, 741, 726, 3, 2, 2, 2, 741, 731, 3, 2, 2, 2, 741, 736, 3, 2, 2, 2, 742, 117, 3, 2, 2, 2, 743, 744, 5, 198, 100, 2, 744, 119, 3, 2, 2, 2, 745, 746, 5, 200, 101, 2, 746, 121, 3, 2, 2, 2, 747, 748, 5, 130, 66, 2, 748, 749, 7, 119, 2, 2, 749, 750, 5, 132, 67, 2, 750, 751, 7, 120, 2, 2, 751, 123, 3, 2, 2, 2, 752, 753, 7, 248, 2, 2, 753, 754, 7, 119, 2, 2, 754, 755, 5, 86, 44, 2, 755, 756, 7, 28, 2, 2, 756, 757, 5, 128, 65, 2, 757, 758, 7, 120, 2, 2, 758, 125, 3, 2, 2, 2, 759, 760, 5, 158, 80, 2, 760, 761, 7, 119, 2, 2, 761, 762, 5, 132, 67, 2, 762, 763, 7, 120, 2, 2, 763, 127, 3, 2, 2, 2, 764, 775, 7, 203, 2, 2, 765, 775, 7, 223, 2, 2, 766, 775, 7, 225, 2, 2, 767, 775, 7, 96, 2, 2, 768, 775, 7, 97, 2, 2, 769, 775, 7, 98, 2, 2, 770, 775, 7, 99, 2, 2, 771, 775, 7, 100, 2, 2, 772, 775, 7, 101, 2, 2, 773, 775, 7, 102, 2, 2, 774, 764, 3, 2, 2, 2, 774, 765, 3, 2, 2, 2, 774, 766, 3, 2, 2, 2, 774, 767, 3, 2, 2, 2, 774, 768, 3, 2, 2, 2, 774, 769, 3, 2, 2, 2, 774, 770, 3, 2, 2, 2, 774, 771, 3, 2, 2, 2, 774, 772, 3, 2, 2, 2, 774, 773, 3, 2, 2, 2, 775, 129, 3, 2, 2, 2, 776, 782, 5, 150, 76, 2, 777, 782, 5, 154, 78, 2, 778, 782, 5, 162, 82, 2, 779, 782, 5, 158, 80, 2, 780, 782, 5, 160, 81, 2, 781, 776, 3, 2, 2, 2, 781, 777, 3, 2, 2, 2, 781, 778, 3, 2, 2, 2, 781, 779, 3, 2, 2, 2, 781, 780, 3, 2, 2, 2, 782, 131, 3, 2, 2, 2, 783, 788, 5, 134, 68, 2, 784, 785, 7, 104, 2, 2, 785, 787, 5, 134, 68, 2, 786, 784, 3, 2, 2, 2, 787, 790, 3, 2, 2, 2, 788, 786, 3, 2, 2, 2, 788, 789, 3, 2, 2, 2, 789, 792, 3, 2, 2, 2, 790, 788, 3, 2, 2, 2, 791, 783, 3, 2, 2, 2, 791, 792, 3, 2, 2, 2, 792, 133, 3, 2, 2, 2, 793, 794, 5, 202, 102, 2, 794, 795, 7, 106, 2, 2, 795, 797, 3, 2, 2, 2, 796, 793, 3, 2, 2, 2, 796, 797, 3, 2, 2, 2, 797, 798, 3, 2, 2, 2, 798, 799, 5, 92, 47, 2, 799, 135, 3, 2, 2, 2, 800, 801, 5, 138, 70, 2, 801, 802, 7, 106, 2, 2, 802, 803, 5, 148, 75, 2, 803, 137, 3, 2, 2, 2, 804, 805, 9, 6, 2, 2, 805, 139, 3, 2, 2, 2, 806, 815, 5, 144, 73, 2, 807, 808, 5, 144, 73, 2, 808, 809, 5, 142, 72, 2, 809, 815, 3, 2, 2, 2, 810, 811, 5, 144, 73, 2, 811, 812, 7, 128, 2, 2, 812, 813, 5, 142, 72, 2, 813, 815, 3, 2, 2, 2, 814, 806, 3, 2, 2, 2, 814, 807, 3, 2, 2, 2, 814, 810, 3, 2, 2, 2, 815, 141, 3, 2, 2, 2, 816, 819, 5, 178, 90, 2, 817, 819, 5, 180, 91, 2, 818, 816, 3, 2, 2, 2, 818, 817, 3, 2, 2, 2, 819, 143, 3, 2, 2, 2, 820, 823, 5, 198, 100, 2, 821, 823, 5, 176, 89, 2, 822, 820, 3, 2, 2, 2, 822, 821, 3, 2, 2, 2, 823, 145, 3, 2, 2, 2, 824, 825, 5, 148, 75, 2, 825, 147, 3, 2, 2, 2, 826, 829, 5, 198, 100, 2, 827, 829, 5, 172, 87, 2, 828, 826, 3, 2, 2, 2, 828, 827, 3, 2, 2, 2, 829, 149, 3, 2, 2, 2, 830, 853, 7, 166, 2, 2, 831, 853, 7, 167, 2, 2, 832, 853, 7, 168, 2, 2, 833, 853, 7, 169, 2, 2, 834, 853, 7, 170, 2, 2, 835, 853, 7, 171, 2, 2, 836, 853, 7, 172, 2, 2, 837, 853, 7, 173, 2, 2, 838, 853, 7, 174, 2, 2, 839, 853, 7, 175, 2, 2, 840, 853, 7, 176, 2, 2, 841, 853, 7, 177, 2, 2, 842, 853, 7, 178, 2, 2, 843, 853, 7, 179, 2, 2, 844, 853, 7, 180, 2, 2, 845, 853, 7, 181, 2, 2, 846, 853, 7, 182, 2, 2, 847, 853, 7, 183, 2, 2, 848, 853, 7, 184, 2, 2, 849, 853, 7, 185, 2, 2, 850, 853, 7, 186, 2, 2, 851, 853, 5, 152, 77, 2, 852, 830, 3, 2, 2, 2, 852, 831, 3, 2, 2, 2, 852, 832, 3, 2, 2, 2, 852, 833, 3, 2, 2, 2, 852, 834, 3, 2, 2, 2, 852, 835, 3, 2, 2, 2, 852, 836, 3, 2, 2, 2, 852, 837, 3, 2, 2, 2, 852, 838, 3, 2, 2, 2, 852, 839, 3, 2, 2, 2, 852, 840, 3, 2, 2, 2, 852, 841, 3, 2, 2, 2, 852, 842, 3, 2, 2, 2, 852, 843, 3, 2, 2, 2, 852, 844, 3, 2, 2, 2, 852, 845, 3, 2, 2, 2, 852, 846, 3, 2, 2, 2, 852, 847, 3, 2, 2, 2, 852, 848, 3, 2, 2, 2, 852, 849, 3, 2, 2, 2, 852, 850, 3, 2, 2, 2, 852, 851, 3, 2, 2, 2, 853, 151, 3, 2, 2, 2, 854, 855, 9, 7, 2, 2, 855, 153, 3, 2, 2, 2, 856, 857, 9, 8, 2, 2, 857, 155, 3, 2, 2, 2, 858, 859, 9, 9, 2, 2, 859, 157, 3, 2, 2, 2, 860, 861, 9, 10, 2, 2, 861, 159, 3, 2, 2, 2, 862, 863, 7, 255, 2, 2, 863, 161, 3, 2, 2, 2, 864, 865, 9, 11, 2, 2, 865, 163, 3, 2, 2, 2, 866, 867, 9, 12, 2, 2, 867, 165, 3, 2, 2, 2, 868, 869, 9, 13, 2, 2, 869, 167, 3, 2, 2, 2, 870, 871, 9, 14, 2, 2, 871, 169, 3, 2, 2, 2, 872, 873, 9, 15, 2, 2, 873, 171, 3, 2, 2, 2, 874, 881, 5, 174, 88, 2, 875, 881, 5, 176, 89, 2, 876, 881, 5, 178, 90, 2, 877, 881, 5, 180, 91, 2, 878, 881, 5, 182, 92, 2, 879, 881, 5, 184, 93, 2, 880, 874, 3, 2, 2, 2, 880, 875, 3, 2, 2, 2, 880, 876, 3, 2, 2, 2, 880, 877, 3, 2, 2, 2, 880, 878, 3, 2, 2, 2, 880, 879, 3, 2, 2, 2, 881, 173, 3, 2, 2, 2, 882, 883, 7, 70, 2, 2, 883, 884, 5, 92, 47, 2, 884, 885, 5, 192, 97, 2, 885, 175, 3, 2, 2, 2, 886, 887, 9, 16, 2, 2, 887, 177, 3, 2, 2, 2, 888, 890, 9, 2, 2, 2, 889, 888, 3, 2, 2, 2, 889, 890, 3, 2, 2, 2, 890, 891, 3, 2, 2, 2, 891, 892, 7, 303, 2, 2, 892, 179, 3, 2, 2, 2, 893, 895, 9, 2, 2, 2, 894, 893, 3, 2, 2, 2, 894, 895, 3, 2, 2, 2, 895, 896, 3, 2, 2, 2, 896, 897, 7, 304, 2, 2, 897, 181, 3, 2, 2, 2, 898, 899, 9, 17, 2, 2, 899, 183, 3, 2, 2, 2, 900, 904, 5, 186, 94, 2, 901, 904, 5, 188, 95, 2, 902, 904, 5, 190, 96, 2, 903, 900, 3, 2, 2, 2, 903, 901, 3, 2, 2, 2, 903, 902, 3, 2, 2, 2, 904, 185, 3, 2, 2, 2, 905, 906, 7, 203, 2, 2, 906, 907, 5, 176, 89, 2, 907, 187, 3, 2, 2, 2, 908, 909, 7, 223, 2, 2, 909, 910, 5, 176, 89, 2, 910, 189, 3, 2, 2, 2, 911, 912, 7, 225, 2, 2, 912, 913, 5, 176, 89, 2, 913, 191, 3, 2, 2, 2, 914, 915, 9, 18, 2, 2, 915, 193, 3, 2, 2, 2, 916, 917, 9, 19, 2, 2, 917, 195, 3, 2, 2, 2, 918, 919, 7, 119, 2, 2, 919, 924, 5, 172, 87, 2, 920, 921, 7, 104, 2, 2, 921, 923, 5, 172, 87, 2, 922, 920, 3, 2, 2, 2, 923, 926, 3, 2, 2, 2, 924, 922, 3, 2, 2, 2, 924, 925, 3, 2, 2, 2, 925, 927, 3, 2, 2, 2, 926, 924, 3, 2, 2, 2, 927, 928, 7, 120, 2, 2, 928, 197, 3, 2, 2, 2, 929, 934, 5, 202, 102, 2, 930, 931, 7, 105, 2, 2, 931, 933, 5, 202, 102, 2, 932, 930, 3, 2, 2, 2, 933, 936, 3, 2, 2, 2, 934, 932, 3, 2, 2, 2, 934, 935, 3, 2, 2, 2, 935, 199, 3, 2, 2, 2, 936, 934, 3, 2, 2, 2, 937, 942, 5, 204, 103, 2, 938, 939, 7, 105, 2, 2, 939, 941, 5, 204, 103, 2, 940, 938, 3, 2, 2, 2, 941, 944, 3, 2, 2, 2, 942, 940, 3, 2, 2, 2, 942, 943, 3, 2, 2, 2, 943, 201, 3, 2, 2, 2, 944, 942, 3, 2, 2, 2, 945, 947, 7, 105, 2, 2, 946, 945, 3, 2, 2, 2, 946, 947, 3, 2, 2, 2, 947, 948, 3, 2, 2, 2, 948, 956, 7, 302, 2, 2, 949, 950, 7, 125, 2, 2, 950, 951, 5, 202, 102, 2, 951, 952, 7, 125, 2, 2, 952, 956, 3, 2, 2, 2, 953, 956, 7, 308, 2, 2, 954, 956, 5, 206, 104, 2, 955, 946, 3, 2, 2, 2, 955, 949, 3, 2, 2, 2, 955, 953, 3, 2, 2, 2, 955, 954, 3, 2, 2, 2, 956, 203, 3, 2, 2, 2, 957, 962, 5, 202, 102, 2, 958, 959, 7, 116, 2, 2, 959, 961, 5, 202, 102, 2, 960, 958, 3, 2, 2, 2, 961, 964, 3, 2, 2, 2, 962, 960, 3, 2, 2, 2, 962, 963, 3, 2, 2, 2, 963, 966, 3, 2, 2, 2, 964, 962, 3, 2, 2, 2, 965, 967, 7, 116, 2, 2, 966, 965, 3, 2, 2, 2, 966, 967, 3, 2, 2, 2, 967, 981, 3, 2, 2, 2, 968, 969, 7, 123, 2, 2, 969, 970, 5, 204, 103, 2, 970, 971, 7, 123, 2, 2, 971, 981, 3, 2, 2, 2, 972, 973, 7, 124, 2, 2, 973, 974, 5, 204, 103, 2, 974, 975, 7, 124, 2, 2, 975, 981, 3, 2, 2, 2, 976, 977, 7, 125, 2, 2, 977, 978, 5, 204, 103, 2, 978, 979, 7, 125, 2, 2, 979, 981, 3, 2, 2, 2, 980, 957, 3, 2, 2, 2, 980, 968, 3, 2, 2, 2, 980, 972, 3, 2, 2, 2, 980, 976, 3, 2, 2, 2, 981, 205, 3, 2, 2, 2, 982, 996, 7, 32, 2, 2, 983, 996, 5, 80, 41, 2, 984, 996, 7, 225, 2, 2, 985, 996, 7, 203, 2, 2, 986, 996, 7, 223, 2, 2, 987, 996, 7, 150, 2, 2, 988, 996, 7, 151, 2, 2, 989, 996, 5, 194, 98, 2, 990, 996, 7, 294, 2, 2, 991, 996, 5, 156, 79, 2, 992, 996, 5, 154, 78, 2, 993, 996, 5, 162, 82, 2, 994, 996, 5, 150, 76, 2, 995, 982, 3, 2, 2, 2, 995, 983, 3, 2, 2, 2, 995, 984, 3, 2, 2, 2, 995, 985, 3, 2, 2, 2, 995, 986, 3, 2, 2, 2, 995, 987, 3, 2, 2, 2, 995, 988, 3, 2, 2, 2, 995, 989, 3, 2, 2, 2, 995, 990, 3, 2, 2, 2, 995, 991, 3, 2, 2, 2, 995, 992, 3, 2, 2, 2, 995, 993, 3, 2, 2, 2, 995, 994, 3, 2, 2, 2, 996, 207, 3, 2, 2, 2, 85, 209, 218, 224, 242, 245, 249, 255, 260, 273, 283, 290, 295, 300, 307, 311, 316, 320, 326, 331, 342, 347, 351, 355, 359, 364, 378, 389, 397, 409, 415, 454, 460, 479, 486, 505, 510, 518, 527, 537, 554, 563, 578, 586, 593, 599, 601, 612, 622, 630, 638, 643, 651, 662, 675, 685, 692, 704, 712, 716, 741, 774, 781, 788, 791, 796, 814, 818, 822, 828, 852, 880, 889, 894, 903, 924, 934, 942, 946, 955, 962, 966, 980, 995]
\ No newline at end of file
diff --git a/common/query_manager/antlr/output/OpenSearchPPLParser.tokens b/common/query_manager/antlr/output/OpenSearchPPLParser.tokens
new file mode 100644
index 0000000000..303e66c7ad
--- /dev/null
+++ b/common/query_manager/antlr/output/OpenSearchPPLParser.tokens
@@ -0,0 +1,603 @@
+SEARCH=1
+DESCRIBE=2
+SHOW=3
+FROM=4
+WHERE=5
+FIELDS=6
+RENAME=7
+STATS=8
+DEDUP=9
+SORT=10
+EVAL=11
+HEAD=12
+TOP=13
+RARE=14
+PARSE=15
+METHOD=16
+REGEX=17
+PUNCT=18
+GROK=19
+PATTERN=20
+PATTERNS=21
+NEW_FIELD=22
+KMEANS=23
+AD=24
+ML=25
+AS=26
+BY=27
+SOURCE=28
+INDEX=29
+D=30
+DESC=31
+CATALOGS=32
+SORTBY=33
+AUTO=34
+STR=35
+IP=36
+NUM=37
+KEEPEMPTY=38
+CONSECUTIVE=39
+DEDUP_SPLITVALUES=40
+PARTITIONS=41
+ALLNUM=42
+DELIM=43
+CENTROIDS=44
+ITERATIONS=45
+DISTANCE_TYPE=46
+NUMBER_OF_TREES=47
+SHINGLE_SIZE=48
+SAMPLE_SIZE=49
+OUTPUT_AFTER=50
+TIME_DECAY=51
+ANOMALY_RATE=52
+CATEGORY_FIELD=53
+TIME_FIELD=54
+TIME_ZONE=55
+TRAINING_DATA_SIZE=56
+ANOMALY_SCORE_THRESHOLD=57
+CASE=58
+IN=59
+NOT=60
+OR=61
+AND=62
+XOR=63
+TRUE=64
+FALSE=65
+REGEXP=66
+DATETIME=67
+INTERVAL=68
+MICROSECOND=69
+MILLISECOND=70
+SECOND=71
+MINUTE=72
+HOUR=73
+DAY=74
+WEEK=75
+MONTH=76
+QUARTER=77
+YEAR=78
+SECOND_MICROSECOND=79
+MINUTE_MICROSECOND=80
+MINUTE_SECOND=81
+HOUR_MICROSECOND=82
+HOUR_SECOND=83
+HOUR_MINUTE=84
+DAY_MICROSECOND=85
+DAY_SECOND=86
+DAY_MINUTE=87
+DAY_HOUR=88
+YEAR_MONTH=89
+CONVERT_TZ=90
+DATAMODEL=91
+LOOKUP=92
+SAVEDSEARCH=93
+INT=94
+INTEGER=95
+DOUBLE=96
+LONG=97
+FLOAT=98
+STRING=99
+BOOLEAN=100
+PIPE=101
+COMMA=102
+DOT=103
+EQUAL=104
+GREATER=105
+LESS=106
+NOT_GREATER=107
+NOT_LESS=108
+NOT_EQUAL=109
+PLUS=110
+MINUS=111
+STAR=112
+DIVIDE=113
+MODULE=114
+EXCLAMATION_SYMBOL=115
+COLON=116
+LT_PRTHS=117
+RT_PRTHS=118
+LT_SQR_PRTHS=119
+RT_SQR_PRTHS=120
+SINGLE_QUOTE=121
+DOUBLE_QUOTE=122
+BACKTICK=123
+BIT_NOT_OP=124
+BIT_AND_OP=125
+BIT_XOR_OP=126
+AVG=127
+COUNT=128
+DISTINCT_COUNT=129
+ESTDC=130
+ESTDC_ERROR=131
+MAX=132
+MEAN=133
+MEDIAN=134
+MIN=135
+MODE=136
+RANGE=137
+STDEV=138
+STDEVP=139
+SUM=140
+SUMSQ=141
+VAR_SAMP=142
+VAR_POP=143
+STDDEV_SAMP=144
+STDDEV_POP=145
+PERCENTILE=146
+TAKE=147
+FIRST=148
+LAST=149
+LIST=150
+VALUES=151
+EARLIEST=152
+EARLIEST_TIME=153
+LATEST=154
+LATEST_TIME=155
+PER_DAY=156
+PER_HOUR=157
+PER_MINUTE=158
+PER_SECOND=159
+RATE=160
+SPARKLINE=161
+C=162
+DC=163
+ABS=164
+CEIL=165
+CEILING=166
+CONV=167
+CRC32=168
+E=169
+EXP=170
+FLOOR=171
+LN=172
+LOG=173
+LOG10=174
+LOG2=175
+MOD=176
+PI=177
+POW=178
+POWER=179
+RAND=180
+ROUND=181
+SIGN=182
+SQRT=183
+TRUNCATE=184
+ACOS=185
+ASIN=186
+ATAN=187
+ATAN2=188
+COS=189
+COT=190
+DEGREES=191
+RADIANS=192
+SIN=193
+TAN=194
+ADDDATE=195
+CURDATE=196
+CURRENT_DATE=197
+CURRENT_TIME=198
+CURRENT_TIMESTAMP=199
+CURTIME=200
+DATE=201
+DATE_ADD=202
+DATE_FORMAT=203
+DATE_SUB=204
+DAYNAME=205
+DAYOFMONTH=206
+DAYOFWEEK=207
+DAYOFYEAR=208
+FROM_DAYS=209
+LOCALTIME=210
+LOCALTIMESTAMP=211
+FROM_UNIXTIME=212
+MAKEDATE=213
+MAKETIME=214
+MONTHNAME=215
+NOW=216
+PERIOD_ADD=217
+PERIOD_DIFF=218
+SUBDATE=219
+SYSDATE=220
+TIME=221
+TIME_TO_SEC=222
+TIMESTAMP=223
+TO_DAYS=224
+UTC_DATE=225
+UTC_TIME=226
+UTC_TIMESTAMP=227
+UNIX_TIMESTAMP=228
+SUBSTR=229
+SUBSTRING=230
+LTRIM=231
+RTRIM=232
+TRIM=233
+TO=234
+LOWER=235
+UPPER=236
+CONCAT=237
+CONCAT_WS=238
+LENGTH=239
+STRCMP=240
+RIGHT=241
+LEFT=242
+ASCII=243
+LOCATE=244
+REPLACE=245
+CAST=246
+LIKE=247
+ISNULL=248
+ISNOTNULL=249
+IFNULL=250
+NULLIF=251
+IF=252
+TYPEOF=253
+MATCH=254
+MATCH_PHRASE=255
+MATCH_PHRASE_PREFIX=256
+MATCH_BOOL_PREFIX=257
+SIMPLE_QUERY_STRING=258
+MULTI_MATCH=259
+QUERY_STRING=260
+ALLOW_LEADING_WILDCARD=261
+ANALYZE_WILDCARD=262
+ANALYZER=263
+AUTO_GENERATE_SYNONYMS_PHRASE_QUERY=264
+BOOST=265
+CUTOFF_FREQUENCY=266
+DEFAULT_FIELD=267
+DEFAULT_OPERATOR=268
+ENABLE_POSITION_INCREMENTS=269
+ESCAPE=270
+FLAGS=271
+FUZZY_MAX_EXPANSIONS=272
+FUZZY_PREFIX_LENGTH=273
+FUZZY_TRANSPOSITIONS=274
+FUZZY_REWRITE=275
+FUZZINESS=276
+LENIENT=277
+LOW_FREQ_OPERATOR=278
+MAX_DETERMINIZED_STATES=279
+MAX_EXPANSIONS=280
+MINIMUM_SHOULD_MATCH=281
+OPERATOR=282
+PHRASE_SLOP=283
+PREFIX_LENGTH=284
+QUOTE_ANALYZER=285
+QUOTE_FIELD_SUFFIX=286
+REWRITE=287
+SLOP=288
+TIE_BREAKER=289
+TYPE=290
+ZERO_TERMS_QUERY=291
+SPAN=292
+MS=293
+S=294
+M=295
+H=296
+W=297
+Q=298
+Y=299
+ID=300
+INTEGER_LITERAL=301
+DECIMAL_LITERAL=302
+ID_DATE_SUFFIX=303
+DQUOTA_STRING=304
+SQUOTA_STRING=305
+BQUOTA_STRING=306
+ERROR_RECOGNITION=307
+'SEARCH'=1
+'DESCRIBE'=2
+'SHOW'=3
+'FROM'=4
+'WHERE'=5
+'FIELDS'=6
+'RENAME'=7
+'STATS'=8
+'DEDUP'=9
+'SORT'=10
+'EVAL'=11
+'HEAD'=12
+'TOP'=13
+'RARE'=14
+'PARSE'=15
+'METHOD'=16
+'REGEX'=17
+'PUNCT'=18
+'GROK'=19
+'PATTERN'=20
+'PATTERNS'=21
+'NEW_FIELD'=22
+'KMEANS'=23
+'AD'=24
+'ML'=25
+'AS'=26
+'BY'=27
+'SOURCE'=28
+'INDEX'=29
+'D'=30
+'DESC'=31
+'CATALOGS'=32
+'SORTBY'=33
+'AUTO'=34
+'STR'=35
+'IP'=36
+'NUM'=37
+'KEEPEMPTY'=38
+'CONSECUTIVE'=39
+'DEDUP_SPLITVALUES'=40
+'PARTITIONS'=41
+'ALLNUM'=42
+'DELIM'=43
+'CENTROIDS'=44
+'ITERATIONS'=45
+'DISTANCE_TYPE'=46
+'NUMBER_OF_TREES'=47
+'SHINGLE_SIZE'=48
+'SAMPLE_SIZE'=49
+'OUTPUT_AFTER'=50
+'TIME_DECAY'=51
+'ANOMALY_RATE'=52
+'CATEGORY_FIELD'=53
+'TIME_FIELD'=54
+'TIME_ZONE'=55
+'TRAINING_DATA_SIZE'=56
+'ANOMALY_SCORE_THRESHOLD'=57
+'CASE'=58
+'IN'=59
+'NOT'=60
+'OR'=61
+'AND'=62
+'XOR'=63
+'TRUE'=64
+'FALSE'=65
+'REGEXP'=66
+'DATETIME'=67
+'INTERVAL'=68
+'MICROSECOND'=69
+'MILLISECOND'=70
+'SECOND'=71
+'MINUTE'=72
+'HOUR'=73
+'DAY'=74
+'WEEK'=75
+'MONTH'=76
+'QUARTER'=77
+'YEAR'=78
+'SECOND_MICROSECOND'=79
+'MINUTE_MICROSECOND'=80
+'MINUTE_SECOND'=81
+'HOUR_MICROSECOND'=82
+'HOUR_SECOND'=83
+'HOUR_MINUTE'=84
+'DAY_MICROSECOND'=85
+'DAY_SECOND'=86
+'DAY_MINUTE'=87
+'DAY_HOUR'=88
+'YEAR_MONTH'=89
+'CONVERT_TZ'=90
+'DATAMODEL'=91
+'LOOKUP'=92
+'SAVEDSEARCH'=93
+'INT'=94
+'INTEGER'=95
+'DOUBLE'=96
+'LONG'=97
+'FLOAT'=98
+'STRING'=99
+'BOOLEAN'=100
+'|'=101
+','=102
+'.'=103
+'='=104
+'>'=105
+'<'=106
+'+'=110
+'-'=111
+'*'=112
+'/'=113
+'%'=114
+'!'=115
+':'=116
+'('=117
+')'=118
+'['=119
+']'=120
+'\''=121
+'"'=122
+'`'=123
+'~'=124
+'&'=125
+'^'=126
+'AVG'=127
+'COUNT'=128
+'DISTINCT_COUNT'=129
+'ESTDC'=130
+'ESTDC_ERROR'=131
+'MAX'=132
+'MEAN'=133
+'MEDIAN'=134
+'MIN'=135
+'MODE'=136
+'RANGE'=137
+'STDEV'=138
+'STDEVP'=139
+'SUM'=140
+'SUMSQ'=141
+'VAR_SAMP'=142
+'VAR_POP'=143
+'STDDEV_SAMP'=144
+'STDDEV_POP'=145
+'PERCENTILE'=146
+'TAKE'=147
+'FIRST'=148
+'LAST'=149
+'LIST'=150
+'VALUES'=151
+'EARLIEST'=152
+'EARLIEST_TIME'=153
+'LATEST'=154
+'LATEST_TIME'=155
+'PER_DAY'=156
+'PER_HOUR'=157
+'PER_MINUTE'=158
+'PER_SECOND'=159
+'RATE'=160
+'SPARKLINE'=161
+'C'=162
+'DC'=163
+'ABS'=164
+'CEIL'=165
+'CEILING'=166
+'CONV'=167
+'CRC32'=168
+'E'=169
+'EXP'=170
+'FLOOR'=171
+'LN'=172
+'LOG'=173
+'LOG10'=174
+'LOG2'=175
+'MOD'=176
+'PI'=177
+'POW'=178
+'POWER'=179
+'RAND'=180
+'ROUND'=181
+'SIGN'=182
+'SQRT'=183
+'TRUNCATE'=184
+'ACOS'=185
+'ASIN'=186
+'ATAN'=187
+'ATAN2'=188
+'COS'=189
+'COT'=190
+'DEGREES'=191
+'RADIANS'=192
+'SIN'=193
+'TAN'=194
+'ADDDATE'=195
+'CURDATE'=196
+'CURRENT_DATE'=197
+'CURRENT_TIME'=198
+'CURRENT_TIMESTAMP'=199
+'CURTIME'=200
+'DATE'=201
+'DATE_ADD'=202
+'DATE_FORMAT'=203
+'DATE_SUB'=204
+'DAYNAME'=205
+'DAYOFMONTH'=206
+'DAYOFWEEK'=207
+'DAYOFYEAR'=208
+'FROM_DAYS'=209
+'LOCALTIME'=210
+'LOCALTIMESTAMP'=211
+'FROM_UNIXTIME'=212
+'MAKEDATE'=213
+'MAKETIME'=214
+'MONTHNAME'=215
+'NOW'=216
+'PERIOD_ADD'=217
+'PERIOD_DIFF'=218
+'SUBDATE'=219
+'SYSDATE'=220
+'TIME'=221
+'TIME_TO_SEC'=222
+'TIMESTAMP'=223
+'TO_DAYS'=224
+'UTC_DATE'=225
+'UTC_TIME'=226
+'UTC_TIMESTAMP'=227
+'UNIX_TIMESTAMP'=228
+'SUBSTR'=229
+'SUBSTRING'=230
+'LTRIM'=231
+'RTRIM'=232
+'TRIM'=233
+'TO'=234
+'LOWER'=235
+'UPPER'=236
+'CONCAT'=237
+'CONCAT_WS'=238
+'LENGTH'=239
+'STRCMP'=240
+'RIGHT'=241
+'LEFT'=242
+'ASCII'=243
+'LOCATE'=244
+'REPLACE'=245
+'CAST'=246
+'LIKE'=247
+'ISNULL'=248
+'ISNOTNULL'=249
+'IFNULL'=250
+'NULLIF'=251
+'IF'=252
+'TYPEOF'=253
+'MATCH'=254
+'MATCH_PHRASE'=255
+'MATCH_PHRASE_PREFIX'=256
+'MATCH_BOOL_PREFIX'=257
+'SIMPLE_QUERY_STRING'=258
+'MULTI_MATCH'=259
+'QUERY_STRING'=260
+'ALLOW_LEADING_WILDCARD'=261
+'ANALYZE_WILDCARD'=262
+'ANALYZER'=263
+'AUTO_GENERATE_SYNONYMS_PHRASE_QUERY'=264
+'BOOST'=265
+'CUTOFF_FREQUENCY'=266
+'DEFAULT_FIELD'=267
+'DEFAULT_OPERATOR'=268
+'ENABLE_POSITION_INCREMENTS'=269
+'ESCAPE'=270
+'FLAGS'=271
+'FUZZY_MAX_EXPANSIONS'=272
+'FUZZY_PREFIX_LENGTH'=273
+'FUZZY_TRANSPOSITIONS'=274
+'FUZZY_REWRITE'=275
+'FUZZINESS'=276
+'LENIENT'=277
+'LOW_FREQ_OPERATOR'=278
+'MAX_DETERMINIZED_STATES'=279
+'MAX_EXPANSIONS'=280
+'MINIMUM_SHOULD_MATCH'=281
+'OPERATOR'=282
+'PHRASE_SLOP'=283
+'PREFIX_LENGTH'=284
+'QUOTE_ANALYZER'=285
+'QUOTE_FIELD_SUFFIX'=286
+'REWRITE'=287
+'SLOP'=288
+'TIE_BREAKER'=289
+'TYPE'=290
+'ZERO_TERMS_QUERY'=291
+'SPAN'=292
+'MS'=293
+'S'=294
+'M'=295
+'H'=296
+'W'=297
+'Q'=298
+'Y'=299
diff --git a/common/query_manager/antlr/output/OpenSearchPPLParser.ts b/common/query_manager/antlr/output/OpenSearchPPLParser.ts
new file mode 100644
index 0000000000..88d1a7e637
--- /dev/null
+++ b/common/query_manager/antlr/output/OpenSearchPPLParser.ts
@@ -0,0 +1,11912 @@
+// Generated from ./common/query_manager/antlr/grammar/OpenSearchPPLParser.g4 by ANTLR 4.9.0-SNAPSHOT
+
+
+import { ATN } from "antlr4ts/atn/ATN";
+import { ATNDeserializer } from "antlr4ts/atn/ATNDeserializer";
+import { FailedPredicateException } from "antlr4ts/FailedPredicateException";
+import { NotNull } from "antlr4ts/Decorators";
+import { NoViableAltException } from "antlr4ts/NoViableAltException";
+import { Override } from "antlr4ts/Decorators";
+import { Parser } from "antlr4ts/Parser";
+import { ParserRuleContext } from "antlr4ts/ParserRuleContext";
+import { ParserATNSimulator } from "antlr4ts/atn/ParserATNSimulator";
+import { ParseTreeListener } from "antlr4ts/tree/ParseTreeListener";
+import { ParseTreeVisitor } from "antlr4ts/tree/ParseTreeVisitor";
+import { RecognitionException } from "antlr4ts/RecognitionException";
+import { RuleContext } from "antlr4ts/RuleContext";
+//import { RuleVersion } from "antlr4ts/RuleVersion";
+import { TerminalNode } from "antlr4ts/tree/TerminalNode";
+import { Token } from "antlr4ts/Token";
+import { TokenStream } from "antlr4ts/TokenStream";
+import { Vocabulary } from "antlr4ts/Vocabulary";
+import { VocabularyImpl } from "antlr4ts/VocabularyImpl";
+
+import * as Utils from "antlr4ts/misc/Utils";
+
+import { OpenSearchPPLParserListener } from "./OpenSearchPPLParserListener";
+import { OpenSearchPPLParserVisitor } from "./OpenSearchPPLParserVisitor";
+
+
+export class OpenSearchPPLParser extends Parser {
+ public static readonly SEARCH = 1;
+ public static readonly DESCRIBE = 2;
+ public static readonly SHOW = 3;
+ public static readonly FROM = 4;
+ public static readonly WHERE = 5;
+ public static readonly FIELDS = 6;
+ public static readonly RENAME = 7;
+ public static readonly STATS = 8;
+ public static readonly DEDUP = 9;
+ public static readonly SORT = 10;
+ public static readonly EVAL = 11;
+ public static readonly HEAD = 12;
+ public static readonly TOP = 13;
+ public static readonly RARE = 14;
+ public static readonly PARSE = 15;
+ public static readonly METHOD = 16;
+ public static readonly REGEX = 17;
+ public static readonly PUNCT = 18;
+ public static readonly GROK = 19;
+ public static readonly PATTERN = 20;
+ public static readonly PATTERNS = 21;
+ public static readonly NEW_FIELD = 22;
+ public static readonly KMEANS = 23;
+ public static readonly AD = 24;
+ public static readonly ML = 25;
+ public static readonly AS = 26;
+ public static readonly BY = 27;
+ public static readonly SOURCE = 28;
+ public static readonly INDEX = 29;
+ public static readonly D = 30;
+ public static readonly DESC = 31;
+ public static readonly CATALOGS = 32;
+ public static readonly SORTBY = 33;
+ public static readonly AUTO = 34;
+ public static readonly STR = 35;
+ public static readonly IP = 36;
+ public static readonly NUM = 37;
+ public static readonly KEEPEMPTY = 38;
+ public static readonly CONSECUTIVE = 39;
+ public static readonly DEDUP_SPLITVALUES = 40;
+ public static readonly PARTITIONS = 41;
+ public static readonly ALLNUM = 42;
+ public static readonly DELIM = 43;
+ public static readonly CENTROIDS = 44;
+ public static readonly ITERATIONS = 45;
+ public static readonly DISTANCE_TYPE = 46;
+ public static readonly NUMBER_OF_TREES = 47;
+ public static readonly SHINGLE_SIZE = 48;
+ public static readonly SAMPLE_SIZE = 49;
+ public static readonly OUTPUT_AFTER = 50;
+ public static readonly TIME_DECAY = 51;
+ public static readonly ANOMALY_RATE = 52;
+ public static readonly CATEGORY_FIELD = 53;
+ public static readonly TIME_FIELD = 54;
+ public static readonly TIME_ZONE = 55;
+ public static readonly TRAINING_DATA_SIZE = 56;
+ public static readonly ANOMALY_SCORE_THRESHOLD = 57;
+ public static readonly CASE = 58;
+ public static readonly IN = 59;
+ public static readonly NOT = 60;
+ public static readonly OR = 61;
+ public static readonly AND = 62;
+ public static readonly XOR = 63;
+ public static readonly TRUE = 64;
+ public static readonly FALSE = 65;
+ public static readonly REGEXP = 66;
+ public static readonly DATETIME = 67;
+ public static readonly INTERVAL = 68;
+ public static readonly MICROSECOND = 69;
+ public static readonly MILLISECOND = 70;
+ public static readonly SECOND = 71;
+ public static readonly MINUTE = 72;
+ public static readonly HOUR = 73;
+ public static readonly DAY = 74;
+ public static readonly WEEK = 75;
+ public static readonly MONTH = 76;
+ public static readonly QUARTER = 77;
+ public static readonly YEAR = 78;
+ public static readonly SECOND_MICROSECOND = 79;
+ public static readonly MINUTE_MICROSECOND = 80;
+ public static readonly MINUTE_SECOND = 81;
+ public static readonly HOUR_MICROSECOND = 82;
+ public static readonly HOUR_SECOND = 83;
+ public static readonly HOUR_MINUTE = 84;
+ public static readonly DAY_MICROSECOND = 85;
+ public static readonly DAY_SECOND = 86;
+ public static readonly DAY_MINUTE = 87;
+ public static readonly DAY_HOUR = 88;
+ public static readonly YEAR_MONTH = 89;
+ public static readonly CONVERT_TZ = 90;
+ public static readonly DATAMODEL = 91;
+ public static readonly LOOKUP = 92;
+ public static readonly SAVEDSEARCH = 93;
+ public static readonly INT = 94;
+ public static readonly INTEGER = 95;
+ public static readonly DOUBLE = 96;
+ public static readonly LONG = 97;
+ public static readonly FLOAT = 98;
+ public static readonly STRING = 99;
+ public static readonly BOOLEAN = 100;
+ public static readonly PIPE = 101;
+ public static readonly COMMA = 102;
+ public static readonly DOT = 103;
+ public static readonly EQUAL = 104;
+ public static readonly GREATER = 105;
+ public static readonly LESS = 106;
+ public static readonly NOT_GREATER = 107;
+ public static readonly NOT_LESS = 108;
+ public static readonly NOT_EQUAL = 109;
+ public static readonly PLUS = 110;
+ public static readonly MINUS = 111;
+ public static readonly STAR = 112;
+ public static readonly DIVIDE = 113;
+ public static readonly MODULE = 114;
+ public static readonly EXCLAMATION_SYMBOL = 115;
+ public static readonly COLON = 116;
+ public static readonly LT_PRTHS = 117;
+ public static readonly RT_PRTHS = 118;
+ public static readonly LT_SQR_PRTHS = 119;
+ public static readonly RT_SQR_PRTHS = 120;
+ public static readonly SINGLE_QUOTE = 121;
+ public static readonly DOUBLE_QUOTE = 122;
+ public static readonly BACKTICK = 123;
+ public static readonly BIT_NOT_OP = 124;
+ public static readonly BIT_AND_OP = 125;
+ public static readonly BIT_XOR_OP = 126;
+ public static readonly AVG = 127;
+ public static readonly COUNT = 128;
+ public static readonly DISTINCT_COUNT = 129;
+ public static readonly ESTDC = 130;
+ public static readonly ESTDC_ERROR = 131;
+ public static readonly MAX = 132;
+ public static readonly MEAN = 133;
+ public static readonly MEDIAN = 134;
+ public static readonly MIN = 135;
+ public static readonly MODE = 136;
+ public static readonly RANGE = 137;
+ public static readonly STDEV = 138;
+ public static readonly STDEVP = 139;
+ public static readonly SUM = 140;
+ public static readonly SUMSQ = 141;
+ public static readonly VAR_SAMP = 142;
+ public static readonly VAR_POP = 143;
+ public static readonly STDDEV_SAMP = 144;
+ public static readonly STDDEV_POP = 145;
+ public static readonly PERCENTILE = 146;
+ public static readonly TAKE = 147;
+ public static readonly FIRST = 148;
+ public static readonly LAST = 149;
+ public static readonly LIST = 150;
+ public static readonly VALUES = 151;
+ public static readonly EARLIEST = 152;
+ public static readonly EARLIEST_TIME = 153;
+ public static readonly LATEST = 154;
+ public static readonly LATEST_TIME = 155;
+ public static readonly PER_DAY = 156;
+ public static readonly PER_HOUR = 157;
+ public static readonly PER_MINUTE = 158;
+ public static readonly PER_SECOND = 159;
+ public static readonly RATE = 160;
+ public static readonly SPARKLINE = 161;
+ public static readonly C = 162;
+ public static readonly DC = 163;
+ public static readonly ABS = 164;
+ public static readonly CEIL = 165;
+ public static readonly CEILING = 166;
+ public static readonly CONV = 167;
+ public static readonly CRC32 = 168;
+ public static readonly E = 169;
+ public static readonly EXP = 170;
+ public static readonly FLOOR = 171;
+ public static readonly LN = 172;
+ public static readonly LOG = 173;
+ public static readonly LOG10 = 174;
+ public static readonly LOG2 = 175;
+ public static readonly MOD = 176;
+ public static readonly PI = 177;
+ public static readonly POW = 178;
+ public static readonly POWER = 179;
+ public static readonly RAND = 180;
+ public static readonly ROUND = 181;
+ public static readonly SIGN = 182;
+ public static readonly SQRT = 183;
+ public static readonly TRUNCATE = 184;
+ public static readonly ACOS = 185;
+ public static readonly ASIN = 186;
+ public static readonly ATAN = 187;
+ public static readonly ATAN2 = 188;
+ public static readonly COS = 189;
+ public static readonly COT = 190;
+ public static readonly DEGREES = 191;
+ public static readonly RADIANS = 192;
+ public static readonly SIN = 193;
+ public static readonly TAN = 194;
+ public static readonly ADDDATE = 195;
+ public static readonly CURDATE = 196;
+ public static readonly CURRENT_DATE = 197;
+ public static readonly CURRENT_TIME = 198;
+ public static readonly CURRENT_TIMESTAMP = 199;
+ public static readonly CURTIME = 200;
+ public static readonly DATE = 201;
+ public static readonly DATE_ADD = 202;
+ public static readonly DATE_FORMAT = 203;
+ public static readonly DATE_SUB = 204;
+ public static readonly DAYNAME = 205;
+ public static readonly DAYOFMONTH = 206;
+ public static readonly DAYOFWEEK = 207;
+ public static readonly DAYOFYEAR = 208;
+ public static readonly FROM_DAYS = 209;
+ public static readonly LOCALTIME = 210;
+ public static readonly LOCALTIMESTAMP = 211;
+ public static readonly FROM_UNIXTIME = 212;
+ public static readonly MAKEDATE = 213;
+ public static readonly MAKETIME = 214;
+ public static readonly MONTHNAME = 215;
+ public static readonly NOW = 216;
+ public static readonly PERIOD_ADD = 217;
+ public static readonly PERIOD_DIFF = 218;
+ public static readonly SUBDATE = 219;
+ public static readonly SYSDATE = 220;
+ public static readonly TIME = 221;
+ public static readonly TIME_TO_SEC = 222;
+ public static readonly TIMESTAMP = 223;
+ public static readonly TO_DAYS = 224;
+ public static readonly UTC_DATE = 225;
+ public static readonly UTC_TIME = 226;
+ public static readonly UTC_TIMESTAMP = 227;
+ public static readonly UNIX_TIMESTAMP = 228;
+ public static readonly SUBSTR = 229;
+ public static readonly SUBSTRING = 230;
+ public static readonly LTRIM = 231;
+ public static readonly RTRIM = 232;
+ public static readonly TRIM = 233;
+ public static readonly TO = 234;
+ public static readonly LOWER = 235;
+ public static readonly UPPER = 236;
+ public static readonly CONCAT = 237;
+ public static readonly CONCAT_WS = 238;
+ public static readonly LENGTH = 239;
+ public static readonly STRCMP = 240;
+ public static readonly RIGHT = 241;
+ public static readonly LEFT = 242;
+ public static readonly ASCII = 243;
+ public static readonly LOCATE = 244;
+ public static readonly REPLACE = 245;
+ public static readonly CAST = 246;
+ public static readonly LIKE = 247;
+ public static readonly ISNULL = 248;
+ public static readonly ISNOTNULL = 249;
+ public static readonly IFNULL = 250;
+ public static readonly NULLIF = 251;
+ public static readonly IF = 252;
+ public static readonly TYPEOF = 253;
+ public static readonly MATCH = 254;
+ public static readonly MATCH_PHRASE = 255;
+ public static readonly MATCH_PHRASE_PREFIX = 256;
+ public static readonly MATCH_BOOL_PREFIX = 257;
+ public static readonly SIMPLE_QUERY_STRING = 258;
+ public static readonly MULTI_MATCH = 259;
+ public static readonly QUERY_STRING = 260;
+ public static readonly ALLOW_LEADING_WILDCARD = 261;
+ public static readonly ANALYZE_WILDCARD = 262;
+ public static readonly ANALYZER = 263;
+ public static readonly AUTO_GENERATE_SYNONYMS_PHRASE_QUERY = 264;
+ public static readonly BOOST = 265;
+ public static readonly CUTOFF_FREQUENCY = 266;
+ public static readonly DEFAULT_FIELD = 267;
+ public static readonly DEFAULT_OPERATOR = 268;
+ public static readonly ENABLE_POSITION_INCREMENTS = 269;
+ public static readonly ESCAPE = 270;
+ public static readonly FLAGS = 271;
+ public static readonly FUZZY_MAX_EXPANSIONS = 272;
+ public static readonly FUZZY_PREFIX_LENGTH = 273;
+ public static readonly FUZZY_TRANSPOSITIONS = 274;
+ public static readonly FUZZY_REWRITE = 275;
+ public static readonly FUZZINESS = 276;
+ public static readonly LENIENT = 277;
+ public static readonly LOW_FREQ_OPERATOR = 278;
+ public static readonly MAX_DETERMINIZED_STATES = 279;
+ public static readonly MAX_EXPANSIONS = 280;
+ public static readonly MINIMUM_SHOULD_MATCH = 281;
+ public static readonly OPERATOR = 282;
+ public static readonly PHRASE_SLOP = 283;
+ public static readonly PREFIX_LENGTH = 284;
+ public static readonly QUOTE_ANALYZER = 285;
+ public static readonly QUOTE_FIELD_SUFFIX = 286;
+ public static readonly REWRITE = 287;
+ public static readonly SLOP = 288;
+ public static readonly TIE_BREAKER = 289;
+ public static readonly TYPE = 290;
+ public static readonly ZERO_TERMS_QUERY = 291;
+ public static readonly SPAN = 292;
+ public static readonly MS = 293;
+ public static readonly S = 294;
+ public static readonly M = 295;
+ public static readonly H = 296;
+ public static readonly W = 297;
+ public static readonly Q = 298;
+ public static readonly Y = 299;
+ public static readonly ID = 300;
+ public static readonly INTEGER_LITERAL = 301;
+ public static readonly DECIMAL_LITERAL = 302;
+ public static readonly ID_DATE_SUFFIX = 303;
+ public static readonly DQUOTA_STRING = 304;
+ public static readonly SQUOTA_STRING = 305;
+ public static readonly BQUOTA_STRING = 306;
+ public static readonly ERROR_RECOGNITION = 307;
+ public static readonly RULE_root = 0;
+ public static readonly RULE_pplStatement = 1;
+ public static readonly RULE_pplCommands = 2;
+ public static readonly RULE_commands = 3;
+ public static readonly RULE_searchCommand = 4;
+ public static readonly RULE_describeCommand = 5;
+ public static readonly RULE_showCatalogsCommand = 6;
+ public static readonly RULE_whereCommand = 7;
+ public static readonly RULE_fieldsCommand = 8;
+ public static readonly RULE_renameCommand = 9;
+ public static readonly RULE_statsCommand = 10;
+ public static readonly RULE_dedupCommand = 11;
+ public static readonly RULE_sortCommand = 12;
+ public static readonly RULE_evalCommand = 13;
+ public static readonly RULE_headCommand = 14;
+ public static readonly RULE_topCommand = 15;
+ public static readonly RULE_rareCommand = 16;
+ public static readonly RULE_grokCommand = 17;
+ public static readonly RULE_parseCommand = 18;
+ public static readonly RULE_patternsCommand = 19;
+ public static readonly RULE_patternsParameter = 20;
+ public static readonly RULE_patternsMethod = 21;
+ public static readonly RULE_kmeansCommand = 22;
+ public static readonly RULE_kmeansParameter = 23;
+ public static readonly RULE_adCommand = 24;
+ public static readonly RULE_adParameter = 25;
+ public static readonly RULE_mlCommand = 26;
+ public static readonly RULE_mlArg = 27;
+ public static readonly RULE_fromClause = 28;
+ public static readonly RULE_tableSourceClause = 29;
+ public static readonly RULE_renameClasue = 30;
+ public static readonly RULE_byClause = 31;
+ public static readonly RULE_statsByClause = 32;
+ public static readonly RULE_bySpanClause = 33;
+ public static readonly RULE_spanClause = 34;
+ public static readonly RULE_sortbyClause = 35;
+ public static readonly RULE_evalClause = 36;
+ public static readonly RULE_statsAggTerm = 37;
+ public static readonly RULE_statsFunction = 38;
+ public static readonly RULE_statsFunctionName = 39;
+ public static readonly RULE_takeAggFunction = 40;
+ public static readonly RULE_percentileAggFunction = 41;
+ public static readonly RULE_expression = 42;
+ public static readonly RULE_logicalExpression = 43;
+ public static readonly RULE_comparisonExpression = 44;
+ public static readonly RULE_valueExpression = 45;
+ public static readonly RULE_primaryExpression = 46;
+ public static readonly RULE_constantFunction = 47;
+ public static readonly RULE_booleanExpression = 48;
+ public static readonly RULE_relevanceExpression = 49;
+ public static readonly RULE_singleFieldRelevanceFunction = 50;
+ public static readonly RULE_multiFieldRelevanceFunction = 51;
+ public static readonly RULE_tableSource = 52;
+ public static readonly RULE_tableFunction = 53;
+ public static readonly RULE_fieldList = 54;
+ public static readonly RULE_wcFieldList = 55;
+ public static readonly RULE_sortField = 56;
+ public static readonly RULE_sortFieldExpression = 57;
+ public static readonly RULE_fieldExpression = 58;
+ public static readonly RULE_wcFieldExpression = 59;
+ public static readonly RULE_evalFunctionCall = 60;
+ public static readonly RULE_dataTypeFunctionCall = 61;
+ public static readonly RULE_booleanFunctionCall = 62;
+ public static readonly RULE_convertedDataType = 63;
+ public static readonly RULE_evalFunctionName = 64;
+ public static readonly RULE_functionArgs = 65;
+ public static readonly RULE_functionArg = 66;
+ public static readonly RULE_relevanceArg = 67;
+ public static readonly RULE_relevanceArgName = 68;
+ public static readonly RULE_relevanceFieldAndWeight = 69;
+ public static readonly RULE_relevanceFieldWeight = 70;
+ public static readonly RULE_relevanceField = 71;
+ public static readonly RULE_relevanceQuery = 72;
+ public static readonly RULE_relevanceArgValue = 73;
+ public static readonly RULE_mathematicalFunctionBase = 74;
+ public static readonly RULE_trigonometricFunctionName = 75;
+ public static readonly RULE_dateAndTimeFunctionBase = 76;
+ public static readonly RULE_constantFunctionName = 77;
+ public static readonly RULE_conditionFunctionBase = 78;
+ public static readonly RULE_systemFunctionBase = 79;
+ public static readonly RULE_textFunctionBase = 80;
+ public static readonly RULE_comparisonOperator = 81;
+ public static readonly RULE_binaryOperator = 82;
+ public static readonly RULE_singleFieldRelevanceFunctionName = 83;
+ public static readonly RULE_multiFieldRelevanceFunctionName = 84;
+ public static readonly RULE_literalValue = 85;
+ public static readonly RULE_intervalLiteral = 86;
+ public static readonly RULE_stringLiteral = 87;
+ public static readonly RULE_integerLiteral = 88;
+ public static readonly RULE_decimalLiteral = 89;
+ public static readonly RULE_booleanLiteral = 90;
+ public static readonly RULE_datetimeLiteral = 91;
+ public static readonly RULE_dateLiteral = 92;
+ public static readonly RULE_timeLiteral = 93;
+ public static readonly RULE_timestampLiteral = 94;
+ public static readonly RULE_intervalUnit = 95;
+ public static readonly RULE_timespanUnit = 96;
+ public static readonly RULE_valueList = 97;
+ public static readonly RULE_qualifiedName = 98;
+ public static readonly RULE_wcQualifiedName = 99;
+ public static readonly RULE_ident = 100;
+ public static readonly RULE_wildcard = 101;
+ public static readonly RULE_keywordsCanBeId = 102;
+ // tslint:disable:no-trailing-whitespace
+ public static readonly ruleNames: string[] = [
+ "root", "pplStatement", "pplCommands", "commands", "searchCommand", "describeCommand",
+ "showCatalogsCommand", "whereCommand", "fieldsCommand", "renameCommand",
+ "statsCommand", "dedupCommand", "sortCommand", "evalCommand", "headCommand",
+ "topCommand", "rareCommand", "grokCommand", "parseCommand", "patternsCommand",
+ "patternsParameter", "patternsMethod", "kmeansCommand", "kmeansParameter",
+ "adCommand", "adParameter", "mlCommand", "mlArg", "fromClause", "tableSourceClause",
+ "renameClasue", "byClause", "statsByClause", "bySpanClause", "spanClause",
+ "sortbyClause", "evalClause", "statsAggTerm", "statsFunction", "statsFunctionName",
+ "takeAggFunction", "percentileAggFunction", "expression", "logicalExpression",
+ "comparisonExpression", "valueExpression", "primaryExpression", "constantFunction",
+ "booleanExpression", "relevanceExpression", "singleFieldRelevanceFunction",
+ "multiFieldRelevanceFunction", "tableSource", "tableFunction", "fieldList",
+ "wcFieldList", "sortField", "sortFieldExpression", "fieldExpression",
+ "wcFieldExpression", "evalFunctionCall", "dataTypeFunctionCall", "booleanFunctionCall",
+ "convertedDataType", "evalFunctionName", "functionArgs", "functionArg",
+ "relevanceArg", "relevanceArgName", "relevanceFieldAndWeight", "relevanceFieldWeight",
+ "relevanceField", "relevanceQuery", "relevanceArgValue", "mathematicalFunctionBase",
+ "trigonometricFunctionName", "dateAndTimeFunctionBase", "constantFunctionName",
+ "conditionFunctionBase", "systemFunctionBase", "textFunctionBase", "comparisonOperator",
+ "binaryOperator", "singleFieldRelevanceFunctionName", "multiFieldRelevanceFunctionName",
+ "literalValue", "intervalLiteral", "stringLiteral", "integerLiteral",
+ "decimalLiteral", "booleanLiteral", "datetimeLiteral", "dateLiteral",
+ "timeLiteral", "timestampLiteral", "intervalUnit", "timespanUnit", "valueList",
+ "qualifiedName", "wcQualifiedName", "ident", "wildcard", "keywordsCanBeId",
+ ];
+
+ private static readonly _LITERAL_NAMES: Array = [
+ undefined, "'SEARCH'", "'DESCRIBE'", "'SHOW'", "'FROM'", "'WHERE'", "'FIELDS'",
+ "'RENAME'", "'STATS'", "'DEDUP'", "'SORT'", "'EVAL'", "'HEAD'", "'TOP'",
+ "'RARE'", "'PARSE'", "'METHOD'", "'REGEX'", "'PUNCT'", "'GROK'", "'PATTERN'",
+ "'PATTERNS'", "'NEW_FIELD'", "'KMEANS'", "'AD'", "'ML'", "'AS'", "'BY'",
+ "'SOURCE'", "'INDEX'", "'D'", "'DESC'", "'CATALOGS'", "'SORTBY'", "'AUTO'",
+ "'STR'", "'IP'", "'NUM'", "'KEEPEMPTY'", "'CONSECUTIVE'", "'DEDUP_SPLITVALUES'",
+ "'PARTITIONS'", "'ALLNUM'", "'DELIM'", "'CENTROIDS'", "'ITERATIONS'",
+ "'DISTANCE_TYPE'", "'NUMBER_OF_TREES'", "'SHINGLE_SIZE'", "'SAMPLE_SIZE'",
+ "'OUTPUT_AFTER'", "'TIME_DECAY'", "'ANOMALY_RATE'", "'CATEGORY_FIELD'",
+ "'TIME_FIELD'", "'TIME_ZONE'", "'TRAINING_DATA_SIZE'", "'ANOMALY_SCORE_THRESHOLD'",
+ "'CASE'", "'IN'", "'NOT'", "'OR'", "'AND'", "'XOR'", "'TRUE'", "'FALSE'",
+ "'REGEXP'", "'DATETIME'", "'INTERVAL'", "'MICROSECOND'", "'MILLISECOND'",
+ "'SECOND'", "'MINUTE'", "'HOUR'", "'DAY'", "'WEEK'", "'MONTH'", "'QUARTER'",
+ "'YEAR'", "'SECOND_MICROSECOND'", "'MINUTE_MICROSECOND'", "'MINUTE_SECOND'",
+ "'HOUR_MICROSECOND'", "'HOUR_SECOND'", "'HOUR_MINUTE'", "'DAY_MICROSECOND'",
+ "'DAY_SECOND'", "'DAY_MINUTE'", "'DAY_HOUR'", "'YEAR_MONTH'", "'CONVERT_TZ'",
+ "'DATAMODEL'", "'LOOKUP'", "'SAVEDSEARCH'", "'INT'", "'INTEGER'", "'DOUBLE'",
+ "'LONG'", "'FLOAT'", "'STRING'", "'BOOLEAN'", "'|'", "','", "'.'", "'='",
+ "'>'", "'<'", undefined, undefined, undefined, "'+'", "'-'", "'*'", "'/'",
+ "'%'", "'!'", "':'", "'('", "')'", "'['", "']'", "'''", "'\"'", "'`'",
+ "'~'", "'&'", "'^'", "'AVG'", "'COUNT'", "'DISTINCT_COUNT'", "'ESTDC'",
+ "'ESTDC_ERROR'", "'MAX'", "'MEAN'", "'MEDIAN'", "'MIN'", "'MODE'", "'RANGE'",
+ "'STDEV'", "'STDEVP'", "'SUM'", "'SUMSQ'", "'VAR_SAMP'", "'VAR_POP'",
+ "'STDDEV_SAMP'", "'STDDEV_POP'", "'PERCENTILE'", "'TAKE'", "'FIRST'",
+ "'LAST'", "'LIST'", "'VALUES'", "'EARLIEST'", "'EARLIEST_TIME'", "'LATEST'",
+ "'LATEST_TIME'", "'PER_DAY'", "'PER_HOUR'", "'PER_MINUTE'", "'PER_SECOND'",
+ "'RATE'", "'SPARKLINE'", "'C'", "'DC'", "'ABS'", "'CEIL'", "'CEILING'",
+ "'CONV'", "'CRC32'", "'E'", "'EXP'", "'FLOOR'", "'LN'", "'LOG'", "'LOG10'",
+ "'LOG2'", "'MOD'", "'PI'", "'POW'", "'POWER'", "'RAND'", "'ROUND'", "'SIGN'",
+ "'SQRT'", "'TRUNCATE'", "'ACOS'", "'ASIN'", "'ATAN'", "'ATAN2'", "'COS'",
+ "'COT'", "'DEGREES'", "'RADIANS'", "'SIN'", "'TAN'", "'ADDDATE'", "'CURDATE'",
+ "'CURRENT_DATE'", "'CURRENT_TIME'", "'CURRENT_TIMESTAMP'", "'CURTIME'",
+ "'DATE'", "'DATE_ADD'", "'DATE_FORMAT'", "'DATE_SUB'", "'DAYNAME'", "'DAYOFMONTH'",
+ "'DAYOFWEEK'", "'DAYOFYEAR'", "'FROM_DAYS'", "'LOCALTIME'", "'LOCALTIMESTAMP'",
+ "'FROM_UNIXTIME'", "'MAKEDATE'", "'MAKETIME'", "'MONTHNAME'", "'NOW'",
+ "'PERIOD_ADD'", "'PERIOD_DIFF'", "'SUBDATE'", "'SYSDATE'", "'TIME'", "'TIME_TO_SEC'",
+ "'TIMESTAMP'", "'TO_DAYS'", "'UTC_DATE'", "'UTC_TIME'", "'UTC_TIMESTAMP'",
+ "'UNIX_TIMESTAMP'", "'SUBSTR'", "'SUBSTRING'", "'LTRIM'", "'RTRIM'", "'TRIM'",
+ "'TO'", "'LOWER'", "'UPPER'", "'CONCAT'", "'CONCAT_WS'", "'LENGTH'", "'STRCMP'",
+ "'RIGHT'", "'LEFT'", "'ASCII'", "'LOCATE'", "'REPLACE'", "'CAST'", "'LIKE'",
+ "'ISNULL'", "'ISNOTNULL'", "'IFNULL'", "'NULLIF'", "'IF'", "'TYPEOF'",
+ "'MATCH'", "'MATCH_PHRASE'", "'MATCH_PHRASE_PREFIX'", "'MATCH_BOOL_PREFIX'",
+ "'SIMPLE_QUERY_STRING'", "'MULTI_MATCH'", "'QUERY_STRING'", "'ALLOW_LEADING_WILDCARD'",
+ "'ANALYZE_WILDCARD'", "'ANALYZER'", "'AUTO_GENERATE_SYNONYMS_PHRASE_QUERY'",
+ "'BOOST'", "'CUTOFF_FREQUENCY'", "'DEFAULT_FIELD'", "'DEFAULT_OPERATOR'",
+ "'ENABLE_POSITION_INCREMENTS'", "'ESCAPE'", "'FLAGS'", "'FUZZY_MAX_EXPANSIONS'",
+ "'FUZZY_PREFIX_LENGTH'", "'FUZZY_TRANSPOSITIONS'", "'FUZZY_REWRITE'",
+ "'FUZZINESS'", "'LENIENT'", "'LOW_FREQ_OPERATOR'", "'MAX_DETERMINIZED_STATES'",
+ "'MAX_EXPANSIONS'", "'MINIMUM_SHOULD_MATCH'", "'OPERATOR'", "'PHRASE_SLOP'",
+ "'PREFIX_LENGTH'", "'QUOTE_ANALYZER'", "'QUOTE_FIELD_SUFFIX'", "'REWRITE'",
+ "'SLOP'", "'TIE_BREAKER'", "'TYPE'", "'ZERO_TERMS_QUERY'", "'SPAN'", "'MS'",
+ "'S'", "'M'", "'H'", "'W'", "'Q'", "'Y'",
+ ];
+ private static readonly _SYMBOLIC_NAMES: Array = [
+ undefined, "SEARCH", "DESCRIBE", "SHOW", "FROM", "WHERE", "FIELDS", "RENAME",
+ "STATS", "DEDUP", "SORT", "EVAL", "HEAD", "TOP", "RARE", "PARSE", "METHOD",
+ "REGEX", "PUNCT", "GROK", "PATTERN", "PATTERNS", "NEW_FIELD", "KMEANS",
+ "AD", "ML", "AS", "BY", "SOURCE", "INDEX", "D", "DESC", "CATALOGS", "SORTBY",
+ "AUTO", "STR", "IP", "NUM", "KEEPEMPTY", "CONSECUTIVE", "DEDUP_SPLITVALUES",
+ "PARTITIONS", "ALLNUM", "DELIM", "CENTROIDS", "ITERATIONS", "DISTANCE_TYPE",
+ "NUMBER_OF_TREES", "SHINGLE_SIZE", "SAMPLE_SIZE", "OUTPUT_AFTER", "TIME_DECAY",
+ "ANOMALY_RATE", "CATEGORY_FIELD", "TIME_FIELD", "TIME_ZONE", "TRAINING_DATA_SIZE",
+ "ANOMALY_SCORE_THRESHOLD", "CASE", "IN", "NOT", "OR", "AND", "XOR", "TRUE",
+ "FALSE", "REGEXP", "DATETIME", "INTERVAL", "MICROSECOND", "MILLISECOND",
+ "SECOND", "MINUTE", "HOUR", "DAY", "WEEK", "MONTH", "QUARTER", "YEAR",
+ "SECOND_MICROSECOND", "MINUTE_MICROSECOND", "MINUTE_SECOND", "HOUR_MICROSECOND",
+ "HOUR_SECOND", "HOUR_MINUTE", "DAY_MICROSECOND", "DAY_SECOND", "DAY_MINUTE",
+ "DAY_HOUR", "YEAR_MONTH", "CONVERT_TZ", "DATAMODEL", "LOOKUP", "SAVEDSEARCH",
+ "INT", "INTEGER", "DOUBLE", "LONG", "FLOAT", "STRING", "BOOLEAN", "PIPE",
+ "COMMA", "DOT", "EQUAL", "GREATER", "LESS", "NOT_GREATER", "NOT_LESS",
+ "NOT_EQUAL", "PLUS", "MINUS", "STAR", "DIVIDE", "MODULE", "EXCLAMATION_SYMBOL",
+ "COLON", "LT_PRTHS", "RT_PRTHS", "LT_SQR_PRTHS", "RT_SQR_PRTHS", "SINGLE_QUOTE",
+ "DOUBLE_QUOTE", "BACKTICK", "BIT_NOT_OP", "BIT_AND_OP", "BIT_XOR_OP",
+ "AVG", "COUNT", "DISTINCT_COUNT", "ESTDC", "ESTDC_ERROR", "MAX", "MEAN",
+ "MEDIAN", "MIN", "MODE", "RANGE", "STDEV", "STDEVP", "SUM", "SUMSQ", "VAR_SAMP",
+ "VAR_POP", "STDDEV_SAMP", "STDDEV_POP", "PERCENTILE", "TAKE", "FIRST",
+ "LAST", "LIST", "VALUES", "EARLIEST", "EARLIEST_TIME", "LATEST", "LATEST_TIME",
+ "PER_DAY", "PER_HOUR", "PER_MINUTE", "PER_SECOND", "RATE", "SPARKLINE",
+ "C", "DC", "ABS", "CEIL", "CEILING", "CONV", "CRC32", "E", "EXP", "FLOOR",
+ "LN", "LOG", "LOG10", "LOG2", "MOD", "PI", "POW", "POWER", "RAND", "ROUND",
+ "SIGN", "SQRT", "TRUNCATE", "ACOS", "ASIN", "ATAN", "ATAN2", "COS", "COT",
+ "DEGREES", "RADIANS", "SIN", "TAN", "ADDDATE", "CURDATE", "CURRENT_DATE",
+ "CURRENT_TIME", "CURRENT_TIMESTAMP", "CURTIME", "DATE", "DATE_ADD", "DATE_FORMAT",
+ "DATE_SUB", "DAYNAME", "DAYOFMONTH", "DAYOFWEEK", "DAYOFYEAR", "FROM_DAYS",
+ "LOCALTIME", "LOCALTIMESTAMP", "FROM_UNIXTIME", "MAKEDATE", "MAKETIME",
+ "MONTHNAME", "NOW", "PERIOD_ADD", "PERIOD_DIFF", "SUBDATE", "SYSDATE",
+ "TIME", "TIME_TO_SEC", "TIMESTAMP", "TO_DAYS", "UTC_DATE", "UTC_TIME",
+ "UTC_TIMESTAMP", "UNIX_TIMESTAMP", "SUBSTR", "SUBSTRING", "LTRIM", "RTRIM",
+ "TRIM", "TO", "LOWER", "UPPER", "CONCAT", "CONCAT_WS", "LENGTH", "STRCMP",
+ "RIGHT", "LEFT", "ASCII", "LOCATE", "REPLACE", "CAST", "LIKE", "ISNULL",
+ "ISNOTNULL", "IFNULL", "NULLIF", "IF", "TYPEOF", "MATCH", "MATCH_PHRASE",
+ "MATCH_PHRASE_PREFIX", "MATCH_BOOL_PREFIX", "SIMPLE_QUERY_STRING", "MULTI_MATCH",
+ "QUERY_STRING", "ALLOW_LEADING_WILDCARD", "ANALYZE_WILDCARD", "ANALYZER",
+ "AUTO_GENERATE_SYNONYMS_PHRASE_QUERY", "BOOST", "CUTOFF_FREQUENCY", "DEFAULT_FIELD",
+ "DEFAULT_OPERATOR", "ENABLE_POSITION_INCREMENTS", "ESCAPE", "FLAGS", "FUZZY_MAX_EXPANSIONS",
+ "FUZZY_PREFIX_LENGTH", "FUZZY_TRANSPOSITIONS", "FUZZY_REWRITE", "FUZZINESS",
+ "LENIENT", "LOW_FREQ_OPERATOR", "MAX_DETERMINIZED_STATES", "MAX_EXPANSIONS",
+ "MINIMUM_SHOULD_MATCH", "OPERATOR", "PHRASE_SLOP", "PREFIX_LENGTH", "QUOTE_ANALYZER",
+ "QUOTE_FIELD_SUFFIX", "REWRITE", "SLOP", "TIE_BREAKER", "TYPE", "ZERO_TERMS_QUERY",
+ "SPAN", "MS", "S", "M", "H", "W", "Q", "Y", "ID", "INTEGER_LITERAL", "DECIMAL_LITERAL",
+ "ID_DATE_SUFFIX", "DQUOTA_STRING", "SQUOTA_STRING", "BQUOTA_STRING", "ERROR_RECOGNITION",
+ ];
+ public static readonly VOCABULARY: Vocabulary = new VocabularyImpl(OpenSearchPPLParser._LITERAL_NAMES, OpenSearchPPLParser._SYMBOLIC_NAMES, []);
+
+ // @Override
+ // @NotNull
+ public get vocabulary(): Vocabulary {
+ return OpenSearchPPLParser.VOCABULARY;
+ }
+ // tslint:enable:no-trailing-whitespace
+
+ // @Override
+ public get grammarFileName(): string { return "OpenSearchPPLParser.g4"; }
+
+ // @Override
+ public get ruleNames(): string[] { return OpenSearchPPLParser.ruleNames; }
+
+ // @Override
+ public get serializedATN(): string { return OpenSearchPPLParser._serializedATN; }
+
+ protected createFailedPredicateException(predicate?: string, message?: string): FailedPredicateException {
+ return new FailedPredicateException(this, predicate, message);
+ }
+
+ constructor(input: TokenStream) {
+ super(input);
+ this._interp = new ParserATNSimulator(OpenSearchPPLParser._ATN, this);
+ }
+ // @RuleVersion(0)
+ public root(): RootContext {
+ let _localctx: RootContext = new RootContext(this._ctx, this.state);
+ this.enterRule(_localctx, 0, OpenSearchPPLParser.RULE_root);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 207;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if ((((_la) & ~0x1F) === 0 && ((1 << _la) & ((1 << OpenSearchPPLParser.SEARCH) | (1 << OpenSearchPPLParser.DESCRIBE) | (1 << OpenSearchPPLParser.SHOW) | (1 << OpenSearchPPLParser.SOURCE) | (1 << OpenSearchPPLParser.INDEX) | (1 << OpenSearchPPLParser.D))) !== 0) || ((((_la - 60)) & ~0x1F) === 0 && ((1 << (_la - 60)) & ((1 << (OpenSearchPPLParser.NOT - 60)) | (1 << (OpenSearchPPLParser.TRUE - 60)) | (1 << (OpenSearchPPLParser.FALSE - 60)) | (1 << (OpenSearchPPLParser.DATETIME - 60)) | (1 << (OpenSearchPPLParser.INTERVAL - 60)) | (1 << (OpenSearchPPLParser.MICROSECOND - 60)) | (1 << (OpenSearchPPLParser.MILLISECOND - 60)) | (1 << (OpenSearchPPLParser.SECOND - 60)) | (1 << (OpenSearchPPLParser.MINUTE - 60)) | (1 << (OpenSearchPPLParser.HOUR - 60)) | (1 << (OpenSearchPPLParser.DAY - 60)) | (1 << (OpenSearchPPLParser.WEEK - 60)) | (1 << (OpenSearchPPLParser.MONTH - 60)) | (1 << (OpenSearchPPLParser.QUARTER - 60)) | (1 << (OpenSearchPPLParser.YEAR - 60)) | (1 << (OpenSearchPPLParser.CONVERT_TZ - 60)))) !== 0) || ((((_la - 103)) & ~0x1F) === 0 && ((1 << (_la - 103)) & ((1 << (OpenSearchPPLParser.DOT - 103)) | (1 << (OpenSearchPPLParser.PLUS - 103)) | (1 << (OpenSearchPPLParser.MINUS - 103)) | (1 << (OpenSearchPPLParser.LT_PRTHS - 103)) | (1 << (OpenSearchPPLParser.BACKTICK - 103)) | (1 << (OpenSearchPPLParser.AVG - 103)) | (1 << (OpenSearchPPLParser.COUNT - 103)) | (1 << (OpenSearchPPLParser.MAX - 103)))) !== 0) || ((((_la - 135)) & ~0x1F) === 0 && ((1 << (_la - 135)) & ((1 << (OpenSearchPPLParser.MIN - 135)) | (1 << (OpenSearchPPLParser.SUM - 135)) | (1 << (OpenSearchPPLParser.VAR_SAMP - 135)) | (1 << (OpenSearchPPLParser.VAR_POP - 135)) | (1 << (OpenSearchPPLParser.STDDEV_SAMP - 135)) | (1 << (OpenSearchPPLParser.STDDEV_POP - 135)) | (1 << (OpenSearchPPLParser.FIRST - 135)) | (1 << (OpenSearchPPLParser.LAST - 135)) | (1 << (OpenSearchPPLParser.ABS - 135)) | (1 << (OpenSearchPPLParser.CEIL - 135)) | (1 << (OpenSearchPPLParser.CEILING - 135)))) !== 0) || ((((_la - 167)) & ~0x1F) === 0 && ((1 << (_la - 167)) & ((1 << (OpenSearchPPLParser.CONV - 167)) | (1 << (OpenSearchPPLParser.CRC32 - 167)) | (1 << (OpenSearchPPLParser.E - 167)) | (1 << (OpenSearchPPLParser.EXP - 167)) | (1 << (OpenSearchPPLParser.FLOOR - 167)) | (1 << (OpenSearchPPLParser.LN - 167)) | (1 << (OpenSearchPPLParser.LOG - 167)) | (1 << (OpenSearchPPLParser.LOG10 - 167)) | (1 << (OpenSearchPPLParser.LOG2 - 167)) | (1 << (OpenSearchPPLParser.MOD - 167)) | (1 << (OpenSearchPPLParser.PI - 167)) | (1 << (OpenSearchPPLParser.POW - 167)) | (1 << (OpenSearchPPLParser.POWER - 167)) | (1 << (OpenSearchPPLParser.RAND - 167)) | (1 << (OpenSearchPPLParser.ROUND - 167)) | (1 << (OpenSearchPPLParser.SIGN - 167)) | (1 << (OpenSearchPPLParser.SQRT - 167)) | (1 << (OpenSearchPPLParser.TRUNCATE - 167)) | (1 << (OpenSearchPPLParser.ACOS - 167)) | (1 << (OpenSearchPPLParser.ASIN - 167)) | (1 << (OpenSearchPPLParser.ATAN - 167)) | (1 << (OpenSearchPPLParser.ATAN2 - 167)) | (1 << (OpenSearchPPLParser.COS - 167)) | (1 << (OpenSearchPPLParser.COT - 167)) | (1 << (OpenSearchPPLParser.DEGREES - 167)) | (1 << (OpenSearchPPLParser.RADIANS - 167)) | (1 << (OpenSearchPPLParser.SIN - 167)) | (1 << (OpenSearchPPLParser.TAN - 167)) | (1 << (OpenSearchPPLParser.ADDDATE - 167)) | (1 << (OpenSearchPPLParser.CURDATE - 167)) | (1 << (OpenSearchPPLParser.CURRENT_DATE - 167)) | (1 << (OpenSearchPPLParser.CURRENT_TIME - 167)))) !== 0) || ((((_la - 199)) & ~0x1F) === 0 && ((1 << (_la - 199)) & ((1 << (OpenSearchPPLParser.CURRENT_TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.CURTIME - 199)) | (1 << (OpenSearchPPLParser.DATE - 199)) | (1 << (OpenSearchPPLParser.DATE_ADD - 199)) | (1 << (OpenSearchPPLParser.DATE_FORMAT - 199)) | (1 << (OpenSearchPPLParser.DATE_SUB - 199)) | (1 << (OpenSearchPPLParser.DAYNAME - 199)) | (1 << (OpenSearchPPLParser.DAYOFMONTH - 199)) | (1 << (OpenSearchPPLParser.DAYOFWEEK - 199)) | (1 << (OpenSearchPPLParser.DAYOFYEAR - 199)) | (1 << (OpenSearchPPLParser.FROM_DAYS - 199)) | (1 << (OpenSearchPPLParser.LOCALTIME - 199)) | (1 << (OpenSearchPPLParser.LOCALTIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.FROM_UNIXTIME - 199)) | (1 << (OpenSearchPPLParser.MAKEDATE - 199)) | (1 << (OpenSearchPPLParser.MAKETIME - 199)) | (1 << (OpenSearchPPLParser.MONTHNAME - 199)) | (1 << (OpenSearchPPLParser.NOW - 199)) | (1 << (OpenSearchPPLParser.PERIOD_ADD - 199)) | (1 << (OpenSearchPPLParser.PERIOD_DIFF - 199)) | (1 << (OpenSearchPPLParser.SUBDATE - 199)) | (1 << (OpenSearchPPLParser.SYSDATE - 199)) | (1 << (OpenSearchPPLParser.TIME - 199)) | (1 << (OpenSearchPPLParser.TIME_TO_SEC - 199)) | (1 << (OpenSearchPPLParser.TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.TO_DAYS - 199)) | (1 << (OpenSearchPPLParser.UTC_DATE - 199)) | (1 << (OpenSearchPPLParser.UTC_TIME - 199)) | (1 << (OpenSearchPPLParser.UTC_TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.UNIX_TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.SUBSTR - 199)) | (1 << (OpenSearchPPLParser.SUBSTRING - 199)))) !== 0) || ((((_la - 231)) & ~0x1F) === 0 && ((1 << (_la - 231)) & ((1 << (OpenSearchPPLParser.LTRIM - 231)) | (1 << (OpenSearchPPLParser.RTRIM - 231)) | (1 << (OpenSearchPPLParser.TRIM - 231)) | (1 << (OpenSearchPPLParser.LOWER - 231)) | (1 << (OpenSearchPPLParser.UPPER - 231)) | (1 << (OpenSearchPPLParser.CONCAT - 231)) | (1 << (OpenSearchPPLParser.CONCAT_WS - 231)) | (1 << (OpenSearchPPLParser.LENGTH - 231)) | (1 << (OpenSearchPPLParser.STRCMP - 231)) | (1 << (OpenSearchPPLParser.RIGHT - 231)) | (1 << (OpenSearchPPLParser.LEFT - 231)) | (1 << (OpenSearchPPLParser.ASCII - 231)) | (1 << (OpenSearchPPLParser.LOCATE - 231)) | (1 << (OpenSearchPPLParser.REPLACE - 231)) | (1 << (OpenSearchPPLParser.CAST - 231)) | (1 << (OpenSearchPPLParser.LIKE - 231)) | (1 << (OpenSearchPPLParser.ISNULL - 231)) | (1 << (OpenSearchPPLParser.ISNOTNULL - 231)) | (1 << (OpenSearchPPLParser.IFNULL - 231)) | (1 << (OpenSearchPPLParser.NULLIF - 231)) | (1 << (OpenSearchPPLParser.IF - 231)) | (1 << (OpenSearchPPLParser.TYPEOF - 231)) | (1 << (OpenSearchPPLParser.MATCH - 231)) | (1 << (OpenSearchPPLParser.MATCH_PHRASE - 231)) | (1 << (OpenSearchPPLParser.MATCH_PHRASE_PREFIX - 231)) | (1 << (OpenSearchPPLParser.MATCH_BOOL_PREFIX - 231)) | (1 << (OpenSearchPPLParser.SIMPLE_QUERY_STRING - 231)) | (1 << (OpenSearchPPLParser.MULTI_MATCH - 231)) | (1 << (OpenSearchPPLParser.QUERY_STRING - 231)))) !== 0) || ((((_la - 292)) & ~0x1F) === 0 && ((1 << (_la - 292)) & ((1 << (OpenSearchPPLParser.SPAN - 292)) | (1 << (OpenSearchPPLParser.MS - 292)) | (1 << (OpenSearchPPLParser.S - 292)) | (1 << (OpenSearchPPLParser.M - 292)) | (1 << (OpenSearchPPLParser.H - 292)) | (1 << (OpenSearchPPLParser.W - 292)) | (1 << (OpenSearchPPLParser.Q - 292)) | (1 << (OpenSearchPPLParser.Y - 292)) | (1 << (OpenSearchPPLParser.ID - 292)) | (1 << (OpenSearchPPLParser.INTEGER_LITERAL - 292)) | (1 << (OpenSearchPPLParser.DECIMAL_LITERAL - 292)) | (1 << (OpenSearchPPLParser.DQUOTA_STRING - 292)) | (1 << (OpenSearchPPLParser.SQUOTA_STRING - 292)) | (1 << (OpenSearchPPLParser.BQUOTA_STRING - 292)))) !== 0)) {
+ {
+ this.state = 206;
+ this.pplStatement();
+ }
+ }
+
+ this.state = 209;
+ this.match(OpenSearchPPLParser.EOF);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public pplStatement(): PplStatementContext {
+ let _localctx: PplStatementContext = new PplStatementContext(this._ctx, this.state);
+ this.enterRule(_localctx, 2, OpenSearchPPLParser.RULE_pplStatement);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 211;
+ this.pplCommands();
+ this.state = 216;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.PIPE) {
+ {
+ {
+ this.state = 212;
+ this.match(OpenSearchPPLParser.PIPE);
+ this.state = 213;
+ this.commands();
+ }
+ }
+ this.state = 218;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public pplCommands(): PplCommandsContext {
+ let _localctx: PplCommandsContext = new PplCommandsContext(this._ctx, this.state);
+ this.enterRule(_localctx, 4, OpenSearchPPLParser.RULE_pplCommands);
+ try {
+ this.state = 222;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.SEARCH:
+ case OpenSearchPPLParser.SOURCE:
+ case OpenSearchPPLParser.INDEX:
+ case OpenSearchPPLParser.D:
+ case OpenSearchPPLParser.NOT:
+ case OpenSearchPPLParser.TRUE:
+ case OpenSearchPPLParser.FALSE:
+ case OpenSearchPPLParser.DATETIME:
+ case OpenSearchPPLParser.INTERVAL:
+ case OpenSearchPPLParser.MICROSECOND:
+ case OpenSearchPPLParser.MILLISECOND:
+ case OpenSearchPPLParser.SECOND:
+ case OpenSearchPPLParser.MINUTE:
+ case OpenSearchPPLParser.HOUR:
+ case OpenSearchPPLParser.DAY:
+ case OpenSearchPPLParser.WEEK:
+ case OpenSearchPPLParser.MONTH:
+ case OpenSearchPPLParser.QUARTER:
+ case OpenSearchPPLParser.YEAR:
+ case OpenSearchPPLParser.CONVERT_TZ:
+ case OpenSearchPPLParser.DOT:
+ case OpenSearchPPLParser.PLUS:
+ case OpenSearchPPLParser.MINUS:
+ case OpenSearchPPLParser.LT_PRTHS:
+ case OpenSearchPPLParser.BACKTICK:
+ case OpenSearchPPLParser.AVG:
+ case OpenSearchPPLParser.COUNT:
+ case OpenSearchPPLParser.MAX:
+ case OpenSearchPPLParser.MIN:
+ case OpenSearchPPLParser.SUM:
+ case OpenSearchPPLParser.VAR_SAMP:
+ case OpenSearchPPLParser.VAR_POP:
+ case OpenSearchPPLParser.STDDEV_SAMP:
+ case OpenSearchPPLParser.STDDEV_POP:
+ case OpenSearchPPLParser.FIRST:
+ case OpenSearchPPLParser.LAST:
+ case OpenSearchPPLParser.ABS:
+ case OpenSearchPPLParser.CEIL:
+ case OpenSearchPPLParser.CEILING:
+ case OpenSearchPPLParser.CONV:
+ case OpenSearchPPLParser.CRC32:
+ case OpenSearchPPLParser.E:
+ case OpenSearchPPLParser.EXP:
+ case OpenSearchPPLParser.FLOOR:
+ case OpenSearchPPLParser.LN:
+ case OpenSearchPPLParser.LOG:
+ case OpenSearchPPLParser.LOG10:
+ case OpenSearchPPLParser.LOG2:
+ case OpenSearchPPLParser.MOD:
+ case OpenSearchPPLParser.PI:
+ case OpenSearchPPLParser.POW:
+ case OpenSearchPPLParser.POWER:
+ case OpenSearchPPLParser.RAND:
+ case OpenSearchPPLParser.ROUND:
+ case OpenSearchPPLParser.SIGN:
+ case OpenSearchPPLParser.SQRT:
+ case OpenSearchPPLParser.TRUNCATE:
+ case OpenSearchPPLParser.ACOS:
+ case OpenSearchPPLParser.ASIN:
+ case OpenSearchPPLParser.ATAN:
+ case OpenSearchPPLParser.ATAN2:
+ case OpenSearchPPLParser.COS:
+ case OpenSearchPPLParser.COT:
+ case OpenSearchPPLParser.DEGREES:
+ case OpenSearchPPLParser.RADIANS:
+ case OpenSearchPPLParser.SIN:
+ case OpenSearchPPLParser.TAN:
+ case OpenSearchPPLParser.ADDDATE:
+ case OpenSearchPPLParser.CURDATE:
+ case OpenSearchPPLParser.CURRENT_DATE:
+ case OpenSearchPPLParser.CURRENT_TIME:
+ case OpenSearchPPLParser.CURRENT_TIMESTAMP:
+ case OpenSearchPPLParser.CURTIME:
+ case OpenSearchPPLParser.DATE:
+ case OpenSearchPPLParser.DATE_ADD:
+ case OpenSearchPPLParser.DATE_FORMAT:
+ case OpenSearchPPLParser.DATE_SUB:
+ case OpenSearchPPLParser.DAYNAME:
+ case OpenSearchPPLParser.DAYOFMONTH:
+ case OpenSearchPPLParser.DAYOFWEEK:
+ case OpenSearchPPLParser.DAYOFYEAR:
+ case OpenSearchPPLParser.FROM_DAYS:
+ case OpenSearchPPLParser.LOCALTIME:
+ case OpenSearchPPLParser.LOCALTIMESTAMP:
+ case OpenSearchPPLParser.FROM_UNIXTIME:
+ case OpenSearchPPLParser.MAKEDATE:
+ case OpenSearchPPLParser.MAKETIME:
+ case OpenSearchPPLParser.MONTHNAME:
+ case OpenSearchPPLParser.NOW:
+ case OpenSearchPPLParser.PERIOD_ADD:
+ case OpenSearchPPLParser.PERIOD_DIFF:
+ case OpenSearchPPLParser.SUBDATE:
+ case OpenSearchPPLParser.SYSDATE:
+ case OpenSearchPPLParser.TIME:
+ case OpenSearchPPLParser.TIME_TO_SEC:
+ case OpenSearchPPLParser.TIMESTAMP:
+ case OpenSearchPPLParser.TO_DAYS:
+ case OpenSearchPPLParser.UTC_DATE:
+ case OpenSearchPPLParser.UTC_TIME:
+ case OpenSearchPPLParser.UTC_TIMESTAMP:
+ case OpenSearchPPLParser.UNIX_TIMESTAMP:
+ case OpenSearchPPLParser.SUBSTR:
+ case OpenSearchPPLParser.SUBSTRING:
+ case OpenSearchPPLParser.LTRIM:
+ case OpenSearchPPLParser.RTRIM:
+ case OpenSearchPPLParser.TRIM:
+ case OpenSearchPPLParser.LOWER:
+ case OpenSearchPPLParser.UPPER:
+ case OpenSearchPPLParser.CONCAT:
+ case OpenSearchPPLParser.CONCAT_WS:
+ case OpenSearchPPLParser.LENGTH:
+ case OpenSearchPPLParser.STRCMP:
+ case OpenSearchPPLParser.RIGHT:
+ case OpenSearchPPLParser.LEFT:
+ case OpenSearchPPLParser.ASCII:
+ case OpenSearchPPLParser.LOCATE:
+ case OpenSearchPPLParser.REPLACE:
+ case OpenSearchPPLParser.CAST:
+ case OpenSearchPPLParser.LIKE:
+ case OpenSearchPPLParser.ISNULL:
+ case OpenSearchPPLParser.ISNOTNULL:
+ case OpenSearchPPLParser.IFNULL:
+ case OpenSearchPPLParser.NULLIF:
+ case OpenSearchPPLParser.IF:
+ case OpenSearchPPLParser.TYPEOF:
+ case OpenSearchPPLParser.MATCH:
+ case OpenSearchPPLParser.MATCH_PHRASE:
+ case OpenSearchPPLParser.MATCH_PHRASE_PREFIX:
+ case OpenSearchPPLParser.MATCH_BOOL_PREFIX:
+ case OpenSearchPPLParser.SIMPLE_QUERY_STRING:
+ case OpenSearchPPLParser.MULTI_MATCH:
+ case OpenSearchPPLParser.QUERY_STRING:
+ case OpenSearchPPLParser.SPAN:
+ case OpenSearchPPLParser.MS:
+ case OpenSearchPPLParser.S:
+ case OpenSearchPPLParser.M:
+ case OpenSearchPPLParser.H:
+ case OpenSearchPPLParser.W:
+ case OpenSearchPPLParser.Q:
+ case OpenSearchPPLParser.Y:
+ case OpenSearchPPLParser.ID:
+ case OpenSearchPPLParser.INTEGER_LITERAL:
+ case OpenSearchPPLParser.DECIMAL_LITERAL:
+ case OpenSearchPPLParser.DQUOTA_STRING:
+ case OpenSearchPPLParser.SQUOTA_STRING:
+ case OpenSearchPPLParser.BQUOTA_STRING:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 219;
+ this.searchCommand();
+ }
+ break;
+ case OpenSearchPPLParser.DESCRIBE:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 220;
+ this.describeCommand();
+ }
+ break;
+ case OpenSearchPPLParser.SHOW:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 221;
+ this.showCatalogsCommand();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public commands(): CommandsContext {
+ let _localctx: CommandsContext = new CommandsContext(this._ctx, this.state);
+ this.enterRule(_localctx, 6, OpenSearchPPLParser.RULE_commands);
+ try {
+ this.state = 240;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.WHERE:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 224;
+ this.whereCommand();
+ }
+ break;
+ case OpenSearchPPLParser.FIELDS:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 225;
+ this.fieldsCommand();
+ }
+ break;
+ case OpenSearchPPLParser.RENAME:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 226;
+ this.renameCommand();
+ }
+ break;
+ case OpenSearchPPLParser.STATS:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 227;
+ this.statsCommand();
+ }
+ break;
+ case OpenSearchPPLParser.DEDUP:
+ this.enterOuterAlt(_localctx, 5);
+ {
+ this.state = 228;
+ this.dedupCommand();
+ }
+ break;
+ case OpenSearchPPLParser.SORT:
+ this.enterOuterAlt(_localctx, 6);
+ {
+ this.state = 229;
+ this.sortCommand();
+ }
+ break;
+ case OpenSearchPPLParser.EVAL:
+ this.enterOuterAlt(_localctx, 7);
+ {
+ this.state = 230;
+ this.evalCommand();
+ }
+ break;
+ case OpenSearchPPLParser.HEAD:
+ this.enterOuterAlt(_localctx, 8);
+ {
+ this.state = 231;
+ this.headCommand();
+ }
+ break;
+ case OpenSearchPPLParser.TOP:
+ this.enterOuterAlt(_localctx, 9);
+ {
+ this.state = 232;
+ this.topCommand();
+ }
+ break;
+ case OpenSearchPPLParser.RARE:
+ this.enterOuterAlt(_localctx, 10);
+ {
+ this.state = 233;
+ this.rareCommand();
+ }
+ break;
+ case OpenSearchPPLParser.GROK:
+ this.enterOuterAlt(_localctx, 11);
+ {
+ this.state = 234;
+ this.grokCommand();
+ }
+ break;
+ case OpenSearchPPLParser.PARSE:
+ this.enterOuterAlt(_localctx, 12);
+ {
+ this.state = 235;
+ this.parseCommand();
+ }
+ break;
+ case OpenSearchPPLParser.PATTERNS:
+ this.enterOuterAlt(_localctx, 13);
+ {
+ this.state = 236;
+ this.patternsCommand();
+ }
+ break;
+ case OpenSearchPPLParser.KMEANS:
+ this.enterOuterAlt(_localctx, 14);
+ {
+ this.state = 237;
+ this.kmeansCommand();
+ }
+ break;
+ case OpenSearchPPLParser.AD:
+ this.enterOuterAlt(_localctx, 15);
+ {
+ this.state = 238;
+ this.adCommand();
+ }
+ break;
+ case OpenSearchPPLParser.ML:
+ this.enterOuterAlt(_localctx, 16);
+ {
+ this.state = 239;
+ this.mlCommand();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public searchCommand(): SearchCommandContext {
+ let _localctx: SearchCommandContext = new SearchCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 8, OpenSearchPPLParser.RULE_searchCommand);
+ let _la: number;
+ try {
+ this.state = 258;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 7, this._ctx) ) {
+ case 1:
+ _localctx = new SearchFromContext(_localctx);
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 243;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.SEARCH) {
+ {
+ this.state = 242;
+ this.match(OpenSearchPPLParser.SEARCH);
+ }
+ }
+
+ this.state = 245;
+ this.fromClause();
+ }
+ break;
+
+ case 2:
+ _localctx = new SearchFromFilterContext(_localctx);
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 247;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.SEARCH) {
+ {
+ this.state = 246;
+ this.match(OpenSearchPPLParser.SEARCH);
+ }
+ }
+
+ this.state = 249;
+ this.fromClause();
+ this.state = 250;
+ this.logicalExpression(0);
+ }
+ break;
+
+ case 3:
+ _localctx = new SearchFilterFromContext(_localctx);
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 253;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.SEARCH) {
+ {
+ this.state = 252;
+ this.match(OpenSearchPPLParser.SEARCH);
+ }
+ }
+
+ this.state = 255;
+ this.logicalExpression(0);
+ this.state = 256;
+ this.fromClause();
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public describeCommand(): DescribeCommandContext {
+ let _localctx: DescribeCommandContext = new DescribeCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 10, OpenSearchPPLParser.RULE_describeCommand);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 260;
+ this.match(OpenSearchPPLParser.DESCRIBE);
+ this.state = 261;
+ this.tableSourceClause();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public showCatalogsCommand(): ShowCatalogsCommandContext {
+ let _localctx: ShowCatalogsCommandContext = new ShowCatalogsCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 12, OpenSearchPPLParser.RULE_showCatalogsCommand);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 263;
+ this.match(OpenSearchPPLParser.SHOW);
+ this.state = 264;
+ this.match(OpenSearchPPLParser.CATALOGS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public whereCommand(): WhereCommandContext {
+ let _localctx: WhereCommandContext = new WhereCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 14, OpenSearchPPLParser.RULE_whereCommand);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 266;
+ this.match(OpenSearchPPLParser.WHERE);
+ this.state = 267;
+ this.logicalExpression(0);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public fieldsCommand(): FieldsCommandContext {
+ let _localctx: FieldsCommandContext = new FieldsCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 16, OpenSearchPPLParser.RULE_fieldsCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 269;
+ this.match(OpenSearchPPLParser.FIELDS);
+ this.state = 271;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.PLUS || _la === OpenSearchPPLParser.MINUS) {
+ {
+ this.state = 270;
+ _la = this._input.LA(1);
+ if (!(_la === OpenSearchPPLParser.PLUS || _la === OpenSearchPPLParser.MINUS)) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+
+ this.state = 273;
+ this.fieldList();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public renameCommand(): RenameCommandContext {
+ let _localctx: RenameCommandContext = new RenameCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 18, OpenSearchPPLParser.RULE_renameCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 275;
+ this.match(OpenSearchPPLParser.RENAME);
+ this.state = 276;
+ this.renameClasue();
+ this.state = 281;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 277;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 278;
+ this.renameClasue();
+ }
+ }
+ this.state = 283;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public statsCommand(): StatsCommandContext {
+ let _localctx: StatsCommandContext = new StatsCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 20, OpenSearchPPLParser.RULE_statsCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 284;
+ this.match(OpenSearchPPLParser.STATS);
+ this.state = 288;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.PARTITIONS) {
+ {
+ this.state = 285;
+ this.match(OpenSearchPPLParser.PARTITIONS);
+ this.state = 286;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 287;
+ _localctx._partitions = this.integerLiteral();
+ }
+ }
+
+ this.state = 293;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.ALLNUM) {
+ {
+ this.state = 290;
+ this.match(OpenSearchPPLParser.ALLNUM);
+ this.state = 291;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 292;
+ _localctx._allnum = this.booleanLiteral();
+ }
+ }
+
+ this.state = 298;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.DELIM) {
+ {
+ this.state = 295;
+ this.match(OpenSearchPPLParser.DELIM);
+ this.state = 296;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 297;
+ _localctx._delim = this.stringLiteral();
+ }
+ }
+
+ this.state = 300;
+ this.statsAggTerm();
+ this.state = 305;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 301;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 302;
+ this.statsAggTerm();
+ }
+ }
+ this.state = 307;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ this.state = 309;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.BY) {
+ {
+ this.state = 308;
+ this.statsByClause();
+ }
+ }
+
+ this.state = 314;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.DEDUP_SPLITVALUES) {
+ {
+ this.state = 311;
+ this.match(OpenSearchPPLParser.DEDUP_SPLITVALUES);
+ this.state = 312;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 313;
+ _localctx._dedupsplit = this.booleanLiteral();
+ }
+ }
+
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public dedupCommand(): DedupCommandContext {
+ let _localctx: DedupCommandContext = new DedupCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 22, OpenSearchPPLParser.RULE_dedupCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 316;
+ this.match(OpenSearchPPLParser.DEDUP);
+ this.state = 318;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.PLUS || _la === OpenSearchPPLParser.MINUS || _la === OpenSearchPPLParser.INTEGER_LITERAL) {
+ {
+ this.state = 317;
+ _localctx._number = this.integerLiteral();
+ }
+ }
+
+ this.state = 320;
+ this.fieldList();
+ this.state = 324;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.KEEPEMPTY) {
+ {
+ this.state = 321;
+ this.match(OpenSearchPPLParser.KEEPEMPTY);
+ this.state = 322;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 323;
+ _localctx._keepempty = this.booleanLiteral();
+ }
+ }
+
+ this.state = 329;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.CONSECUTIVE) {
+ {
+ this.state = 326;
+ this.match(OpenSearchPPLParser.CONSECUTIVE);
+ this.state = 327;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 328;
+ _localctx._consecutive = this.booleanLiteral();
+ }
+ }
+
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public sortCommand(): SortCommandContext {
+ let _localctx: SortCommandContext = new SortCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 24, OpenSearchPPLParser.RULE_sortCommand);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 331;
+ this.match(OpenSearchPPLParser.SORT);
+ this.state = 332;
+ this.sortbyClause();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public evalCommand(): EvalCommandContext {
+ let _localctx: EvalCommandContext = new EvalCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 26, OpenSearchPPLParser.RULE_evalCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 334;
+ this.match(OpenSearchPPLParser.EVAL);
+ this.state = 335;
+ this.evalClause();
+ this.state = 340;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 336;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 337;
+ this.evalClause();
+ }
+ }
+ this.state = 342;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public headCommand(): HeadCommandContext {
+ let _localctx: HeadCommandContext = new HeadCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 28, OpenSearchPPLParser.RULE_headCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 343;
+ this.match(OpenSearchPPLParser.HEAD);
+ this.state = 345;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.PLUS || _la === OpenSearchPPLParser.MINUS || _la === OpenSearchPPLParser.INTEGER_LITERAL) {
+ {
+ this.state = 344;
+ _localctx._number = this.integerLiteral();
+ }
+ }
+
+ this.state = 349;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.FROM) {
+ {
+ this.state = 347;
+ this.match(OpenSearchPPLParser.FROM);
+ this.state = 348;
+ _localctx._from = this.integerLiteral();
+ }
+ }
+
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public topCommand(): TopCommandContext {
+ let _localctx: TopCommandContext = new TopCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 30, OpenSearchPPLParser.RULE_topCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 351;
+ this.match(OpenSearchPPLParser.TOP);
+ this.state = 353;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.PLUS || _la === OpenSearchPPLParser.MINUS || _la === OpenSearchPPLParser.INTEGER_LITERAL) {
+ {
+ this.state = 352;
+ _localctx._number = this.integerLiteral();
+ }
+ }
+
+ this.state = 355;
+ this.fieldList();
+ this.state = 357;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.BY) {
+ {
+ this.state = 356;
+ this.byClause();
+ }
+ }
+
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public rareCommand(): RareCommandContext {
+ let _localctx: RareCommandContext = new RareCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 32, OpenSearchPPLParser.RULE_rareCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 359;
+ this.match(OpenSearchPPLParser.RARE);
+ this.state = 360;
+ this.fieldList();
+ this.state = 362;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.BY) {
+ {
+ this.state = 361;
+ this.byClause();
+ }
+ }
+
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public grokCommand(): GrokCommandContext {
+ let _localctx: GrokCommandContext = new GrokCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 34, OpenSearchPPLParser.RULE_grokCommand);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 364;
+ this.match(OpenSearchPPLParser.GROK);
+ {
+ this.state = 365;
+ _localctx._source_field = this.expression();
+ }
+ {
+ this.state = 366;
+ _localctx._pattern = this.stringLiteral();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public parseCommand(): ParseCommandContext {
+ let _localctx: ParseCommandContext = new ParseCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 36, OpenSearchPPLParser.RULE_parseCommand);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 368;
+ this.match(OpenSearchPPLParser.PARSE);
+ {
+ this.state = 369;
+ _localctx._source_field = this.expression();
+ }
+ {
+ this.state = 370;
+ _localctx._pattern = this.stringLiteral();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public patternsCommand(): PatternsCommandContext {
+ let _localctx: PatternsCommandContext = new PatternsCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 38, OpenSearchPPLParser.RULE_patternsCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 372;
+ this.match(OpenSearchPPLParser.PATTERNS);
+ this.state = 376;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.PATTERN || _la === OpenSearchPPLParser.NEW_FIELD) {
+ {
+ {
+ this.state = 373;
+ this.patternsParameter();
+ }
+ }
+ this.state = 378;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ {
+ this.state = 379;
+ _localctx._source_field = this.expression();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public patternsParameter(): PatternsParameterContext {
+ let _localctx: PatternsParameterContext = new PatternsParameterContext(this._ctx, this.state);
+ this.enterRule(_localctx, 40, OpenSearchPPLParser.RULE_patternsParameter);
+ try {
+ this.state = 387;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.NEW_FIELD:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ {
+ this.state = 381;
+ this.match(OpenSearchPPLParser.NEW_FIELD);
+ this.state = 382;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 383;
+ _localctx._new_field = this.stringLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.PATTERN:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ {
+ this.state = 384;
+ this.match(OpenSearchPPLParser.PATTERN);
+ this.state = 385;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 386;
+ _localctx._pattern = this.stringLiteral();
+ }
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public patternsMethod(): PatternsMethodContext {
+ let _localctx: PatternsMethodContext = new PatternsMethodContext(this._ctx, this.state);
+ this.enterRule(_localctx, 42, OpenSearchPPLParser.RULE_patternsMethod);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 389;
+ _la = this._input.LA(1);
+ if (!(_la === OpenSearchPPLParser.REGEX || _la === OpenSearchPPLParser.PUNCT)) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public kmeansCommand(): KmeansCommandContext {
+ let _localctx: KmeansCommandContext = new KmeansCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 44, OpenSearchPPLParser.RULE_kmeansCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 391;
+ this.match(OpenSearchPPLParser.KMEANS);
+ this.state = 395;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (((((_la - 44)) & ~0x1F) === 0 && ((1 << (_la - 44)) & ((1 << (OpenSearchPPLParser.CENTROIDS - 44)) | (1 << (OpenSearchPPLParser.ITERATIONS - 44)) | (1 << (OpenSearchPPLParser.DISTANCE_TYPE - 44)))) !== 0)) {
+ {
+ {
+ this.state = 392;
+ this.kmeansParameter();
+ }
+ }
+ this.state = 397;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public kmeansParameter(): KmeansParameterContext {
+ let _localctx: KmeansParameterContext = new KmeansParameterContext(this._ctx, this.state);
+ this.enterRule(_localctx, 46, OpenSearchPPLParser.RULE_kmeansParameter);
+ try {
+ this.state = 407;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.CENTROIDS:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ {
+ this.state = 398;
+ this.match(OpenSearchPPLParser.CENTROIDS);
+ this.state = 399;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 400;
+ _localctx._centroids = this.integerLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.ITERATIONS:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ {
+ this.state = 401;
+ this.match(OpenSearchPPLParser.ITERATIONS);
+ this.state = 402;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 403;
+ _localctx._iterations = this.integerLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.DISTANCE_TYPE:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ {
+ this.state = 404;
+ this.match(OpenSearchPPLParser.DISTANCE_TYPE);
+ this.state = 405;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 406;
+ _localctx._distance_type = this.stringLiteral();
+ }
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public adCommand(): AdCommandContext {
+ let _localctx: AdCommandContext = new AdCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 48, OpenSearchPPLParser.RULE_adCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 409;
+ this.match(OpenSearchPPLParser.AD);
+ this.state = 413;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (((((_la - 47)) & ~0x1F) === 0 && ((1 << (_la - 47)) & ((1 << (OpenSearchPPLParser.NUMBER_OF_TREES - 47)) | (1 << (OpenSearchPPLParser.SHINGLE_SIZE - 47)) | (1 << (OpenSearchPPLParser.SAMPLE_SIZE - 47)) | (1 << (OpenSearchPPLParser.OUTPUT_AFTER - 47)) | (1 << (OpenSearchPPLParser.TIME_DECAY - 47)) | (1 << (OpenSearchPPLParser.ANOMALY_RATE - 47)) | (1 << (OpenSearchPPLParser.CATEGORY_FIELD - 47)) | (1 << (OpenSearchPPLParser.TIME_FIELD - 47)) | (1 << (OpenSearchPPLParser.TIME_ZONE - 47)) | (1 << (OpenSearchPPLParser.TRAINING_DATA_SIZE - 47)) | (1 << (OpenSearchPPLParser.ANOMALY_SCORE_THRESHOLD - 47)))) !== 0) || _la === OpenSearchPPLParser.DATE_FORMAT) {
+ {
+ {
+ this.state = 410;
+ this.adParameter();
+ }
+ }
+ this.state = 415;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public adParameter(): AdParameterContext {
+ let _localctx: AdParameterContext = new AdParameterContext(this._ctx, this.state);
+ this.enterRule(_localctx, 50, OpenSearchPPLParser.RULE_adParameter);
+ try {
+ this.state = 452;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.NUMBER_OF_TREES:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ {
+ this.state = 416;
+ this.match(OpenSearchPPLParser.NUMBER_OF_TREES);
+ this.state = 417;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 418;
+ _localctx._number_of_trees = this.integerLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.SHINGLE_SIZE:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ {
+ this.state = 419;
+ this.match(OpenSearchPPLParser.SHINGLE_SIZE);
+ this.state = 420;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 421;
+ _localctx._shingle_size = this.integerLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.SAMPLE_SIZE:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ {
+ this.state = 422;
+ this.match(OpenSearchPPLParser.SAMPLE_SIZE);
+ this.state = 423;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 424;
+ _localctx._sample_size = this.integerLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.OUTPUT_AFTER:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ {
+ this.state = 425;
+ this.match(OpenSearchPPLParser.OUTPUT_AFTER);
+ this.state = 426;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 427;
+ _localctx._output_after = this.integerLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.TIME_DECAY:
+ this.enterOuterAlt(_localctx, 5);
+ {
+ {
+ this.state = 428;
+ this.match(OpenSearchPPLParser.TIME_DECAY);
+ this.state = 429;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 430;
+ _localctx._time_decay = this.decimalLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.ANOMALY_RATE:
+ this.enterOuterAlt(_localctx, 6);
+ {
+ {
+ this.state = 431;
+ this.match(OpenSearchPPLParser.ANOMALY_RATE);
+ this.state = 432;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 433;
+ _localctx._anomaly_rate = this.decimalLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.CATEGORY_FIELD:
+ this.enterOuterAlt(_localctx, 7);
+ {
+ {
+ this.state = 434;
+ this.match(OpenSearchPPLParser.CATEGORY_FIELD);
+ this.state = 435;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 436;
+ _localctx._category_field = this.stringLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.TIME_FIELD:
+ this.enterOuterAlt(_localctx, 8);
+ {
+ {
+ this.state = 437;
+ this.match(OpenSearchPPLParser.TIME_FIELD);
+ this.state = 438;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 439;
+ _localctx._time_field = this.stringLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.DATE_FORMAT:
+ this.enterOuterAlt(_localctx, 9);
+ {
+ {
+ this.state = 440;
+ this.match(OpenSearchPPLParser.DATE_FORMAT);
+ this.state = 441;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 442;
+ _localctx._date_format = this.stringLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.TIME_ZONE:
+ this.enterOuterAlt(_localctx, 10);
+ {
+ {
+ this.state = 443;
+ this.match(OpenSearchPPLParser.TIME_ZONE);
+ this.state = 444;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 445;
+ _localctx._time_zone = this.stringLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.TRAINING_DATA_SIZE:
+ this.enterOuterAlt(_localctx, 11);
+ {
+ {
+ this.state = 446;
+ this.match(OpenSearchPPLParser.TRAINING_DATA_SIZE);
+ this.state = 447;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 448;
+ _localctx._training_data_size = this.integerLiteral();
+ }
+ }
+ break;
+ case OpenSearchPPLParser.ANOMALY_SCORE_THRESHOLD:
+ this.enterOuterAlt(_localctx, 12);
+ {
+ {
+ this.state = 449;
+ this.match(OpenSearchPPLParser.ANOMALY_SCORE_THRESHOLD);
+ this.state = 450;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 451;
+ _localctx._anomaly_score_threshold = this.decimalLiteral();
+ }
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public mlCommand(): MlCommandContext {
+ let _localctx: MlCommandContext = new MlCommandContext(this._ctx, this.state);
+ this.enterRule(_localctx, 52, OpenSearchPPLParser.RULE_mlCommand);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 454;
+ this.match(OpenSearchPPLParser.ML);
+ this.state = 458;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.D || ((((_la - 67)) & ~0x1F) === 0 && ((1 << (_la - 67)) & ((1 << (OpenSearchPPLParser.DATETIME - 67)) | (1 << (OpenSearchPPLParser.MICROSECOND - 67)) | (1 << (OpenSearchPPLParser.MILLISECOND - 67)) | (1 << (OpenSearchPPLParser.SECOND - 67)) | (1 << (OpenSearchPPLParser.MINUTE - 67)) | (1 << (OpenSearchPPLParser.HOUR - 67)) | (1 << (OpenSearchPPLParser.DAY - 67)) | (1 << (OpenSearchPPLParser.WEEK - 67)) | (1 << (OpenSearchPPLParser.MONTH - 67)) | (1 << (OpenSearchPPLParser.QUARTER - 67)) | (1 << (OpenSearchPPLParser.YEAR - 67)) | (1 << (OpenSearchPPLParser.CONVERT_TZ - 67)))) !== 0) || ((((_la - 103)) & ~0x1F) === 0 && ((1 << (_la - 103)) & ((1 << (OpenSearchPPLParser.DOT - 103)) | (1 << (OpenSearchPPLParser.BACKTICK - 103)) | (1 << (OpenSearchPPLParser.AVG - 103)) | (1 << (OpenSearchPPLParser.COUNT - 103)) | (1 << (OpenSearchPPLParser.MAX - 103)))) !== 0) || ((((_la - 135)) & ~0x1F) === 0 && ((1 << (_la - 135)) & ((1 << (OpenSearchPPLParser.MIN - 135)) | (1 << (OpenSearchPPLParser.SUM - 135)) | (1 << (OpenSearchPPLParser.VAR_SAMP - 135)) | (1 << (OpenSearchPPLParser.VAR_POP - 135)) | (1 << (OpenSearchPPLParser.STDDEV_SAMP - 135)) | (1 << (OpenSearchPPLParser.STDDEV_POP - 135)) | (1 << (OpenSearchPPLParser.FIRST - 135)) | (1 << (OpenSearchPPLParser.LAST - 135)) | (1 << (OpenSearchPPLParser.ABS - 135)) | (1 << (OpenSearchPPLParser.CEIL - 135)) | (1 << (OpenSearchPPLParser.CEILING - 135)))) !== 0) || ((((_la - 167)) & ~0x1F) === 0 && ((1 << (_la - 167)) & ((1 << (OpenSearchPPLParser.CONV - 167)) | (1 << (OpenSearchPPLParser.CRC32 - 167)) | (1 << (OpenSearchPPLParser.E - 167)) | (1 << (OpenSearchPPLParser.EXP - 167)) | (1 << (OpenSearchPPLParser.FLOOR - 167)) | (1 << (OpenSearchPPLParser.LN - 167)) | (1 << (OpenSearchPPLParser.LOG - 167)) | (1 << (OpenSearchPPLParser.LOG10 - 167)) | (1 << (OpenSearchPPLParser.LOG2 - 167)) | (1 << (OpenSearchPPLParser.MOD - 167)) | (1 << (OpenSearchPPLParser.PI - 167)) | (1 << (OpenSearchPPLParser.POW - 167)) | (1 << (OpenSearchPPLParser.POWER - 167)) | (1 << (OpenSearchPPLParser.RAND - 167)) | (1 << (OpenSearchPPLParser.ROUND - 167)) | (1 << (OpenSearchPPLParser.SIGN - 167)) | (1 << (OpenSearchPPLParser.SQRT - 167)) | (1 << (OpenSearchPPLParser.TRUNCATE - 167)) | (1 << (OpenSearchPPLParser.ACOS - 167)) | (1 << (OpenSearchPPLParser.ASIN - 167)) | (1 << (OpenSearchPPLParser.ATAN - 167)) | (1 << (OpenSearchPPLParser.ATAN2 - 167)) | (1 << (OpenSearchPPLParser.COS - 167)) | (1 << (OpenSearchPPLParser.COT - 167)) | (1 << (OpenSearchPPLParser.DEGREES - 167)) | (1 << (OpenSearchPPLParser.RADIANS - 167)) | (1 << (OpenSearchPPLParser.SIN - 167)) | (1 << (OpenSearchPPLParser.TAN - 167)) | (1 << (OpenSearchPPLParser.ADDDATE - 167)) | (1 << (OpenSearchPPLParser.CURDATE - 167)) | (1 << (OpenSearchPPLParser.CURRENT_DATE - 167)) | (1 << (OpenSearchPPLParser.CURRENT_TIME - 167)))) !== 0) || ((((_la - 199)) & ~0x1F) === 0 && ((1 << (_la - 199)) & ((1 << (OpenSearchPPLParser.CURRENT_TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.CURTIME - 199)) | (1 << (OpenSearchPPLParser.DATE - 199)) | (1 << (OpenSearchPPLParser.DATE_ADD - 199)) | (1 << (OpenSearchPPLParser.DATE_FORMAT - 199)) | (1 << (OpenSearchPPLParser.DATE_SUB - 199)) | (1 << (OpenSearchPPLParser.DAYNAME - 199)) | (1 << (OpenSearchPPLParser.DAYOFMONTH - 199)) | (1 << (OpenSearchPPLParser.DAYOFWEEK - 199)) | (1 << (OpenSearchPPLParser.DAYOFYEAR - 199)) | (1 << (OpenSearchPPLParser.FROM_DAYS - 199)) | (1 << (OpenSearchPPLParser.LOCALTIME - 199)) | (1 << (OpenSearchPPLParser.LOCALTIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.FROM_UNIXTIME - 199)) | (1 << (OpenSearchPPLParser.MAKEDATE - 199)) | (1 << (OpenSearchPPLParser.MAKETIME - 199)) | (1 << (OpenSearchPPLParser.MONTHNAME - 199)) | (1 << (OpenSearchPPLParser.NOW - 199)) | (1 << (OpenSearchPPLParser.PERIOD_ADD - 199)) | (1 << (OpenSearchPPLParser.PERIOD_DIFF - 199)) | (1 << (OpenSearchPPLParser.SUBDATE - 199)) | (1 << (OpenSearchPPLParser.SYSDATE - 199)) | (1 << (OpenSearchPPLParser.TIME - 199)) | (1 << (OpenSearchPPLParser.TIME_TO_SEC - 199)) | (1 << (OpenSearchPPLParser.TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.TO_DAYS - 199)) | (1 << (OpenSearchPPLParser.UTC_DATE - 199)) | (1 << (OpenSearchPPLParser.UTC_TIME - 199)) | (1 << (OpenSearchPPLParser.UTC_TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.UNIX_TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.SUBSTR - 199)) | (1 << (OpenSearchPPLParser.SUBSTRING - 199)))) !== 0) || ((((_la - 231)) & ~0x1F) === 0 && ((1 << (_la - 231)) & ((1 << (OpenSearchPPLParser.LTRIM - 231)) | (1 << (OpenSearchPPLParser.RTRIM - 231)) | (1 << (OpenSearchPPLParser.TRIM - 231)) | (1 << (OpenSearchPPLParser.LOWER - 231)) | (1 << (OpenSearchPPLParser.UPPER - 231)) | (1 << (OpenSearchPPLParser.CONCAT - 231)) | (1 << (OpenSearchPPLParser.CONCAT_WS - 231)) | (1 << (OpenSearchPPLParser.LENGTH - 231)) | (1 << (OpenSearchPPLParser.STRCMP - 231)) | (1 << (OpenSearchPPLParser.RIGHT - 231)) | (1 << (OpenSearchPPLParser.LEFT - 231)) | (1 << (OpenSearchPPLParser.ASCII - 231)) | (1 << (OpenSearchPPLParser.LOCATE - 231)) | (1 << (OpenSearchPPLParser.REPLACE - 231)))) !== 0) || ((((_la - 292)) & ~0x1F) === 0 && ((1 << (_la - 292)) & ((1 << (OpenSearchPPLParser.SPAN - 292)) | (1 << (OpenSearchPPLParser.MS - 292)) | (1 << (OpenSearchPPLParser.S - 292)) | (1 << (OpenSearchPPLParser.M - 292)) | (1 << (OpenSearchPPLParser.H - 292)) | (1 << (OpenSearchPPLParser.W - 292)) | (1 << (OpenSearchPPLParser.Q - 292)) | (1 << (OpenSearchPPLParser.Y - 292)) | (1 << (OpenSearchPPLParser.ID - 292)) | (1 << (OpenSearchPPLParser.BQUOTA_STRING - 292)))) !== 0)) {
+ {
+ {
+ this.state = 455;
+ this.mlArg();
+ }
+ }
+ this.state = 460;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public mlArg(): MlArgContext {
+ let _localctx: MlArgContext = new MlArgContext(this._ctx, this.state);
+ this.enterRule(_localctx, 54, OpenSearchPPLParser.RULE_mlArg);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ {
+ this.state = 461;
+ _localctx._argName = this.ident();
+ this.state = 462;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 463;
+ _localctx._argValue = this.literalValue();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public fromClause(): FromClauseContext {
+ let _localctx: FromClauseContext = new FromClauseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 56, OpenSearchPPLParser.RULE_fromClause);
+ try {
+ this.state = 477;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 32, this._ctx) ) {
+ case 1:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 465;
+ this.match(OpenSearchPPLParser.SOURCE);
+ this.state = 466;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 467;
+ this.tableSourceClause();
+ }
+ break;
+
+ case 2:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 468;
+ this.match(OpenSearchPPLParser.INDEX);
+ this.state = 469;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 470;
+ this.tableSourceClause();
+ }
+ break;
+
+ case 3:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 471;
+ this.match(OpenSearchPPLParser.SOURCE);
+ this.state = 472;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 473;
+ this.tableFunction();
+ }
+ break;
+
+ case 4:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 474;
+ this.match(OpenSearchPPLParser.INDEX);
+ this.state = 475;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 476;
+ this.tableFunction();
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public tableSourceClause(): TableSourceClauseContext {
+ let _localctx: TableSourceClauseContext = new TableSourceClauseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 58, OpenSearchPPLParser.RULE_tableSourceClause);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 479;
+ this.tableSource();
+ this.state = 484;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 480;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 481;
+ this.tableSource();
+ }
+ }
+ this.state = 486;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public renameClasue(): RenameClasueContext {
+ let _localctx: RenameClasueContext = new RenameClasueContext(this._ctx, this.state);
+ this.enterRule(_localctx, 60, OpenSearchPPLParser.RULE_renameClasue);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 487;
+ _localctx._orignalField = this.wcFieldExpression();
+ this.state = 488;
+ this.match(OpenSearchPPLParser.AS);
+ this.state = 489;
+ _localctx._renamedField = this.wcFieldExpression();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public byClause(): ByClauseContext {
+ let _localctx: ByClauseContext = new ByClauseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 62, OpenSearchPPLParser.RULE_byClause);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 491;
+ this.match(OpenSearchPPLParser.BY);
+ this.state = 492;
+ this.fieldList();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public statsByClause(): StatsByClauseContext {
+ let _localctx: StatsByClauseContext = new StatsByClauseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 64, OpenSearchPPLParser.RULE_statsByClause);
+ try {
+ this.state = 503;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 34, this._ctx) ) {
+ case 1:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 494;
+ this.match(OpenSearchPPLParser.BY);
+ this.state = 495;
+ this.fieldList();
+ }
+ break;
+
+ case 2:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 496;
+ this.match(OpenSearchPPLParser.BY);
+ this.state = 497;
+ this.bySpanClause();
+ }
+ break;
+
+ case 3:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 498;
+ this.match(OpenSearchPPLParser.BY);
+ this.state = 499;
+ this.bySpanClause();
+ this.state = 500;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 501;
+ this.fieldList();
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public bySpanClause(): BySpanClauseContext {
+ let _localctx: BySpanClauseContext = new BySpanClauseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 66, OpenSearchPPLParser.RULE_bySpanClause);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 505;
+ this.spanClause();
+ this.state = 508;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.AS) {
+ {
+ this.state = 506;
+ this.match(OpenSearchPPLParser.AS);
+ this.state = 507;
+ _localctx._alias = this.qualifiedName();
+ }
+ }
+
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public spanClause(): SpanClauseContext {
+ let _localctx: SpanClauseContext = new SpanClauseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 68, OpenSearchPPLParser.RULE_spanClause);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 510;
+ this.match(OpenSearchPPLParser.SPAN);
+ this.state = 511;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 512;
+ this.fieldExpression();
+ this.state = 513;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 514;
+ _localctx._value = this.literalValue();
+ this.state = 516;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.D || ((((_la - 70)) & ~0x1F) === 0 && ((1 << (_la - 70)) & ((1 << (OpenSearchPPLParser.MILLISECOND - 70)) | (1 << (OpenSearchPPLParser.SECOND - 70)) | (1 << (OpenSearchPPLParser.MINUTE - 70)) | (1 << (OpenSearchPPLParser.HOUR - 70)) | (1 << (OpenSearchPPLParser.DAY - 70)) | (1 << (OpenSearchPPLParser.WEEK - 70)) | (1 << (OpenSearchPPLParser.MONTH - 70)) | (1 << (OpenSearchPPLParser.QUARTER - 70)) | (1 << (OpenSearchPPLParser.YEAR - 70)))) !== 0) || ((((_la - 293)) & ~0x1F) === 0 && ((1 << (_la - 293)) & ((1 << (OpenSearchPPLParser.MS - 293)) | (1 << (OpenSearchPPLParser.S - 293)) | (1 << (OpenSearchPPLParser.M - 293)) | (1 << (OpenSearchPPLParser.H - 293)) | (1 << (OpenSearchPPLParser.W - 293)) | (1 << (OpenSearchPPLParser.Q - 293)) | (1 << (OpenSearchPPLParser.Y - 293)))) !== 0)) {
+ {
+ this.state = 515;
+ _localctx._unit = this.timespanUnit();
+ }
+ }
+
+ this.state = 518;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public sortbyClause(): SortbyClauseContext {
+ let _localctx: SortbyClauseContext = new SortbyClauseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 70, OpenSearchPPLParser.RULE_sortbyClause);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 520;
+ this.sortField();
+ this.state = 525;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 521;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 522;
+ this.sortField();
+ }
+ }
+ this.state = 527;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public evalClause(): EvalClauseContext {
+ let _localctx: EvalClauseContext = new EvalClauseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 72, OpenSearchPPLParser.RULE_evalClause);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 528;
+ this.fieldExpression();
+ this.state = 529;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 530;
+ this.expression();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public statsAggTerm(): StatsAggTermContext {
+ let _localctx: StatsAggTermContext = new StatsAggTermContext(this._ctx, this.state);
+ this.enterRule(_localctx, 74, OpenSearchPPLParser.RULE_statsAggTerm);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 532;
+ this.statsFunction();
+ this.state = 535;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.AS) {
+ {
+ this.state = 533;
+ this.match(OpenSearchPPLParser.AS);
+ this.state = 534;
+ _localctx._alias = this.wcFieldExpression();
+ }
+ }
+
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public statsFunction(): StatsFunctionContext {
+ let _localctx: StatsFunctionContext = new StatsFunctionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 76, OpenSearchPPLParser.RULE_statsFunction);
+ let _la: number;
+ try {
+ this.state = 552;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 39, this._ctx) ) {
+ case 1:
+ _localctx = new StatsFunctionCallContext(_localctx);
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 537;
+ this.statsFunctionName();
+ this.state = 538;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 539;
+ this.valueExpression(0);
+ this.state = 540;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ break;
+
+ case 2:
+ _localctx = new CountAllFunctionCallContext(_localctx);
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 542;
+ this.match(OpenSearchPPLParser.COUNT);
+ this.state = 543;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 544;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ break;
+
+ case 3:
+ _localctx = new DistinctCountFunctionCallContext(_localctx);
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 545;
+ _la = this._input.LA(1);
+ if (!(_la === OpenSearchPPLParser.DISTINCT_COUNT || _la === OpenSearchPPLParser.DC)) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ this.state = 546;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 547;
+ this.valueExpression(0);
+ this.state = 548;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ break;
+
+ case 4:
+ _localctx = new PercentileAggFunctionCallContext(_localctx);
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 550;
+ this.percentileAggFunction();
+ }
+ break;
+
+ case 5:
+ _localctx = new TakeAggFunctionCallContext(_localctx);
+ this.enterOuterAlt(_localctx, 5);
+ {
+ this.state = 551;
+ this.takeAggFunction();
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public statsFunctionName(): StatsFunctionNameContext {
+ let _localctx: StatsFunctionNameContext = new StatsFunctionNameContext(this._ctx, this.state);
+ this.enterRule(_localctx, 78, OpenSearchPPLParser.RULE_statsFunctionName);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 554;
+ _la = this._input.LA(1);
+ if (!(((((_la - 127)) & ~0x1F) === 0 && ((1 << (_la - 127)) & ((1 << (OpenSearchPPLParser.AVG - 127)) | (1 << (OpenSearchPPLParser.COUNT - 127)) | (1 << (OpenSearchPPLParser.MAX - 127)) | (1 << (OpenSearchPPLParser.MIN - 127)) | (1 << (OpenSearchPPLParser.SUM - 127)) | (1 << (OpenSearchPPLParser.VAR_SAMP - 127)) | (1 << (OpenSearchPPLParser.VAR_POP - 127)) | (1 << (OpenSearchPPLParser.STDDEV_SAMP - 127)) | (1 << (OpenSearchPPLParser.STDDEV_POP - 127)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public takeAggFunction(): TakeAggFunctionContext {
+ let _localctx: TakeAggFunctionContext = new TakeAggFunctionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 80, OpenSearchPPLParser.RULE_takeAggFunction);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 556;
+ this.match(OpenSearchPPLParser.TAKE);
+ this.state = 557;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 558;
+ this.fieldExpression();
+ this.state = 561;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.COMMA) {
+ {
+ this.state = 559;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 560;
+ _localctx._size = this.integerLiteral();
+ }
+ }
+
+ this.state = 563;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public percentileAggFunction(): PercentileAggFunctionContext {
+ let _localctx: PercentileAggFunctionContext = new PercentileAggFunctionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 82, OpenSearchPPLParser.RULE_percentileAggFunction);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 565;
+ this.match(OpenSearchPPLParser.PERCENTILE);
+ this.state = 566;
+ this.match(OpenSearchPPLParser.LESS);
+ this.state = 567;
+ _localctx._value = this.integerLiteral();
+ this.state = 568;
+ this.match(OpenSearchPPLParser.GREATER);
+ this.state = 569;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 570;
+ _localctx._aggField = this.fieldExpression();
+ this.state = 571;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public expression(): ExpressionContext {
+ let _localctx: ExpressionContext = new ExpressionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 84, OpenSearchPPLParser.RULE_expression);
+ try {
+ this.state = 576;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 41, this._ctx) ) {
+ case 1:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 573;
+ this.logicalExpression(0);
+ }
+ break;
+
+ case 2:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 574;
+ this.comparisonExpression();
+ }
+ break;
+
+ case 3:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 575;
+ this.valueExpression(0);
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+
+ public logicalExpression(): LogicalExpressionContext;
+ public logicalExpression(_p: number): LogicalExpressionContext;
+ // @RuleVersion(0)
+ public logicalExpression(_p?: number): LogicalExpressionContext {
+ if (_p === undefined) {
+ _p = 0;
+ }
+
+ let _parentctx: ParserRuleContext = this._ctx;
+ let _parentState: number = this.state;
+ let _localctx: LogicalExpressionContext = new LogicalExpressionContext(this._ctx, _parentState);
+ let _prevctx: LogicalExpressionContext = _localctx;
+ let _startState: number = 86;
+ this.enterRecursionRule(_localctx, 86, OpenSearchPPLParser.RULE_logicalExpression, _p);
+ let _la: number;
+ try {
+ let _alt: number;
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 584;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 42, this._ctx) ) {
+ case 1:
+ {
+ _localctx = new ComparsionContext(_localctx);
+ this._ctx = _localctx;
+ _prevctx = _localctx;
+
+ this.state = 579;
+ this.comparisonExpression();
+ }
+ break;
+
+ case 2:
+ {
+ _localctx = new LogicalNotContext(_localctx);
+ this._ctx = _localctx;
+ _prevctx = _localctx;
+ this.state = 580;
+ this.match(OpenSearchPPLParser.NOT);
+ this.state = 581;
+ this.logicalExpression(6);
+ }
+ break;
+
+ case 3:
+ {
+ _localctx = new BooleanExprContext(_localctx);
+ this._ctx = _localctx;
+ _prevctx = _localctx;
+ this.state = 582;
+ this.booleanExpression();
+ }
+ break;
+
+ case 4:
+ {
+ _localctx = new RelevanceExprContext(_localctx);
+ this._ctx = _localctx;
+ _prevctx = _localctx;
+ this.state = 583;
+ this.relevanceExpression();
+ }
+ break;
+ }
+ this._ctx._stop = this._input.tryLT(-1);
+ this.state = 599;
+ this._errHandler.sync(this);
+ _alt = this.interpreter.adaptivePredict(this._input, 45, this._ctx);
+ while (_alt !== 2 && _alt !== ATN.INVALID_ALT_NUMBER) {
+ if (_alt === 1) {
+ if (this._parseListeners != null) {
+ this.triggerExitRuleEvent();
+ }
+ _prevctx = _localctx;
+ {
+ this.state = 597;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 44, this._ctx) ) {
+ case 1:
+ {
+ _localctx = new LogicalOrContext(new LogicalExpressionContext(_parentctx, _parentState));
+ (_localctx as LogicalOrContext)._left = _prevctx;
+ this.pushNewRecursionContext(_localctx, _startState, OpenSearchPPLParser.RULE_logicalExpression);
+ this.state = 586;
+ if (!(this.precpred(this._ctx, 5))) {
+ throw this.createFailedPredicateException("this.precpred(this._ctx, 5)");
+ }
+ this.state = 587;
+ this.match(OpenSearchPPLParser.OR);
+ this.state = 588;
+ (_localctx as LogicalOrContext)._right = this.logicalExpression(6);
+ }
+ break;
+
+ case 2:
+ {
+ _localctx = new LogicalAndContext(new LogicalExpressionContext(_parentctx, _parentState));
+ (_localctx as LogicalAndContext)._left = _prevctx;
+ this.pushNewRecursionContext(_localctx, _startState, OpenSearchPPLParser.RULE_logicalExpression);
+ this.state = 589;
+ if (!(this.precpred(this._ctx, 4))) {
+ throw this.createFailedPredicateException("this.precpred(this._ctx, 4)");
+ }
+ this.state = 591;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.AND) {
+ {
+ this.state = 590;
+ this.match(OpenSearchPPLParser.AND);
+ }
+ }
+
+ this.state = 593;
+ (_localctx as LogicalAndContext)._right = this.logicalExpression(5);
+ }
+ break;
+
+ case 3:
+ {
+ _localctx = new LogicalXorContext(new LogicalExpressionContext(_parentctx, _parentState));
+ (_localctx as LogicalXorContext)._left = _prevctx;
+ this.pushNewRecursionContext(_localctx, _startState, OpenSearchPPLParser.RULE_logicalExpression);
+ this.state = 594;
+ if (!(this.precpred(this._ctx, 3))) {
+ throw this.createFailedPredicateException("this.precpred(this._ctx, 3)");
+ }
+ this.state = 595;
+ this.match(OpenSearchPPLParser.XOR);
+ this.state = 596;
+ (_localctx as LogicalXorContext)._right = this.logicalExpression(4);
+ }
+ break;
+ }
+ }
+ }
+ this.state = 601;
+ this._errHandler.sync(this);
+ _alt = this.interpreter.adaptivePredict(this._input, 45, this._ctx);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.unrollRecursionContexts(_parentctx);
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public comparisonExpression(): ComparisonExpressionContext {
+ let _localctx: ComparisonExpressionContext = new ComparisonExpressionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 88, OpenSearchPPLParser.RULE_comparisonExpression);
+ try {
+ this.state = 610;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 46, this._ctx) ) {
+ case 1:
+ _localctx = new CompareExprContext(_localctx);
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 602;
+ (_localctx as CompareExprContext)._left = this.valueExpression(0);
+ this.state = 603;
+ this.comparisonOperator();
+ this.state = 604;
+ (_localctx as CompareExprContext)._right = this.valueExpression(0);
+ }
+ break;
+
+ case 2:
+ _localctx = new InExprContext(_localctx);
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 606;
+ this.valueExpression(0);
+ this.state = 607;
+ this.match(OpenSearchPPLParser.IN);
+ this.state = 608;
+ this.valueList();
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+
+ public valueExpression(): ValueExpressionContext;
+ public valueExpression(_p: number): ValueExpressionContext;
+ // @RuleVersion(0)
+ public valueExpression(_p?: number): ValueExpressionContext {
+ if (_p === undefined) {
+ _p = 0;
+ }
+
+ let _parentctx: ParserRuleContext = this._ctx;
+ let _parentState: number = this.state;
+ let _localctx: ValueExpressionContext = new ValueExpressionContext(this._ctx, _parentState);
+ let _prevctx: ValueExpressionContext = _localctx;
+ let _startState: number = 90;
+ this.enterRecursionRule(_localctx, 90, OpenSearchPPLParser.RULE_valueExpression, _p);
+ try {
+ let _alt: number;
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 620;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.LT_PRTHS:
+ {
+ _localctx = new ParentheticBinaryArithmeticContext(_localctx);
+ this._ctx = _localctx;
+ _prevctx = _localctx;
+
+ this.state = 613;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 614;
+ (_localctx as ParentheticBinaryArithmeticContext)._left = this.valueExpression(0);
+ this.state = 615;
+ this.binaryOperator();
+ this.state = 616;
+ (_localctx as ParentheticBinaryArithmeticContext)._right = this.valueExpression(0);
+ this.state = 617;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ break;
+ case OpenSearchPPLParser.D:
+ case OpenSearchPPLParser.TRUE:
+ case OpenSearchPPLParser.FALSE:
+ case OpenSearchPPLParser.DATETIME:
+ case OpenSearchPPLParser.INTERVAL:
+ case OpenSearchPPLParser.MICROSECOND:
+ case OpenSearchPPLParser.MILLISECOND:
+ case OpenSearchPPLParser.SECOND:
+ case OpenSearchPPLParser.MINUTE:
+ case OpenSearchPPLParser.HOUR:
+ case OpenSearchPPLParser.DAY:
+ case OpenSearchPPLParser.WEEK:
+ case OpenSearchPPLParser.MONTH:
+ case OpenSearchPPLParser.QUARTER:
+ case OpenSearchPPLParser.YEAR:
+ case OpenSearchPPLParser.CONVERT_TZ:
+ case OpenSearchPPLParser.DOT:
+ case OpenSearchPPLParser.PLUS:
+ case OpenSearchPPLParser.MINUS:
+ case OpenSearchPPLParser.BACKTICK:
+ case OpenSearchPPLParser.AVG:
+ case OpenSearchPPLParser.COUNT:
+ case OpenSearchPPLParser.MAX:
+ case OpenSearchPPLParser.MIN:
+ case OpenSearchPPLParser.SUM:
+ case OpenSearchPPLParser.VAR_SAMP:
+ case OpenSearchPPLParser.VAR_POP:
+ case OpenSearchPPLParser.STDDEV_SAMP:
+ case OpenSearchPPLParser.STDDEV_POP:
+ case OpenSearchPPLParser.FIRST:
+ case OpenSearchPPLParser.LAST:
+ case OpenSearchPPLParser.ABS:
+ case OpenSearchPPLParser.CEIL:
+ case OpenSearchPPLParser.CEILING:
+ case OpenSearchPPLParser.CONV:
+ case OpenSearchPPLParser.CRC32:
+ case OpenSearchPPLParser.E:
+ case OpenSearchPPLParser.EXP:
+ case OpenSearchPPLParser.FLOOR:
+ case OpenSearchPPLParser.LN:
+ case OpenSearchPPLParser.LOG:
+ case OpenSearchPPLParser.LOG10:
+ case OpenSearchPPLParser.LOG2:
+ case OpenSearchPPLParser.MOD:
+ case OpenSearchPPLParser.PI:
+ case OpenSearchPPLParser.POW:
+ case OpenSearchPPLParser.POWER:
+ case OpenSearchPPLParser.RAND:
+ case OpenSearchPPLParser.ROUND:
+ case OpenSearchPPLParser.SIGN:
+ case OpenSearchPPLParser.SQRT:
+ case OpenSearchPPLParser.TRUNCATE:
+ case OpenSearchPPLParser.ACOS:
+ case OpenSearchPPLParser.ASIN:
+ case OpenSearchPPLParser.ATAN:
+ case OpenSearchPPLParser.ATAN2:
+ case OpenSearchPPLParser.COS:
+ case OpenSearchPPLParser.COT:
+ case OpenSearchPPLParser.DEGREES:
+ case OpenSearchPPLParser.RADIANS:
+ case OpenSearchPPLParser.SIN:
+ case OpenSearchPPLParser.TAN:
+ case OpenSearchPPLParser.ADDDATE:
+ case OpenSearchPPLParser.CURDATE:
+ case OpenSearchPPLParser.CURRENT_DATE:
+ case OpenSearchPPLParser.CURRENT_TIME:
+ case OpenSearchPPLParser.CURRENT_TIMESTAMP:
+ case OpenSearchPPLParser.CURTIME:
+ case OpenSearchPPLParser.DATE:
+ case OpenSearchPPLParser.DATE_ADD:
+ case OpenSearchPPLParser.DATE_FORMAT:
+ case OpenSearchPPLParser.DATE_SUB:
+ case OpenSearchPPLParser.DAYNAME:
+ case OpenSearchPPLParser.DAYOFMONTH:
+ case OpenSearchPPLParser.DAYOFWEEK:
+ case OpenSearchPPLParser.DAYOFYEAR:
+ case OpenSearchPPLParser.FROM_DAYS:
+ case OpenSearchPPLParser.LOCALTIME:
+ case OpenSearchPPLParser.LOCALTIMESTAMP:
+ case OpenSearchPPLParser.FROM_UNIXTIME:
+ case OpenSearchPPLParser.MAKEDATE:
+ case OpenSearchPPLParser.MAKETIME:
+ case OpenSearchPPLParser.MONTHNAME:
+ case OpenSearchPPLParser.NOW:
+ case OpenSearchPPLParser.PERIOD_ADD:
+ case OpenSearchPPLParser.PERIOD_DIFF:
+ case OpenSearchPPLParser.SUBDATE:
+ case OpenSearchPPLParser.SYSDATE:
+ case OpenSearchPPLParser.TIME:
+ case OpenSearchPPLParser.TIME_TO_SEC:
+ case OpenSearchPPLParser.TIMESTAMP:
+ case OpenSearchPPLParser.TO_DAYS:
+ case OpenSearchPPLParser.UTC_DATE:
+ case OpenSearchPPLParser.UTC_TIME:
+ case OpenSearchPPLParser.UTC_TIMESTAMP:
+ case OpenSearchPPLParser.UNIX_TIMESTAMP:
+ case OpenSearchPPLParser.SUBSTR:
+ case OpenSearchPPLParser.SUBSTRING:
+ case OpenSearchPPLParser.LTRIM:
+ case OpenSearchPPLParser.RTRIM:
+ case OpenSearchPPLParser.TRIM:
+ case OpenSearchPPLParser.LOWER:
+ case OpenSearchPPLParser.UPPER:
+ case OpenSearchPPLParser.CONCAT:
+ case OpenSearchPPLParser.CONCAT_WS:
+ case OpenSearchPPLParser.LENGTH:
+ case OpenSearchPPLParser.STRCMP:
+ case OpenSearchPPLParser.RIGHT:
+ case OpenSearchPPLParser.LEFT:
+ case OpenSearchPPLParser.ASCII:
+ case OpenSearchPPLParser.LOCATE:
+ case OpenSearchPPLParser.REPLACE:
+ case OpenSearchPPLParser.CAST:
+ case OpenSearchPPLParser.LIKE:
+ case OpenSearchPPLParser.ISNULL:
+ case OpenSearchPPLParser.ISNOTNULL:
+ case OpenSearchPPLParser.IFNULL:
+ case OpenSearchPPLParser.NULLIF:
+ case OpenSearchPPLParser.IF:
+ case OpenSearchPPLParser.TYPEOF:
+ case OpenSearchPPLParser.SPAN:
+ case OpenSearchPPLParser.MS:
+ case OpenSearchPPLParser.S:
+ case OpenSearchPPLParser.M:
+ case OpenSearchPPLParser.H:
+ case OpenSearchPPLParser.W:
+ case OpenSearchPPLParser.Q:
+ case OpenSearchPPLParser.Y:
+ case OpenSearchPPLParser.ID:
+ case OpenSearchPPLParser.INTEGER_LITERAL:
+ case OpenSearchPPLParser.DECIMAL_LITERAL:
+ case OpenSearchPPLParser.DQUOTA_STRING:
+ case OpenSearchPPLParser.SQUOTA_STRING:
+ case OpenSearchPPLParser.BQUOTA_STRING:
+ {
+ _localctx = new ValueExpressionDefaultContext(_localctx);
+ this._ctx = _localctx;
+ _prevctx = _localctx;
+ this.state = 619;
+ this.primaryExpression();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ this._ctx._stop = this._input.tryLT(-1);
+ this.state = 628;
+ this._errHandler.sync(this);
+ _alt = this.interpreter.adaptivePredict(this._input, 48, this._ctx);
+ while (_alt !== 2 && _alt !== ATN.INVALID_ALT_NUMBER) {
+ if (_alt === 1) {
+ if (this._parseListeners != null) {
+ this.triggerExitRuleEvent();
+ }
+ _prevctx = _localctx;
+ {
+ {
+ _localctx = new BinaryArithmeticContext(new ValueExpressionContext(_parentctx, _parentState));
+ (_localctx as BinaryArithmeticContext)._left = _prevctx;
+ this.pushNewRecursionContext(_localctx, _startState, OpenSearchPPLParser.RULE_valueExpression);
+ this.state = 622;
+ if (!(this.precpred(this._ctx, 3))) {
+ throw this.createFailedPredicateException("this.precpred(this._ctx, 3)");
+ }
+ this.state = 623;
+ this.binaryOperator();
+ this.state = 624;
+ (_localctx as BinaryArithmeticContext)._right = this.valueExpression(4);
+ }
+ }
+ }
+ this.state = 630;
+ this._errHandler.sync(this);
+ _alt = this.interpreter.adaptivePredict(this._input, 48, this._ctx);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.unrollRecursionContexts(_parentctx);
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public primaryExpression(): PrimaryExpressionContext {
+ let _localctx: PrimaryExpressionContext = new PrimaryExpressionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 92, OpenSearchPPLParser.RULE_primaryExpression);
+ try {
+ this.state = 636;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 49, this._ctx) ) {
+ case 1:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 631;
+ this.evalFunctionCall();
+ }
+ break;
+
+ case 2:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 632;
+ this.dataTypeFunctionCall();
+ }
+ break;
+
+ case 3:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 633;
+ this.fieldExpression();
+ }
+ break;
+
+ case 4:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 634;
+ this.literalValue();
+ }
+ break;
+
+ case 5:
+ this.enterOuterAlt(_localctx, 5);
+ {
+ this.state = 635;
+ this.constantFunction();
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public constantFunction(): ConstantFunctionContext {
+ let _localctx: ConstantFunctionContext = new ConstantFunctionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 94, OpenSearchPPLParser.RULE_constantFunction);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 638;
+ this.constantFunctionName();
+ this.state = 639;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 641;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 50, this._ctx) ) {
+ case 1:
+ {
+ this.state = 640;
+ this.functionArgs();
+ }
+ break;
+ }
+ this.state = 643;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public booleanExpression(): BooleanExpressionContext {
+ let _localctx: BooleanExpressionContext = new BooleanExpressionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 96, OpenSearchPPLParser.RULE_booleanExpression);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 645;
+ this.booleanFunctionCall();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public relevanceExpression(): RelevanceExpressionContext {
+ let _localctx: RelevanceExpressionContext = new RelevanceExpressionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 98, OpenSearchPPLParser.RULE_relevanceExpression);
+ try {
+ this.state = 649;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.MATCH:
+ case OpenSearchPPLParser.MATCH_PHRASE:
+ case OpenSearchPPLParser.MATCH_PHRASE_PREFIX:
+ case OpenSearchPPLParser.MATCH_BOOL_PREFIX:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 647;
+ this.singleFieldRelevanceFunction();
+ }
+ break;
+ case OpenSearchPPLParser.SIMPLE_QUERY_STRING:
+ case OpenSearchPPLParser.MULTI_MATCH:
+ case OpenSearchPPLParser.QUERY_STRING:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 648;
+ this.multiFieldRelevanceFunction();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public singleFieldRelevanceFunction(): SingleFieldRelevanceFunctionContext {
+ let _localctx: SingleFieldRelevanceFunctionContext = new SingleFieldRelevanceFunctionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 100, OpenSearchPPLParser.RULE_singleFieldRelevanceFunction);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 651;
+ this.singleFieldRelevanceFunctionName();
+ this.state = 652;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 653;
+ _localctx._field = this.relevanceField();
+ this.state = 654;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 655;
+ _localctx._query = this.relevanceQuery();
+ this.state = 660;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 656;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 657;
+ this.relevanceArg();
+ }
+ }
+ this.state = 662;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ this.state = 663;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public multiFieldRelevanceFunction(): MultiFieldRelevanceFunctionContext {
+ let _localctx: MultiFieldRelevanceFunctionContext = new MultiFieldRelevanceFunctionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 102, OpenSearchPPLParser.RULE_multiFieldRelevanceFunction);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 665;
+ this.multiFieldRelevanceFunctionName();
+ this.state = 666;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 667;
+ this.match(OpenSearchPPLParser.LT_SQR_PRTHS);
+ this.state = 668;
+ _localctx._field = this.relevanceFieldAndWeight();
+ this.state = 673;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 669;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 670;
+ _localctx._field = this.relevanceFieldAndWeight();
+ }
+ }
+ this.state = 675;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ this.state = 676;
+ this.match(OpenSearchPPLParser.RT_SQR_PRTHS);
+ this.state = 677;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 678;
+ _localctx._query = this.relevanceQuery();
+ this.state = 683;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 679;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 680;
+ this.relevanceArg();
+ }
+ }
+ this.state = 685;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ this.state = 686;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public tableSource(): TableSourceContext {
+ let _localctx: TableSourceContext = new TableSourceContext(this._ctx, this.state);
+ this.enterRule(_localctx, 104, OpenSearchPPLParser.RULE_tableSource);
+ try {
+ this.state = 690;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.D:
+ case OpenSearchPPLParser.DATETIME:
+ case OpenSearchPPLParser.MICROSECOND:
+ case OpenSearchPPLParser.MILLISECOND:
+ case OpenSearchPPLParser.SECOND:
+ case OpenSearchPPLParser.MINUTE:
+ case OpenSearchPPLParser.HOUR:
+ case OpenSearchPPLParser.DAY:
+ case OpenSearchPPLParser.WEEK:
+ case OpenSearchPPLParser.MONTH:
+ case OpenSearchPPLParser.QUARTER:
+ case OpenSearchPPLParser.YEAR:
+ case OpenSearchPPLParser.CONVERT_TZ:
+ case OpenSearchPPLParser.DOT:
+ case OpenSearchPPLParser.BACKTICK:
+ case OpenSearchPPLParser.AVG:
+ case OpenSearchPPLParser.COUNT:
+ case OpenSearchPPLParser.MAX:
+ case OpenSearchPPLParser.MIN:
+ case OpenSearchPPLParser.SUM:
+ case OpenSearchPPLParser.VAR_SAMP:
+ case OpenSearchPPLParser.VAR_POP:
+ case OpenSearchPPLParser.STDDEV_SAMP:
+ case OpenSearchPPLParser.STDDEV_POP:
+ case OpenSearchPPLParser.FIRST:
+ case OpenSearchPPLParser.LAST:
+ case OpenSearchPPLParser.ABS:
+ case OpenSearchPPLParser.CEIL:
+ case OpenSearchPPLParser.CEILING:
+ case OpenSearchPPLParser.CONV:
+ case OpenSearchPPLParser.CRC32:
+ case OpenSearchPPLParser.E:
+ case OpenSearchPPLParser.EXP:
+ case OpenSearchPPLParser.FLOOR:
+ case OpenSearchPPLParser.LN:
+ case OpenSearchPPLParser.LOG:
+ case OpenSearchPPLParser.LOG10:
+ case OpenSearchPPLParser.LOG2:
+ case OpenSearchPPLParser.MOD:
+ case OpenSearchPPLParser.PI:
+ case OpenSearchPPLParser.POW:
+ case OpenSearchPPLParser.POWER:
+ case OpenSearchPPLParser.RAND:
+ case OpenSearchPPLParser.ROUND:
+ case OpenSearchPPLParser.SIGN:
+ case OpenSearchPPLParser.SQRT:
+ case OpenSearchPPLParser.TRUNCATE:
+ case OpenSearchPPLParser.ACOS:
+ case OpenSearchPPLParser.ASIN:
+ case OpenSearchPPLParser.ATAN:
+ case OpenSearchPPLParser.ATAN2:
+ case OpenSearchPPLParser.COS:
+ case OpenSearchPPLParser.COT:
+ case OpenSearchPPLParser.DEGREES:
+ case OpenSearchPPLParser.RADIANS:
+ case OpenSearchPPLParser.SIN:
+ case OpenSearchPPLParser.TAN:
+ case OpenSearchPPLParser.ADDDATE:
+ case OpenSearchPPLParser.CURDATE:
+ case OpenSearchPPLParser.CURRENT_DATE:
+ case OpenSearchPPLParser.CURRENT_TIME:
+ case OpenSearchPPLParser.CURRENT_TIMESTAMP:
+ case OpenSearchPPLParser.CURTIME:
+ case OpenSearchPPLParser.DATE:
+ case OpenSearchPPLParser.DATE_ADD:
+ case OpenSearchPPLParser.DATE_FORMAT:
+ case OpenSearchPPLParser.DATE_SUB:
+ case OpenSearchPPLParser.DAYNAME:
+ case OpenSearchPPLParser.DAYOFMONTH:
+ case OpenSearchPPLParser.DAYOFWEEK:
+ case OpenSearchPPLParser.DAYOFYEAR:
+ case OpenSearchPPLParser.FROM_DAYS:
+ case OpenSearchPPLParser.LOCALTIME:
+ case OpenSearchPPLParser.LOCALTIMESTAMP:
+ case OpenSearchPPLParser.FROM_UNIXTIME:
+ case OpenSearchPPLParser.MAKEDATE:
+ case OpenSearchPPLParser.MAKETIME:
+ case OpenSearchPPLParser.MONTHNAME:
+ case OpenSearchPPLParser.NOW:
+ case OpenSearchPPLParser.PERIOD_ADD:
+ case OpenSearchPPLParser.PERIOD_DIFF:
+ case OpenSearchPPLParser.SUBDATE:
+ case OpenSearchPPLParser.SYSDATE:
+ case OpenSearchPPLParser.TIME:
+ case OpenSearchPPLParser.TIME_TO_SEC:
+ case OpenSearchPPLParser.TIMESTAMP:
+ case OpenSearchPPLParser.TO_DAYS:
+ case OpenSearchPPLParser.UTC_DATE:
+ case OpenSearchPPLParser.UTC_TIME:
+ case OpenSearchPPLParser.UTC_TIMESTAMP:
+ case OpenSearchPPLParser.UNIX_TIMESTAMP:
+ case OpenSearchPPLParser.SUBSTR:
+ case OpenSearchPPLParser.SUBSTRING:
+ case OpenSearchPPLParser.LTRIM:
+ case OpenSearchPPLParser.RTRIM:
+ case OpenSearchPPLParser.TRIM:
+ case OpenSearchPPLParser.LOWER:
+ case OpenSearchPPLParser.UPPER:
+ case OpenSearchPPLParser.CONCAT:
+ case OpenSearchPPLParser.CONCAT_WS:
+ case OpenSearchPPLParser.LENGTH:
+ case OpenSearchPPLParser.STRCMP:
+ case OpenSearchPPLParser.RIGHT:
+ case OpenSearchPPLParser.LEFT:
+ case OpenSearchPPLParser.ASCII:
+ case OpenSearchPPLParser.LOCATE:
+ case OpenSearchPPLParser.REPLACE:
+ case OpenSearchPPLParser.SPAN:
+ case OpenSearchPPLParser.MS:
+ case OpenSearchPPLParser.S:
+ case OpenSearchPPLParser.M:
+ case OpenSearchPPLParser.H:
+ case OpenSearchPPLParser.W:
+ case OpenSearchPPLParser.Q:
+ case OpenSearchPPLParser.Y:
+ case OpenSearchPPLParser.ID:
+ case OpenSearchPPLParser.BQUOTA_STRING:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 688;
+ this.qualifiedName();
+ }
+ break;
+ case OpenSearchPPLParser.ID_DATE_SUFFIX:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 689;
+ this.match(OpenSearchPPLParser.ID_DATE_SUFFIX);
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public tableFunction(): TableFunctionContext {
+ let _localctx: TableFunctionContext = new TableFunctionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 106, OpenSearchPPLParser.RULE_tableFunction);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 692;
+ this.qualifiedName();
+ this.state = 693;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 694;
+ this.functionArgs();
+ this.state = 695;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public fieldList(): FieldListContext {
+ let _localctx: FieldListContext = new FieldListContext(this._ctx, this.state);
+ this.enterRule(_localctx, 108, OpenSearchPPLParser.RULE_fieldList);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 697;
+ this.fieldExpression();
+ this.state = 702;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 698;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 699;
+ this.fieldExpression();
+ }
+ }
+ this.state = 704;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public wcFieldList(): WcFieldListContext {
+ let _localctx: WcFieldListContext = new WcFieldListContext(this._ctx, this.state);
+ this.enterRule(_localctx, 110, OpenSearchPPLParser.RULE_wcFieldList);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 705;
+ this.wcFieldExpression();
+ this.state = 710;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 706;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 707;
+ this.wcFieldExpression();
+ }
+ }
+ this.state = 712;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public sortField(): SortFieldContext {
+ let _localctx: SortFieldContext = new SortFieldContext(this._ctx, this.state);
+ this.enterRule(_localctx, 112, OpenSearchPPLParser.RULE_sortField);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 714;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.PLUS || _la === OpenSearchPPLParser.MINUS) {
+ {
+ this.state = 713;
+ _la = this._input.LA(1);
+ if (!(_la === OpenSearchPPLParser.PLUS || _la === OpenSearchPPLParser.MINUS)) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+
+ this.state = 716;
+ this.sortFieldExpression();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public sortFieldExpression(): SortFieldExpressionContext {
+ let _localctx: SortFieldExpressionContext = new SortFieldExpressionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 114, OpenSearchPPLParser.RULE_sortFieldExpression);
+ try {
+ this.state = 739;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.D:
+ case OpenSearchPPLParser.DATETIME:
+ case OpenSearchPPLParser.MICROSECOND:
+ case OpenSearchPPLParser.MILLISECOND:
+ case OpenSearchPPLParser.SECOND:
+ case OpenSearchPPLParser.MINUTE:
+ case OpenSearchPPLParser.HOUR:
+ case OpenSearchPPLParser.DAY:
+ case OpenSearchPPLParser.WEEK:
+ case OpenSearchPPLParser.MONTH:
+ case OpenSearchPPLParser.QUARTER:
+ case OpenSearchPPLParser.YEAR:
+ case OpenSearchPPLParser.CONVERT_TZ:
+ case OpenSearchPPLParser.DOT:
+ case OpenSearchPPLParser.BACKTICK:
+ case OpenSearchPPLParser.AVG:
+ case OpenSearchPPLParser.COUNT:
+ case OpenSearchPPLParser.MAX:
+ case OpenSearchPPLParser.MIN:
+ case OpenSearchPPLParser.SUM:
+ case OpenSearchPPLParser.VAR_SAMP:
+ case OpenSearchPPLParser.VAR_POP:
+ case OpenSearchPPLParser.STDDEV_SAMP:
+ case OpenSearchPPLParser.STDDEV_POP:
+ case OpenSearchPPLParser.FIRST:
+ case OpenSearchPPLParser.LAST:
+ case OpenSearchPPLParser.ABS:
+ case OpenSearchPPLParser.CEIL:
+ case OpenSearchPPLParser.CEILING:
+ case OpenSearchPPLParser.CONV:
+ case OpenSearchPPLParser.CRC32:
+ case OpenSearchPPLParser.E:
+ case OpenSearchPPLParser.EXP:
+ case OpenSearchPPLParser.FLOOR:
+ case OpenSearchPPLParser.LN:
+ case OpenSearchPPLParser.LOG:
+ case OpenSearchPPLParser.LOG10:
+ case OpenSearchPPLParser.LOG2:
+ case OpenSearchPPLParser.MOD:
+ case OpenSearchPPLParser.PI:
+ case OpenSearchPPLParser.POW:
+ case OpenSearchPPLParser.POWER:
+ case OpenSearchPPLParser.RAND:
+ case OpenSearchPPLParser.ROUND:
+ case OpenSearchPPLParser.SIGN:
+ case OpenSearchPPLParser.SQRT:
+ case OpenSearchPPLParser.TRUNCATE:
+ case OpenSearchPPLParser.ACOS:
+ case OpenSearchPPLParser.ASIN:
+ case OpenSearchPPLParser.ATAN:
+ case OpenSearchPPLParser.ATAN2:
+ case OpenSearchPPLParser.COS:
+ case OpenSearchPPLParser.COT:
+ case OpenSearchPPLParser.DEGREES:
+ case OpenSearchPPLParser.RADIANS:
+ case OpenSearchPPLParser.SIN:
+ case OpenSearchPPLParser.TAN:
+ case OpenSearchPPLParser.ADDDATE:
+ case OpenSearchPPLParser.CURDATE:
+ case OpenSearchPPLParser.CURRENT_DATE:
+ case OpenSearchPPLParser.CURRENT_TIME:
+ case OpenSearchPPLParser.CURRENT_TIMESTAMP:
+ case OpenSearchPPLParser.CURTIME:
+ case OpenSearchPPLParser.DATE:
+ case OpenSearchPPLParser.DATE_ADD:
+ case OpenSearchPPLParser.DATE_FORMAT:
+ case OpenSearchPPLParser.DATE_SUB:
+ case OpenSearchPPLParser.DAYNAME:
+ case OpenSearchPPLParser.DAYOFMONTH:
+ case OpenSearchPPLParser.DAYOFWEEK:
+ case OpenSearchPPLParser.DAYOFYEAR:
+ case OpenSearchPPLParser.FROM_DAYS:
+ case OpenSearchPPLParser.LOCALTIME:
+ case OpenSearchPPLParser.LOCALTIMESTAMP:
+ case OpenSearchPPLParser.FROM_UNIXTIME:
+ case OpenSearchPPLParser.MAKEDATE:
+ case OpenSearchPPLParser.MAKETIME:
+ case OpenSearchPPLParser.MONTHNAME:
+ case OpenSearchPPLParser.NOW:
+ case OpenSearchPPLParser.PERIOD_ADD:
+ case OpenSearchPPLParser.PERIOD_DIFF:
+ case OpenSearchPPLParser.SUBDATE:
+ case OpenSearchPPLParser.SYSDATE:
+ case OpenSearchPPLParser.TIME:
+ case OpenSearchPPLParser.TIME_TO_SEC:
+ case OpenSearchPPLParser.TIMESTAMP:
+ case OpenSearchPPLParser.TO_DAYS:
+ case OpenSearchPPLParser.UTC_DATE:
+ case OpenSearchPPLParser.UTC_TIME:
+ case OpenSearchPPLParser.UTC_TIMESTAMP:
+ case OpenSearchPPLParser.UNIX_TIMESTAMP:
+ case OpenSearchPPLParser.SUBSTR:
+ case OpenSearchPPLParser.SUBSTRING:
+ case OpenSearchPPLParser.LTRIM:
+ case OpenSearchPPLParser.RTRIM:
+ case OpenSearchPPLParser.TRIM:
+ case OpenSearchPPLParser.LOWER:
+ case OpenSearchPPLParser.UPPER:
+ case OpenSearchPPLParser.CONCAT:
+ case OpenSearchPPLParser.CONCAT_WS:
+ case OpenSearchPPLParser.LENGTH:
+ case OpenSearchPPLParser.STRCMP:
+ case OpenSearchPPLParser.RIGHT:
+ case OpenSearchPPLParser.LEFT:
+ case OpenSearchPPLParser.ASCII:
+ case OpenSearchPPLParser.LOCATE:
+ case OpenSearchPPLParser.REPLACE:
+ case OpenSearchPPLParser.SPAN:
+ case OpenSearchPPLParser.MS:
+ case OpenSearchPPLParser.S:
+ case OpenSearchPPLParser.M:
+ case OpenSearchPPLParser.H:
+ case OpenSearchPPLParser.W:
+ case OpenSearchPPLParser.Q:
+ case OpenSearchPPLParser.Y:
+ case OpenSearchPPLParser.ID:
+ case OpenSearchPPLParser.BQUOTA_STRING:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 718;
+ this.fieldExpression();
+ }
+ break;
+ case OpenSearchPPLParser.AUTO:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 719;
+ this.match(OpenSearchPPLParser.AUTO);
+ this.state = 720;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 721;
+ this.fieldExpression();
+ this.state = 722;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ break;
+ case OpenSearchPPLParser.STR:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 724;
+ this.match(OpenSearchPPLParser.STR);
+ this.state = 725;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 726;
+ this.fieldExpression();
+ this.state = 727;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ break;
+ case OpenSearchPPLParser.IP:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 729;
+ this.match(OpenSearchPPLParser.IP);
+ this.state = 730;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 731;
+ this.fieldExpression();
+ this.state = 732;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ break;
+ case OpenSearchPPLParser.NUM:
+ this.enterOuterAlt(_localctx, 5);
+ {
+ this.state = 734;
+ this.match(OpenSearchPPLParser.NUM);
+ this.state = 735;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 736;
+ this.fieldExpression();
+ this.state = 737;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public fieldExpression(): FieldExpressionContext {
+ let _localctx: FieldExpressionContext = new FieldExpressionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 116, OpenSearchPPLParser.RULE_fieldExpression);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 741;
+ this.qualifiedName();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public wcFieldExpression(): WcFieldExpressionContext {
+ let _localctx: WcFieldExpressionContext = new WcFieldExpressionContext(this._ctx, this.state);
+ this.enterRule(_localctx, 118, OpenSearchPPLParser.RULE_wcFieldExpression);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 743;
+ this.wcQualifiedName();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public evalFunctionCall(): EvalFunctionCallContext {
+ let _localctx: EvalFunctionCallContext = new EvalFunctionCallContext(this._ctx, this.state);
+ this.enterRule(_localctx, 120, OpenSearchPPLParser.RULE_evalFunctionCall);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 745;
+ this.evalFunctionName();
+ this.state = 746;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 747;
+ this.functionArgs();
+ this.state = 748;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public dataTypeFunctionCall(): DataTypeFunctionCallContext {
+ let _localctx: DataTypeFunctionCallContext = new DataTypeFunctionCallContext(this._ctx, this.state);
+ this.enterRule(_localctx, 122, OpenSearchPPLParser.RULE_dataTypeFunctionCall);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 750;
+ this.match(OpenSearchPPLParser.CAST);
+ this.state = 751;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 752;
+ this.expression();
+ this.state = 753;
+ this.match(OpenSearchPPLParser.AS);
+ this.state = 754;
+ this.convertedDataType();
+ this.state = 755;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public booleanFunctionCall(): BooleanFunctionCallContext {
+ let _localctx: BooleanFunctionCallContext = new BooleanFunctionCallContext(this._ctx, this.state);
+ this.enterRule(_localctx, 124, OpenSearchPPLParser.RULE_booleanFunctionCall);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 757;
+ this.conditionFunctionBase();
+ this.state = 758;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 759;
+ this.functionArgs();
+ this.state = 760;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public convertedDataType(): ConvertedDataTypeContext {
+ let _localctx: ConvertedDataTypeContext = new ConvertedDataTypeContext(this._ctx, this.state);
+ this.enterRule(_localctx, 126, OpenSearchPPLParser.RULE_convertedDataType);
+ try {
+ this.state = 772;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.DATE:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 762;
+ _localctx._typeName = this.match(OpenSearchPPLParser.DATE);
+ }
+ break;
+ case OpenSearchPPLParser.TIME:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 763;
+ _localctx._typeName = this.match(OpenSearchPPLParser.TIME);
+ }
+ break;
+ case OpenSearchPPLParser.TIMESTAMP:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 764;
+ _localctx._typeName = this.match(OpenSearchPPLParser.TIMESTAMP);
+ }
+ break;
+ case OpenSearchPPLParser.INT:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 765;
+ _localctx._typeName = this.match(OpenSearchPPLParser.INT);
+ }
+ break;
+ case OpenSearchPPLParser.INTEGER:
+ this.enterOuterAlt(_localctx, 5);
+ {
+ this.state = 766;
+ _localctx._typeName = this.match(OpenSearchPPLParser.INTEGER);
+ }
+ break;
+ case OpenSearchPPLParser.DOUBLE:
+ this.enterOuterAlt(_localctx, 6);
+ {
+ this.state = 767;
+ _localctx._typeName = this.match(OpenSearchPPLParser.DOUBLE);
+ }
+ break;
+ case OpenSearchPPLParser.LONG:
+ this.enterOuterAlt(_localctx, 7);
+ {
+ this.state = 768;
+ _localctx._typeName = this.match(OpenSearchPPLParser.LONG);
+ }
+ break;
+ case OpenSearchPPLParser.FLOAT:
+ this.enterOuterAlt(_localctx, 8);
+ {
+ this.state = 769;
+ _localctx._typeName = this.match(OpenSearchPPLParser.FLOAT);
+ }
+ break;
+ case OpenSearchPPLParser.STRING:
+ this.enterOuterAlt(_localctx, 9);
+ {
+ this.state = 770;
+ _localctx._typeName = this.match(OpenSearchPPLParser.STRING);
+ }
+ break;
+ case OpenSearchPPLParser.BOOLEAN:
+ this.enterOuterAlt(_localctx, 10);
+ {
+ this.state = 771;
+ _localctx._typeName = this.match(OpenSearchPPLParser.BOOLEAN);
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public evalFunctionName(): EvalFunctionNameContext {
+ let _localctx: EvalFunctionNameContext = new EvalFunctionNameContext(this._ctx, this.state);
+ this.enterRule(_localctx, 128, OpenSearchPPLParser.RULE_evalFunctionName);
+ try {
+ this.state = 779;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.ABS:
+ case OpenSearchPPLParser.CEIL:
+ case OpenSearchPPLParser.CEILING:
+ case OpenSearchPPLParser.CONV:
+ case OpenSearchPPLParser.CRC32:
+ case OpenSearchPPLParser.E:
+ case OpenSearchPPLParser.EXP:
+ case OpenSearchPPLParser.FLOOR:
+ case OpenSearchPPLParser.LN:
+ case OpenSearchPPLParser.LOG:
+ case OpenSearchPPLParser.LOG10:
+ case OpenSearchPPLParser.LOG2:
+ case OpenSearchPPLParser.MOD:
+ case OpenSearchPPLParser.PI:
+ case OpenSearchPPLParser.POW:
+ case OpenSearchPPLParser.POWER:
+ case OpenSearchPPLParser.RAND:
+ case OpenSearchPPLParser.ROUND:
+ case OpenSearchPPLParser.SIGN:
+ case OpenSearchPPLParser.SQRT:
+ case OpenSearchPPLParser.TRUNCATE:
+ case OpenSearchPPLParser.ACOS:
+ case OpenSearchPPLParser.ASIN:
+ case OpenSearchPPLParser.ATAN:
+ case OpenSearchPPLParser.ATAN2:
+ case OpenSearchPPLParser.COS:
+ case OpenSearchPPLParser.COT:
+ case OpenSearchPPLParser.DEGREES:
+ case OpenSearchPPLParser.RADIANS:
+ case OpenSearchPPLParser.SIN:
+ case OpenSearchPPLParser.TAN:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 774;
+ this.mathematicalFunctionBase();
+ }
+ break;
+ case OpenSearchPPLParser.DATETIME:
+ case OpenSearchPPLParser.MICROSECOND:
+ case OpenSearchPPLParser.SECOND:
+ case OpenSearchPPLParser.MINUTE:
+ case OpenSearchPPLParser.HOUR:
+ case OpenSearchPPLParser.DAY:
+ case OpenSearchPPLParser.WEEK:
+ case OpenSearchPPLParser.MONTH:
+ case OpenSearchPPLParser.QUARTER:
+ case OpenSearchPPLParser.YEAR:
+ case OpenSearchPPLParser.CONVERT_TZ:
+ case OpenSearchPPLParser.ADDDATE:
+ case OpenSearchPPLParser.DATE:
+ case OpenSearchPPLParser.DATE_ADD:
+ case OpenSearchPPLParser.DATE_FORMAT:
+ case OpenSearchPPLParser.DATE_SUB:
+ case OpenSearchPPLParser.DAYNAME:
+ case OpenSearchPPLParser.DAYOFMONTH:
+ case OpenSearchPPLParser.DAYOFWEEK:
+ case OpenSearchPPLParser.DAYOFYEAR:
+ case OpenSearchPPLParser.FROM_DAYS:
+ case OpenSearchPPLParser.FROM_UNIXTIME:
+ case OpenSearchPPLParser.MAKEDATE:
+ case OpenSearchPPLParser.MAKETIME:
+ case OpenSearchPPLParser.MONTHNAME:
+ case OpenSearchPPLParser.PERIOD_ADD:
+ case OpenSearchPPLParser.PERIOD_DIFF:
+ case OpenSearchPPLParser.SUBDATE:
+ case OpenSearchPPLParser.SYSDATE:
+ case OpenSearchPPLParser.TIME:
+ case OpenSearchPPLParser.TIME_TO_SEC:
+ case OpenSearchPPLParser.TIMESTAMP:
+ case OpenSearchPPLParser.TO_DAYS:
+ case OpenSearchPPLParser.UNIX_TIMESTAMP:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 775;
+ this.dateAndTimeFunctionBase();
+ }
+ break;
+ case OpenSearchPPLParser.SUBSTR:
+ case OpenSearchPPLParser.SUBSTRING:
+ case OpenSearchPPLParser.LTRIM:
+ case OpenSearchPPLParser.RTRIM:
+ case OpenSearchPPLParser.TRIM:
+ case OpenSearchPPLParser.LOWER:
+ case OpenSearchPPLParser.UPPER:
+ case OpenSearchPPLParser.CONCAT:
+ case OpenSearchPPLParser.CONCAT_WS:
+ case OpenSearchPPLParser.LENGTH:
+ case OpenSearchPPLParser.STRCMP:
+ case OpenSearchPPLParser.RIGHT:
+ case OpenSearchPPLParser.LEFT:
+ case OpenSearchPPLParser.ASCII:
+ case OpenSearchPPLParser.LOCATE:
+ case OpenSearchPPLParser.REPLACE:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 776;
+ this.textFunctionBase();
+ }
+ break;
+ case OpenSearchPPLParser.LIKE:
+ case OpenSearchPPLParser.ISNULL:
+ case OpenSearchPPLParser.ISNOTNULL:
+ case OpenSearchPPLParser.IFNULL:
+ case OpenSearchPPLParser.NULLIF:
+ case OpenSearchPPLParser.IF:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 777;
+ this.conditionFunctionBase();
+ }
+ break;
+ case OpenSearchPPLParser.TYPEOF:
+ this.enterOuterAlt(_localctx, 5);
+ {
+ this.state = 778;
+ this.systemFunctionBase();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public functionArgs(): FunctionArgsContext {
+ let _localctx: FunctionArgsContext = new FunctionArgsContext(this._ctx, this.state);
+ this.enterRule(_localctx, 130, OpenSearchPPLParser.RULE_functionArgs);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 789;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.D || ((((_la - 64)) & ~0x1F) === 0 && ((1 << (_la - 64)) & ((1 << (OpenSearchPPLParser.TRUE - 64)) | (1 << (OpenSearchPPLParser.FALSE - 64)) | (1 << (OpenSearchPPLParser.DATETIME - 64)) | (1 << (OpenSearchPPLParser.INTERVAL - 64)) | (1 << (OpenSearchPPLParser.MICROSECOND - 64)) | (1 << (OpenSearchPPLParser.MILLISECOND - 64)) | (1 << (OpenSearchPPLParser.SECOND - 64)) | (1 << (OpenSearchPPLParser.MINUTE - 64)) | (1 << (OpenSearchPPLParser.HOUR - 64)) | (1 << (OpenSearchPPLParser.DAY - 64)) | (1 << (OpenSearchPPLParser.WEEK - 64)) | (1 << (OpenSearchPPLParser.MONTH - 64)) | (1 << (OpenSearchPPLParser.QUARTER - 64)) | (1 << (OpenSearchPPLParser.YEAR - 64)) | (1 << (OpenSearchPPLParser.CONVERT_TZ - 64)))) !== 0) || ((((_la - 103)) & ~0x1F) === 0 && ((1 << (_la - 103)) & ((1 << (OpenSearchPPLParser.DOT - 103)) | (1 << (OpenSearchPPLParser.PLUS - 103)) | (1 << (OpenSearchPPLParser.MINUS - 103)) | (1 << (OpenSearchPPLParser.LT_PRTHS - 103)) | (1 << (OpenSearchPPLParser.BACKTICK - 103)) | (1 << (OpenSearchPPLParser.AVG - 103)) | (1 << (OpenSearchPPLParser.COUNT - 103)) | (1 << (OpenSearchPPLParser.MAX - 103)))) !== 0) || ((((_la - 135)) & ~0x1F) === 0 && ((1 << (_la - 135)) & ((1 << (OpenSearchPPLParser.MIN - 135)) | (1 << (OpenSearchPPLParser.SUM - 135)) | (1 << (OpenSearchPPLParser.VAR_SAMP - 135)) | (1 << (OpenSearchPPLParser.VAR_POP - 135)) | (1 << (OpenSearchPPLParser.STDDEV_SAMP - 135)) | (1 << (OpenSearchPPLParser.STDDEV_POP - 135)) | (1 << (OpenSearchPPLParser.FIRST - 135)) | (1 << (OpenSearchPPLParser.LAST - 135)) | (1 << (OpenSearchPPLParser.ABS - 135)) | (1 << (OpenSearchPPLParser.CEIL - 135)) | (1 << (OpenSearchPPLParser.CEILING - 135)))) !== 0) || ((((_la - 167)) & ~0x1F) === 0 && ((1 << (_la - 167)) & ((1 << (OpenSearchPPLParser.CONV - 167)) | (1 << (OpenSearchPPLParser.CRC32 - 167)) | (1 << (OpenSearchPPLParser.E - 167)) | (1 << (OpenSearchPPLParser.EXP - 167)) | (1 << (OpenSearchPPLParser.FLOOR - 167)) | (1 << (OpenSearchPPLParser.LN - 167)) | (1 << (OpenSearchPPLParser.LOG - 167)) | (1 << (OpenSearchPPLParser.LOG10 - 167)) | (1 << (OpenSearchPPLParser.LOG2 - 167)) | (1 << (OpenSearchPPLParser.MOD - 167)) | (1 << (OpenSearchPPLParser.PI - 167)) | (1 << (OpenSearchPPLParser.POW - 167)) | (1 << (OpenSearchPPLParser.POWER - 167)) | (1 << (OpenSearchPPLParser.RAND - 167)) | (1 << (OpenSearchPPLParser.ROUND - 167)) | (1 << (OpenSearchPPLParser.SIGN - 167)) | (1 << (OpenSearchPPLParser.SQRT - 167)) | (1 << (OpenSearchPPLParser.TRUNCATE - 167)) | (1 << (OpenSearchPPLParser.ACOS - 167)) | (1 << (OpenSearchPPLParser.ASIN - 167)) | (1 << (OpenSearchPPLParser.ATAN - 167)) | (1 << (OpenSearchPPLParser.ATAN2 - 167)) | (1 << (OpenSearchPPLParser.COS - 167)) | (1 << (OpenSearchPPLParser.COT - 167)) | (1 << (OpenSearchPPLParser.DEGREES - 167)) | (1 << (OpenSearchPPLParser.RADIANS - 167)) | (1 << (OpenSearchPPLParser.SIN - 167)) | (1 << (OpenSearchPPLParser.TAN - 167)) | (1 << (OpenSearchPPLParser.ADDDATE - 167)) | (1 << (OpenSearchPPLParser.CURDATE - 167)) | (1 << (OpenSearchPPLParser.CURRENT_DATE - 167)) | (1 << (OpenSearchPPLParser.CURRENT_TIME - 167)))) !== 0) || ((((_la - 199)) & ~0x1F) === 0 && ((1 << (_la - 199)) & ((1 << (OpenSearchPPLParser.CURRENT_TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.CURTIME - 199)) | (1 << (OpenSearchPPLParser.DATE - 199)) | (1 << (OpenSearchPPLParser.DATE_ADD - 199)) | (1 << (OpenSearchPPLParser.DATE_FORMAT - 199)) | (1 << (OpenSearchPPLParser.DATE_SUB - 199)) | (1 << (OpenSearchPPLParser.DAYNAME - 199)) | (1 << (OpenSearchPPLParser.DAYOFMONTH - 199)) | (1 << (OpenSearchPPLParser.DAYOFWEEK - 199)) | (1 << (OpenSearchPPLParser.DAYOFYEAR - 199)) | (1 << (OpenSearchPPLParser.FROM_DAYS - 199)) | (1 << (OpenSearchPPLParser.LOCALTIME - 199)) | (1 << (OpenSearchPPLParser.LOCALTIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.FROM_UNIXTIME - 199)) | (1 << (OpenSearchPPLParser.MAKEDATE - 199)) | (1 << (OpenSearchPPLParser.MAKETIME - 199)) | (1 << (OpenSearchPPLParser.MONTHNAME - 199)) | (1 << (OpenSearchPPLParser.NOW - 199)) | (1 << (OpenSearchPPLParser.PERIOD_ADD - 199)) | (1 << (OpenSearchPPLParser.PERIOD_DIFF - 199)) | (1 << (OpenSearchPPLParser.SUBDATE - 199)) | (1 << (OpenSearchPPLParser.SYSDATE - 199)) | (1 << (OpenSearchPPLParser.TIME - 199)) | (1 << (OpenSearchPPLParser.TIME_TO_SEC - 199)) | (1 << (OpenSearchPPLParser.TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.TO_DAYS - 199)) | (1 << (OpenSearchPPLParser.UTC_DATE - 199)) | (1 << (OpenSearchPPLParser.UTC_TIME - 199)) | (1 << (OpenSearchPPLParser.UTC_TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.UNIX_TIMESTAMP - 199)) | (1 << (OpenSearchPPLParser.SUBSTR - 199)) | (1 << (OpenSearchPPLParser.SUBSTRING - 199)))) !== 0) || ((((_la - 231)) & ~0x1F) === 0 && ((1 << (_la - 231)) & ((1 << (OpenSearchPPLParser.LTRIM - 231)) | (1 << (OpenSearchPPLParser.RTRIM - 231)) | (1 << (OpenSearchPPLParser.TRIM - 231)) | (1 << (OpenSearchPPLParser.LOWER - 231)) | (1 << (OpenSearchPPLParser.UPPER - 231)) | (1 << (OpenSearchPPLParser.CONCAT - 231)) | (1 << (OpenSearchPPLParser.CONCAT_WS - 231)) | (1 << (OpenSearchPPLParser.LENGTH - 231)) | (1 << (OpenSearchPPLParser.STRCMP - 231)) | (1 << (OpenSearchPPLParser.RIGHT - 231)) | (1 << (OpenSearchPPLParser.LEFT - 231)) | (1 << (OpenSearchPPLParser.ASCII - 231)) | (1 << (OpenSearchPPLParser.LOCATE - 231)) | (1 << (OpenSearchPPLParser.REPLACE - 231)) | (1 << (OpenSearchPPLParser.CAST - 231)) | (1 << (OpenSearchPPLParser.LIKE - 231)) | (1 << (OpenSearchPPLParser.ISNULL - 231)) | (1 << (OpenSearchPPLParser.ISNOTNULL - 231)) | (1 << (OpenSearchPPLParser.IFNULL - 231)) | (1 << (OpenSearchPPLParser.NULLIF - 231)) | (1 << (OpenSearchPPLParser.IF - 231)) | (1 << (OpenSearchPPLParser.TYPEOF - 231)))) !== 0) || ((((_la - 292)) & ~0x1F) === 0 && ((1 << (_la - 292)) & ((1 << (OpenSearchPPLParser.SPAN - 292)) | (1 << (OpenSearchPPLParser.MS - 292)) | (1 << (OpenSearchPPLParser.S - 292)) | (1 << (OpenSearchPPLParser.M - 292)) | (1 << (OpenSearchPPLParser.H - 292)) | (1 << (OpenSearchPPLParser.W - 292)) | (1 << (OpenSearchPPLParser.Q - 292)) | (1 << (OpenSearchPPLParser.Y - 292)) | (1 << (OpenSearchPPLParser.ID - 292)) | (1 << (OpenSearchPPLParser.INTEGER_LITERAL - 292)) | (1 << (OpenSearchPPLParser.DECIMAL_LITERAL - 292)) | (1 << (OpenSearchPPLParser.DQUOTA_STRING - 292)) | (1 << (OpenSearchPPLParser.SQUOTA_STRING - 292)) | (1 << (OpenSearchPPLParser.BQUOTA_STRING - 292)))) !== 0)) {
+ {
+ this.state = 781;
+ this.functionArg();
+ this.state = 786;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 782;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 783;
+ this.functionArg();
+ }
+ }
+ this.state = 788;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public functionArg(): FunctionArgContext {
+ let _localctx: FunctionArgContext = new FunctionArgContext(this._ctx, this.state);
+ this.enterRule(_localctx, 132, OpenSearchPPLParser.RULE_functionArg);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 794;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 64, this._ctx) ) {
+ case 1:
+ {
+ this.state = 791;
+ this.ident();
+ this.state = 792;
+ this.match(OpenSearchPPLParser.EQUAL);
+ }
+ break;
+ }
+ this.state = 796;
+ this.valueExpression(0);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public relevanceArg(): RelevanceArgContext {
+ let _localctx: RelevanceArgContext = new RelevanceArgContext(this._ctx, this.state);
+ this.enterRule(_localctx, 134, OpenSearchPPLParser.RULE_relevanceArg);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 798;
+ this.relevanceArgName();
+ this.state = 799;
+ this.match(OpenSearchPPLParser.EQUAL);
+ this.state = 800;
+ this.relevanceArgValue();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public relevanceArgName(): RelevanceArgNameContext {
+ let _localctx: RelevanceArgNameContext = new RelevanceArgNameContext(this._ctx, this.state);
+ this.enterRule(_localctx, 136, OpenSearchPPLParser.RULE_relevanceArgName);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 802;
+ _la = this._input.LA(1);
+ if (!(_la === OpenSearchPPLParser.FIELDS || _la === OpenSearchPPLParser.TIME_ZONE || ((((_la - 261)) & ~0x1F) === 0 && ((1 << (_la - 261)) & ((1 << (OpenSearchPPLParser.ALLOW_LEADING_WILDCARD - 261)) | (1 << (OpenSearchPPLParser.ANALYZE_WILDCARD - 261)) | (1 << (OpenSearchPPLParser.ANALYZER - 261)) | (1 << (OpenSearchPPLParser.AUTO_GENERATE_SYNONYMS_PHRASE_QUERY - 261)) | (1 << (OpenSearchPPLParser.BOOST - 261)) | (1 << (OpenSearchPPLParser.CUTOFF_FREQUENCY - 261)) | (1 << (OpenSearchPPLParser.DEFAULT_FIELD - 261)) | (1 << (OpenSearchPPLParser.DEFAULT_OPERATOR - 261)) | (1 << (OpenSearchPPLParser.ENABLE_POSITION_INCREMENTS - 261)) | (1 << (OpenSearchPPLParser.ESCAPE - 261)) | (1 << (OpenSearchPPLParser.FLAGS - 261)) | (1 << (OpenSearchPPLParser.FUZZY_MAX_EXPANSIONS - 261)) | (1 << (OpenSearchPPLParser.FUZZY_PREFIX_LENGTH - 261)) | (1 << (OpenSearchPPLParser.FUZZY_TRANSPOSITIONS - 261)) | (1 << (OpenSearchPPLParser.FUZZY_REWRITE - 261)) | (1 << (OpenSearchPPLParser.FUZZINESS - 261)) | (1 << (OpenSearchPPLParser.LENIENT - 261)) | (1 << (OpenSearchPPLParser.LOW_FREQ_OPERATOR - 261)) | (1 << (OpenSearchPPLParser.MAX_DETERMINIZED_STATES - 261)) | (1 << (OpenSearchPPLParser.MAX_EXPANSIONS - 261)) | (1 << (OpenSearchPPLParser.MINIMUM_SHOULD_MATCH - 261)) | (1 << (OpenSearchPPLParser.OPERATOR - 261)) | (1 << (OpenSearchPPLParser.PHRASE_SLOP - 261)) | (1 << (OpenSearchPPLParser.PREFIX_LENGTH - 261)) | (1 << (OpenSearchPPLParser.QUOTE_ANALYZER - 261)) | (1 << (OpenSearchPPLParser.QUOTE_FIELD_SUFFIX - 261)) | (1 << (OpenSearchPPLParser.REWRITE - 261)) | (1 << (OpenSearchPPLParser.SLOP - 261)) | (1 << (OpenSearchPPLParser.TIE_BREAKER - 261)) | (1 << (OpenSearchPPLParser.TYPE - 261)) | (1 << (OpenSearchPPLParser.ZERO_TERMS_QUERY - 261)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public relevanceFieldAndWeight(): RelevanceFieldAndWeightContext {
+ let _localctx: RelevanceFieldAndWeightContext = new RelevanceFieldAndWeightContext(this._ctx, this.state);
+ this.enterRule(_localctx, 138, OpenSearchPPLParser.RULE_relevanceFieldAndWeight);
+ try {
+ this.state = 812;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 65, this._ctx) ) {
+ case 1:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 804;
+ _localctx._field = this.relevanceField();
+ }
+ break;
+
+ case 2:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 805;
+ _localctx._field = this.relevanceField();
+ this.state = 806;
+ _localctx._weight = this.relevanceFieldWeight();
+ }
+ break;
+
+ case 3:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 808;
+ _localctx._field = this.relevanceField();
+ this.state = 809;
+ this.match(OpenSearchPPLParser.BIT_XOR_OP);
+ this.state = 810;
+ _localctx._weight = this.relevanceFieldWeight();
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public relevanceFieldWeight(): RelevanceFieldWeightContext {
+ let _localctx: RelevanceFieldWeightContext = new RelevanceFieldWeightContext(this._ctx, this.state);
+ this.enterRule(_localctx, 140, OpenSearchPPLParser.RULE_relevanceFieldWeight);
+ try {
+ this.state = 816;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 66, this._ctx) ) {
+ case 1:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 814;
+ this.integerLiteral();
+ }
+ break;
+
+ case 2:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 815;
+ this.decimalLiteral();
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public relevanceField(): RelevanceFieldContext {
+ let _localctx: RelevanceFieldContext = new RelevanceFieldContext(this._ctx, this.state);
+ this.enterRule(_localctx, 142, OpenSearchPPLParser.RULE_relevanceField);
+ try {
+ this.state = 820;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.D:
+ case OpenSearchPPLParser.DATETIME:
+ case OpenSearchPPLParser.MICROSECOND:
+ case OpenSearchPPLParser.MILLISECOND:
+ case OpenSearchPPLParser.SECOND:
+ case OpenSearchPPLParser.MINUTE:
+ case OpenSearchPPLParser.HOUR:
+ case OpenSearchPPLParser.DAY:
+ case OpenSearchPPLParser.WEEK:
+ case OpenSearchPPLParser.MONTH:
+ case OpenSearchPPLParser.QUARTER:
+ case OpenSearchPPLParser.YEAR:
+ case OpenSearchPPLParser.CONVERT_TZ:
+ case OpenSearchPPLParser.DOT:
+ case OpenSearchPPLParser.BACKTICK:
+ case OpenSearchPPLParser.AVG:
+ case OpenSearchPPLParser.COUNT:
+ case OpenSearchPPLParser.MAX:
+ case OpenSearchPPLParser.MIN:
+ case OpenSearchPPLParser.SUM:
+ case OpenSearchPPLParser.VAR_SAMP:
+ case OpenSearchPPLParser.VAR_POP:
+ case OpenSearchPPLParser.STDDEV_SAMP:
+ case OpenSearchPPLParser.STDDEV_POP:
+ case OpenSearchPPLParser.FIRST:
+ case OpenSearchPPLParser.LAST:
+ case OpenSearchPPLParser.ABS:
+ case OpenSearchPPLParser.CEIL:
+ case OpenSearchPPLParser.CEILING:
+ case OpenSearchPPLParser.CONV:
+ case OpenSearchPPLParser.CRC32:
+ case OpenSearchPPLParser.E:
+ case OpenSearchPPLParser.EXP:
+ case OpenSearchPPLParser.FLOOR:
+ case OpenSearchPPLParser.LN:
+ case OpenSearchPPLParser.LOG:
+ case OpenSearchPPLParser.LOG10:
+ case OpenSearchPPLParser.LOG2:
+ case OpenSearchPPLParser.MOD:
+ case OpenSearchPPLParser.PI:
+ case OpenSearchPPLParser.POW:
+ case OpenSearchPPLParser.POWER:
+ case OpenSearchPPLParser.RAND:
+ case OpenSearchPPLParser.ROUND:
+ case OpenSearchPPLParser.SIGN:
+ case OpenSearchPPLParser.SQRT:
+ case OpenSearchPPLParser.TRUNCATE:
+ case OpenSearchPPLParser.ACOS:
+ case OpenSearchPPLParser.ASIN:
+ case OpenSearchPPLParser.ATAN:
+ case OpenSearchPPLParser.ATAN2:
+ case OpenSearchPPLParser.COS:
+ case OpenSearchPPLParser.COT:
+ case OpenSearchPPLParser.DEGREES:
+ case OpenSearchPPLParser.RADIANS:
+ case OpenSearchPPLParser.SIN:
+ case OpenSearchPPLParser.TAN:
+ case OpenSearchPPLParser.ADDDATE:
+ case OpenSearchPPLParser.CURDATE:
+ case OpenSearchPPLParser.CURRENT_DATE:
+ case OpenSearchPPLParser.CURRENT_TIME:
+ case OpenSearchPPLParser.CURRENT_TIMESTAMP:
+ case OpenSearchPPLParser.CURTIME:
+ case OpenSearchPPLParser.DATE:
+ case OpenSearchPPLParser.DATE_ADD:
+ case OpenSearchPPLParser.DATE_FORMAT:
+ case OpenSearchPPLParser.DATE_SUB:
+ case OpenSearchPPLParser.DAYNAME:
+ case OpenSearchPPLParser.DAYOFMONTH:
+ case OpenSearchPPLParser.DAYOFWEEK:
+ case OpenSearchPPLParser.DAYOFYEAR:
+ case OpenSearchPPLParser.FROM_DAYS:
+ case OpenSearchPPLParser.LOCALTIME:
+ case OpenSearchPPLParser.LOCALTIMESTAMP:
+ case OpenSearchPPLParser.FROM_UNIXTIME:
+ case OpenSearchPPLParser.MAKEDATE:
+ case OpenSearchPPLParser.MAKETIME:
+ case OpenSearchPPLParser.MONTHNAME:
+ case OpenSearchPPLParser.NOW:
+ case OpenSearchPPLParser.PERIOD_ADD:
+ case OpenSearchPPLParser.PERIOD_DIFF:
+ case OpenSearchPPLParser.SUBDATE:
+ case OpenSearchPPLParser.SYSDATE:
+ case OpenSearchPPLParser.TIME:
+ case OpenSearchPPLParser.TIME_TO_SEC:
+ case OpenSearchPPLParser.TIMESTAMP:
+ case OpenSearchPPLParser.TO_DAYS:
+ case OpenSearchPPLParser.UTC_DATE:
+ case OpenSearchPPLParser.UTC_TIME:
+ case OpenSearchPPLParser.UTC_TIMESTAMP:
+ case OpenSearchPPLParser.UNIX_TIMESTAMP:
+ case OpenSearchPPLParser.SUBSTR:
+ case OpenSearchPPLParser.SUBSTRING:
+ case OpenSearchPPLParser.LTRIM:
+ case OpenSearchPPLParser.RTRIM:
+ case OpenSearchPPLParser.TRIM:
+ case OpenSearchPPLParser.LOWER:
+ case OpenSearchPPLParser.UPPER:
+ case OpenSearchPPLParser.CONCAT:
+ case OpenSearchPPLParser.CONCAT_WS:
+ case OpenSearchPPLParser.LENGTH:
+ case OpenSearchPPLParser.STRCMP:
+ case OpenSearchPPLParser.RIGHT:
+ case OpenSearchPPLParser.LEFT:
+ case OpenSearchPPLParser.ASCII:
+ case OpenSearchPPLParser.LOCATE:
+ case OpenSearchPPLParser.REPLACE:
+ case OpenSearchPPLParser.SPAN:
+ case OpenSearchPPLParser.MS:
+ case OpenSearchPPLParser.S:
+ case OpenSearchPPLParser.M:
+ case OpenSearchPPLParser.H:
+ case OpenSearchPPLParser.W:
+ case OpenSearchPPLParser.Q:
+ case OpenSearchPPLParser.Y:
+ case OpenSearchPPLParser.ID:
+ case OpenSearchPPLParser.BQUOTA_STRING:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 818;
+ this.qualifiedName();
+ }
+ break;
+ case OpenSearchPPLParser.DQUOTA_STRING:
+ case OpenSearchPPLParser.SQUOTA_STRING:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 819;
+ this.stringLiteral();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public relevanceQuery(): RelevanceQueryContext {
+ let _localctx: RelevanceQueryContext = new RelevanceQueryContext(this._ctx, this.state);
+ this.enterRule(_localctx, 144, OpenSearchPPLParser.RULE_relevanceQuery);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 822;
+ this.relevanceArgValue();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public relevanceArgValue(): RelevanceArgValueContext {
+ let _localctx: RelevanceArgValueContext = new RelevanceArgValueContext(this._ctx, this.state);
+ this.enterRule(_localctx, 146, OpenSearchPPLParser.RULE_relevanceArgValue);
+ try {
+ this.state = 826;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 68, this._ctx) ) {
+ case 1:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 824;
+ this.qualifiedName();
+ }
+ break;
+
+ case 2:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 825;
+ this.literalValue();
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public mathematicalFunctionBase(): MathematicalFunctionBaseContext {
+ let _localctx: MathematicalFunctionBaseContext = new MathematicalFunctionBaseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 148, OpenSearchPPLParser.RULE_mathematicalFunctionBase);
+ try {
+ this.state = 850;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.ABS:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 828;
+ this.match(OpenSearchPPLParser.ABS);
+ }
+ break;
+ case OpenSearchPPLParser.CEIL:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 829;
+ this.match(OpenSearchPPLParser.CEIL);
+ }
+ break;
+ case OpenSearchPPLParser.CEILING:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 830;
+ this.match(OpenSearchPPLParser.CEILING);
+ }
+ break;
+ case OpenSearchPPLParser.CONV:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 831;
+ this.match(OpenSearchPPLParser.CONV);
+ }
+ break;
+ case OpenSearchPPLParser.CRC32:
+ this.enterOuterAlt(_localctx, 5);
+ {
+ this.state = 832;
+ this.match(OpenSearchPPLParser.CRC32);
+ }
+ break;
+ case OpenSearchPPLParser.E:
+ this.enterOuterAlt(_localctx, 6);
+ {
+ this.state = 833;
+ this.match(OpenSearchPPLParser.E);
+ }
+ break;
+ case OpenSearchPPLParser.EXP:
+ this.enterOuterAlt(_localctx, 7);
+ {
+ this.state = 834;
+ this.match(OpenSearchPPLParser.EXP);
+ }
+ break;
+ case OpenSearchPPLParser.FLOOR:
+ this.enterOuterAlt(_localctx, 8);
+ {
+ this.state = 835;
+ this.match(OpenSearchPPLParser.FLOOR);
+ }
+ break;
+ case OpenSearchPPLParser.LN:
+ this.enterOuterAlt(_localctx, 9);
+ {
+ this.state = 836;
+ this.match(OpenSearchPPLParser.LN);
+ }
+ break;
+ case OpenSearchPPLParser.LOG:
+ this.enterOuterAlt(_localctx, 10);
+ {
+ this.state = 837;
+ this.match(OpenSearchPPLParser.LOG);
+ }
+ break;
+ case OpenSearchPPLParser.LOG10:
+ this.enterOuterAlt(_localctx, 11);
+ {
+ this.state = 838;
+ this.match(OpenSearchPPLParser.LOG10);
+ }
+ break;
+ case OpenSearchPPLParser.LOG2:
+ this.enterOuterAlt(_localctx, 12);
+ {
+ this.state = 839;
+ this.match(OpenSearchPPLParser.LOG2);
+ }
+ break;
+ case OpenSearchPPLParser.MOD:
+ this.enterOuterAlt(_localctx, 13);
+ {
+ this.state = 840;
+ this.match(OpenSearchPPLParser.MOD);
+ }
+ break;
+ case OpenSearchPPLParser.PI:
+ this.enterOuterAlt(_localctx, 14);
+ {
+ this.state = 841;
+ this.match(OpenSearchPPLParser.PI);
+ }
+ break;
+ case OpenSearchPPLParser.POW:
+ this.enterOuterAlt(_localctx, 15);
+ {
+ this.state = 842;
+ this.match(OpenSearchPPLParser.POW);
+ }
+ break;
+ case OpenSearchPPLParser.POWER:
+ this.enterOuterAlt(_localctx, 16);
+ {
+ this.state = 843;
+ this.match(OpenSearchPPLParser.POWER);
+ }
+ break;
+ case OpenSearchPPLParser.RAND:
+ this.enterOuterAlt(_localctx, 17);
+ {
+ this.state = 844;
+ this.match(OpenSearchPPLParser.RAND);
+ }
+ break;
+ case OpenSearchPPLParser.ROUND:
+ this.enterOuterAlt(_localctx, 18);
+ {
+ this.state = 845;
+ this.match(OpenSearchPPLParser.ROUND);
+ }
+ break;
+ case OpenSearchPPLParser.SIGN:
+ this.enterOuterAlt(_localctx, 19);
+ {
+ this.state = 846;
+ this.match(OpenSearchPPLParser.SIGN);
+ }
+ break;
+ case OpenSearchPPLParser.SQRT:
+ this.enterOuterAlt(_localctx, 20);
+ {
+ this.state = 847;
+ this.match(OpenSearchPPLParser.SQRT);
+ }
+ break;
+ case OpenSearchPPLParser.TRUNCATE:
+ this.enterOuterAlt(_localctx, 21);
+ {
+ this.state = 848;
+ this.match(OpenSearchPPLParser.TRUNCATE);
+ }
+ break;
+ case OpenSearchPPLParser.ACOS:
+ case OpenSearchPPLParser.ASIN:
+ case OpenSearchPPLParser.ATAN:
+ case OpenSearchPPLParser.ATAN2:
+ case OpenSearchPPLParser.COS:
+ case OpenSearchPPLParser.COT:
+ case OpenSearchPPLParser.DEGREES:
+ case OpenSearchPPLParser.RADIANS:
+ case OpenSearchPPLParser.SIN:
+ case OpenSearchPPLParser.TAN:
+ this.enterOuterAlt(_localctx, 22);
+ {
+ this.state = 849;
+ this.trigonometricFunctionName();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public trigonometricFunctionName(): TrigonometricFunctionNameContext {
+ let _localctx: TrigonometricFunctionNameContext = new TrigonometricFunctionNameContext(this._ctx, this.state);
+ this.enterRule(_localctx, 150, OpenSearchPPLParser.RULE_trigonometricFunctionName);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 852;
+ _la = this._input.LA(1);
+ if (!(((((_la - 185)) & ~0x1F) === 0 && ((1 << (_la - 185)) & ((1 << (OpenSearchPPLParser.ACOS - 185)) | (1 << (OpenSearchPPLParser.ASIN - 185)) | (1 << (OpenSearchPPLParser.ATAN - 185)) | (1 << (OpenSearchPPLParser.ATAN2 - 185)) | (1 << (OpenSearchPPLParser.COS - 185)) | (1 << (OpenSearchPPLParser.COT - 185)) | (1 << (OpenSearchPPLParser.DEGREES - 185)) | (1 << (OpenSearchPPLParser.RADIANS - 185)) | (1 << (OpenSearchPPLParser.SIN - 185)) | (1 << (OpenSearchPPLParser.TAN - 185)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public dateAndTimeFunctionBase(): DateAndTimeFunctionBaseContext {
+ let _localctx: DateAndTimeFunctionBaseContext = new DateAndTimeFunctionBaseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 152, OpenSearchPPLParser.RULE_dateAndTimeFunctionBase);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 854;
+ _la = this._input.LA(1);
+ if (!(((((_la - 67)) & ~0x1F) === 0 && ((1 << (_la - 67)) & ((1 << (OpenSearchPPLParser.DATETIME - 67)) | (1 << (OpenSearchPPLParser.MICROSECOND - 67)) | (1 << (OpenSearchPPLParser.SECOND - 67)) | (1 << (OpenSearchPPLParser.MINUTE - 67)) | (1 << (OpenSearchPPLParser.HOUR - 67)) | (1 << (OpenSearchPPLParser.DAY - 67)) | (1 << (OpenSearchPPLParser.WEEK - 67)) | (1 << (OpenSearchPPLParser.MONTH - 67)) | (1 << (OpenSearchPPLParser.QUARTER - 67)) | (1 << (OpenSearchPPLParser.YEAR - 67)) | (1 << (OpenSearchPPLParser.CONVERT_TZ - 67)))) !== 0) || ((((_la - 195)) & ~0x1F) === 0 && ((1 << (_la - 195)) & ((1 << (OpenSearchPPLParser.ADDDATE - 195)) | (1 << (OpenSearchPPLParser.DATE - 195)) | (1 << (OpenSearchPPLParser.DATE_ADD - 195)) | (1 << (OpenSearchPPLParser.DATE_FORMAT - 195)) | (1 << (OpenSearchPPLParser.DATE_SUB - 195)) | (1 << (OpenSearchPPLParser.DAYNAME - 195)) | (1 << (OpenSearchPPLParser.DAYOFMONTH - 195)) | (1 << (OpenSearchPPLParser.DAYOFWEEK - 195)) | (1 << (OpenSearchPPLParser.DAYOFYEAR - 195)) | (1 << (OpenSearchPPLParser.FROM_DAYS - 195)) | (1 << (OpenSearchPPLParser.FROM_UNIXTIME - 195)) | (1 << (OpenSearchPPLParser.MAKEDATE - 195)) | (1 << (OpenSearchPPLParser.MAKETIME - 195)) | (1 << (OpenSearchPPLParser.MONTHNAME - 195)) | (1 << (OpenSearchPPLParser.PERIOD_ADD - 195)) | (1 << (OpenSearchPPLParser.PERIOD_DIFF - 195)) | (1 << (OpenSearchPPLParser.SUBDATE - 195)) | (1 << (OpenSearchPPLParser.SYSDATE - 195)) | (1 << (OpenSearchPPLParser.TIME - 195)) | (1 << (OpenSearchPPLParser.TIME_TO_SEC - 195)) | (1 << (OpenSearchPPLParser.TIMESTAMP - 195)) | (1 << (OpenSearchPPLParser.TO_DAYS - 195)))) !== 0) || _la === OpenSearchPPLParser.UNIX_TIMESTAMP)) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public constantFunctionName(): ConstantFunctionNameContext {
+ let _localctx: ConstantFunctionNameContext = new ConstantFunctionNameContext(this._ctx, this.state);
+ this.enterRule(_localctx, 154, OpenSearchPPLParser.RULE_constantFunctionName);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 856;
+ _la = this._input.LA(1);
+ if (!(((((_la - 196)) & ~0x1F) === 0 && ((1 << (_la - 196)) & ((1 << (OpenSearchPPLParser.CURDATE - 196)) | (1 << (OpenSearchPPLParser.CURRENT_DATE - 196)) | (1 << (OpenSearchPPLParser.CURRENT_TIME - 196)) | (1 << (OpenSearchPPLParser.CURRENT_TIMESTAMP - 196)) | (1 << (OpenSearchPPLParser.CURTIME - 196)) | (1 << (OpenSearchPPLParser.LOCALTIME - 196)) | (1 << (OpenSearchPPLParser.LOCALTIMESTAMP - 196)) | (1 << (OpenSearchPPLParser.NOW - 196)) | (1 << (OpenSearchPPLParser.UTC_DATE - 196)) | (1 << (OpenSearchPPLParser.UTC_TIME - 196)) | (1 << (OpenSearchPPLParser.UTC_TIMESTAMP - 196)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public conditionFunctionBase(): ConditionFunctionBaseContext {
+ let _localctx: ConditionFunctionBaseContext = new ConditionFunctionBaseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 156, OpenSearchPPLParser.RULE_conditionFunctionBase);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 858;
+ _la = this._input.LA(1);
+ if (!(((((_la - 247)) & ~0x1F) === 0 && ((1 << (_la - 247)) & ((1 << (OpenSearchPPLParser.LIKE - 247)) | (1 << (OpenSearchPPLParser.ISNULL - 247)) | (1 << (OpenSearchPPLParser.ISNOTNULL - 247)) | (1 << (OpenSearchPPLParser.IFNULL - 247)) | (1 << (OpenSearchPPLParser.NULLIF - 247)) | (1 << (OpenSearchPPLParser.IF - 247)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public systemFunctionBase(): SystemFunctionBaseContext {
+ let _localctx: SystemFunctionBaseContext = new SystemFunctionBaseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 158, OpenSearchPPLParser.RULE_systemFunctionBase);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 860;
+ this.match(OpenSearchPPLParser.TYPEOF);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public textFunctionBase(): TextFunctionBaseContext {
+ let _localctx: TextFunctionBaseContext = new TextFunctionBaseContext(this._ctx, this.state);
+ this.enterRule(_localctx, 160, OpenSearchPPLParser.RULE_textFunctionBase);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 862;
+ _la = this._input.LA(1);
+ if (!(((((_la - 229)) & ~0x1F) === 0 && ((1 << (_la - 229)) & ((1 << (OpenSearchPPLParser.SUBSTR - 229)) | (1 << (OpenSearchPPLParser.SUBSTRING - 229)) | (1 << (OpenSearchPPLParser.LTRIM - 229)) | (1 << (OpenSearchPPLParser.RTRIM - 229)) | (1 << (OpenSearchPPLParser.TRIM - 229)) | (1 << (OpenSearchPPLParser.LOWER - 229)) | (1 << (OpenSearchPPLParser.UPPER - 229)) | (1 << (OpenSearchPPLParser.CONCAT - 229)) | (1 << (OpenSearchPPLParser.CONCAT_WS - 229)) | (1 << (OpenSearchPPLParser.LENGTH - 229)) | (1 << (OpenSearchPPLParser.STRCMP - 229)) | (1 << (OpenSearchPPLParser.RIGHT - 229)) | (1 << (OpenSearchPPLParser.LEFT - 229)) | (1 << (OpenSearchPPLParser.ASCII - 229)) | (1 << (OpenSearchPPLParser.LOCATE - 229)) | (1 << (OpenSearchPPLParser.REPLACE - 229)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public comparisonOperator(): ComparisonOperatorContext {
+ let _localctx: ComparisonOperatorContext = new ComparisonOperatorContext(this._ctx, this.state);
+ this.enterRule(_localctx, 162, OpenSearchPPLParser.RULE_comparisonOperator);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 864;
+ _la = this._input.LA(1);
+ if (!(_la === OpenSearchPPLParser.REGEXP || ((((_la - 104)) & ~0x1F) === 0 && ((1 << (_la - 104)) & ((1 << (OpenSearchPPLParser.EQUAL - 104)) | (1 << (OpenSearchPPLParser.GREATER - 104)) | (1 << (OpenSearchPPLParser.LESS - 104)) | (1 << (OpenSearchPPLParser.NOT_GREATER - 104)) | (1 << (OpenSearchPPLParser.NOT_LESS - 104)) | (1 << (OpenSearchPPLParser.NOT_EQUAL - 104)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public binaryOperator(): BinaryOperatorContext {
+ let _localctx: BinaryOperatorContext = new BinaryOperatorContext(this._ctx, this.state);
+ this.enterRule(_localctx, 164, OpenSearchPPLParser.RULE_binaryOperator);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 866;
+ _la = this._input.LA(1);
+ if (!(((((_la - 110)) & ~0x1F) === 0 && ((1 << (_la - 110)) & ((1 << (OpenSearchPPLParser.PLUS - 110)) | (1 << (OpenSearchPPLParser.MINUS - 110)) | (1 << (OpenSearchPPLParser.STAR - 110)) | (1 << (OpenSearchPPLParser.DIVIDE - 110)) | (1 << (OpenSearchPPLParser.MODULE - 110)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public singleFieldRelevanceFunctionName(): SingleFieldRelevanceFunctionNameContext {
+ let _localctx: SingleFieldRelevanceFunctionNameContext = new SingleFieldRelevanceFunctionNameContext(this._ctx, this.state);
+ this.enterRule(_localctx, 166, OpenSearchPPLParser.RULE_singleFieldRelevanceFunctionName);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 868;
+ _la = this._input.LA(1);
+ if (!(((((_la - 254)) & ~0x1F) === 0 && ((1 << (_la - 254)) & ((1 << (OpenSearchPPLParser.MATCH - 254)) | (1 << (OpenSearchPPLParser.MATCH_PHRASE - 254)) | (1 << (OpenSearchPPLParser.MATCH_PHRASE_PREFIX - 254)) | (1 << (OpenSearchPPLParser.MATCH_BOOL_PREFIX - 254)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public multiFieldRelevanceFunctionName(): MultiFieldRelevanceFunctionNameContext {
+ let _localctx: MultiFieldRelevanceFunctionNameContext = new MultiFieldRelevanceFunctionNameContext(this._ctx, this.state);
+ this.enterRule(_localctx, 168, OpenSearchPPLParser.RULE_multiFieldRelevanceFunctionName);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 870;
+ _la = this._input.LA(1);
+ if (!(((((_la - 258)) & ~0x1F) === 0 && ((1 << (_la - 258)) & ((1 << (OpenSearchPPLParser.SIMPLE_QUERY_STRING - 258)) | (1 << (OpenSearchPPLParser.MULTI_MATCH - 258)) | (1 << (OpenSearchPPLParser.QUERY_STRING - 258)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public literalValue(): LiteralValueContext {
+ let _localctx: LiteralValueContext = new LiteralValueContext(this._ctx, this.state);
+ this.enterRule(_localctx, 170, OpenSearchPPLParser.RULE_literalValue);
+ try {
+ this.state = 878;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 70, this._ctx) ) {
+ case 1:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 872;
+ this.intervalLiteral();
+ }
+ break;
+
+ case 2:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 873;
+ this.stringLiteral();
+ }
+ break;
+
+ case 3:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 874;
+ this.integerLiteral();
+ }
+ break;
+
+ case 4:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 875;
+ this.decimalLiteral();
+ }
+ break;
+
+ case 5:
+ this.enterOuterAlt(_localctx, 5);
+ {
+ this.state = 876;
+ this.booleanLiteral();
+ }
+ break;
+
+ case 6:
+ this.enterOuterAlt(_localctx, 6);
+ {
+ this.state = 877;
+ this.datetimeLiteral();
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public intervalLiteral(): IntervalLiteralContext {
+ let _localctx: IntervalLiteralContext = new IntervalLiteralContext(this._ctx, this.state);
+ this.enterRule(_localctx, 172, OpenSearchPPLParser.RULE_intervalLiteral);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 880;
+ this.match(OpenSearchPPLParser.INTERVAL);
+ this.state = 881;
+ this.valueExpression(0);
+ this.state = 882;
+ this.intervalUnit();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public stringLiteral(): StringLiteralContext {
+ let _localctx: StringLiteralContext = new StringLiteralContext(this._ctx, this.state);
+ this.enterRule(_localctx, 174, OpenSearchPPLParser.RULE_stringLiteral);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 884;
+ _la = this._input.LA(1);
+ if (!(_la === OpenSearchPPLParser.DQUOTA_STRING || _la === OpenSearchPPLParser.SQUOTA_STRING)) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public integerLiteral(): IntegerLiteralContext {
+ let _localctx: IntegerLiteralContext = new IntegerLiteralContext(this._ctx, this.state);
+ this.enterRule(_localctx, 176, OpenSearchPPLParser.RULE_integerLiteral);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 887;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.PLUS || _la === OpenSearchPPLParser.MINUS) {
+ {
+ this.state = 886;
+ _la = this._input.LA(1);
+ if (!(_la === OpenSearchPPLParser.PLUS || _la === OpenSearchPPLParser.MINUS)) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+
+ this.state = 889;
+ this.match(OpenSearchPPLParser.INTEGER_LITERAL);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public decimalLiteral(): DecimalLiteralContext {
+ let _localctx: DecimalLiteralContext = new DecimalLiteralContext(this._ctx, this.state);
+ this.enterRule(_localctx, 178, OpenSearchPPLParser.RULE_decimalLiteral);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 892;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.PLUS || _la === OpenSearchPPLParser.MINUS) {
+ {
+ this.state = 891;
+ _la = this._input.LA(1);
+ if (!(_la === OpenSearchPPLParser.PLUS || _la === OpenSearchPPLParser.MINUS)) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+
+ this.state = 894;
+ this.match(OpenSearchPPLParser.DECIMAL_LITERAL);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public booleanLiteral(): BooleanLiteralContext {
+ let _localctx: BooleanLiteralContext = new BooleanLiteralContext(this._ctx, this.state);
+ this.enterRule(_localctx, 180, OpenSearchPPLParser.RULE_booleanLiteral);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 896;
+ _la = this._input.LA(1);
+ if (!(_la === OpenSearchPPLParser.TRUE || _la === OpenSearchPPLParser.FALSE)) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public datetimeLiteral(): DatetimeLiteralContext {
+ let _localctx: DatetimeLiteralContext = new DatetimeLiteralContext(this._ctx, this.state);
+ this.enterRule(_localctx, 182, OpenSearchPPLParser.RULE_datetimeLiteral);
+ try {
+ this.state = 901;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.DATE:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 898;
+ this.dateLiteral();
+ }
+ break;
+ case OpenSearchPPLParser.TIME:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 899;
+ this.timeLiteral();
+ }
+ break;
+ case OpenSearchPPLParser.TIMESTAMP:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 900;
+ this.timestampLiteral();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public dateLiteral(): DateLiteralContext {
+ let _localctx: DateLiteralContext = new DateLiteralContext(this._ctx, this.state);
+ this.enterRule(_localctx, 184, OpenSearchPPLParser.RULE_dateLiteral);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 903;
+ this.match(OpenSearchPPLParser.DATE);
+ this.state = 904;
+ _localctx._date = this.stringLiteral();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public timeLiteral(): TimeLiteralContext {
+ let _localctx: TimeLiteralContext = new TimeLiteralContext(this._ctx, this.state);
+ this.enterRule(_localctx, 186, OpenSearchPPLParser.RULE_timeLiteral);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 906;
+ this.match(OpenSearchPPLParser.TIME);
+ this.state = 907;
+ _localctx._time = this.stringLiteral();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public timestampLiteral(): TimestampLiteralContext {
+ let _localctx: TimestampLiteralContext = new TimestampLiteralContext(this._ctx, this.state);
+ this.enterRule(_localctx, 188, OpenSearchPPLParser.RULE_timestampLiteral);
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 909;
+ this.match(OpenSearchPPLParser.TIMESTAMP);
+ this.state = 910;
+ _localctx._timestamp = this.stringLiteral();
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public intervalUnit(): IntervalUnitContext {
+ let _localctx: IntervalUnitContext = new IntervalUnitContext(this._ctx, this.state);
+ this.enterRule(_localctx, 190, OpenSearchPPLParser.RULE_intervalUnit);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 912;
+ _la = this._input.LA(1);
+ if (!(((((_la - 69)) & ~0x1F) === 0 && ((1 << (_la - 69)) & ((1 << (OpenSearchPPLParser.MICROSECOND - 69)) | (1 << (OpenSearchPPLParser.SECOND - 69)) | (1 << (OpenSearchPPLParser.MINUTE - 69)) | (1 << (OpenSearchPPLParser.HOUR - 69)) | (1 << (OpenSearchPPLParser.DAY - 69)) | (1 << (OpenSearchPPLParser.WEEK - 69)) | (1 << (OpenSearchPPLParser.MONTH - 69)) | (1 << (OpenSearchPPLParser.QUARTER - 69)) | (1 << (OpenSearchPPLParser.YEAR - 69)) | (1 << (OpenSearchPPLParser.SECOND_MICROSECOND - 69)) | (1 << (OpenSearchPPLParser.MINUTE_MICROSECOND - 69)) | (1 << (OpenSearchPPLParser.MINUTE_SECOND - 69)) | (1 << (OpenSearchPPLParser.HOUR_MICROSECOND - 69)) | (1 << (OpenSearchPPLParser.HOUR_SECOND - 69)) | (1 << (OpenSearchPPLParser.HOUR_MINUTE - 69)) | (1 << (OpenSearchPPLParser.DAY_MICROSECOND - 69)) | (1 << (OpenSearchPPLParser.DAY_SECOND - 69)) | (1 << (OpenSearchPPLParser.DAY_MINUTE - 69)) | (1 << (OpenSearchPPLParser.DAY_HOUR - 69)) | (1 << (OpenSearchPPLParser.YEAR_MONTH - 69)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public timespanUnit(): TimespanUnitContext {
+ let _localctx: TimespanUnitContext = new TimespanUnitContext(this._ctx, this.state);
+ this.enterRule(_localctx, 192, OpenSearchPPLParser.RULE_timespanUnit);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 914;
+ _la = this._input.LA(1);
+ if (!(_la === OpenSearchPPLParser.D || ((((_la - 70)) & ~0x1F) === 0 && ((1 << (_la - 70)) & ((1 << (OpenSearchPPLParser.MILLISECOND - 70)) | (1 << (OpenSearchPPLParser.SECOND - 70)) | (1 << (OpenSearchPPLParser.MINUTE - 70)) | (1 << (OpenSearchPPLParser.HOUR - 70)) | (1 << (OpenSearchPPLParser.DAY - 70)) | (1 << (OpenSearchPPLParser.WEEK - 70)) | (1 << (OpenSearchPPLParser.MONTH - 70)) | (1 << (OpenSearchPPLParser.QUARTER - 70)) | (1 << (OpenSearchPPLParser.YEAR - 70)))) !== 0) || ((((_la - 293)) & ~0x1F) === 0 && ((1 << (_la - 293)) & ((1 << (OpenSearchPPLParser.MS - 293)) | (1 << (OpenSearchPPLParser.S - 293)) | (1 << (OpenSearchPPLParser.M - 293)) | (1 << (OpenSearchPPLParser.H - 293)) | (1 << (OpenSearchPPLParser.W - 293)) | (1 << (OpenSearchPPLParser.Q - 293)) | (1 << (OpenSearchPPLParser.Y - 293)))) !== 0))) {
+ this._errHandler.recoverInline(this);
+ } else {
+ if (this._input.LA(1) === Token.EOF) {
+ this.matchedEOF = true;
+ }
+
+ this._errHandler.reportMatch(this);
+ this.consume();
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public valueList(): ValueListContext {
+ let _localctx: ValueListContext = new ValueListContext(this._ctx, this.state);
+ this.enterRule(_localctx, 194, OpenSearchPPLParser.RULE_valueList);
+ let _la: number;
+ try {
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 916;
+ this.match(OpenSearchPPLParser.LT_PRTHS);
+ this.state = 917;
+ this.literalValue();
+ this.state = 922;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.COMMA) {
+ {
+ {
+ this.state = 918;
+ this.match(OpenSearchPPLParser.COMMA);
+ this.state = 919;
+ this.literalValue();
+ }
+ }
+ this.state = 924;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ this.state = 925;
+ this.match(OpenSearchPPLParser.RT_PRTHS);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public qualifiedName(): QualifiedNameContext {
+ let _localctx: QualifiedNameContext = new QualifiedNameContext(this._ctx, this.state);
+ this.enterRule(_localctx, 196, OpenSearchPPLParser.RULE_qualifiedName);
+ try {
+ let _alt: number;
+ _localctx = new IdentsAsQualifiedNameContext(_localctx);
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 927;
+ this.ident();
+ this.state = 932;
+ this._errHandler.sync(this);
+ _alt = this.interpreter.adaptivePredict(this._input, 75, this._ctx);
+ while (_alt !== 2 && _alt !== ATN.INVALID_ALT_NUMBER) {
+ if (_alt === 1) {
+ {
+ {
+ this.state = 928;
+ this.match(OpenSearchPPLParser.DOT);
+ this.state = 929;
+ this.ident();
+ }
+ }
+ }
+ this.state = 934;
+ this._errHandler.sync(this);
+ _alt = this.interpreter.adaptivePredict(this._input, 75, this._ctx);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public wcQualifiedName(): WcQualifiedNameContext {
+ let _localctx: WcQualifiedNameContext = new WcQualifiedNameContext(this._ctx, this.state);
+ this.enterRule(_localctx, 198, OpenSearchPPLParser.RULE_wcQualifiedName);
+ let _la: number;
+ try {
+ _localctx = new IdentsAsWildcardQualifiedNameContext(_localctx);
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 935;
+ this.wildcard();
+ this.state = 940;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ while (_la === OpenSearchPPLParser.DOT) {
+ {
+ {
+ this.state = 936;
+ this.match(OpenSearchPPLParser.DOT);
+ this.state = 937;
+ this.wildcard();
+ }
+ }
+ this.state = 942;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ }
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public ident(): IdentContext {
+ let _localctx: IdentContext = new IdentContext(this._ctx, this.state);
+ this.enterRule(_localctx, 200, OpenSearchPPLParser.RULE_ident);
+ let _la: number;
+ try {
+ this.state = 953;
+ this._errHandler.sync(this);
+ switch (this._input.LA(1)) {
+ case OpenSearchPPLParser.DOT:
+ case OpenSearchPPLParser.ID:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 944;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.DOT) {
+ {
+ this.state = 943;
+ this.match(OpenSearchPPLParser.DOT);
+ }
+ }
+
+ this.state = 946;
+ this.match(OpenSearchPPLParser.ID);
+ }
+ break;
+ case OpenSearchPPLParser.BACKTICK:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 947;
+ this.match(OpenSearchPPLParser.BACKTICK);
+ this.state = 948;
+ this.ident();
+ this.state = 949;
+ this.match(OpenSearchPPLParser.BACKTICK);
+ }
+ break;
+ case OpenSearchPPLParser.BQUOTA_STRING:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 951;
+ this.match(OpenSearchPPLParser.BQUOTA_STRING);
+ }
+ break;
+ case OpenSearchPPLParser.D:
+ case OpenSearchPPLParser.DATETIME:
+ case OpenSearchPPLParser.MICROSECOND:
+ case OpenSearchPPLParser.MILLISECOND:
+ case OpenSearchPPLParser.SECOND:
+ case OpenSearchPPLParser.MINUTE:
+ case OpenSearchPPLParser.HOUR:
+ case OpenSearchPPLParser.DAY:
+ case OpenSearchPPLParser.WEEK:
+ case OpenSearchPPLParser.MONTH:
+ case OpenSearchPPLParser.QUARTER:
+ case OpenSearchPPLParser.YEAR:
+ case OpenSearchPPLParser.CONVERT_TZ:
+ case OpenSearchPPLParser.AVG:
+ case OpenSearchPPLParser.COUNT:
+ case OpenSearchPPLParser.MAX:
+ case OpenSearchPPLParser.MIN:
+ case OpenSearchPPLParser.SUM:
+ case OpenSearchPPLParser.VAR_SAMP:
+ case OpenSearchPPLParser.VAR_POP:
+ case OpenSearchPPLParser.STDDEV_SAMP:
+ case OpenSearchPPLParser.STDDEV_POP:
+ case OpenSearchPPLParser.FIRST:
+ case OpenSearchPPLParser.LAST:
+ case OpenSearchPPLParser.ABS:
+ case OpenSearchPPLParser.CEIL:
+ case OpenSearchPPLParser.CEILING:
+ case OpenSearchPPLParser.CONV:
+ case OpenSearchPPLParser.CRC32:
+ case OpenSearchPPLParser.E:
+ case OpenSearchPPLParser.EXP:
+ case OpenSearchPPLParser.FLOOR:
+ case OpenSearchPPLParser.LN:
+ case OpenSearchPPLParser.LOG:
+ case OpenSearchPPLParser.LOG10:
+ case OpenSearchPPLParser.LOG2:
+ case OpenSearchPPLParser.MOD:
+ case OpenSearchPPLParser.PI:
+ case OpenSearchPPLParser.POW:
+ case OpenSearchPPLParser.POWER:
+ case OpenSearchPPLParser.RAND:
+ case OpenSearchPPLParser.ROUND:
+ case OpenSearchPPLParser.SIGN:
+ case OpenSearchPPLParser.SQRT:
+ case OpenSearchPPLParser.TRUNCATE:
+ case OpenSearchPPLParser.ACOS:
+ case OpenSearchPPLParser.ASIN:
+ case OpenSearchPPLParser.ATAN:
+ case OpenSearchPPLParser.ATAN2:
+ case OpenSearchPPLParser.COS:
+ case OpenSearchPPLParser.COT:
+ case OpenSearchPPLParser.DEGREES:
+ case OpenSearchPPLParser.RADIANS:
+ case OpenSearchPPLParser.SIN:
+ case OpenSearchPPLParser.TAN:
+ case OpenSearchPPLParser.ADDDATE:
+ case OpenSearchPPLParser.CURDATE:
+ case OpenSearchPPLParser.CURRENT_DATE:
+ case OpenSearchPPLParser.CURRENT_TIME:
+ case OpenSearchPPLParser.CURRENT_TIMESTAMP:
+ case OpenSearchPPLParser.CURTIME:
+ case OpenSearchPPLParser.DATE:
+ case OpenSearchPPLParser.DATE_ADD:
+ case OpenSearchPPLParser.DATE_FORMAT:
+ case OpenSearchPPLParser.DATE_SUB:
+ case OpenSearchPPLParser.DAYNAME:
+ case OpenSearchPPLParser.DAYOFMONTH:
+ case OpenSearchPPLParser.DAYOFWEEK:
+ case OpenSearchPPLParser.DAYOFYEAR:
+ case OpenSearchPPLParser.FROM_DAYS:
+ case OpenSearchPPLParser.LOCALTIME:
+ case OpenSearchPPLParser.LOCALTIMESTAMP:
+ case OpenSearchPPLParser.FROM_UNIXTIME:
+ case OpenSearchPPLParser.MAKEDATE:
+ case OpenSearchPPLParser.MAKETIME:
+ case OpenSearchPPLParser.MONTHNAME:
+ case OpenSearchPPLParser.NOW:
+ case OpenSearchPPLParser.PERIOD_ADD:
+ case OpenSearchPPLParser.PERIOD_DIFF:
+ case OpenSearchPPLParser.SUBDATE:
+ case OpenSearchPPLParser.SYSDATE:
+ case OpenSearchPPLParser.TIME:
+ case OpenSearchPPLParser.TIME_TO_SEC:
+ case OpenSearchPPLParser.TIMESTAMP:
+ case OpenSearchPPLParser.TO_DAYS:
+ case OpenSearchPPLParser.UTC_DATE:
+ case OpenSearchPPLParser.UTC_TIME:
+ case OpenSearchPPLParser.UTC_TIMESTAMP:
+ case OpenSearchPPLParser.UNIX_TIMESTAMP:
+ case OpenSearchPPLParser.SUBSTR:
+ case OpenSearchPPLParser.SUBSTRING:
+ case OpenSearchPPLParser.LTRIM:
+ case OpenSearchPPLParser.RTRIM:
+ case OpenSearchPPLParser.TRIM:
+ case OpenSearchPPLParser.LOWER:
+ case OpenSearchPPLParser.UPPER:
+ case OpenSearchPPLParser.CONCAT:
+ case OpenSearchPPLParser.CONCAT_WS:
+ case OpenSearchPPLParser.LENGTH:
+ case OpenSearchPPLParser.STRCMP:
+ case OpenSearchPPLParser.RIGHT:
+ case OpenSearchPPLParser.LEFT:
+ case OpenSearchPPLParser.ASCII:
+ case OpenSearchPPLParser.LOCATE:
+ case OpenSearchPPLParser.REPLACE:
+ case OpenSearchPPLParser.SPAN:
+ case OpenSearchPPLParser.MS:
+ case OpenSearchPPLParser.S:
+ case OpenSearchPPLParser.M:
+ case OpenSearchPPLParser.H:
+ case OpenSearchPPLParser.W:
+ case OpenSearchPPLParser.Q:
+ case OpenSearchPPLParser.Y:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 952;
+ this.keywordsCanBeId();
+ }
+ break;
+ default:
+ throw new NoViableAltException(this);
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public wildcard(): WildcardContext {
+ let _localctx: WildcardContext = new WildcardContext(this._ctx, this.state);
+ this.enterRule(_localctx, 202, OpenSearchPPLParser.RULE_wildcard);
+ let _la: number;
+ try {
+ let _alt: number;
+ this.state = 978;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 81, this._ctx) ) {
+ case 1:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 955;
+ this.ident();
+ this.state = 960;
+ this._errHandler.sync(this);
+ _alt = this.interpreter.adaptivePredict(this._input, 79, this._ctx);
+ while (_alt !== 2 && _alt !== ATN.INVALID_ALT_NUMBER) {
+ if (_alt === 1) {
+ {
+ {
+ this.state = 956;
+ this.match(OpenSearchPPLParser.MODULE);
+ this.state = 957;
+ this.ident();
+ }
+ }
+ }
+ this.state = 962;
+ this._errHandler.sync(this);
+ _alt = this.interpreter.adaptivePredict(this._input, 79, this._ctx);
+ }
+ this.state = 964;
+ this._errHandler.sync(this);
+ _la = this._input.LA(1);
+ if (_la === OpenSearchPPLParser.MODULE) {
+ {
+ this.state = 963;
+ this.match(OpenSearchPPLParser.MODULE);
+ }
+ }
+
+ }
+ break;
+
+ case 2:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 966;
+ this.match(OpenSearchPPLParser.SINGLE_QUOTE);
+ this.state = 967;
+ this.wildcard();
+ this.state = 968;
+ this.match(OpenSearchPPLParser.SINGLE_QUOTE);
+ }
+ break;
+
+ case 3:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 970;
+ this.match(OpenSearchPPLParser.DOUBLE_QUOTE);
+ this.state = 971;
+ this.wildcard();
+ this.state = 972;
+ this.match(OpenSearchPPLParser.DOUBLE_QUOTE);
+ }
+ break;
+
+ case 4:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 974;
+ this.match(OpenSearchPPLParser.BACKTICK);
+ this.state = 975;
+ this.wildcard();
+ this.state = 976;
+ this.match(OpenSearchPPLParser.BACKTICK);
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+ // @RuleVersion(0)
+ public keywordsCanBeId(): KeywordsCanBeIdContext {
+ let _localctx: KeywordsCanBeIdContext = new KeywordsCanBeIdContext(this._ctx, this.state);
+ this.enterRule(_localctx, 204, OpenSearchPPLParser.RULE_keywordsCanBeId);
+ try {
+ this.state = 993;
+ this._errHandler.sync(this);
+ switch ( this.interpreter.adaptivePredict(this._input, 82, this._ctx) ) {
+ case 1:
+ this.enterOuterAlt(_localctx, 1);
+ {
+ this.state = 980;
+ this.match(OpenSearchPPLParser.D);
+ }
+ break;
+
+ case 2:
+ this.enterOuterAlt(_localctx, 2);
+ {
+ this.state = 981;
+ this.statsFunctionName();
+ }
+ break;
+
+ case 3:
+ this.enterOuterAlt(_localctx, 3);
+ {
+ this.state = 982;
+ this.match(OpenSearchPPLParser.TIMESTAMP);
+ }
+ break;
+
+ case 4:
+ this.enterOuterAlt(_localctx, 4);
+ {
+ this.state = 983;
+ this.match(OpenSearchPPLParser.DATE);
+ }
+ break;
+
+ case 5:
+ this.enterOuterAlt(_localctx, 5);
+ {
+ this.state = 984;
+ this.match(OpenSearchPPLParser.TIME);
+ }
+ break;
+
+ case 6:
+ this.enterOuterAlt(_localctx, 6);
+ {
+ this.state = 985;
+ this.match(OpenSearchPPLParser.FIRST);
+ }
+ break;
+
+ case 7:
+ this.enterOuterAlt(_localctx, 7);
+ {
+ this.state = 986;
+ this.match(OpenSearchPPLParser.LAST);
+ }
+ break;
+
+ case 8:
+ this.enterOuterAlt(_localctx, 8);
+ {
+ this.state = 987;
+ this.timespanUnit();
+ }
+ break;
+
+ case 9:
+ this.enterOuterAlt(_localctx, 9);
+ {
+ this.state = 988;
+ this.match(OpenSearchPPLParser.SPAN);
+ }
+ break;
+
+ case 10:
+ this.enterOuterAlt(_localctx, 10);
+ {
+ this.state = 989;
+ this.constantFunctionName();
+ }
+ break;
+
+ case 11:
+ this.enterOuterAlt(_localctx, 11);
+ {
+ this.state = 990;
+ this.dateAndTimeFunctionBase();
+ }
+ break;
+
+ case 12:
+ this.enterOuterAlt(_localctx, 12);
+ {
+ this.state = 991;
+ this.textFunctionBase();
+ }
+ break;
+
+ case 13:
+ this.enterOuterAlt(_localctx, 13);
+ {
+ this.state = 992;
+ this.mathematicalFunctionBase();
+ }
+ break;
+ }
+ }
+ catch (re) {
+ if (re instanceof RecognitionException) {
+ _localctx.exception = re;
+ this._errHandler.reportError(this, re);
+ this._errHandler.recover(this, re);
+ } else {
+ throw re;
+ }
+ }
+ finally {
+ this.exitRule();
+ }
+ return _localctx;
+ }
+
+ public sempred(_localctx: RuleContext, ruleIndex: number, predIndex: number): boolean {
+ switch (ruleIndex) {
+ case 43:
+ return this.logicalExpression_sempred(_localctx as LogicalExpressionContext, predIndex);
+
+ case 45:
+ return this.valueExpression_sempred(_localctx as ValueExpressionContext, predIndex);
+ }
+ return true;
+ }
+ private logicalExpression_sempred(_localctx: LogicalExpressionContext, predIndex: number): boolean {
+ switch (predIndex) {
+ case 0:
+ return this.precpred(this._ctx, 5);
+
+ case 1:
+ return this.precpred(this._ctx, 4);
+
+ case 2:
+ return this.precpred(this._ctx, 3);
+ }
+ return true;
+ }
+ private valueExpression_sempred(_localctx: ValueExpressionContext, predIndex: number): boolean {
+ switch (predIndex) {
+ case 3:
+ return this.precpred(this._ctx, 3);
+ }
+ return true;
+ }
+
+ private static readonly _serializedATNSegments: number = 2;
+ private static readonly _serializedATNSegment0: string =
+ "\x03\uC91D\uCABA\u058D\uAFBA\u4F53\u0607\uEA8B\uC241\x03\u0135\u03E6\x04" +
+ "\x02\t\x02\x04\x03\t\x03\x04\x04\t\x04\x04\x05\t\x05\x04\x06\t\x06\x04" +
+ "\x07\t\x07\x04\b\t\b\x04\t\t\t\x04\n\t\n\x04\v\t\v\x04\f\t\f\x04\r\t\r" +
+ "\x04\x0E\t\x0E\x04\x0F\t\x0F\x04\x10\t\x10\x04\x11\t\x11\x04\x12\t\x12" +
+ "\x04\x13\t\x13\x04\x14\t\x14\x04\x15\t\x15\x04\x16\t\x16\x04\x17\t\x17" +
+ "\x04\x18\t\x18\x04\x19\t\x19\x04\x1A\t\x1A\x04\x1B\t\x1B\x04\x1C\t\x1C" +
+ "\x04\x1D\t\x1D\x04\x1E\t\x1E\x04\x1F\t\x1F\x04 \t \x04!\t!\x04\"\t\"\x04" +
+ "#\t#\x04$\t$\x04%\t%\x04&\t&\x04\'\t\'\x04(\t(\x04)\t)\x04*\t*\x04+\t" +
+ "+\x04,\t,\x04-\t-\x04.\t.\x04/\t/\x040\t0\x041\t1\x042\t2\x043\t3\x04" +
+ "4\t4\x045\t5\x046\t6\x047\t7\x048\t8\x049\t9\x04:\t:\x04;\t;\x04<\t<\x04" +
+ "=\t=\x04>\t>\x04?\t?\x04@\t@\x04A\tA\x04B\tB\x04C\tC\x04D\tD\x04E\tE\x04" +
+ "F\tF\x04G\tG\x04H\tH\x04I\tI\x04J\tJ\x04K\tK\x04L\tL\x04M\tM\x04N\tN\x04" +
+ "O\tO\x04P\tP\x04Q\tQ\x04R\tR\x04S\tS\x04T\tT\x04U\tU\x04V\tV\x04W\tW\x04" +
+ "X\tX\x04Y\tY\x04Z\tZ\x04[\t[\x04\\\t\\\x04]\t]\x04^\t^\x04_\t_\x04`\t" +
+ "`\x04a\ta\x04b\tb\x04c\tc\x04d\td\x04e\te\x04f\tf\x04g\tg\x04h\th\x03" +
+ "\x02\x05\x02\xD2\n\x02\x03\x02\x03\x02\x03\x03\x03\x03\x03\x03\x07\x03" +
+ "\xD9\n\x03\f\x03\x0E\x03\xDC\v\x03\x03\x04\x03\x04\x03\x04\x05\x04\xE1" +
+ "\n\x04\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05" +
+ "\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x03\x05\x05\x05" +
+ "\xF3\n\x05\x03\x06\x05\x06\xF6\n\x06\x03\x06\x03\x06\x05\x06\xFA\n\x06" +
+ "\x03\x06\x03\x06\x03\x06\x03\x06\x05\x06\u0100\n\x06\x03\x06\x03\x06\x03" +
+ "\x06\x05\x06\u0105\n\x06\x03\x07\x03\x07\x03\x07\x03\b\x03\b\x03\b\x03" +
+ "\t\x03\t\x03\t\x03\n\x03\n\x05\n\u0112\n\n\x03\n\x03\n\x03\v\x03\v\x03" +
+ "\v\x03\v\x07\v\u011A\n\v\f\v\x0E\v\u011D\v\v\x03\f\x03\f\x03\f\x03\f\x05" +
+ "\f\u0123\n\f\x03\f\x03\f\x03\f\x05\f\u0128\n\f\x03\f\x03\f\x03\f\x05\f" +
+ "\u012D\n\f\x03\f\x03\f\x03\f\x07\f\u0132\n\f\f\f\x0E\f\u0135\v\f\x03\f" +
+ "\x05\f\u0138\n\f\x03\f\x03\f\x03\f\x05\f\u013D\n\f\x03\r\x03\r\x05\r\u0141" +
+ "\n\r\x03\r\x03\r\x03\r\x03\r\x05\r\u0147\n\r\x03\r\x03\r\x03\r\x05\r\u014C" +
+ "\n\r\x03\x0E\x03\x0E\x03\x0E\x03\x0F\x03\x0F\x03\x0F\x03\x0F\x07\x0F\u0155" +
+ "\n\x0F\f\x0F\x0E\x0F\u0158\v\x0F\x03\x10\x03\x10\x05\x10\u015C\n\x10\x03" +
+ "\x10\x03\x10\x05\x10\u0160\n\x10\x03\x11\x03\x11\x05\x11\u0164\n\x11\x03" +
+ "\x11\x03\x11\x05\x11\u0168\n\x11\x03\x12\x03\x12\x03\x12\x05\x12\u016D" +
+ "\n\x12\x03\x13\x03\x13\x03\x13\x03\x13\x03\x14\x03\x14\x03\x14\x03\x14" +
+ "\x03\x15\x03\x15\x07\x15\u0179\n\x15\f\x15\x0E\x15\u017C\v\x15\x03\x15" +
+ "\x03\x15\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x03\x16\x05\x16\u0186" +
+ "\n\x16\x03\x17\x03\x17\x03\x18\x03\x18\x07\x18\u018C\n\x18\f\x18\x0E\x18" +
+ "\u018F\v\x18\x03\x19\x03\x19\x03\x19\x03\x19\x03\x19\x03\x19\x03\x19\x03" +
+ "\x19\x03\x19\x05\x19\u019A\n\x19\x03\x1A\x03\x1A\x07\x1A\u019E\n\x1A\f" +
+ "\x1A\x0E\x1A\u01A1\v\x1A\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B" +
+ "\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B" +
+ "\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B" +
+ "\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B\x03\x1B" +
+ "\x03\x1B\x03\x1B\x03\x1B\x05\x1B\u01C7\n\x1B\x03\x1C\x03\x1C\x07\x1C\u01CB" +
+ "\n\x1C\f\x1C\x0E\x1C\u01CE\v\x1C\x03\x1D\x03\x1D\x03\x1D\x03\x1D\x03\x1E" +
+ "\x03\x1E\x03\x1E\x03\x1E\x03\x1E\x03\x1E\x03\x1E\x03\x1E\x03\x1E\x03\x1E" +
+ "\x03\x1E\x03\x1E\x05\x1E\u01E0\n\x1E\x03\x1F\x03\x1F\x03\x1F\x07\x1F\u01E5" +
+ "\n\x1F\f\x1F\x0E\x1F\u01E8\v\x1F\x03 \x03 \x03 \x03 \x03!\x03!\x03!\x03" +
+ "\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x03\"\x05\"\u01FA\n\"\x03" +
+ "#\x03#\x03#\x05#\u01FF\n#\x03$\x03$\x03$\x03$\x03$\x03$\x05$\u0207\n$" +
+ "\x03$\x03$\x03%\x03%\x03%\x07%\u020E\n%\f%\x0E%\u0211\v%\x03&\x03&\x03" +
+ "&\x03&\x03\'\x03\'\x03\'\x05\'\u021A\n\'\x03(\x03(\x03(\x03(\x03(\x03" +
+ "(\x03(\x03(\x03(\x03(\x03(\x03(\x03(\x03(\x03(\x05(\u022B\n(\x03)\x03" +
+ ")\x03*\x03*\x03*\x03*\x03*\x05*\u0234\n*\x03*\x03*\x03+\x03+\x03+\x03" +
+ "+\x03+\x03+\x03+\x03+\x03,\x03,\x03,\x05,\u0243\n,\x03-\x03-\x03-\x03" +
+ "-\x03-\x03-\x05-\u024B\n-\x03-\x03-\x03-\x03-\x03-\x05-\u0252\n-\x03-" +
+ "\x03-\x03-\x03-\x07-\u0258\n-\f-\x0E-\u025B\v-\x03.\x03.\x03.\x03.\x03" +
+ ".\x03.\x03.\x03.\x05.\u0265\n.\x03/\x03/\x03/\x03/\x03/\x03/\x03/\x03" +
+ "/\x05/\u026F\n/\x03/\x03/\x03/\x03/\x07/\u0275\n/\f/\x0E/\u0278\v/\x03" +
+ "0\x030\x030\x030\x030\x050\u027F\n0\x031\x031\x031\x051\u0284\n1\x031" +
+ "\x031\x032\x032\x033\x033\x053\u028C\n3\x034\x034\x034\x034\x034\x034" +
+ "\x034\x074\u0295\n4\f4\x0E4\u0298\v4\x034\x034\x035\x035\x035\x035\x03" +
+ "5\x035\x075\u02A2\n5\f5\x0E5\u02A5\v5\x035\x035\x035\x035\x035\x075\u02AC" +
+ "\n5\f5\x0E5\u02AF\v5\x035\x035\x036\x036\x056\u02B5\n6\x037\x037\x037" +
+ "\x037\x037\x038\x038\x038\x078\u02BF\n8\f8\x0E8\u02C2\v8\x039\x039\x03" +
+ "9\x079\u02C7\n9\f9\x0E9\u02CA\v9\x03:\x05:\u02CD\n:\x03:\x03:\x03;\x03" +
+ ";\x03;\x03;\x03;\x03;\x03;\x03;\x03;\x03;\x03;\x03;\x03;\x03;\x03;\x03" +
+ ";\x03;\x03;\x03;\x03;\x03;\x05;\u02E6\n;\x03<\x03<\x03=\x03=\x03>\x03" +
+ ">\x03>\x03>\x03>\x03?\x03?\x03?\x03?\x03?\x03?\x03?\x03@\x03@\x03@\x03" +
+ "@\x03@\x03A\x03A\x03A\x03A\x03A\x03A\x03A\x03A\x03A\x03A\x05A\u0307\n" +
+ "A\x03B\x03B\x03B\x03B\x03B\x05B\u030E\nB\x03C\x03C\x03C\x07C\u0313\nC" +
+ "\fC\x0EC\u0316\vC\x05C\u0318\nC\x03D\x03D\x03D\x05D\u031D\nD\x03D\x03" +
+ "D\x03E\x03E\x03E\x03E\x03F\x03F\x03G\x03G\x03G\x03G\x03G\x03G\x03G\x03" +
+ "G\x05G\u032F\nG\x03H\x03H\x05H\u0333\nH\x03I\x03I\x05I\u0337\nI\x03J\x03" +
+ "J\x03K\x03K\x05K\u033D\nK\x03L\x03L\x03L\x03L\x03L\x03L\x03L\x03L\x03" +
+ "L\x03L\x03L\x03L\x03L\x03L\x03L\x03L\x03L\x03L\x03L\x03L\x03L\x03L\x05" +
+ "L\u0355\nL\x03M\x03M\x03N\x03N\x03O\x03O\x03P\x03P\x03Q\x03Q\x03R\x03" +
+ "R\x03S\x03S\x03T\x03T\x03U\x03U\x03V\x03V\x03W\x03W\x03W\x03W\x03W\x03" +
+ "W\x05W\u0371\nW\x03X\x03X\x03X\x03X\x03Y\x03Y\x03Z\x05Z\u037A\nZ\x03Z" +
+ "\x03Z\x03[\x05[\u037F\n[\x03[\x03[\x03\\\x03\\\x03]\x03]\x03]\x05]\u0388" +
+ "\n]\x03^\x03^\x03^\x03_\x03_\x03_\x03`\x03`\x03`\x03a\x03a\x03b\x03b\x03" +
+ "c\x03c\x03c\x03c\x07c\u039B\nc\fc\x0Ec\u039E\vc\x03c\x03c\x03d\x03d\x03" +
+ "d\x07d\u03A5\nd\fd\x0Ed\u03A8\vd\x03e\x03e\x03e\x07e\u03AD\ne\fe\x0Ee" +
+ "\u03B0\ve\x03f\x05f\u03B3\nf\x03f\x03f\x03f\x03f\x03f\x03f\x03f\x05f\u03BC" +
+ "\nf\x03g\x03g\x03g\x07g\u03C1\ng\fg\x0Eg\u03C4\vg\x03g\x05g\u03C7\ng\x03" +
+ "g\x03g\x03g\x03g\x03g\x03g\x03g\x03g\x03g\x03g\x03g\x03g\x05g\u03D5\n" +
+ "g\x03h\x03h\x03h\x03h\x03h\x03h\x03h\x03h\x03h\x03h\x03h\x03h\x03h\x05" +
+ "h\u03E4\nh\x03h\x02\x02\x04X\\i\x02\x02\x04\x02\x06\x02\b\x02\n\x02\f" +
+ "\x02\x0E\x02\x10\x02\x12\x02\x14\x02\x16\x02\x18\x02\x1A\x02\x1C\x02\x1E" +
+ "\x02 \x02\"\x02$\x02&\x02(\x02*\x02,\x02.\x020\x022\x024\x026\x028\x02" +
+ ":\x02<\x02>\x02@\x02B\x02D\x02F\x02H\x02J\x02L\x02N\x02P\x02R\x02T\x02" +
+ "V\x02X\x02Z\x02\\\x02^\x02`\x02b\x02d\x02f\x02h\x02j\x02l\x02n\x02p\x02" +
+ "r\x02t\x02v\x02x\x02z\x02|\x02~\x02\x80\x02\x82\x02\x84\x02\x86\x02\x88" +
+ "\x02\x8A\x02\x8C\x02\x8E\x02\x90\x02\x92\x02\x94\x02\x96\x02\x98\x02\x9A" +
+ "\x02\x9C\x02\x9E\x02\xA0\x02\xA2\x02\xA4\x02\xA6\x02\xA8\x02\xAA\x02\xAC" +
+ "\x02\xAE\x02\xB0\x02\xB2\x02\xB4\x02\xB6\x02\xB8\x02\xBA\x02\xBC\x02\xBE" +
+ "\x02\xC0\x02\xC2\x02\xC4\x02\xC6\x02\xC8\x02\xCA\x02\xCC\x02\xCE\x02\x02" +
+ "\x14\x03\x02pq\x03\x02\x13\x14\x04\x02\x83\x83\xA5\xA5\x07\x02\x81\x82" +
+ "\x86\x86\x89\x89\x8E\x8E\x90\x93\x05\x02\b\b99\u0107\u0125\x03\x02\xBB" +
+ "\xC4\v\x02EEGGIP\\\\\xC5\xC5\xCB\xD3\xD6\xD9\xDB\xE2\xE6\xE6\x06\x02\xC6" +
+ "\xCA\xD4\xD5\xDA\xDA\xE3\xE5\x03\x02\xF9\xFE\x04\x02\xE7\xEB\xED\xF7\x04" +
+ "\x02DDjo\x03\x02pt\x03\x02\u0100\u0103\x03\x02\u0104\u0106\x03\x02\u0132" +
+ "\u0133\x03\x02BC\x04\x02GGI[\x05\x02 HP\u0127\u012D\x02\u0430\x02\xD1" +
+ "\x03\x02\x02\x02\x04\xD5\x03\x02\x02\x02\x06\xE0\x03\x02\x02\x02\b\xF2" +
+ "\x03\x02\x02\x02\n\u0104\x03\x02\x02\x02\f\u0106\x03\x02\x02\x02\x0E\u0109" +
+ "\x03\x02\x02\x02\x10\u010C\x03\x02\x02\x02\x12\u010F\x03\x02\x02\x02\x14" +
+ "\u0115\x03\x02\x02\x02\x16\u011E\x03\x02\x02\x02\x18\u013E\x03\x02\x02" +
+ "\x02\x1A\u014D\x03\x02\x02\x02\x1C\u0150\x03\x02\x02\x02\x1E\u0159\x03" +
+ "\x02\x02\x02 \u0161\x03\x02\x02\x02\"\u0169\x03\x02\x02\x02$\u016E\x03" +
+ "\x02\x02\x02&\u0172\x03\x02\x02\x02(\u0176\x03\x02\x02\x02*\u0185\x03" +
+ "\x02\x02\x02,\u0187\x03\x02\x02\x02.\u0189\x03\x02\x02\x020\u0199\x03" +
+ "\x02\x02\x022\u019B\x03\x02\x02\x024\u01C6\x03\x02\x02\x026\u01C8\x03" +
+ "\x02\x02\x028\u01CF\x03\x02\x02\x02:\u01DF\x03\x02\x02\x02<\u01E1\x03" +
+ "\x02\x02\x02>\u01E9\x03\x02\x02\x02@\u01ED\x03\x02\x02\x02B\u01F9\x03" +
+ "\x02\x02\x02D\u01FB\x03\x02\x02\x02F\u0200\x03\x02\x02\x02H\u020A\x03" +
+ "\x02\x02\x02J\u0212\x03\x02\x02\x02L\u0216\x03\x02\x02\x02N\u022A\x03" +
+ "\x02\x02\x02P\u022C\x03\x02\x02\x02R\u022E\x03\x02\x02\x02T\u0237\x03" +
+ "\x02\x02\x02V\u0242\x03\x02\x02\x02X\u024A\x03\x02\x02\x02Z\u0264\x03" +
+ "\x02\x02\x02\\\u026E\x03\x02\x02\x02^\u027E\x03\x02\x02\x02`\u0280\x03" +
+ "\x02\x02\x02b\u0287\x03\x02\x02\x02d\u028B\x03\x02\x02\x02f\u028D\x03" +
+ "\x02\x02\x02h\u029B\x03\x02\x02\x02j\u02B4\x03\x02\x02\x02l\u02B6\x03" +
+ "\x02\x02\x02n\u02BB\x03\x02\x02\x02p\u02C3\x03\x02\x02\x02r\u02CC\x03" +
+ "\x02\x02\x02t\u02E5\x03\x02\x02\x02v\u02E7\x03\x02\x02\x02x\u02E9\x03" +
+ "\x02\x02\x02z\u02EB\x03\x02\x02\x02|\u02F0\x03\x02\x02\x02~\u02F7\x03" +
+ "\x02\x02\x02\x80\u0306\x03\x02\x02\x02\x82\u030D\x03\x02\x02\x02\x84\u0317" +
+ "\x03\x02\x02\x02\x86\u031C\x03\x02\x02\x02\x88\u0320\x03\x02\x02\x02\x8A" +
+ "\u0324\x03\x02\x02\x02\x8C\u032E\x03\x02\x02\x02\x8E\u0332\x03\x02\x02" +
+ "\x02\x90\u0336\x03\x02\x02\x02\x92\u0338\x03\x02\x02\x02\x94\u033C\x03" +
+ "\x02\x02\x02\x96\u0354\x03\x02\x02\x02\x98\u0356\x03\x02\x02\x02\x9A\u0358" +
+ "\x03\x02\x02\x02\x9C\u035A\x03\x02\x02\x02\x9E\u035C\x03\x02\x02\x02\xA0" +
+ "\u035E\x03\x02\x02\x02\xA2\u0360\x03\x02\x02\x02\xA4\u0362\x03\x02\x02" +
+ "\x02\xA6\u0364\x03\x02\x02\x02\xA8\u0366\x03\x02\x02\x02\xAA\u0368\x03" +
+ "\x02\x02\x02\xAC\u0370\x03\x02\x02\x02\xAE\u0372\x03\x02\x02\x02\xB0\u0376" +
+ "\x03\x02\x02\x02\xB2\u0379\x03\x02\x02\x02\xB4\u037E\x03\x02\x02\x02\xB6" +
+ "\u0382\x03\x02\x02\x02\xB8\u0387\x03\x02\x02\x02\xBA\u0389\x03\x02\x02" +
+ "\x02\xBC\u038C\x03\x02\x02\x02\xBE\u038F\x03\x02\x02\x02\xC0\u0392\x03" +
+ "\x02\x02\x02\xC2\u0394\x03\x02\x02\x02\xC4\u0396\x03\x02\x02\x02\xC6\u03A1" +
+ "\x03\x02\x02\x02\xC8\u03A9\x03\x02\x02\x02\xCA\u03BB\x03\x02\x02\x02\xCC" +
+ "\u03D4\x03\x02\x02\x02\xCE\u03E3\x03\x02\x02\x02\xD0\xD2\x05\x04\x03\x02" +
+ "\xD1\xD0\x03\x02\x02\x02\xD1\xD2\x03\x02\x02\x02\xD2\xD3\x03\x02\x02\x02" +
+ "\xD3\xD4\x07\x02\x02\x03\xD4\x03\x03\x02\x02\x02\xD5\xDA\x05\x06\x04\x02" +
+ "\xD6\xD7\x07g\x02\x02\xD7\xD9\x05\b\x05\x02\xD8\xD6\x03\x02\x02\x02\xD9" +
+ "\xDC\x03\x02\x02\x02\xDA\xD8\x03\x02\x02\x02\xDA\xDB\x03\x02\x02\x02\xDB" +
+ "\x05\x03\x02\x02\x02\xDC\xDA\x03\x02\x02\x02\xDD\xE1\x05\n\x06\x02\xDE" +
+ "\xE1\x05\f\x07\x02\xDF\xE1\x05\x0E\b\x02\xE0\xDD\x03\x02\x02\x02\xE0\xDE" +
+ "\x03\x02\x02\x02\xE0\xDF\x03\x02\x02\x02\xE1\x07\x03\x02\x02\x02\xE2\xF3" +
+ "\x05\x10\t\x02\xE3\xF3\x05\x12\n\x02\xE4\xF3\x05\x14\v\x02\xE5\xF3\x05" +
+ "\x16\f\x02\xE6\xF3\x05\x18\r\x02\xE7\xF3\x05\x1A\x0E\x02\xE8\xF3\x05\x1C" +
+ "\x0F\x02\xE9\xF3\x05\x1E\x10\x02\xEA\xF3\x05 \x11\x02\xEB\xF3\x05\"\x12" +
+ "\x02\xEC\xF3\x05$\x13\x02\xED\xF3\x05&\x14\x02\xEE\xF3\x05(\x15\x02\xEF" +
+ "\xF3\x05.\x18\x02\xF0\xF3\x052\x1A\x02\xF1\xF3\x056\x1C\x02\xF2\xE2\x03" +
+ "\x02\x02\x02\xF2\xE3\x03\x02\x02\x02\xF2\xE4\x03\x02\x02\x02\xF2\xE5\x03" +
+ "\x02\x02\x02\xF2\xE6\x03\x02\x02\x02\xF2\xE7\x03\x02\x02\x02\xF2\xE8\x03" +
+ "\x02\x02\x02\xF2\xE9\x03\x02\x02\x02\xF2\xEA\x03\x02\x02\x02\xF2\xEB\x03" +
+ "\x02\x02\x02\xF2\xEC\x03\x02\x02\x02\xF2\xED\x03\x02\x02\x02\xF2\xEE\x03" +
+ "\x02\x02\x02\xF2\xEF\x03\x02\x02\x02\xF2\xF0\x03\x02\x02\x02\xF2\xF1\x03" +
+ "\x02\x02\x02\xF3\t\x03\x02\x02\x02\xF4\xF6\x07\x03\x02\x02\xF5\xF4\x03" +
+ "\x02\x02\x02\xF5\xF6\x03\x02\x02\x02\xF6\xF7\x03\x02\x02\x02\xF7\u0105" +
+ "\x05:\x1E\x02\xF8\xFA\x07\x03\x02\x02\xF9\xF8\x03\x02\x02\x02\xF9\xFA" +
+ "\x03\x02\x02\x02\xFA\xFB\x03\x02\x02\x02\xFB\xFC\x05:\x1E\x02\xFC\xFD" +
+ "\x05X-\x02\xFD\u0105\x03\x02\x02\x02\xFE\u0100\x07\x03\x02\x02\xFF\xFE" +
+ "\x03\x02\x02\x02\xFF\u0100\x03\x02\x02\x02\u0100\u0101\x03\x02\x02\x02" +
+ "\u0101\u0102\x05X-\x02\u0102\u0103\x05:\x1E\x02\u0103\u0105\x03\x02\x02" +
+ "\x02\u0104\xF5\x03\x02\x02\x02\u0104\xF9\x03\x02\x02\x02\u0104\xFF\x03" +
+ "\x02\x02\x02\u0105\v\x03\x02\x02\x02\u0106\u0107\x07\x04\x02\x02\u0107" +
+ "\u0108\x05<\x1F\x02\u0108\r\x03\x02\x02\x02\u0109\u010A\x07\x05\x02\x02" +
+ "\u010A\u010B\x07\"\x02\x02\u010B\x0F\x03\x02\x02\x02\u010C\u010D\x07\x07" +
+ "\x02\x02\u010D\u010E\x05X-\x02\u010E\x11\x03\x02\x02\x02\u010F\u0111\x07" +
+ "\b\x02\x02\u0110\u0112\t\x02\x02\x02\u0111\u0110\x03\x02\x02\x02\u0111" +
+ "\u0112\x03\x02\x02\x02\u0112\u0113\x03\x02\x02\x02\u0113\u0114\x05n8\x02" +
+ "\u0114\x13\x03\x02\x02\x02\u0115\u0116\x07\t\x02\x02\u0116\u011B\x05>" +
+ " \x02\u0117\u0118\x07h\x02\x02\u0118\u011A\x05> \x02\u0119\u0117\x03\x02" +
+ "\x02\x02\u011A\u011D\x03\x02\x02\x02\u011B\u0119\x03\x02\x02\x02\u011B" +
+ "\u011C\x03\x02\x02\x02\u011C\x15\x03\x02\x02\x02\u011D\u011B\x03\x02\x02" +
+ "\x02\u011E\u0122\x07\n\x02\x02\u011F\u0120\x07+\x02\x02\u0120\u0121\x07" +
+ "j\x02\x02\u0121\u0123\x05\xB2Z\x02\u0122\u011F\x03\x02\x02\x02\u0122\u0123" +
+ "\x03\x02\x02\x02\u0123\u0127\x03\x02\x02\x02\u0124\u0125\x07,\x02\x02" +
+ "\u0125\u0126\x07j\x02\x02\u0126\u0128\x05\xB6\\\x02\u0127\u0124\x03\x02" +
+ "\x02\x02\u0127\u0128\x03\x02\x02\x02\u0128\u012C\x03\x02\x02\x02\u0129" +
+ "\u012A\x07-\x02\x02\u012A\u012B\x07j\x02\x02\u012B\u012D\x05\xB0Y\x02" +
+ "\u012C\u0129\x03\x02\x02\x02\u012C\u012D\x03\x02\x02\x02\u012D\u012E\x03" +
+ "\x02\x02\x02\u012E\u0133\x05L\'\x02\u012F\u0130\x07h\x02\x02\u0130\u0132" +
+ "\x05L\'\x02\u0131\u012F\x03\x02\x02\x02\u0132\u0135\x03\x02\x02\x02\u0133" +
+ "\u0131\x03\x02\x02\x02\u0133\u0134\x03\x02\x02\x02\u0134\u0137\x03\x02" +
+ "\x02\x02\u0135\u0133\x03\x02\x02\x02\u0136\u0138\x05B\"\x02\u0137\u0136" +
+ "\x03\x02\x02\x02\u0137\u0138\x03\x02\x02\x02\u0138\u013C\x03\x02\x02\x02" +
+ "\u0139\u013A\x07*\x02\x02\u013A\u013B\x07j\x02\x02\u013B\u013D\x05\xB6" +
+ "\\\x02\u013C\u0139\x03\x02\x02\x02\u013C\u013D\x03\x02\x02\x02\u013D\x17" +
+ "\x03\x02\x02\x02\u013E\u0140\x07\v\x02\x02\u013F\u0141\x05\xB2Z\x02\u0140" +
+ "\u013F\x03\x02\x02\x02\u0140\u0141\x03\x02\x02\x02\u0141\u0142\x03\x02" +
+ "\x02\x02\u0142\u0146\x05n8\x02\u0143\u0144\x07(\x02\x02\u0144\u0145\x07" +
+ "j\x02\x02\u0145\u0147\x05\xB6\\\x02\u0146\u0143\x03\x02\x02\x02\u0146" +
+ "\u0147\x03\x02\x02\x02\u0147\u014B\x03\x02\x02\x02\u0148\u0149\x07)\x02" +
+ "\x02\u0149\u014A\x07j\x02\x02\u014A\u014C\x05\xB6\\\x02\u014B\u0148\x03" +
+ "\x02\x02\x02\u014B\u014C\x03\x02\x02\x02\u014C\x19\x03\x02\x02\x02\u014D" +
+ "\u014E\x07\f\x02\x02\u014E\u014F\x05H%\x02\u014F\x1B\x03\x02\x02\x02\u0150" +
+ "\u0151\x07\r\x02\x02\u0151\u0156\x05J&\x02\u0152\u0153\x07h\x02\x02\u0153" +
+ "\u0155\x05J&\x02\u0154\u0152\x03\x02\x02\x02\u0155\u0158\x03\x02\x02\x02" +
+ "\u0156\u0154\x03\x02\x02\x02\u0156\u0157\x03\x02\x02\x02\u0157\x1D\x03" +
+ "\x02\x02\x02\u0158\u0156\x03\x02\x02\x02\u0159\u015B\x07\x0E\x02\x02\u015A" +
+ "\u015C\x05\xB2Z\x02\u015B\u015A\x03\x02\x02\x02\u015B\u015C\x03\x02\x02" +
+ "\x02\u015C\u015F\x03\x02\x02\x02\u015D\u015E\x07\x06\x02\x02\u015E\u0160" +
+ "\x05\xB2Z\x02\u015F\u015D\x03\x02\x02\x02\u015F\u0160\x03\x02\x02\x02" +
+ "\u0160\x1F\x03\x02\x02\x02\u0161\u0163\x07\x0F\x02\x02\u0162\u0164\x05" +
+ "\xB2Z\x02\u0163\u0162\x03\x02\x02\x02\u0163\u0164\x03\x02\x02\x02\u0164" +
+ "\u0165\x03\x02\x02\x02\u0165\u0167\x05n8\x02\u0166\u0168\x05@!\x02\u0167" +
+ "\u0166\x03\x02\x02\x02\u0167\u0168\x03\x02\x02\x02\u0168!\x03\x02\x02" +
+ "\x02\u0169\u016A\x07\x10\x02\x02\u016A\u016C\x05n8\x02\u016B\u016D\x05" +
+ "@!\x02\u016C\u016B\x03\x02\x02\x02\u016C\u016D\x03\x02\x02\x02\u016D#" +
+ "\x03\x02\x02\x02\u016E\u016F\x07\x15\x02\x02\u016F\u0170\x05V,\x02\u0170" +
+ "\u0171\x05\xB0Y\x02\u0171%\x03\x02\x02\x02\u0172\u0173\x07\x11\x02\x02" +
+ "\u0173\u0174\x05V,\x02\u0174\u0175\x05\xB0Y\x02\u0175\'\x03\x02\x02\x02" +
+ "\u0176\u017A\x07\x17\x02\x02\u0177\u0179\x05*\x16\x02\u0178\u0177\x03" +
+ "\x02\x02\x02\u0179\u017C\x03\x02\x02\x02\u017A\u0178\x03\x02\x02\x02\u017A" +
+ "\u017B\x03\x02\x02\x02\u017B\u017D\x03\x02\x02\x02\u017C\u017A\x03\x02" +
+ "\x02\x02\u017D\u017E\x05V,\x02\u017E)\x03\x02\x02\x02\u017F\u0180\x07" +
+ "\x18\x02\x02\u0180\u0181\x07j\x02\x02\u0181\u0186\x05\xB0Y\x02\u0182\u0183" +
+ "\x07\x16\x02\x02\u0183\u0184\x07j\x02\x02\u0184\u0186\x05\xB0Y\x02\u0185" +
+ "\u017F\x03\x02\x02\x02\u0185\u0182\x03\x02\x02\x02\u0186+\x03\x02\x02" +
+ "\x02\u0187\u0188\t\x03\x02\x02\u0188-\x03\x02\x02\x02\u0189\u018D\x07" +
+ "\x19\x02\x02\u018A\u018C\x050\x19\x02\u018B\u018A\x03\x02\x02\x02\u018C" +
+ "\u018F\x03\x02\x02\x02\u018D\u018B\x03\x02\x02\x02\u018D\u018E\x03\x02" +
+ "\x02\x02\u018E/\x03\x02\x02\x02\u018F\u018D\x03\x02\x02\x02\u0190\u0191" +
+ "\x07.\x02\x02\u0191\u0192\x07j\x02\x02\u0192\u019A\x05\xB2Z\x02\u0193" +
+ "\u0194\x07/\x02\x02\u0194\u0195\x07j\x02\x02\u0195\u019A\x05\xB2Z\x02" +
+ "\u0196\u0197\x070\x02\x02\u0197\u0198\x07j\x02\x02\u0198\u019A\x05\xB0" +
+ "Y\x02\u0199\u0190\x03\x02\x02\x02\u0199\u0193\x03\x02\x02\x02\u0199\u0196" +
+ "\x03\x02\x02\x02\u019A1\x03\x02\x02\x02\u019B\u019F\x07\x1A\x02\x02\u019C" +
+ "\u019E\x054\x1B\x02\u019D\u019C\x03\x02\x02\x02\u019E\u01A1\x03\x02\x02" +
+ "\x02\u019F\u019D\x03\x02\x02\x02\u019F\u01A0\x03\x02\x02\x02\u01A03\x03" +
+ "\x02\x02\x02\u01A1\u019F\x03\x02\x02\x02\u01A2\u01A3\x071\x02\x02\u01A3" +
+ "\u01A4\x07j\x02\x02\u01A4\u01C7\x05\xB2Z\x02\u01A5\u01A6\x072\x02\x02" +
+ "\u01A6\u01A7\x07j\x02\x02\u01A7\u01C7\x05\xB2Z\x02\u01A8\u01A9\x073\x02" +
+ "\x02\u01A9\u01AA\x07j\x02\x02\u01AA\u01C7\x05\xB2Z\x02\u01AB\u01AC\x07" +
+ "4\x02\x02\u01AC\u01AD\x07j\x02\x02\u01AD\u01C7\x05\xB2Z\x02\u01AE\u01AF" +
+ "\x075\x02\x02\u01AF\u01B0\x07j\x02\x02\u01B0\u01C7\x05\xB4[\x02\u01B1" +
+ "\u01B2\x076\x02\x02\u01B2\u01B3\x07j\x02\x02\u01B3\u01C7\x05\xB4[\x02" +
+ "\u01B4\u01B5\x077\x02\x02\u01B5\u01B6\x07j\x02\x02\u01B6\u01C7\x05\xB0" +
+ "Y\x02\u01B7\u01B8\x078\x02\x02\u01B8\u01B9\x07j\x02\x02\u01B9\u01C7\x05" +
+ "\xB0Y\x02\u01BA\u01BB\x07\xCD\x02\x02\u01BB\u01BC\x07j\x02\x02\u01BC\u01C7" +
+ "\x05\xB0Y\x02\u01BD\u01BE\x079\x02\x02\u01BE\u01BF\x07j\x02\x02\u01BF" +
+ "\u01C7\x05\xB0Y\x02\u01C0\u01C1\x07:\x02\x02\u01C1\u01C2\x07j\x02\x02" +
+ "\u01C2\u01C7\x05\xB2Z\x02\u01C3\u01C4\x07;\x02\x02\u01C4\u01C5\x07j\x02" +
+ "\x02\u01C5\u01C7\x05\xB4[\x02\u01C6\u01A2\x03\x02\x02\x02\u01C6\u01A5" +
+ "\x03\x02\x02\x02\u01C6\u01A8\x03\x02\x02\x02\u01C6\u01AB\x03\x02\x02\x02" +
+ "\u01C6\u01AE\x03\x02\x02\x02\u01C6\u01B1\x03\x02\x02\x02\u01C6\u01B4\x03" +
+ "\x02\x02\x02\u01C6\u01B7\x03\x02\x02\x02\u01C6\u01BA\x03\x02\x02\x02\u01C6" +
+ "\u01BD\x03\x02\x02\x02\u01C6\u01C0\x03\x02\x02\x02\u01C6\u01C3\x03\x02" +
+ "\x02\x02\u01C75\x03\x02\x02\x02\u01C8\u01CC\x07\x1B\x02\x02\u01C9\u01CB" +
+ "\x058\x1D\x02\u01CA\u01C9\x03\x02\x02\x02\u01CB\u01CE\x03\x02\x02\x02" +
+ "\u01CC\u01CA\x03\x02\x02\x02\u01CC\u01CD\x03\x02\x02\x02\u01CD7\x03\x02" +
+ "\x02\x02\u01CE\u01CC\x03\x02\x02\x02\u01CF\u01D0\x05\xCAf\x02\u01D0\u01D1" +
+ "\x07j\x02\x02\u01D1\u01D2\x05\xACW\x02\u01D29\x03\x02\x02\x02\u01D3\u01D4" +
+ "\x07\x1E\x02\x02\u01D4\u01D5\x07j\x02\x02\u01D5\u01E0\x05<\x1F\x02\u01D6" +
+ "\u01D7\x07\x1F\x02\x02\u01D7\u01D8\x07j\x02\x02\u01D8\u01E0";
+ private static readonly _serializedATNSegment1: string =
+ "\x05<\x1F\x02\u01D9\u01DA\x07\x1E\x02\x02\u01DA\u01DB\x07j\x02\x02\u01DB" +
+ "\u01E0\x05l7\x02\u01DC\u01DD\x07\x1F\x02\x02\u01DD\u01DE\x07j\x02\x02" +
+ "\u01DE\u01E0\x05l7\x02\u01DF\u01D3\x03\x02\x02\x02\u01DF\u01D6\x03\x02" +
+ "\x02\x02\u01DF\u01D9\x03\x02\x02\x02\u01DF\u01DC\x03\x02\x02\x02\u01E0" +
+ ";\x03\x02\x02\x02\u01E1\u01E6\x05j6\x02\u01E2\u01E3\x07h\x02\x02\u01E3" +
+ "\u01E5\x05j6\x02\u01E4\u01E2\x03\x02\x02\x02\u01E5\u01E8\x03\x02\x02\x02" +
+ "\u01E6\u01E4\x03\x02\x02\x02\u01E6\u01E7\x03\x02\x02\x02\u01E7=\x03\x02" +
+ "\x02\x02\u01E8\u01E6\x03\x02\x02\x02\u01E9\u01EA\x05x=\x02\u01EA\u01EB" +
+ "\x07\x1C\x02\x02\u01EB\u01EC\x05x=\x02\u01EC?\x03\x02\x02\x02\u01ED\u01EE" +
+ "\x07\x1D\x02\x02\u01EE\u01EF\x05n8\x02\u01EFA\x03\x02\x02\x02\u01F0\u01F1" +
+ "\x07\x1D\x02\x02\u01F1\u01FA\x05n8\x02\u01F2\u01F3\x07\x1D\x02\x02\u01F3" +
+ "\u01FA\x05D#\x02\u01F4\u01F5\x07\x1D\x02\x02\u01F5\u01F6\x05D#\x02\u01F6" +
+ "\u01F7\x07h\x02\x02\u01F7\u01F8\x05n8\x02\u01F8\u01FA\x03\x02\x02\x02" +
+ "\u01F9\u01F0\x03\x02\x02\x02\u01F9\u01F2\x03\x02\x02\x02\u01F9\u01F4\x03" +
+ "\x02\x02\x02\u01FAC\x03\x02\x02\x02\u01FB\u01FE\x05F$\x02\u01FC\u01FD" +
+ "\x07\x1C\x02\x02\u01FD\u01FF\x05\xC6d\x02\u01FE\u01FC\x03\x02\x02\x02" +
+ "\u01FE\u01FF\x03\x02\x02\x02\u01FFE\x03\x02\x02\x02\u0200\u0201\x07\u0126" +
+ "\x02\x02\u0201\u0202\x07w\x02\x02\u0202\u0203\x05v<\x02\u0203\u0204\x07" +
+ "h\x02\x02\u0204\u0206\x05\xACW\x02\u0205\u0207\x05\xC2b\x02\u0206\u0205" +
+ "\x03\x02\x02\x02\u0206\u0207\x03\x02\x02\x02\u0207\u0208\x03\x02\x02\x02" +
+ "\u0208\u0209\x07x\x02\x02\u0209G\x03\x02\x02\x02\u020A\u020F\x05r:\x02" +
+ "\u020B\u020C\x07h\x02\x02\u020C\u020E\x05r:\x02\u020D\u020B\x03\x02\x02" +
+ "\x02\u020E\u0211\x03\x02\x02\x02\u020F\u020D\x03\x02\x02\x02\u020F\u0210" +
+ "\x03\x02\x02\x02\u0210I\x03\x02\x02\x02\u0211\u020F\x03\x02\x02\x02\u0212" +
+ "\u0213\x05v<\x02\u0213\u0214\x07j\x02\x02\u0214\u0215\x05V,\x02\u0215" +
+ "K\x03\x02\x02\x02\u0216\u0219\x05N(\x02\u0217\u0218\x07\x1C\x02\x02\u0218" +
+ "\u021A\x05x=\x02\u0219\u0217\x03\x02\x02\x02\u0219\u021A\x03\x02\x02\x02" +
+ "\u021AM\x03\x02\x02\x02\u021B\u021C\x05P)\x02\u021C\u021D\x07w\x02\x02" +
+ "\u021D\u021E\x05\\/\x02\u021E\u021F\x07x\x02\x02\u021F\u022B\x03\x02\x02" +
+ "\x02\u0220\u0221\x07\x82\x02\x02\u0221\u0222\x07w\x02\x02\u0222\u022B" +
+ "\x07x\x02\x02\u0223\u0224\t\x04\x02\x02\u0224\u0225\x07w\x02\x02\u0225" +
+ "\u0226\x05\\/\x02\u0226\u0227\x07x\x02\x02\u0227\u022B\x03\x02\x02\x02" +
+ "\u0228\u022B\x05T+\x02\u0229\u022B\x05R*\x02\u022A\u021B\x03\x02\x02\x02" +
+ "\u022A\u0220\x03\x02\x02\x02\u022A\u0223\x03\x02\x02\x02\u022A\u0228\x03" +
+ "\x02\x02\x02\u022A\u0229\x03\x02\x02\x02\u022BO\x03\x02\x02\x02\u022C" +
+ "\u022D\t\x05\x02\x02\u022DQ\x03\x02\x02\x02\u022E\u022F\x07\x95\x02\x02" +
+ "\u022F\u0230\x07w\x02\x02\u0230\u0233\x05v<\x02\u0231\u0232\x07h\x02\x02" +
+ "\u0232\u0234\x05\xB2Z\x02\u0233\u0231\x03\x02\x02\x02\u0233\u0234\x03" +
+ "\x02\x02\x02\u0234\u0235\x03\x02\x02\x02\u0235\u0236\x07x\x02\x02\u0236" +
+ "S\x03\x02\x02\x02\u0237\u0238\x07\x94\x02\x02\u0238\u0239\x07l\x02\x02" +
+ "\u0239\u023A\x05\xB2Z\x02\u023A\u023B\x07k\x02\x02\u023B\u023C\x07w\x02" +
+ "\x02\u023C\u023D\x05v<\x02\u023D\u023E\x07x\x02\x02\u023EU\x03\x02\x02" +
+ "\x02\u023F\u0243\x05X-\x02\u0240\u0243\x05Z.\x02\u0241\u0243\x05\\/\x02" +
+ "\u0242\u023F\x03\x02\x02\x02\u0242\u0240\x03\x02\x02\x02\u0242\u0241\x03" +
+ "\x02\x02\x02\u0243W\x03\x02\x02\x02\u0244\u0245\b-\x01\x02\u0245\u024B" +
+ "\x05Z.\x02\u0246\u0247\x07>\x02\x02\u0247\u024B\x05X-\b\u0248\u024B\x05" +
+ "b2\x02\u0249\u024B\x05d3\x02\u024A\u0244\x03\x02\x02\x02\u024A\u0246\x03" +
+ "\x02\x02\x02\u024A\u0248\x03\x02\x02\x02\u024A\u0249\x03\x02\x02\x02\u024B" +
+ "\u0259\x03\x02\x02\x02\u024C\u024D\f\x07\x02\x02\u024D\u024E\x07?\x02" +
+ "\x02\u024E\u0258\x05X-\b\u024F\u0251\f\x06\x02\x02\u0250\u0252\x07@\x02" +
+ "\x02\u0251\u0250\x03\x02\x02\x02\u0251\u0252\x03\x02\x02\x02\u0252\u0253" +
+ "\x03\x02\x02\x02\u0253\u0258\x05X-\x07\u0254\u0255\f\x05\x02\x02\u0255" +
+ "\u0256\x07A\x02\x02\u0256\u0258\x05X-\x06\u0257\u024C\x03\x02\x02\x02" +
+ "\u0257\u024F\x03\x02\x02\x02\u0257\u0254\x03\x02\x02\x02\u0258\u025B\x03" +
+ "\x02\x02\x02\u0259\u0257\x03\x02\x02\x02\u0259\u025A\x03\x02\x02\x02\u025A" +
+ "Y\x03\x02\x02\x02\u025B\u0259\x03\x02\x02\x02\u025C\u025D\x05\\/\x02\u025D" +
+ "\u025E\x05\xA4S\x02\u025E\u025F\x05\\/\x02\u025F\u0265\x03\x02\x02\x02" +
+ "\u0260\u0261\x05\\/\x02\u0261\u0262\x07=\x02\x02\u0262\u0263\x05\xC4c" +
+ "\x02\u0263\u0265\x03\x02\x02\x02\u0264\u025C\x03\x02\x02\x02\u0264\u0260" +
+ "\x03\x02\x02\x02\u0265[\x03\x02\x02\x02\u0266\u0267\b/\x01\x02\u0267\u0268" +
+ "\x07w\x02\x02\u0268\u0269\x05\\/\x02\u0269\u026A\x05\xA6T\x02\u026A\u026B" +
+ "\x05\\/\x02\u026B\u026C\x07x\x02\x02\u026C\u026F\x03\x02\x02\x02\u026D" +
+ "\u026F\x05^0\x02\u026E\u0266\x03\x02\x02\x02\u026E\u026D\x03\x02\x02\x02" +
+ "\u026F\u0276\x03\x02\x02\x02\u0270\u0271\f\x05\x02\x02\u0271\u0272\x05" +
+ "\xA6T\x02\u0272\u0273\x05\\/\x06\u0273\u0275\x03\x02\x02\x02\u0274\u0270" +
+ "\x03\x02\x02\x02\u0275\u0278\x03\x02\x02\x02\u0276\u0274\x03\x02\x02\x02" +
+ "\u0276\u0277\x03\x02\x02\x02\u0277]\x03\x02\x02\x02\u0278\u0276\x03\x02" +
+ "\x02\x02\u0279\u027F\x05z>\x02\u027A\u027F\x05|?\x02\u027B\u027F\x05v" +
+ "<\x02\u027C\u027F\x05\xACW\x02\u027D\u027F\x05`1\x02\u027E\u0279\x03\x02" +
+ "\x02\x02\u027E\u027A\x03\x02\x02\x02\u027E\u027B\x03\x02\x02\x02\u027E" +
+ "\u027C\x03\x02\x02\x02\u027E\u027D\x03\x02\x02\x02\u027F_\x03\x02\x02" +
+ "\x02\u0280\u0281\x05\x9CO\x02\u0281\u0283\x07w\x02\x02\u0282\u0284\x05" +
+ "\x84C\x02\u0283\u0282\x03\x02\x02\x02\u0283\u0284\x03\x02\x02\x02\u0284" +
+ "\u0285\x03\x02\x02\x02\u0285\u0286\x07x\x02\x02\u0286a\x03\x02\x02\x02" +
+ "\u0287\u0288\x05~@\x02\u0288c\x03\x02\x02\x02\u0289\u028C\x05f4\x02\u028A" +
+ "\u028C\x05h5\x02\u028B\u0289\x03\x02\x02\x02\u028B\u028A\x03\x02\x02\x02" +
+ "\u028Ce\x03\x02\x02\x02\u028D\u028E\x05\xA8U\x02\u028E\u028F\x07w\x02" +
+ "\x02\u028F\u0290\x05\x90I\x02\u0290\u0291\x07h\x02\x02\u0291\u0296\x05" +
+ "\x92J\x02\u0292\u0293\x07h\x02\x02\u0293\u0295\x05\x88E\x02\u0294\u0292" +
+ "\x03\x02\x02\x02\u0295\u0298\x03\x02\x02\x02\u0296\u0294\x03\x02\x02\x02" +
+ "\u0296\u0297\x03\x02\x02\x02\u0297\u0299\x03\x02\x02\x02\u0298\u0296\x03" +
+ "\x02\x02\x02\u0299\u029A\x07x\x02\x02\u029Ag\x03\x02\x02\x02\u029B\u029C" +
+ "\x05\xAAV\x02\u029C\u029D\x07w\x02\x02\u029D\u029E\x07y\x02\x02\u029E" +
+ "\u02A3\x05\x8CG\x02\u029F\u02A0\x07h\x02\x02\u02A0\u02A2\x05\x8CG\x02" +
+ "\u02A1\u029F\x03\x02\x02\x02\u02A2\u02A5\x03\x02\x02\x02\u02A3\u02A1\x03" +
+ "\x02\x02\x02\u02A3\u02A4\x03\x02\x02\x02\u02A4\u02A6\x03\x02\x02\x02\u02A5" +
+ "\u02A3\x03\x02\x02\x02\u02A6\u02A7\x07z\x02\x02\u02A7\u02A8\x07h\x02\x02" +
+ "\u02A8\u02AD\x05\x92J\x02\u02A9\u02AA\x07h\x02\x02\u02AA\u02AC\x05\x88" +
+ "E\x02\u02AB\u02A9\x03\x02\x02\x02\u02AC\u02AF\x03\x02\x02\x02\u02AD\u02AB" +
+ "\x03\x02\x02\x02\u02AD\u02AE\x03\x02\x02\x02\u02AE\u02B0\x03\x02\x02\x02" +
+ "\u02AF\u02AD\x03\x02\x02\x02\u02B0\u02B1\x07x\x02\x02\u02B1i\x03\x02\x02" +
+ "\x02\u02B2\u02B5\x05\xC6d\x02\u02B3\u02B5\x07\u0131\x02\x02\u02B4\u02B2" +
+ "\x03\x02\x02\x02\u02B4\u02B3\x03\x02\x02\x02\u02B5k\x03\x02\x02\x02\u02B6" +
+ "\u02B7\x05\xC6d\x02\u02B7\u02B8\x07w\x02\x02\u02B8\u02B9\x05\x84C\x02" +
+ "\u02B9\u02BA\x07x\x02\x02\u02BAm\x03\x02\x02\x02\u02BB\u02C0\x05v<\x02" +
+ "\u02BC\u02BD\x07h\x02\x02\u02BD\u02BF\x05v<\x02\u02BE\u02BC\x03\x02\x02" +
+ "\x02\u02BF\u02C2\x03\x02\x02\x02\u02C0\u02BE\x03\x02\x02\x02\u02C0\u02C1" +
+ "\x03\x02\x02\x02\u02C1o\x03\x02\x02\x02\u02C2\u02C0\x03\x02\x02\x02\u02C3" +
+ "\u02C8\x05x=\x02\u02C4\u02C5\x07h\x02\x02\u02C5\u02C7\x05x=\x02\u02C6" +
+ "\u02C4\x03\x02\x02\x02\u02C7\u02CA\x03\x02\x02\x02\u02C8\u02C6\x03\x02" +
+ "\x02\x02\u02C8\u02C9\x03\x02\x02\x02\u02C9q\x03\x02\x02\x02\u02CA\u02C8" +
+ "\x03\x02\x02\x02\u02CB\u02CD\t\x02\x02\x02\u02CC\u02CB\x03\x02\x02\x02" +
+ "\u02CC\u02CD\x03\x02\x02\x02\u02CD\u02CE\x03\x02\x02\x02\u02CE\u02CF\x05" +
+ "t;\x02\u02CFs\x03\x02\x02\x02\u02D0\u02E6\x05v<\x02\u02D1\u02D2\x07$\x02" +
+ "\x02\u02D2\u02D3\x07w\x02\x02\u02D3\u02D4\x05v<\x02\u02D4\u02D5\x07x\x02" +
+ "\x02\u02D5\u02E6\x03\x02\x02\x02\u02D6\u02D7\x07%\x02\x02\u02D7\u02D8" +
+ "\x07w\x02\x02\u02D8\u02D9\x05v<\x02\u02D9\u02DA\x07x\x02\x02\u02DA\u02E6" +
+ "\x03\x02\x02\x02\u02DB\u02DC\x07&\x02\x02\u02DC\u02DD\x07w\x02\x02\u02DD" +
+ "\u02DE\x05v<\x02\u02DE\u02DF\x07x\x02\x02\u02DF\u02E6\x03\x02\x02\x02" +
+ "\u02E0\u02E1\x07\'\x02\x02\u02E1\u02E2\x07w\x02\x02\u02E2\u02E3\x05v<" +
+ "\x02\u02E3\u02E4\x07x\x02\x02\u02E4\u02E6\x03\x02\x02\x02\u02E5\u02D0" +
+ "\x03\x02\x02\x02\u02E5\u02D1\x03\x02\x02\x02\u02E5\u02D6\x03\x02\x02\x02" +
+ "\u02E5\u02DB\x03\x02\x02\x02\u02E5\u02E0\x03\x02\x02\x02\u02E6u\x03\x02" +
+ "\x02\x02\u02E7\u02E8\x05\xC6d\x02\u02E8w\x03\x02\x02\x02\u02E9\u02EA\x05" +
+ "\xC8e\x02\u02EAy\x03\x02\x02\x02\u02EB\u02EC\x05\x82B\x02\u02EC\u02ED" +
+ "\x07w\x02\x02\u02ED\u02EE\x05\x84C\x02\u02EE\u02EF\x07x\x02\x02\u02EF" +
+ "{\x03\x02\x02\x02\u02F0\u02F1\x07\xF8\x02\x02\u02F1\u02F2\x07w\x02\x02" +
+ "\u02F2\u02F3\x05V,\x02\u02F3\u02F4\x07\x1C\x02\x02\u02F4\u02F5\x05\x80" +
+ "A\x02\u02F5\u02F6\x07x\x02\x02\u02F6}\x03\x02\x02\x02\u02F7\u02F8\x05" +
+ "\x9EP\x02\u02F8\u02F9\x07w\x02\x02\u02F9\u02FA\x05\x84C\x02\u02FA\u02FB" +
+ "\x07x\x02\x02\u02FB\x7F\x03\x02\x02\x02\u02FC\u0307\x07\xCB\x02\x02\u02FD" +
+ "\u0307\x07\xDF\x02\x02\u02FE\u0307\x07\xE1\x02\x02\u02FF\u0307\x07`\x02" +
+ "\x02\u0300\u0307\x07a\x02\x02\u0301\u0307\x07b\x02\x02\u0302\u0307\x07" +
+ "c\x02\x02\u0303\u0307\x07d\x02\x02\u0304\u0307\x07e\x02\x02\u0305\u0307" +
+ "\x07f\x02\x02\u0306\u02FC\x03\x02\x02\x02\u0306\u02FD\x03\x02\x02\x02" +
+ "\u0306\u02FE\x03\x02\x02\x02\u0306\u02FF\x03\x02\x02\x02\u0306\u0300\x03" +
+ "\x02\x02\x02\u0306\u0301\x03\x02\x02\x02\u0306\u0302\x03\x02\x02\x02\u0306" +
+ "\u0303\x03\x02\x02\x02\u0306\u0304\x03\x02\x02\x02\u0306\u0305\x03\x02" +
+ "\x02\x02\u0307\x81\x03\x02\x02\x02\u0308\u030E\x05\x96L\x02\u0309\u030E" +
+ "\x05\x9AN\x02\u030A\u030E\x05\xA2R\x02\u030B\u030E\x05\x9EP\x02\u030C" +
+ "\u030E\x05\xA0Q\x02\u030D\u0308\x03\x02\x02\x02\u030D\u0309\x03\x02\x02" +
+ "\x02\u030D\u030A\x03\x02\x02\x02\u030D\u030B\x03\x02\x02\x02\u030D\u030C" +
+ "\x03\x02\x02\x02\u030E\x83\x03\x02\x02\x02\u030F\u0314\x05\x86D\x02\u0310" +
+ "\u0311\x07h\x02\x02\u0311\u0313\x05\x86D\x02\u0312\u0310\x03\x02\x02\x02" +
+ "\u0313\u0316\x03\x02\x02\x02\u0314\u0312\x03\x02\x02\x02\u0314\u0315\x03" +
+ "\x02\x02\x02\u0315\u0318\x03\x02\x02\x02\u0316\u0314\x03\x02\x02\x02\u0317" +
+ "\u030F\x03\x02\x02\x02\u0317\u0318\x03\x02\x02\x02\u0318\x85\x03\x02\x02" +
+ "\x02\u0319\u031A\x05\xCAf\x02\u031A\u031B\x07j\x02\x02\u031B\u031D\x03" +
+ "\x02\x02\x02\u031C\u0319\x03\x02\x02\x02\u031C\u031D\x03\x02\x02\x02\u031D" +
+ "\u031E\x03\x02\x02\x02\u031E\u031F\x05\\/\x02\u031F\x87\x03\x02\x02\x02" +
+ "\u0320\u0321\x05\x8AF\x02\u0321\u0322\x07j\x02\x02\u0322\u0323\x05\x94" +
+ "K\x02\u0323\x89\x03\x02\x02\x02\u0324\u0325\t\x06\x02\x02\u0325\x8B\x03" +
+ "\x02\x02\x02\u0326\u032F\x05\x90I\x02\u0327\u0328\x05\x90I\x02\u0328\u0329" +
+ "\x05\x8EH\x02\u0329\u032F\x03\x02\x02\x02\u032A\u032B\x05\x90I\x02\u032B" +
+ "\u032C\x07\x80\x02\x02\u032C\u032D\x05\x8EH\x02\u032D\u032F\x03\x02\x02" +
+ "\x02\u032E\u0326\x03\x02\x02\x02\u032E\u0327\x03\x02\x02\x02\u032E\u032A" +
+ "\x03\x02\x02\x02\u032F\x8D\x03\x02\x02\x02\u0330\u0333\x05\xB2Z\x02\u0331" +
+ "\u0333\x05\xB4[\x02\u0332\u0330\x03\x02\x02\x02\u0332\u0331\x03\x02\x02" +
+ "\x02\u0333\x8F\x03\x02\x02\x02\u0334\u0337\x05\xC6d\x02\u0335\u0337\x05" +
+ "\xB0Y\x02\u0336\u0334\x03\x02\x02\x02\u0336\u0335\x03\x02\x02\x02\u0337" +
+ "\x91\x03\x02\x02\x02\u0338\u0339\x05\x94K\x02\u0339\x93\x03\x02\x02\x02" +
+ "\u033A\u033D\x05\xC6d\x02\u033B\u033D\x05\xACW\x02\u033C\u033A\x03\x02" +
+ "\x02\x02\u033C\u033B\x03\x02\x02\x02\u033D\x95\x03\x02\x02\x02\u033E\u0355" +
+ "\x07\xA6\x02\x02\u033F\u0355\x07\xA7\x02\x02\u0340\u0355\x07\xA8\x02\x02" +
+ "\u0341\u0355\x07\xA9\x02\x02\u0342\u0355\x07\xAA\x02\x02\u0343\u0355\x07" +
+ "\xAB\x02\x02\u0344\u0355\x07\xAC\x02\x02\u0345\u0355\x07\xAD\x02\x02\u0346" +
+ "\u0355\x07\xAE\x02\x02\u0347\u0355\x07\xAF\x02\x02\u0348\u0355\x07\xB0" +
+ "\x02\x02\u0349\u0355\x07\xB1\x02\x02\u034A\u0355\x07\xB2\x02\x02\u034B" +
+ "\u0355\x07\xB3\x02\x02\u034C\u0355\x07\xB4\x02\x02\u034D\u0355\x07\xB5" +
+ "\x02\x02\u034E\u0355\x07\xB6\x02\x02\u034F\u0355\x07\xB7\x02\x02\u0350" +
+ "\u0355\x07\xB8\x02\x02\u0351\u0355\x07\xB9\x02\x02\u0352\u0355\x07\xBA" +
+ "\x02\x02\u0353\u0355\x05\x98M\x02\u0354\u033E\x03\x02\x02\x02\u0354\u033F" +
+ "\x03\x02\x02\x02\u0354\u0340\x03\x02\x02\x02\u0354\u0341\x03\x02\x02\x02" +
+ "\u0354\u0342\x03\x02\x02\x02\u0354\u0343\x03\x02\x02\x02\u0354\u0344\x03" +
+ "\x02\x02\x02\u0354\u0345\x03\x02\x02\x02\u0354\u0346\x03\x02\x02\x02\u0354" +
+ "\u0347\x03\x02\x02\x02\u0354\u0348\x03\x02\x02\x02\u0354\u0349\x03\x02" +
+ "\x02\x02\u0354\u034A\x03\x02\x02\x02\u0354\u034B\x03\x02\x02\x02\u0354" +
+ "\u034C\x03\x02\x02\x02\u0354\u034D\x03\x02\x02\x02\u0354\u034E\x03\x02" +
+ "\x02\x02\u0354\u034F\x03\x02\x02\x02\u0354\u0350\x03\x02\x02\x02\u0354" +
+ "\u0351\x03\x02\x02\x02\u0354\u0352\x03\x02\x02\x02\u0354\u0353\x03\x02" +
+ "\x02\x02\u0355\x97\x03\x02\x02\x02\u0356\u0357\t\x07\x02\x02\u0357\x99" +
+ "\x03\x02\x02\x02\u0358\u0359\t\b\x02\x02\u0359\x9B\x03\x02\x02\x02\u035A" +
+ "\u035B\t\t\x02\x02\u035B\x9D\x03\x02\x02\x02\u035C\u035D\t\n\x02\x02\u035D" +
+ "\x9F\x03\x02\x02\x02\u035E\u035F\x07\xFF\x02\x02\u035F\xA1\x03\x02\x02" +
+ "\x02\u0360\u0361\t\v\x02\x02\u0361\xA3\x03\x02\x02\x02\u0362\u0363\t\f" +
+ "\x02\x02\u0363\xA5\x03\x02\x02\x02\u0364\u0365\t\r\x02\x02\u0365\xA7\x03" +
+ "\x02\x02\x02\u0366\u0367\t\x0E\x02\x02\u0367\xA9\x03\x02\x02\x02\u0368" +
+ "\u0369\t\x0F\x02\x02\u0369\xAB\x03\x02\x02\x02\u036A\u0371\x05\xAEX\x02" +
+ "\u036B\u0371\x05\xB0Y\x02\u036C\u0371\x05\xB2Z\x02\u036D\u0371\x05\xB4" +
+ "[\x02\u036E\u0371\x05\xB6\\\x02\u036F\u0371\x05\xB8]\x02\u0370\u036A\x03" +
+ "\x02\x02\x02\u0370\u036B\x03\x02\x02\x02\u0370\u036C\x03\x02\x02\x02\u0370" +
+ "\u036D\x03\x02\x02\x02\u0370\u036E\x03\x02\x02\x02\u0370\u036F\x03\x02" +
+ "\x02\x02\u0371\xAD\x03\x02\x02\x02\u0372\u0373\x07F\x02\x02\u0373\u0374" +
+ "\x05\\/\x02\u0374\u0375\x05\xC0a\x02\u0375\xAF\x03\x02\x02\x02\u0376\u0377" +
+ "\t\x10\x02\x02\u0377\xB1\x03\x02\x02\x02\u0378\u037A\t\x02\x02\x02\u0379" +
+ "\u0378\x03\x02\x02\x02\u0379\u037A\x03\x02\x02\x02\u037A\u037B\x03\x02" +
+ "\x02\x02\u037B\u037C\x07\u012F\x02\x02\u037C\xB3\x03\x02\x02\x02\u037D" +
+ "\u037F\t\x02\x02\x02\u037E\u037D\x03\x02\x02\x02\u037E\u037F\x03\x02\x02" +
+ "\x02\u037F\u0380\x03\x02\x02\x02\u0380\u0381\x07\u0130\x02\x02\u0381\xB5" +
+ "\x03\x02\x02\x02\u0382\u0383\t\x11\x02\x02\u0383\xB7\x03\x02\x02\x02\u0384" +
+ "\u0388\x05\xBA^\x02\u0385\u0388\x05\xBC_\x02\u0386\u0388\x05\xBE`\x02" +
+ "\u0387\u0384\x03\x02\x02\x02\u0387\u0385\x03\x02\x02\x02\u0387\u0386\x03" +
+ "\x02\x02\x02\u0388\xB9\x03\x02\x02\x02\u0389\u038A\x07\xCB\x02\x02\u038A" +
+ "\u038B\x05\xB0Y\x02\u038B\xBB\x03\x02\x02\x02\u038C\u038D\x07\xDF\x02" +
+ "\x02\u038D\u038E\x05\xB0Y\x02\u038E\xBD\x03\x02\x02\x02\u038F\u0390\x07" +
+ "\xE1\x02\x02\u0390\u0391\x05\xB0Y\x02\u0391\xBF\x03\x02\x02\x02\u0392" +
+ "\u0393\t\x12\x02\x02\u0393\xC1\x03\x02\x02\x02\u0394\u0395\t\x13\x02\x02" +
+ "\u0395\xC3\x03\x02\x02\x02\u0396\u0397\x07w\x02\x02\u0397\u039C\x05\xAC" +
+ "W\x02\u0398\u0399\x07h\x02\x02\u0399\u039B\x05\xACW\x02\u039A\u0398\x03" +
+ "\x02\x02\x02\u039B\u039E\x03\x02\x02\x02\u039C\u039A\x03\x02\x02\x02\u039C" +
+ "\u039D\x03\x02\x02\x02\u039D\u039F\x03\x02\x02\x02\u039E\u039C\x03\x02" +
+ "\x02\x02\u039F\u03A0\x07x\x02\x02\u03A0\xC5\x03\x02\x02\x02\u03A1\u03A6" +
+ "\x05\xCAf\x02\u03A2\u03A3\x07i\x02\x02\u03A3\u03A5\x05\xCAf\x02\u03A4" +
+ "\u03A2\x03\x02\x02\x02\u03A5\u03A8\x03\x02\x02\x02\u03A6\u03A4\x03\x02" +
+ "\x02\x02\u03A6\u03A7\x03\x02\x02\x02\u03A7\xC7\x03\x02\x02\x02\u03A8\u03A6" +
+ "\x03\x02\x02\x02\u03A9\u03AE\x05\xCCg\x02\u03AA\u03AB\x07i\x02\x02\u03AB" +
+ "\u03AD\x05\xCCg\x02\u03AC\u03AA\x03\x02\x02\x02\u03AD\u03B0\x03\x02\x02" +
+ "\x02\u03AE\u03AC\x03\x02\x02\x02\u03AE\u03AF\x03\x02\x02\x02\u03AF\xC9" +
+ "\x03\x02\x02\x02\u03B0\u03AE\x03\x02\x02\x02\u03B1\u03B3\x07i\x02\x02" +
+ "\u03B2\u03B1\x03\x02\x02\x02\u03B2\u03B3\x03\x02\x02\x02\u03B3\u03B4\x03" +
+ "\x02\x02\x02\u03B4\u03BC\x07\u012E\x02\x02\u03B5\u03B6\x07}\x02\x02\u03B6" +
+ "\u03B7\x05\xCAf\x02\u03B7\u03B8\x07}\x02\x02\u03B8\u03BC\x03\x02\x02\x02" +
+ "\u03B9\u03BC\x07\u0134\x02\x02\u03BA\u03BC\x05\xCEh\x02\u03BB\u03B2\x03" +
+ "\x02\x02\x02\u03BB\u03B5\x03\x02\x02\x02\u03BB\u03B9\x03\x02\x02\x02\u03BB" +
+ "\u03BA\x03\x02\x02\x02\u03BC\xCB\x03\x02\x02\x02\u03BD\u03C2\x05\xCAf" +
+ "\x02\u03BE\u03BF\x07t\x02\x02\u03BF\u03C1\x05\xCAf\x02\u03C0\u03BE\x03" +
+ "\x02\x02\x02\u03C1\u03C4\x03\x02\x02\x02\u03C2\u03C0\x03\x02\x02\x02\u03C2" +
+ "\u03C3\x03\x02\x02\x02\u03C3\u03C6\x03\x02\x02\x02\u03C4\u03C2\x03\x02" +
+ "\x02\x02\u03C5\u03C7\x07t\x02\x02\u03C6\u03C5\x03\x02\x02\x02\u03C6\u03C7" +
+ "\x03\x02\x02\x02\u03C7\u03D5\x03\x02\x02\x02\u03C8\u03C9\x07{\x02\x02" +
+ "\u03C9\u03CA\x05\xCCg\x02\u03CA\u03CB\x07{\x02\x02\u03CB\u03D5\x03\x02" +
+ "\x02\x02\u03CC\u03CD\x07|\x02\x02\u03CD\u03CE\x05\xCCg\x02\u03CE\u03CF" +
+ "\x07|\x02\x02\u03CF\u03D5\x03\x02\x02\x02\u03D0\u03D1\x07}\x02\x02\u03D1" +
+ "\u03D2\x05\xCCg\x02\u03D2\u03D3\x07}\x02\x02\u03D3\u03D5\x03\x02\x02\x02" +
+ "\u03D4\u03BD\x03\x02\x02\x02\u03D4\u03C8\x03\x02\x02\x02\u03D4\u03CC\x03" +
+ "\x02\x02\x02\u03D4\u03D0\x03\x02\x02\x02\u03D5\xCD\x03\x02\x02\x02\u03D6" +
+ "\u03E4\x07 \x02\x02\u03D7\u03E4\x05P)\x02\u03D8\u03E4\x07\xE1\x02\x02" +
+ "\u03D9\u03E4\x07\xCB\x02\x02\u03DA\u03E4\x07\xDF\x02\x02\u03DB\u03E4\x07" +
+ "\x96\x02\x02\u03DC\u03E4\x07\x97\x02\x02\u03DD\u03E4\x05\xC2b\x02\u03DE" +
+ "\u03E4\x07\u0126\x02\x02\u03DF\u03E4\x05\x9CO\x02\u03E0\u03E4\x05\x9A" +
+ "N\x02\u03E1\u03E4\x05\xA2R\x02\u03E2\u03E4\x05\x96L\x02\u03E3\u03D6\x03" +
+ "\x02\x02\x02\u03E3\u03D7\x03\x02\x02\x02\u03E3\u03D8\x03\x02\x02\x02\u03E3" +
+ "\u03D9\x03\x02\x02\x02\u03E3\u03DA\x03\x02\x02\x02\u03E3\u03DB\x03\x02" +
+ "\x02\x02\u03E3\u03DC\x03\x02\x02\x02\u03E3\u03DD\x03\x02\x02\x02\u03E3" +
+ "\u03DE\x03\x02\x02\x02\u03E3\u03DF\x03\x02\x02\x02\u03E3\u03E0\x03\x02" +
+ "\x02\x02\u03E3\u03E1\x03\x02\x02\x02\u03E3\u03E2\x03\x02\x02\x02\u03E4" +
+ "\xCF\x03\x02\x02\x02U\xD1\xDA\xE0\xF2\xF5\xF9\xFF\u0104\u0111\u011B\u0122" +
+ "\u0127\u012C\u0133\u0137\u013C\u0140\u0146\u014B\u0156\u015B\u015F\u0163" +
+ "\u0167\u016C\u017A\u0185\u018D\u0199\u019F\u01C6\u01CC\u01DF\u01E6\u01F9" +
+ "\u01FE\u0206\u020F\u0219\u022A\u0233\u0242\u024A\u0251\u0257\u0259\u0264" +
+ "\u026E\u0276\u027E\u0283\u028B\u0296\u02A3\u02AD\u02B4\u02C0\u02C8\u02CC" +
+ "\u02E5\u0306\u030D\u0314\u0317\u031C\u032E\u0332\u0336\u033C\u0354\u0370" +
+ "\u0379\u037E\u0387\u039C\u03A6\u03AE\u03B2\u03BB\u03C2\u03C6\u03D4\u03E3";
+ public static readonly _serializedATN: string = Utils.join(
+ [
+ OpenSearchPPLParser._serializedATNSegment0,
+ OpenSearchPPLParser._serializedATNSegment1,
+ ],
+ "",
+ );
+ public static __ATN: ATN;
+ public static get _ATN(): ATN {
+ if (!OpenSearchPPLParser.__ATN) {
+ OpenSearchPPLParser.__ATN = new ATNDeserializer().deserialize(Utils.toCharArray(OpenSearchPPLParser._serializedATN));
+ }
+
+ return OpenSearchPPLParser.__ATN;
+ }
+
+}
+
+export class RootContext extends ParserRuleContext {
+ public EOF(): TerminalNode { return this.getToken(OpenSearchPPLParser.EOF, 0); }
+ public pplStatement(): PplStatementContext | undefined {
+ return this.tryGetRuleContext(0, PplStatementContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_root; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRoot) {
+ listener.enterRoot(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRoot) {
+ listener.exitRoot(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRoot) {
+ return visitor.visitRoot(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class PplStatementContext extends ParserRuleContext {
+ public pplCommands(): PplCommandsContext {
+ return this.getRuleContext(0, PplCommandsContext);
+ }
+ public PIPE(): TerminalNode[];
+ public PIPE(i: number): TerminalNode;
+ public PIPE(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.PIPE);
+ } else {
+ return this.getToken(OpenSearchPPLParser.PIPE, i);
+ }
+ }
+ public commands(): CommandsContext[];
+ public commands(i: number): CommandsContext;
+ public commands(i?: number): CommandsContext | CommandsContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(CommandsContext);
+ } else {
+ return this.getRuleContext(i, CommandsContext);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_pplStatement; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterPplStatement) {
+ listener.enterPplStatement(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitPplStatement) {
+ listener.exitPplStatement(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitPplStatement) {
+ return visitor.visitPplStatement(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class PplCommandsContext extends ParserRuleContext {
+ public searchCommand(): SearchCommandContext | undefined {
+ return this.tryGetRuleContext(0, SearchCommandContext);
+ }
+ public describeCommand(): DescribeCommandContext | undefined {
+ return this.tryGetRuleContext(0, DescribeCommandContext);
+ }
+ public showCatalogsCommand(): ShowCatalogsCommandContext | undefined {
+ return this.tryGetRuleContext(0, ShowCatalogsCommandContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_pplCommands; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterPplCommands) {
+ listener.enterPplCommands(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitPplCommands) {
+ listener.exitPplCommands(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitPplCommands) {
+ return visitor.visitPplCommands(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class CommandsContext extends ParserRuleContext {
+ public whereCommand(): WhereCommandContext | undefined {
+ return this.tryGetRuleContext(0, WhereCommandContext);
+ }
+ public fieldsCommand(): FieldsCommandContext | undefined {
+ return this.tryGetRuleContext(0, FieldsCommandContext);
+ }
+ public renameCommand(): RenameCommandContext | undefined {
+ return this.tryGetRuleContext(0, RenameCommandContext);
+ }
+ public statsCommand(): StatsCommandContext | undefined {
+ return this.tryGetRuleContext(0, StatsCommandContext);
+ }
+ public dedupCommand(): DedupCommandContext | undefined {
+ return this.tryGetRuleContext(0, DedupCommandContext);
+ }
+ public sortCommand(): SortCommandContext | undefined {
+ return this.tryGetRuleContext(0, SortCommandContext);
+ }
+ public evalCommand(): EvalCommandContext | undefined {
+ return this.tryGetRuleContext(0, EvalCommandContext);
+ }
+ public headCommand(): HeadCommandContext | undefined {
+ return this.tryGetRuleContext(0, HeadCommandContext);
+ }
+ public topCommand(): TopCommandContext | undefined {
+ return this.tryGetRuleContext(0, TopCommandContext);
+ }
+ public rareCommand(): RareCommandContext | undefined {
+ return this.tryGetRuleContext(0, RareCommandContext);
+ }
+ public grokCommand(): GrokCommandContext | undefined {
+ return this.tryGetRuleContext(0, GrokCommandContext);
+ }
+ public parseCommand(): ParseCommandContext | undefined {
+ return this.tryGetRuleContext(0, ParseCommandContext);
+ }
+ public patternsCommand(): PatternsCommandContext | undefined {
+ return this.tryGetRuleContext(0, PatternsCommandContext);
+ }
+ public kmeansCommand(): KmeansCommandContext | undefined {
+ return this.tryGetRuleContext(0, KmeansCommandContext);
+ }
+ public adCommand(): AdCommandContext | undefined {
+ return this.tryGetRuleContext(0, AdCommandContext);
+ }
+ public mlCommand(): MlCommandContext | undefined {
+ return this.tryGetRuleContext(0, MlCommandContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_commands; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterCommands) {
+ listener.enterCommands(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitCommands) {
+ listener.exitCommands(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitCommands) {
+ return visitor.visitCommands(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class SearchCommandContext extends ParserRuleContext {
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_searchCommand; }
+ public copyFrom(ctx: SearchCommandContext): void {
+ super.copyFrom(ctx);
+ }
+}
+export class SearchFromContext extends SearchCommandContext {
+ public fromClause(): FromClauseContext {
+ return this.getRuleContext(0, FromClauseContext);
+ }
+ public SEARCH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SEARCH, 0); }
+ constructor(ctx: SearchCommandContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterSearchFrom) {
+ listener.enterSearchFrom(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitSearchFrom) {
+ listener.exitSearchFrom(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitSearchFrom) {
+ return visitor.visitSearchFrom(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class SearchFromFilterContext extends SearchCommandContext {
+ public fromClause(): FromClauseContext {
+ return this.getRuleContext(0, FromClauseContext);
+ }
+ public logicalExpression(): LogicalExpressionContext {
+ return this.getRuleContext(0, LogicalExpressionContext);
+ }
+ public SEARCH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SEARCH, 0); }
+ constructor(ctx: SearchCommandContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterSearchFromFilter) {
+ listener.enterSearchFromFilter(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitSearchFromFilter) {
+ listener.exitSearchFromFilter(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitSearchFromFilter) {
+ return visitor.visitSearchFromFilter(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class SearchFilterFromContext extends SearchCommandContext {
+ public logicalExpression(): LogicalExpressionContext {
+ return this.getRuleContext(0, LogicalExpressionContext);
+ }
+ public fromClause(): FromClauseContext {
+ return this.getRuleContext(0, FromClauseContext);
+ }
+ public SEARCH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SEARCH, 0); }
+ constructor(ctx: SearchCommandContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterSearchFilterFrom) {
+ listener.enterSearchFilterFrom(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitSearchFilterFrom) {
+ listener.exitSearchFilterFrom(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitSearchFilterFrom) {
+ return visitor.visitSearchFilterFrom(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class DescribeCommandContext extends ParserRuleContext {
+ public DESCRIBE(): TerminalNode { return this.getToken(OpenSearchPPLParser.DESCRIBE, 0); }
+ public tableSourceClause(): TableSourceClauseContext {
+ return this.getRuleContext(0, TableSourceClauseContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_describeCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterDescribeCommand) {
+ listener.enterDescribeCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitDescribeCommand) {
+ listener.exitDescribeCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitDescribeCommand) {
+ return visitor.visitDescribeCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ShowCatalogsCommandContext extends ParserRuleContext {
+ public SHOW(): TerminalNode { return this.getToken(OpenSearchPPLParser.SHOW, 0); }
+ public CATALOGS(): TerminalNode { return this.getToken(OpenSearchPPLParser.CATALOGS, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_showCatalogsCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterShowCatalogsCommand) {
+ listener.enterShowCatalogsCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitShowCatalogsCommand) {
+ listener.exitShowCatalogsCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitShowCatalogsCommand) {
+ return visitor.visitShowCatalogsCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class WhereCommandContext extends ParserRuleContext {
+ public WHERE(): TerminalNode { return this.getToken(OpenSearchPPLParser.WHERE, 0); }
+ public logicalExpression(): LogicalExpressionContext {
+ return this.getRuleContext(0, LogicalExpressionContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_whereCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterWhereCommand) {
+ listener.enterWhereCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitWhereCommand) {
+ listener.exitWhereCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitWhereCommand) {
+ return visitor.visitWhereCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class FieldsCommandContext extends ParserRuleContext {
+ public FIELDS(): TerminalNode { return this.getToken(OpenSearchPPLParser.FIELDS, 0); }
+ public fieldList(): FieldListContext {
+ return this.getRuleContext(0, FieldListContext);
+ }
+ public PLUS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PLUS, 0); }
+ public MINUS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MINUS, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_fieldsCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterFieldsCommand) {
+ listener.enterFieldsCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitFieldsCommand) {
+ listener.exitFieldsCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitFieldsCommand) {
+ return visitor.visitFieldsCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class RenameCommandContext extends ParserRuleContext {
+ public RENAME(): TerminalNode { return this.getToken(OpenSearchPPLParser.RENAME, 0); }
+ public renameClasue(): RenameClasueContext[];
+ public renameClasue(i: number): RenameClasueContext;
+ public renameClasue(i?: number): RenameClasueContext | RenameClasueContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(RenameClasueContext);
+ } else {
+ return this.getRuleContext(i, RenameClasueContext);
+ }
+ }
+ public COMMA(): TerminalNode[];
+ public COMMA(i: number): TerminalNode;
+ public COMMA(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.COMMA);
+ } else {
+ return this.getToken(OpenSearchPPLParser.COMMA, i);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_renameCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRenameCommand) {
+ listener.enterRenameCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRenameCommand) {
+ listener.exitRenameCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRenameCommand) {
+ return visitor.visitRenameCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class StatsCommandContext extends ParserRuleContext {
+ public _partitions!: IntegerLiteralContext;
+ public _allnum!: BooleanLiteralContext;
+ public _delim!: StringLiteralContext;
+ public _dedupsplit!: BooleanLiteralContext;
+ public STATS(): TerminalNode { return this.getToken(OpenSearchPPLParser.STATS, 0); }
+ public statsAggTerm(): StatsAggTermContext[];
+ public statsAggTerm(i: number): StatsAggTermContext;
+ public statsAggTerm(i?: number): StatsAggTermContext | StatsAggTermContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(StatsAggTermContext);
+ } else {
+ return this.getRuleContext(i, StatsAggTermContext);
+ }
+ }
+ public PARTITIONS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PARTITIONS, 0); }
+ public EQUAL(): TerminalNode[];
+ public EQUAL(i: number): TerminalNode;
+ public EQUAL(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.EQUAL);
+ } else {
+ return this.getToken(OpenSearchPPLParser.EQUAL, i);
+ }
+ }
+ public ALLNUM(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ALLNUM, 0); }
+ public DELIM(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DELIM, 0); }
+ public COMMA(): TerminalNode[];
+ public COMMA(i: number): TerminalNode;
+ public COMMA(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.COMMA);
+ } else {
+ return this.getToken(OpenSearchPPLParser.COMMA, i);
+ }
+ }
+ public statsByClause(): StatsByClauseContext | undefined {
+ return this.tryGetRuleContext(0, StatsByClauseContext);
+ }
+ public DEDUP_SPLITVALUES(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DEDUP_SPLITVALUES, 0); }
+ public integerLiteral(): IntegerLiteralContext | undefined {
+ return this.tryGetRuleContext(0, IntegerLiteralContext);
+ }
+ public booleanLiteral(): BooleanLiteralContext[];
+ public booleanLiteral(i: number): BooleanLiteralContext;
+ public booleanLiteral(i?: number): BooleanLiteralContext | BooleanLiteralContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(BooleanLiteralContext);
+ } else {
+ return this.getRuleContext(i, BooleanLiteralContext);
+ }
+ }
+ public stringLiteral(): StringLiteralContext | undefined {
+ return this.tryGetRuleContext(0, StringLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_statsCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterStatsCommand) {
+ listener.enterStatsCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitStatsCommand) {
+ listener.exitStatsCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitStatsCommand) {
+ return visitor.visitStatsCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class DedupCommandContext extends ParserRuleContext {
+ public _number!: IntegerLiteralContext;
+ public _keepempty!: BooleanLiteralContext;
+ public _consecutive!: BooleanLiteralContext;
+ public DEDUP(): TerminalNode { return this.getToken(OpenSearchPPLParser.DEDUP, 0); }
+ public fieldList(): FieldListContext {
+ return this.getRuleContext(0, FieldListContext);
+ }
+ public KEEPEMPTY(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.KEEPEMPTY, 0); }
+ public EQUAL(): TerminalNode[];
+ public EQUAL(i: number): TerminalNode;
+ public EQUAL(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.EQUAL);
+ } else {
+ return this.getToken(OpenSearchPPLParser.EQUAL, i);
+ }
+ }
+ public CONSECUTIVE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CONSECUTIVE, 0); }
+ public integerLiteral(): IntegerLiteralContext | undefined {
+ return this.tryGetRuleContext(0, IntegerLiteralContext);
+ }
+ public booleanLiteral(): BooleanLiteralContext[];
+ public booleanLiteral(i: number): BooleanLiteralContext;
+ public booleanLiteral(i?: number): BooleanLiteralContext | BooleanLiteralContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(BooleanLiteralContext);
+ } else {
+ return this.getRuleContext(i, BooleanLiteralContext);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_dedupCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterDedupCommand) {
+ listener.enterDedupCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitDedupCommand) {
+ listener.exitDedupCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitDedupCommand) {
+ return visitor.visitDedupCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class SortCommandContext extends ParserRuleContext {
+ public SORT(): TerminalNode { return this.getToken(OpenSearchPPLParser.SORT, 0); }
+ public sortbyClause(): SortbyClauseContext {
+ return this.getRuleContext(0, SortbyClauseContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_sortCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterSortCommand) {
+ listener.enterSortCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitSortCommand) {
+ listener.exitSortCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitSortCommand) {
+ return visitor.visitSortCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class EvalCommandContext extends ParserRuleContext {
+ public EVAL(): TerminalNode { return this.getToken(OpenSearchPPLParser.EVAL, 0); }
+ public evalClause(): EvalClauseContext[];
+ public evalClause(i: number): EvalClauseContext;
+ public evalClause(i?: number): EvalClauseContext | EvalClauseContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(EvalClauseContext);
+ } else {
+ return this.getRuleContext(i, EvalClauseContext);
+ }
+ }
+ public COMMA(): TerminalNode[];
+ public COMMA(i: number): TerminalNode;
+ public COMMA(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.COMMA);
+ } else {
+ return this.getToken(OpenSearchPPLParser.COMMA, i);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_evalCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterEvalCommand) {
+ listener.enterEvalCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitEvalCommand) {
+ listener.exitEvalCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitEvalCommand) {
+ return visitor.visitEvalCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class HeadCommandContext extends ParserRuleContext {
+ public _number!: IntegerLiteralContext;
+ public _from!: IntegerLiteralContext;
+ public HEAD(): TerminalNode { return this.getToken(OpenSearchPPLParser.HEAD, 0); }
+ public FROM(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FROM, 0); }
+ public integerLiteral(): IntegerLiteralContext[];
+ public integerLiteral(i: number): IntegerLiteralContext;
+ public integerLiteral(i?: number): IntegerLiteralContext | IntegerLiteralContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(IntegerLiteralContext);
+ } else {
+ return this.getRuleContext(i, IntegerLiteralContext);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_headCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterHeadCommand) {
+ listener.enterHeadCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitHeadCommand) {
+ listener.exitHeadCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitHeadCommand) {
+ return visitor.visitHeadCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class TopCommandContext extends ParserRuleContext {
+ public _number!: IntegerLiteralContext;
+ public TOP(): TerminalNode { return this.getToken(OpenSearchPPLParser.TOP, 0); }
+ public fieldList(): FieldListContext {
+ return this.getRuleContext(0, FieldListContext);
+ }
+ public byClause(): ByClauseContext | undefined {
+ return this.tryGetRuleContext(0, ByClauseContext);
+ }
+ public integerLiteral(): IntegerLiteralContext | undefined {
+ return this.tryGetRuleContext(0, IntegerLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_topCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterTopCommand) {
+ listener.enterTopCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitTopCommand) {
+ listener.exitTopCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitTopCommand) {
+ return visitor.visitTopCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class RareCommandContext extends ParserRuleContext {
+ public RARE(): TerminalNode { return this.getToken(OpenSearchPPLParser.RARE, 0); }
+ public fieldList(): FieldListContext {
+ return this.getRuleContext(0, FieldListContext);
+ }
+ public byClause(): ByClauseContext | undefined {
+ return this.tryGetRuleContext(0, ByClauseContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_rareCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRareCommand) {
+ listener.enterRareCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRareCommand) {
+ listener.exitRareCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRareCommand) {
+ return visitor.visitRareCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class GrokCommandContext extends ParserRuleContext {
+ public _source_field!: ExpressionContext;
+ public _pattern!: StringLiteralContext;
+ public GROK(): TerminalNode { return this.getToken(OpenSearchPPLParser.GROK, 0); }
+ public expression(): ExpressionContext | undefined {
+ return this.tryGetRuleContext(0, ExpressionContext);
+ }
+ public stringLiteral(): StringLiteralContext | undefined {
+ return this.tryGetRuleContext(0, StringLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_grokCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterGrokCommand) {
+ listener.enterGrokCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitGrokCommand) {
+ listener.exitGrokCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitGrokCommand) {
+ return visitor.visitGrokCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ParseCommandContext extends ParserRuleContext {
+ public _source_field!: ExpressionContext;
+ public _pattern!: StringLiteralContext;
+ public PARSE(): TerminalNode { return this.getToken(OpenSearchPPLParser.PARSE, 0); }
+ public expression(): ExpressionContext | undefined {
+ return this.tryGetRuleContext(0, ExpressionContext);
+ }
+ public stringLiteral(): StringLiteralContext | undefined {
+ return this.tryGetRuleContext(0, StringLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_parseCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterParseCommand) {
+ listener.enterParseCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitParseCommand) {
+ listener.exitParseCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitParseCommand) {
+ return visitor.visitParseCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class PatternsCommandContext extends ParserRuleContext {
+ public _source_field!: ExpressionContext;
+ public PATTERNS(): TerminalNode { return this.getToken(OpenSearchPPLParser.PATTERNS, 0); }
+ public patternsParameter(): PatternsParameterContext[];
+ public patternsParameter(i: number): PatternsParameterContext;
+ public patternsParameter(i?: number): PatternsParameterContext | PatternsParameterContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(PatternsParameterContext);
+ } else {
+ return this.getRuleContext(i, PatternsParameterContext);
+ }
+ }
+ public expression(): ExpressionContext | undefined {
+ return this.tryGetRuleContext(0, ExpressionContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_patternsCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterPatternsCommand) {
+ listener.enterPatternsCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitPatternsCommand) {
+ listener.exitPatternsCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitPatternsCommand) {
+ return visitor.visitPatternsCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class PatternsParameterContext extends ParserRuleContext {
+ public _new_field!: StringLiteralContext;
+ public _pattern!: StringLiteralContext;
+ public NEW_FIELD(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.NEW_FIELD, 0); }
+ public EQUAL(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.EQUAL, 0); }
+ public stringLiteral(): StringLiteralContext | undefined {
+ return this.tryGetRuleContext(0, StringLiteralContext);
+ }
+ public PATTERN(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PATTERN, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_patternsParameter; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterPatternsParameter) {
+ listener.enterPatternsParameter(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitPatternsParameter) {
+ listener.exitPatternsParameter(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitPatternsParameter) {
+ return visitor.visitPatternsParameter(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class PatternsMethodContext extends ParserRuleContext {
+ public PUNCT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PUNCT, 0); }
+ public REGEX(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.REGEX, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_patternsMethod; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterPatternsMethod) {
+ listener.enterPatternsMethod(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitPatternsMethod) {
+ listener.exitPatternsMethod(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitPatternsMethod) {
+ return visitor.visitPatternsMethod(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class KmeansCommandContext extends ParserRuleContext {
+ public KMEANS(): TerminalNode { return this.getToken(OpenSearchPPLParser.KMEANS, 0); }
+ public kmeansParameter(): KmeansParameterContext[];
+ public kmeansParameter(i: number): KmeansParameterContext;
+ public kmeansParameter(i?: number): KmeansParameterContext | KmeansParameterContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(KmeansParameterContext);
+ } else {
+ return this.getRuleContext(i, KmeansParameterContext);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_kmeansCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterKmeansCommand) {
+ listener.enterKmeansCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitKmeansCommand) {
+ listener.exitKmeansCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitKmeansCommand) {
+ return visitor.visitKmeansCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class KmeansParameterContext extends ParserRuleContext {
+ public _centroids!: IntegerLiteralContext;
+ public _iterations!: IntegerLiteralContext;
+ public _distance_type!: StringLiteralContext;
+ public CENTROIDS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CENTROIDS, 0); }
+ public EQUAL(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.EQUAL, 0); }
+ public integerLiteral(): IntegerLiteralContext | undefined {
+ return this.tryGetRuleContext(0, IntegerLiteralContext);
+ }
+ public ITERATIONS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ITERATIONS, 0); }
+ public DISTANCE_TYPE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DISTANCE_TYPE, 0); }
+ public stringLiteral(): StringLiteralContext | undefined {
+ return this.tryGetRuleContext(0, StringLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_kmeansParameter; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterKmeansParameter) {
+ listener.enterKmeansParameter(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitKmeansParameter) {
+ listener.exitKmeansParameter(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitKmeansParameter) {
+ return visitor.visitKmeansParameter(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class AdCommandContext extends ParserRuleContext {
+ public AD(): TerminalNode { return this.getToken(OpenSearchPPLParser.AD, 0); }
+ public adParameter(): AdParameterContext[];
+ public adParameter(i: number): AdParameterContext;
+ public adParameter(i?: number): AdParameterContext | AdParameterContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(AdParameterContext);
+ } else {
+ return this.getRuleContext(i, AdParameterContext);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_adCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterAdCommand) {
+ listener.enterAdCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitAdCommand) {
+ listener.exitAdCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitAdCommand) {
+ return visitor.visitAdCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class AdParameterContext extends ParserRuleContext {
+ public _number_of_trees!: IntegerLiteralContext;
+ public _shingle_size!: IntegerLiteralContext;
+ public _sample_size!: IntegerLiteralContext;
+ public _output_after!: IntegerLiteralContext;
+ public _time_decay!: DecimalLiteralContext;
+ public _anomaly_rate!: DecimalLiteralContext;
+ public _category_field!: StringLiteralContext;
+ public _time_field!: StringLiteralContext;
+ public _date_format!: StringLiteralContext;
+ public _time_zone!: StringLiteralContext;
+ public _training_data_size!: IntegerLiteralContext;
+ public _anomaly_score_threshold!: DecimalLiteralContext;
+ public NUMBER_OF_TREES(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.NUMBER_OF_TREES, 0); }
+ public EQUAL(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.EQUAL, 0); }
+ public integerLiteral(): IntegerLiteralContext | undefined {
+ return this.tryGetRuleContext(0, IntegerLiteralContext);
+ }
+ public SHINGLE_SIZE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SHINGLE_SIZE, 0); }
+ public SAMPLE_SIZE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SAMPLE_SIZE, 0); }
+ public OUTPUT_AFTER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.OUTPUT_AFTER, 0); }
+ public TIME_DECAY(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIME_DECAY, 0); }
+ public decimalLiteral(): DecimalLiteralContext | undefined {
+ return this.tryGetRuleContext(0, DecimalLiteralContext);
+ }
+ public ANOMALY_RATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ANOMALY_RATE, 0); }
+ public CATEGORY_FIELD(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CATEGORY_FIELD, 0); }
+ public stringLiteral(): StringLiteralContext | undefined {
+ return this.tryGetRuleContext(0, StringLiteralContext);
+ }
+ public TIME_FIELD(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIME_FIELD, 0); }
+ public DATE_FORMAT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DATE_FORMAT, 0); }
+ public TIME_ZONE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIME_ZONE, 0); }
+ public TRAINING_DATA_SIZE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TRAINING_DATA_SIZE, 0); }
+ public ANOMALY_SCORE_THRESHOLD(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ANOMALY_SCORE_THRESHOLD, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_adParameter; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterAdParameter) {
+ listener.enterAdParameter(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitAdParameter) {
+ listener.exitAdParameter(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitAdParameter) {
+ return visitor.visitAdParameter(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class MlCommandContext extends ParserRuleContext {
+ public ML(): TerminalNode { return this.getToken(OpenSearchPPLParser.ML, 0); }
+ public mlArg(): MlArgContext[];
+ public mlArg(i: number): MlArgContext;
+ public mlArg(i?: number): MlArgContext | MlArgContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(MlArgContext);
+ } else {
+ return this.getRuleContext(i, MlArgContext);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_mlCommand; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterMlCommand) {
+ listener.enterMlCommand(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitMlCommand) {
+ listener.exitMlCommand(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitMlCommand) {
+ return visitor.visitMlCommand(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class MlArgContext extends ParserRuleContext {
+ public _argName!: IdentContext;
+ public _argValue!: LiteralValueContext;
+ public EQUAL(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.EQUAL, 0); }
+ public ident(): IdentContext | undefined {
+ return this.tryGetRuleContext(0, IdentContext);
+ }
+ public literalValue(): LiteralValueContext | undefined {
+ return this.tryGetRuleContext(0, LiteralValueContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_mlArg; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterMlArg) {
+ listener.enterMlArg(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitMlArg) {
+ listener.exitMlArg(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitMlArg) {
+ return visitor.visitMlArg(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class FromClauseContext extends ParserRuleContext {
+ public SOURCE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SOURCE, 0); }
+ public EQUAL(): TerminalNode { return this.getToken(OpenSearchPPLParser.EQUAL, 0); }
+ public tableSourceClause(): TableSourceClauseContext | undefined {
+ return this.tryGetRuleContext(0, TableSourceClauseContext);
+ }
+ public INDEX(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.INDEX, 0); }
+ public tableFunction(): TableFunctionContext | undefined {
+ return this.tryGetRuleContext(0, TableFunctionContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_fromClause; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterFromClause) {
+ listener.enterFromClause(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitFromClause) {
+ listener.exitFromClause(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitFromClause) {
+ return visitor.visitFromClause(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class TableSourceClauseContext extends ParserRuleContext {
+ public tableSource(): TableSourceContext[];
+ public tableSource(i: number): TableSourceContext;
+ public tableSource(i?: number): TableSourceContext | TableSourceContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(TableSourceContext);
+ } else {
+ return this.getRuleContext(i, TableSourceContext);
+ }
+ }
+ public COMMA(): TerminalNode[];
+ public COMMA(i: number): TerminalNode;
+ public COMMA(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.COMMA);
+ } else {
+ return this.getToken(OpenSearchPPLParser.COMMA, i);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_tableSourceClause; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterTableSourceClause) {
+ listener.enterTableSourceClause(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitTableSourceClause) {
+ listener.exitTableSourceClause(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitTableSourceClause) {
+ return visitor.visitTableSourceClause(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class RenameClasueContext extends ParserRuleContext {
+ public _orignalField!: WcFieldExpressionContext;
+ public _renamedField!: WcFieldExpressionContext;
+ public AS(): TerminalNode { return this.getToken(OpenSearchPPLParser.AS, 0); }
+ public wcFieldExpression(): WcFieldExpressionContext[];
+ public wcFieldExpression(i: number): WcFieldExpressionContext;
+ public wcFieldExpression(i?: number): WcFieldExpressionContext | WcFieldExpressionContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(WcFieldExpressionContext);
+ } else {
+ return this.getRuleContext(i, WcFieldExpressionContext);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_renameClasue; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRenameClasue) {
+ listener.enterRenameClasue(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRenameClasue) {
+ listener.exitRenameClasue(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRenameClasue) {
+ return visitor.visitRenameClasue(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ByClauseContext extends ParserRuleContext {
+ public BY(): TerminalNode { return this.getToken(OpenSearchPPLParser.BY, 0); }
+ public fieldList(): FieldListContext {
+ return this.getRuleContext(0, FieldListContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_byClause; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterByClause) {
+ listener.enterByClause(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitByClause) {
+ listener.exitByClause(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitByClause) {
+ return visitor.visitByClause(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class StatsByClauseContext extends ParserRuleContext {
+ public BY(): TerminalNode { return this.getToken(OpenSearchPPLParser.BY, 0); }
+ public fieldList(): FieldListContext | undefined {
+ return this.tryGetRuleContext(0, FieldListContext);
+ }
+ public bySpanClause(): BySpanClauseContext | undefined {
+ return this.tryGetRuleContext(0, BySpanClauseContext);
+ }
+ public COMMA(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.COMMA, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_statsByClause; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterStatsByClause) {
+ listener.enterStatsByClause(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitStatsByClause) {
+ listener.exitStatsByClause(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitStatsByClause) {
+ return visitor.visitStatsByClause(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class BySpanClauseContext extends ParserRuleContext {
+ public _alias!: QualifiedNameContext;
+ public spanClause(): SpanClauseContext {
+ return this.getRuleContext(0, SpanClauseContext);
+ }
+ public AS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.AS, 0); }
+ public qualifiedName(): QualifiedNameContext | undefined {
+ return this.tryGetRuleContext(0, QualifiedNameContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_bySpanClause; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterBySpanClause) {
+ listener.enterBySpanClause(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitBySpanClause) {
+ listener.exitBySpanClause(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitBySpanClause) {
+ return visitor.visitBySpanClause(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class SpanClauseContext extends ParserRuleContext {
+ public _value!: LiteralValueContext;
+ public _unit!: TimespanUnitContext;
+ public SPAN(): TerminalNode { return this.getToken(OpenSearchPPLParser.SPAN, 0); }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public fieldExpression(): FieldExpressionContext {
+ return this.getRuleContext(0, FieldExpressionContext);
+ }
+ public COMMA(): TerminalNode { return this.getToken(OpenSearchPPLParser.COMMA, 0); }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ public literalValue(): LiteralValueContext {
+ return this.getRuleContext(0, LiteralValueContext);
+ }
+ public timespanUnit(): TimespanUnitContext | undefined {
+ return this.tryGetRuleContext(0, TimespanUnitContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_spanClause; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterSpanClause) {
+ listener.enterSpanClause(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitSpanClause) {
+ listener.exitSpanClause(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitSpanClause) {
+ return visitor.visitSpanClause(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class SortbyClauseContext extends ParserRuleContext {
+ public sortField(): SortFieldContext[];
+ public sortField(i: number): SortFieldContext;
+ public sortField(i?: number): SortFieldContext | SortFieldContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(SortFieldContext);
+ } else {
+ return this.getRuleContext(i, SortFieldContext);
+ }
+ }
+ public COMMA(): TerminalNode[];
+ public COMMA(i: number): TerminalNode;
+ public COMMA(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.COMMA);
+ } else {
+ return this.getToken(OpenSearchPPLParser.COMMA, i);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_sortbyClause; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterSortbyClause) {
+ listener.enterSortbyClause(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitSortbyClause) {
+ listener.exitSortbyClause(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitSortbyClause) {
+ return visitor.visitSortbyClause(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class EvalClauseContext extends ParserRuleContext {
+ public fieldExpression(): FieldExpressionContext {
+ return this.getRuleContext(0, FieldExpressionContext);
+ }
+ public EQUAL(): TerminalNode { return this.getToken(OpenSearchPPLParser.EQUAL, 0); }
+ public expression(): ExpressionContext {
+ return this.getRuleContext(0, ExpressionContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_evalClause; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterEvalClause) {
+ listener.enterEvalClause(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitEvalClause) {
+ listener.exitEvalClause(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitEvalClause) {
+ return visitor.visitEvalClause(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class StatsAggTermContext extends ParserRuleContext {
+ public _alias!: WcFieldExpressionContext;
+ public statsFunction(): StatsFunctionContext {
+ return this.getRuleContext(0, StatsFunctionContext);
+ }
+ public AS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.AS, 0); }
+ public wcFieldExpression(): WcFieldExpressionContext | undefined {
+ return this.tryGetRuleContext(0, WcFieldExpressionContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_statsAggTerm; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterStatsAggTerm) {
+ listener.enterStatsAggTerm(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitStatsAggTerm) {
+ listener.exitStatsAggTerm(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitStatsAggTerm) {
+ return visitor.visitStatsAggTerm(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class StatsFunctionContext extends ParserRuleContext {
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_statsFunction; }
+ public copyFrom(ctx: StatsFunctionContext): void {
+ super.copyFrom(ctx);
+ }
+}
+export class StatsFunctionCallContext extends StatsFunctionContext {
+ public statsFunctionName(): StatsFunctionNameContext {
+ return this.getRuleContext(0, StatsFunctionNameContext);
+ }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public valueExpression(): ValueExpressionContext {
+ return this.getRuleContext(0, ValueExpressionContext);
+ }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ constructor(ctx: StatsFunctionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterStatsFunctionCall) {
+ listener.enterStatsFunctionCall(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitStatsFunctionCall) {
+ listener.exitStatsFunctionCall(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitStatsFunctionCall) {
+ return visitor.visitStatsFunctionCall(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class CountAllFunctionCallContext extends StatsFunctionContext {
+ public COUNT(): TerminalNode { return this.getToken(OpenSearchPPLParser.COUNT, 0); }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ constructor(ctx: StatsFunctionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterCountAllFunctionCall) {
+ listener.enterCountAllFunctionCall(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitCountAllFunctionCall) {
+ listener.exitCountAllFunctionCall(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitCountAllFunctionCall) {
+ return visitor.visitCountAllFunctionCall(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class DistinctCountFunctionCallContext extends StatsFunctionContext {
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public valueExpression(): ValueExpressionContext {
+ return this.getRuleContext(0, ValueExpressionContext);
+ }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ public DISTINCT_COUNT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DISTINCT_COUNT, 0); }
+ public DC(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DC, 0); }
+ constructor(ctx: StatsFunctionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterDistinctCountFunctionCall) {
+ listener.enterDistinctCountFunctionCall(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitDistinctCountFunctionCall) {
+ listener.exitDistinctCountFunctionCall(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitDistinctCountFunctionCall) {
+ return visitor.visitDistinctCountFunctionCall(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class PercentileAggFunctionCallContext extends StatsFunctionContext {
+ public percentileAggFunction(): PercentileAggFunctionContext {
+ return this.getRuleContext(0, PercentileAggFunctionContext);
+ }
+ constructor(ctx: StatsFunctionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterPercentileAggFunctionCall) {
+ listener.enterPercentileAggFunctionCall(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitPercentileAggFunctionCall) {
+ listener.exitPercentileAggFunctionCall(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitPercentileAggFunctionCall) {
+ return visitor.visitPercentileAggFunctionCall(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class TakeAggFunctionCallContext extends StatsFunctionContext {
+ public takeAggFunction(): TakeAggFunctionContext {
+ return this.getRuleContext(0, TakeAggFunctionContext);
+ }
+ constructor(ctx: StatsFunctionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterTakeAggFunctionCall) {
+ listener.enterTakeAggFunctionCall(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitTakeAggFunctionCall) {
+ listener.exitTakeAggFunctionCall(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitTakeAggFunctionCall) {
+ return visitor.visitTakeAggFunctionCall(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class StatsFunctionNameContext extends ParserRuleContext {
+ public AVG(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.AVG, 0); }
+ public COUNT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.COUNT, 0); }
+ public SUM(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SUM, 0); }
+ public MIN(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MIN, 0); }
+ public MAX(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MAX, 0); }
+ public VAR_SAMP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.VAR_SAMP, 0); }
+ public VAR_POP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.VAR_POP, 0); }
+ public STDDEV_SAMP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.STDDEV_SAMP, 0); }
+ public STDDEV_POP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.STDDEV_POP, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_statsFunctionName; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterStatsFunctionName) {
+ listener.enterStatsFunctionName(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitStatsFunctionName) {
+ listener.exitStatsFunctionName(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitStatsFunctionName) {
+ return visitor.visitStatsFunctionName(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class TakeAggFunctionContext extends ParserRuleContext {
+ public _size!: IntegerLiteralContext;
+ public TAKE(): TerminalNode { return this.getToken(OpenSearchPPLParser.TAKE, 0); }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public fieldExpression(): FieldExpressionContext {
+ return this.getRuleContext(0, FieldExpressionContext);
+ }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ public COMMA(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.COMMA, 0); }
+ public integerLiteral(): IntegerLiteralContext | undefined {
+ return this.tryGetRuleContext(0, IntegerLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_takeAggFunction; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterTakeAggFunction) {
+ listener.enterTakeAggFunction(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitTakeAggFunction) {
+ listener.exitTakeAggFunction(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitTakeAggFunction) {
+ return visitor.visitTakeAggFunction(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class PercentileAggFunctionContext extends ParserRuleContext {
+ public _value!: IntegerLiteralContext;
+ public _aggField!: FieldExpressionContext;
+ public PERCENTILE(): TerminalNode { return this.getToken(OpenSearchPPLParser.PERCENTILE, 0); }
+ public LESS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LESS, 0); }
+ public GREATER(): TerminalNode { return this.getToken(OpenSearchPPLParser.GREATER, 0); }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ public integerLiteral(): IntegerLiteralContext {
+ return this.getRuleContext(0, IntegerLiteralContext);
+ }
+ public fieldExpression(): FieldExpressionContext {
+ return this.getRuleContext(0, FieldExpressionContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_percentileAggFunction; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterPercentileAggFunction) {
+ listener.enterPercentileAggFunction(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitPercentileAggFunction) {
+ listener.exitPercentileAggFunction(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitPercentileAggFunction) {
+ return visitor.visitPercentileAggFunction(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ExpressionContext extends ParserRuleContext {
+ public logicalExpression(): LogicalExpressionContext | undefined {
+ return this.tryGetRuleContext(0, LogicalExpressionContext);
+ }
+ public comparisonExpression(): ComparisonExpressionContext | undefined {
+ return this.tryGetRuleContext(0, ComparisonExpressionContext);
+ }
+ public valueExpression(): ValueExpressionContext | undefined {
+ return this.tryGetRuleContext(0, ValueExpressionContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_expression; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterExpression) {
+ listener.enterExpression(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitExpression) {
+ listener.exitExpression(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitExpression) {
+ return visitor.visitExpression(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class LogicalExpressionContext extends ParserRuleContext {
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_logicalExpression; }
+ public copyFrom(ctx: LogicalExpressionContext): void {
+ super.copyFrom(ctx);
+ }
+}
+export class ComparsionContext extends LogicalExpressionContext {
+ public comparisonExpression(): ComparisonExpressionContext {
+ return this.getRuleContext(0, ComparisonExpressionContext);
+ }
+ constructor(ctx: LogicalExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterComparsion) {
+ listener.enterComparsion(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitComparsion) {
+ listener.exitComparsion(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitComparsion) {
+ return visitor.visitComparsion(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class LogicalNotContext extends LogicalExpressionContext {
+ public NOT(): TerminalNode { return this.getToken(OpenSearchPPLParser.NOT, 0); }
+ public logicalExpression(): LogicalExpressionContext {
+ return this.getRuleContext(0, LogicalExpressionContext);
+ }
+ constructor(ctx: LogicalExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterLogicalNot) {
+ listener.enterLogicalNot(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitLogicalNot) {
+ listener.exitLogicalNot(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitLogicalNot) {
+ return visitor.visitLogicalNot(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class LogicalOrContext extends LogicalExpressionContext {
+ public _left!: LogicalExpressionContext;
+ public _right!: LogicalExpressionContext;
+ public OR(): TerminalNode { return this.getToken(OpenSearchPPLParser.OR, 0); }
+ public logicalExpression(): LogicalExpressionContext[];
+ public logicalExpression(i: number): LogicalExpressionContext;
+ public logicalExpression(i?: number): LogicalExpressionContext | LogicalExpressionContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(LogicalExpressionContext);
+ } else {
+ return this.getRuleContext(i, LogicalExpressionContext);
+ }
+ }
+ constructor(ctx: LogicalExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterLogicalOr) {
+ listener.enterLogicalOr(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitLogicalOr) {
+ listener.exitLogicalOr(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitLogicalOr) {
+ return visitor.visitLogicalOr(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class LogicalAndContext extends LogicalExpressionContext {
+ public _left!: LogicalExpressionContext;
+ public _right!: LogicalExpressionContext;
+ public logicalExpression(): LogicalExpressionContext[];
+ public logicalExpression(i: number): LogicalExpressionContext;
+ public logicalExpression(i?: number): LogicalExpressionContext | LogicalExpressionContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(LogicalExpressionContext);
+ } else {
+ return this.getRuleContext(i, LogicalExpressionContext);
+ }
+ }
+ public AND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.AND, 0); }
+ constructor(ctx: LogicalExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterLogicalAnd) {
+ listener.enterLogicalAnd(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitLogicalAnd) {
+ listener.exitLogicalAnd(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitLogicalAnd) {
+ return visitor.visitLogicalAnd(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class LogicalXorContext extends LogicalExpressionContext {
+ public _left!: LogicalExpressionContext;
+ public _right!: LogicalExpressionContext;
+ public XOR(): TerminalNode { return this.getToken(OpenSearchPPLParser.XOR, 0); }
+ public logicalExpression(): LogicalExpressionContext[];
+ public logicalExpression(i: number): LogicalExpressionContext;
+ public logicalExpression(i?: number): LogicalExpressionContext | LogicalExpressionContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(LogicalExpressionContext);
+ } else {
+ return this.getRuleContext(i, LogicalExpressionContext);
+ }
+ }
+ constructor(ctx: LogicalExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterLogicalXor) {
+ listener.enterLogicalXor(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitLogicalXor) {
+ listener.exitLogicalXor(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitLogicalXor) {
+ return visitor.visitLogicalXor(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class BooleanExprContext extends LogicalExpressionContext {
+ public booleanExpression(): BooleanExpressionContext {
+ return this.getRuleContext(0, BooleanExpressionContext);
+ }
+ constructor(ctx: LogicalExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterBooleanExpr) {
+ listener.enterBooleanExpr(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitBooleanExpr) {
+ listener.exitBooleanExpr(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitBooleanExpr) {
+ return visitor.visitBooleanExpr(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class RelevanceExprContext extends LogicalExpressionContext {
+ public relevanceExpression(): RelevanceExpressionContext {
+ return this.getRuleContext(0, RelevanceExpressionContext);
+ }
+ constructor(ctx: LogicalExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRelevanceExpr) {
+ listener.enterRelevanceExpr(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRelevanceExpr) {
+ listener.exitRelevanceExpr(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRelevanceExpr) {
+ return visitor.visitRelevanceExpr(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ComparisonExpressionContext extends ParserRuleContext {
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_comparisonExpression; }
+ public copyFrom(ctx: ComparisonExpressionContext): void {
+ super.copyFrom(ctx);
+ }
+}
+export class CompareExprContext extends ComparisonExpressionContext {
+ public _left!: ValueExpressionContext;
+ public _right!: ValueExpressionContext;
+ public comparisonOperator(): ComparisonOperatorContext {
+ return this.getRuleContext(0, ComparisonOperatorContext);
+ }
+ public valueExpression(): ValueExpressionContext[];
+ public valueExpression(i: number): ValueExpressionContext;
+ public valueExpression(i?: number): ValueExpressionContext | ValueExpressionContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(ValueExpressionContext);
+ } else {
+ return this.getRuleContext(i, ValueExpressionContext);
+ }
+ }
+ constructor(ctx: ComparisonExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterCompareExpr) {
+ listener.enterCompareExpr(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitCompareExpr) {
+ listener.exitCompareExpr(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitCompareExpr) {
+ return visitor.visitCompareExpr(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class InExprContext extends ComparisonExpressionContext {
+ public valueExpression(): ValueExpressionContext {
+ return this.getRuleContext(0, ValueExpressionContext);
+ }
+ public IN(): TerminalNode { return this.getToken(OpenSearchPPLParser.IN, 0); }
+ public valueList(): ValueListContext {
+ return this.getRuleContext(0, ValueListContext);
+ }
+ constructor(ctx: ComparisonExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterInExpr) {
+ listener.enterInExpr(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitInExpr) {
+ listener.exitInExpr(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitInExpr) {
+ return visitor.visitInExpr(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ValueExpressionContext extends ParserRuleContext {
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_valueExpression; }
+ public copyFrom(ctx: ValueExpressionContext): void {
+ super.copyFrom(ctx);
+ }
+}
+export class BinaryArithmeticContext extends ValueExpressionContext {
+ public _left!: ValueExpressionContext;
+ public _right!: ValueExpressionContext;
+ public binaryOperator(): BinaryOperatorContext {
+ return this.getRuleContext(0, BinaryOperatorContext);
+ }
+ public valueExpression(): ValueExpressionContext[];
+ public valueExpression(i: number): ValueExpressionContext;
+ public valueExpression(i?: number): ValueExpressionContext | ValueExpressionContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(ValueExpressionContext);
+ } else {
+ return this.getRuleContext(i, ValueExpressionContext);
+ }
+ }
+ constructor(ctx: ValueExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterBinaryArithmetic) {
+ listener.enterBinaryArithmetic(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitBinaryArithmetic) {
+ listener.exitBinaryArithmetic(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitBinaryArithmetic) {
+ return visitor.visitBinaryArithmetic(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class ParentheticBinaryArithmeticContext extends ValueExpressionContext {
+ public _left!: ValueExpressionContext;
+ public _right!: ValueExpressionContext;
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public binaryOperator(): BinaryOperatorContext {
+ return this.getRuleContext(0, BinaryOperatorContext);
+ }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ public valueExpression(): ValueExpressionContext[];
+ public valueExpression(i: number): ValueExpressionContext;
+ public valueExpression(i?: number): ValueExpressionContext | ValueExpressionContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(ValueExpressionContext);
+ } else {
+ return this.getRuleContext(i, ValueExpressionContext);
+ }
+ }
+ constructor(ctx: ValueExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterParentheticBinaryArithmetic) {
+ listener.enterParentheticBinaryArithmetic(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitParentheticBinaryArithmetic) {
+ listener.exitParentheticBinaryArithmetic(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitParentheticBinaryArithmetic) {
+ return visitor.visitParentheticBinaryArithmetic(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+export class ValueExpressionDefaultContext extends ValueExpressionContext {
+ public primaryExpression(): PrimaryExpressionContext {
+ return this.getRuleContext(0, PrimaryExpressionContext);
+ }
+ constructor(ctx: ValueExpressionContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterValueExpressionDefault) {
+ listener.enterValueExpressionDefault(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitValueExpressionDefault) {
+ listener.exitValueExpressionDefault(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitValueExpressionDefault) {
+ return visitor.visitValueExpressionDefault(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class PrimaryExpressionContext extends ParserRuleContext {
+ public evalFunctionCall(): EvalFunctionCallContext | undefined {
+ return this.tryGetRuleContext(0, EvalFunctionCallContext);
+ }
+ public dataTypeFunctionCall(): DataTypeFunctionCallContext | undefined {
+ return this.tryGetRuleContext(0, DataTypeFunctionCallContext);
+ }
+ public fieldExpression(): FieldExpressionContext | undefined {
+ return this.tryGetRuleContext(0, FieldExpressionContext);
+ }
+ public literalValue(): LiteralValueContext | undefined {
+ return this.tryGetRuleContext(0, LiteralValueContext);
+ }
+ public constantFunction(): ConstantFunctionContext | undefined {
+ return this.tryGetRuleContext(0, ConstantFunctionContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_primaryExpression; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterPrimaryExpression) {
+ listener.enterPrimaryExpression(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitPrimaryExpression) {
+ listener.exitPrimaryExpression(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitPrimaryExpression) {
+ return visitor.visitPrimaryExpression(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ConstantFunctionContext extends ParserRuleContext {
+ public constantFunctionName(): ConstantFunctionNameContext {
+ return this.getRuleContext(0, ConstantFunctionNameContext);
+ }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ public functionArgs(): FunctionArgsContext | undefined {
+ return this.tryGetRuleContext(0, FunctionArgsContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_constantFunction; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterConstantFunction) {
+ listener.enterConstantFunction(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitConstantFunction) {
+ listener.exitConstantFunction(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitConstantFunction) {
+ return visitor.visitConstantFunction(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class BooleanExpressionContext extends ParserRuleContext {
+ public booleanFunctionCall(): BooleanFunctionCallContext {
+ return this.getRuleContext(0, BooleanFunctionCallContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_booleanExpression; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterBooleanExpression) {
+ listener.enterBooleanExpression(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitBooleanExpression) {
+ listener.exitBooleanExpression(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitBooleanExpression) {
+ return visitor.visitBooleanExpression(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class RelevanceExpressionContext extends ParserRuleContext {
+ public singleFieldRelevanceFunction(): SingleFieldRelevanceFunctionContext | undefined {
+ return this.tryGetRuleContext(0, SingleFieldRelevanceFunctionContext);
+ }
+ public multiFieldRelevanceFunction(): MultiFieldRelevanceFunctionContext | undefined {
+ return this.tryGetRuleContext(0, MultiFieldRelevanceFunctionContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_relevanceExpression; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRelevanceExpression) {
+ listener.enterRelevanceExpression(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRelevanceExpression) {
+ listener.exitRelevanceExpression(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRelevanceExpression) {
+ return visitor.visitRelevanceExpression(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class SingleFieldRelevanceFunctionContext extends ParserRuleContext {
+ public _field!: RelevanceFieldContext;
+ public _query!: RelevanceQueryContext;
+ public singleFieldRelevanceFunctionName(): SingleFieldRelevanceFunctionNameContext {
+ return this.getRuleContext(0, SingleFieldRelevanceFunctionNameContext);
+ }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public COMMA(): TerminalNode[];
+ public COMMA(i: number): TerminalNode;
+ public COMMA(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.COMMA);
+ } else {
+ return this.getToken(OpenSearchPPLParser.COMMA, i);
+ }
+ }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ public relevanceField(): RelevanceFieldContext {
+ return this.getRuleContext(0, RelevanceFieldContext);
+ }
+ public relevanceQuery(): RelevanceQueryContext {
+ return this.getRuleContext(0, RelevanceQueryContext);
+ }
+ public relevanceArg(): RelevanceArgContext[];
+ public relevanceArg(i: number): RelevanceArgContext;
+ public relevanceArg(i?: number): RelevanceArgContext | RelevanceArgContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(RelevanceArgContext);
+ } else {
+ return this.getRuleContext(i, RelevanceArgContext);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_singleFieldRelevanceFunction; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterSingleFieldRelevanceFunction) {
+ listener.enterSingleFieldRelevanceFunction(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitSingleFieldRelevanceFunction) {
+ listener.exitSingleFieldRelevanceFunction(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitSingleFieldRelevanceFunction) {
+ return visitor.visitSingleFieldRelevanceFunction(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class MultiFieldRelevanceFunctionContext extends ParserRuleContext {
+ public _field!: RelevanceFieldAndWeightContext;
+ public _query!: RelevanceQueryContext;
+ public multiFieldRelevanceFunctionName(): MultiFieldRelevanceFunctionNameContext {
+ return this.getRuleContext(0, MultiFieldRelevanceFunctionNameContext);
+ }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public LT_SQR_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_SQR_PRTHS, 0); }
+ public RT_SQR_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_SQR_PRTHS, 0); }
+ public COMMA(): TerminalNode[];
+ public COMMA(i: number): TerminalNode;
+ public COMMA(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.COMMA);
+ } else {
+ return this.getToken(OpenSearchPPLParser.COMMA, i);
+ }
+ }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ public relevanceFieldAndWeight(): RelevanceFieldAndWeightContext[];
+ public relevanceFieldAndWeight(i: number): RelevanceFieldAndWeightContext;
+ public relevanceFieldAndWeight(i?: number): RelevanceFieldAndWeightContext | RelevanceFieldAndWeightContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(RelevanceFieldAndWeightContext);
+ } else {
+ return this.getRuleContext(i, RelevanceFieldAndWeightContext);
+ }
+ }
+ public relevanceQuery(): RelevanceQueryContext {
+ return this.getRuleContext(0, RelevanceQueryContext);
+ }
+ public relevanceArg(): RelevanceArgContext[];
+ public relevanceArg(i: number): RelevanceArgContext;
+ public relevanceArg(i?: number): RelevanceArgContext | RelevanceArgContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(RelevanceArgContext);
+ } else {
+ return this.getRuleContext(i, RelevanceArgContext);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_multiFieldRelevanceFunction; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterMultiFieldRelevanceFunction) {
+ listener.enterMultiFieldRelevanceFunction(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitMultiFieldRelevanceFunction) {
+ listener.exitMultiFieldRelevanceFunction(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitMultiFieldRelevanceFunction) {
+ return visitor.visitMultiFieldRelevanceFunction(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class TableSourceContext extends ParserRuleContext {
+ public qualifiedName(): QualifiedNameContext | undefined {
+ return this.tryGetRuleContext(0, QualifiedNameContext);
+ }
+ public ID_DATE_SUFFIX(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ID_DATE_SUFFIX, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_tableSource; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterTableSource) {
+ listener.enterTableSource(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitTableSource) {
+ listener.exitTableSource(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitTableSource) {
+ return visitor.visitTableSource(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class TableFunctionContext extends ParserRuleContext {
+ public qualifiedName(): QualifiedNameContext {
+ return this.getRuleContext(0, QualifiedNameContext);
+ }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public functionArgs(): FunctionArgsContext {
+ return this.getRuleContext(0, FunctionArgsContext);
+ }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_tableFunction; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterTableFunction) {
+ listener.enterTableFunction(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitTableFunction) {
+ listener.exitTableFunction(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitTableFunction) {
+ return visitor.visitTableFunction(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class FieldListContext extends ParserRuleContext {
+ public fieldExpression(): FieldExpressionContext[];
+ public fieldExpression(i: number): FieldExpressionContext;
+ public fieldExpression(i?: number): FieldExpressionContext | FieldExpressionContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(FieldExpressionContext);
+ } else {
+ return this.getRuleContext(i, FieldExpressionContext);
+ }
+ }
+ public COMMA(): TerminalNode[];
+ public COMMA(i: number): TerminalNode;
+ public COMMA(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.COMMA);
+ } else {
+ return this.getToken(OpenSearchPPLParser.COMMA, i);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_fieldList; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterFieldList) {
+ listener.enterFieldList(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitFieldList) {
+ listener.exitFieldList(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitFieldList) {
+ return visitor.visitFieldList(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class WcFieldListContext extends ParserRuleContext {
+ public wcFieldExpression(): WcFieldExpressionContext[];
+ public wcFieldExpression(i: number): WcFieldExpressionContext;
+ public wcFieldExpression(i?: number): WcFieldExpressionContext | WcFieldExpressionContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(WcFieldExpressionContext);
+ } else {
+ return this.getRuleContext(i, WcFieldExpressionContext);
+ }
+ }
+ public COMMA(): TerminalNode[];
+ public COMMA(i: number): TerminalNode;
+ public COMMA(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.COMMA);
+ } else {
+ return this.getToken(OpenSearchPPLParser.COMMA, i);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_wcFieldList; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterWcFieldList) {
+ listener.enterWcFieldList(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitWcFieldList) {
+ listener.exitWcFieldList(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitWcFieldList) {
+ return visitor.visitWcFieldList(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class SortFieldContext extends ParserRuleContext {
+ public sortFieldExpression(): SortFieldExpressionContext {
+ return this.getRuleContext(0, SortFieldExpressionContext);
+ }
+ public PLUS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PLUS, 0); }
+ public MINUS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MINUS, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_sortField; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterSortField) {
+ listener.enterSortField(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitSortField) {
+ listener.exitSortField(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitSortField) {
+ return visitor.visitSortField(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class SortFieldExpressionContext extends ParserRuleContext {
+ public fieldExpression(): FieldExpressionContext {
+ return this.getRuleContext(0, FieldExpressionContext);
+ }
+ public AUTO(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.AUTO, 0); }
+ public LT_PRTHS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public RT_PRTHS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ public STR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.STR, 0); }
+ public IP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.IP, 0); }
+ public NUM(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.NUM, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_sortFieldExpression; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterSortFieldExpression) {
+ listener.enterSortFieldExpression(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitSortFieldExpression) {
+ listener.exitSortFieldExpression(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitSortFieldExpression) {
+ return visitor.visitSortFieldExpression(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class FieldExpressionContext extends ParserRuleContext {
+ public qualifiedName(): QualifiedNameContext {
+ return this.getRuleContext(0, QualifiedNameContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_fieldExpression; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterFieldExpression) {
+ listener.enterFieldExpression(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitFieldExpression) {
+ listener.exitFieldExpression(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitFieldExpression) {
+ return visitor.visitFieldExpression(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class WcFieldExpressionContext extends ParserRuleContext {
+ public wcQualifiedName(): WcQualifiedNameContext {
+ return this.getRuleContext(0, WcQualifiedNameContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_wcFieldExpression; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterWcFieldExpression) {
+ listener.enterWcFieldExpression(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitWcFieldExpression) {
+ listener.exitWcFieldExpression(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitWcFieldExpression) {
+ return visitor.visitWcFieldExpression(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class EvalFunctionCallContext extends ParserRuleContext {
+ public evalFunctionName(): EvalFunctionNameContext {
+ return this.getRuleContext(0, EvalFunctionNameContext);
+ }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public functionArgs(): FunctionArgsContext {
+ return this.getRuleContext(0, FunctionArgsContext);
+ }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_evalFunctionCall; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterEvalFunctionCall) {
+ listener.enterEvalFunctionCall(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitEvalFunctionCall) {
+ listener.exitEvalFunctionCall(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitEvalFunctionCall) {
+ return visitor.visitEvalFunctionCall(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class DataTypeFunctionCallContext extends ParserRuleContext {
+ public CAST(): TerminalNode { return this.getToken(OpenSearchPPLParser.CAST, 0); }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public expression(): ExpressionContext {
+ return this.getRuleContext(0, ExpressionContext);
+ }
+ public AS(): TerminalNode { return this.getToken(OpenSearchPPLParser.AS, 0); }
+ public convertedDataType(): ConvertedDataTypeContext {
+ return this.getRuleContext(0, ConvertedDataTypeContext);
+ }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_dataTypeFunctionCall; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterDataTypeFunctionCall) {
+ listener.enterDataTypeFunctionCall(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitDataTypeFunctionCall) {
+ listener.exitDataTypeFunctionCall(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitDataTypeFunctionCall) {
+ return visitor.visitDataTypeFunctionCall(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class BooleanFunctionCallContext extends ParserRuleContext {
+ public conditionFunctionBase(): ConditionFunctionBaseContext {
+ return this.getRuleContext(0, ConditionFunctionBaseContext);
+ }
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public functionArgs(): FunctionArgsContext {
+ return this.getRuleContext(0, FunctionArgsContext);
+ }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_booleanFunctionCall; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterBooleanFunctionCall) {
+ listener.enterBooleanFunctionCall(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitBooleanFunctionCall) {
+ listener.exitBooleanFunctionCall(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitBooleanFunctionCall) {
+ return visitor.visitBooleanFunctionCall(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ConvertedDataTypeContext extends ParserRuleContext {
+ public _typeName!: Token;
+ public DATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DATE, 0); }
+ public TIME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIME, 0); }
+ public TIMESTAMP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIMESTAMP, 0); }
+ public INT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.INT, 0); }
+ public INTEGER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.INTEGER, 0); }
+ public DOUBLE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DOUBLE, 0); }
+ public LONG(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LONG, 0); }
+ public FLOAT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FLOAT, 0); }
+ public STRING(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.STRING, 0); }
+ public BOOLEAN(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.BOOLEAN, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_convertedDataType; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterConvertedDataType) {
+ listener.enterConvertedDataType(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitConvertedDataType) {
+ listener.exitConvertedDataType(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitConvertedDataType) {
+ return visitor.visitConvertedDataType(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class EvalFunctionNameContext extends ParserRuleContext {
+ public mathematicalFunctionBase(): MathematicalFunctionBaseContext | undefined {
+ return this.tryGetRuleContext(0, MathematicalFunctionBaseContext);
+ }
+ public dateAndTimeFunctionBase(): DateAndTimeFunctionBaseContext | undefined {
+ return this.tryGetRuleContext(0, DateAndTimeFunctionBaseContext);
+ }
+ public textFunctionBase(): TextFunctionBaseContext | undefined {
+ return this.tryGetRuleContext(0, TextFunctionBaseContext);
+ }
+ public conditionFunctionBase(): ConditionFunctionBaseContext | undefined {
+ return this.tryGetRuleContext(0, ConditionFunctionBaseContext);
+ }
+ public systemFunctionBase(): SystemFunctionBaseContext | undefined {
+ return this.tryGetRuleContext(0, SystemFunctionBaseContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_evalFunctionName; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterEvalFunctionName) {
+ listener.enterEvalFunctionName(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitEvalFunctionName) {
+ listener.exitEvalFunctionName(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitEvalFunctionName) {
+ return visitor.visitEvalFunctionName(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class FunctionArgsContext extends ParserRuleContext {
+ public functionArg(): FunctionArgContext[];
+ public functionArg(i: number): FunctionArgContext;
+ public functionArg(i?: number): FunctionArgContext | FunctionArgContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(FunctionArgContext);
+ } else {
+ return this.getRuleContext(i, FunctionArgContext);
+ }
+ }
+ public COMMA(): TerminalNode[];
+ public COMMA(i: number): TerminalNode;
+ public COMMA(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.COMMA);
+ } else {
+ return this.getToken(OpenSearchPPLParser.COMMA, i);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_functionArgs; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterFunctionArgs) {
+ listener.enterFunctionArgs(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitFunctionArgs) {
+ listener.exitFunctionArgs(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitFunctionArgs) {
+ return visitor.visitFunctionArgs(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class FunctionArgContext extends ParserRuleContext {
+ public valueExpression(): ValueExpressionContext {
+ return this.getRuleContext(0, ValueExpressionContext);
+ }
+ public ident(): IdentContext | undefined {
+ return this.tryGetRuleContext(0, IdentContext);
+ }
+ public EQUAL(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.EQUAL, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_functionArg; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterFunctionArg) {
+ listener.enterFunctionArg(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitFunctionArg) {
+ listener.exitFunctionArg(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitFunctionArg) {
+ return visitor.visitFunctionArg(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class RelevanceArgContext extends ParserRuleContext {
+ public relevanceArgName(): RelevanceArgNameContext {
+ return this.getRuleContext(0, RelevanceArgNameContext);
+ }
+ public EQUAL(): TerminalNode { return this.getToken(OpenSearchPPLParser.EQUAL, 0); }
+ public relevanceArgValue(): RelevanceArgValueContext {
+ return this.getRuleContext(0, RelevanceArgValueContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_relevanceArg; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRelevanceArg) {
+ listener.enterRelevanceArg(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRelevanceArg) {
+ listener.exitRelevanceArg(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRelevanceArg) {
+ return visitor.visitRelevanceArg(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class RelevanceArgNameContext extends ParserRuleContext {
+ public ALLOW_LEADING_WILDCARD(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ALLOW_LEADING_WILDCARD, 0); }
+ public ANALYZER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ANALYZER, 0); }
+ public ANALYZE_WILDCARD(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ANALYZE_WILDCARD, 0); }
+ public AUTO_GENERATE_SYNONYMS_PHRASE_QUERY(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.AUTO_GENERATE_SYNONYMS_PHRASE_QUERY, 0); }
+ public BOOST(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.BOOST, 0); }
+ public CUTOFF_FREQUENCY(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CUTOFF_FREQUENCY, 0); }
+ public DEFAULT_FIELD(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DEFAULT_FIELD, 0); }
+ public DEFAULT_OPERATOR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DEFAULT_OPERATOR, 0); }
+ public ENABLE_POSITION_INCREMENTS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ENABLE_POSITION_INCREMENTS, 0); }
+ public ESCAPE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ESCAPE, 0); }
+ public FIELDS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FIELDS, 0); }
+ public FLAGS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FLAGS, 0); }
+ public FUZZINESS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FUZZINESS, 0); }
+ public FUZZY_MAX_EXPANSIONS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FUZZY_MAX_EXPANSIONS, 0); }
+ public FUZZY_PREFIX_LENGTH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FUZZY_PREFIX_LENGTH, 0); }
+ public FUZZY_REWRITE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FUZZY_REWRITE, 0); }
+ public FUZZY_TRANSPOSITIONS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FUZZY_TRANSPOSITIONS, 0); }
+ public LENIENT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LENIENT, 0); }
+ public LOW_FREQ_OPERATOR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LOW_FREQ_OPERATOR, 0); }
+ public MAX_DETERMINIZED_STATES(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MAX_DETERMINIZED_STATES, 0); }
+ public MAX_EXPANSIONS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MAX_EXPANSIONS, 0); }
+ public MINIMUM_SHOULD_MATCH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MINIMUM_SHOULD_MATCH, 0); }
+ public OPERATOR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.OPERATOR, 0); }
+ public PHRASE_SLOP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PHRASE_SLOP, 0); }
+ public PREFIX_LENGTH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PREFIX_LENGTH, 0); }
+ public QUOTE_ANALYZER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.QUOTE_ANALYZER, 0); }
+ public QUOTE_FIELD_SUFFIX(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.QUOTE_FIELD_SUFFIX, 0); }
+ public REWRITE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.REWRITE, 0); }
+ public SLOP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SLOP, 0); }
+ public TIE_BREAKER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIE_BREAKER, 0); }
+ public TIME_ZONE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIME_ZONE, 0); }
+ public TYPE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TYPE, 0); }
+ public ZERO_TERMS_QUERY(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ZERO_TERMS_QUERY, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_relevanceArgName; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRelevanceArgName) {
+ listener.enterRelevanceArgName(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRelevanceArgName) {
+ listener.exitRelevanceArgName(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRelevanceArgName) {
+ return visitor.visitRelevanceArgName(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class RelevanceFieldAndWeightContext extends ParserRuleContext {
+ public _field!: RelevanceFieldContext;
+ public _weight!: RelevanceFieldWeightContext;
+ public relevanceField(): RelevanceFieldContext {
+ return this.getRuleContext(0, RelevanceFieldContext);
+ }
+ public relevanceFieldWeight(): RelevanceFieldWeightContext | undefined {
+ return this.tryGetRuleContext(0, RelevanceFieldWeightContext);
+ }
+ public BIT_XOR_OP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.BIT_XOR_OP, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_relevanceFieldAndWeight; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRelevanceFieldAndWeight) {
+ listener.enterRelevanceFieldAndWeight(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRelevanceFieldAndWeight) {
+ listener.exitRelevanceFieldAndWeight(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRelevanceFieldAndWeight) {
+ return visitor.visitRelevanceFieldAndWeight(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class RelevanceFieldWeightContext extends ParserRuleContext {
+ public integerLiteral(): IntegerLiteralContext | undefined {
+ return this.tryGetRuleContext(0, IntegerLiteralContext);
+ }
+ public decimalLiteral(): DecimalLiteralContext | undefined {
+ return this.tryGetRuleContext(0, DecimalLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_relevanceFieldWeight; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRelevanceFieldWeight) {
+ listener.enterRelevanceFieldWeight(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRelevanceFieldWeight) {
+ listener.exitRelevanceFieldWeight(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRelevanceFieldWeight) {
+ return visitor.visitRelevanceFieldWeight(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class RelevanceFieldContext extends ParserRuleContext {
+ public qualifiedName(): QualifiedNameContext | undefined {
+ return this.tryGetRuleContext(0, QualifiedNameContext);
+ }
+ public stringLiteral(): StringLiteralContext | undefined {
+ return this.tryGetRuleContext(0, StringLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_relevanceField; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRelevanceField) {
+ listener.enterRelevanceField(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRelevanceField) {
+ listener.exitRelevanceField(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRelevanceField) {
+ return visitor.visitRelevanceField(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class RelevanceQueryContext extends ParserRuleContext {
+ public relevanceArgValue(): RelevanceArgValueContext {
+ return this.getRuleContext(0, RelevanceArgValueContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_relevanceQuery; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRelevanceQuery) {
+ listener.enterRelevanceQuery(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRelevanceQuery) {
+ listener.exitRelevanceQuery(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRelevanceQuery) {
+ return visitor.visitRelevanceQuery(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class RelevanceArgValueContext extends ParserRuleContext {
+ public qualifiedName(): QualifiedNameContext | undefined {
+ return this.tryGetRuleContext(0, QualifiedNameContext);
+ }
+ public literalValue(): LiteralValueContext | undefined {
+ return this.tryGetRuleContext(0, LiteralValueContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_relevanceArgValue; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterRelevanceArgValue) {
+ listener.enterRelevanceArgValue(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitRelevanceArgValue) {
+ listener.exitRelevanceArgValue(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitRelevanceArgValue) {
+ return visitor.visitRelevanceArgValue(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class MathematicalFunctionBaseContext extends ParserRuleContext {
+ public ABS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ABS, 0); }
+ public CEIL(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CEIL, 0); }
+ public CEILING(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CEILING, 0); }
+ public CONV(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CONV, 0); }
+ public CRC32(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CRC32, 0); }
+ public E(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.E, 0); }
+ public EXP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.EXP, 0); }
+ public FLOOR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FLOOR, 0); }
+ public LN(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LN, 0); }
+ public LOG(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LOG, 0); }
+ public LOG10(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LOG10, 0); }
+ public LOG2(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LOG2, 0); }
+ public MOD(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MOD, 0); }
+ public PI(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PI, 0); }
+ public POW(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.POW, 0); }
+ public POWER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.POWER, 0); }
+ public RAND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.RAND, 0); }
+ public ROUND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ROUND, 0); }
+ public SIGN(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SIGN, 0); }
+ public SQRT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SQRT, 0); }
+ public TRUNCATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TRUNCATE, 0); }
+ public trigonometricFunctionName(): TrigonometricFunctionNameContext | undefined {
+ return this.tryGetRuleContext(0, TrigonometricFunctionNameContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_mathematicalFunctionBase; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterMathematicalFunctionBase) {
+ listener.enterMathematicalFunctionBase(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitMathematicalFunctionBase) {
+ listener.exitMathematicalFunctionBase(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitMathematicalFunctionBase) {
+ return visitor.visitMathematicalFunctionBase(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class TrigonometricFunctionNameContext extends ParserRuleContext {
+ public ACOS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ACOS, 0); }
+ public ASIN(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ASIN, 0); }
+ public ATAN(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ATAN, 0); }
+ public ATAN2(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ATAN2, 0); }
+ public COS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.COS, 0); }
+ public COT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.COT, 0); }
+ public DEGREES(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DEGREES, 0); }
+ public RADIANS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.RADIANS, 0); }
+ public SIN(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SIN, 0); }
+ public TAN(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TAN, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_trigonometricFunctionName; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterTrigonometricFunctionName) {
+ listener.enterTrigonometricFunctionName(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitTrigonometricFunctionName) {
+ listener.exitTrigonometricFunctionName(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitTrigonometricFunctionName) {
+ return visitor.visitTrigonometricFunctionName(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class DateAndTimeFunctionBaseContext extends ParserRuleContext {
+ public ADDDATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ADDDATE, 0); }
+ public CONVERT_TZ(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CONVERT_TZ, 0); }
+ public DATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DATE, 0); }
+ public DATE_ADD(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DATE_ADD, 0); }
+ public DATE_FORMAT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DATE_FORMAT, 0); }
+ public DATE_SUB(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DATE_SUB, 0); }
+ public DATETIME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DATETIME, 0); }
+ public DAY(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DAY, 0); }
+ public DAYNAME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DAYNAME, 0); }
+ public DAYOFMONTH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DAYOFMONTH, 0); }
+ public DAYOFWEEK(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DAYOFWEEK, 0); }
+ public DAYOFYEAR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DAYOFYEAR, 0); }
+ public FROM_DAYS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FROM_DAYS, 0); }
+ public FROM_UNIXTIME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FROM_UNIXTIME, 0); }
+ public HOUR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.HOUR, 0); }
+ public MAKEDATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MAKEDATE, 0); }
+ public MAKETIME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MAKETIME, 0); }
+ public MICROSECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MICROSECOND, 0); }
+ public MINUTE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MINUTE, 0); }
+ public MONTH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MONTH, 0); }
+ public MONTHNAME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MONTHNAME, 0); }
+ public PERIOD_ADD(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PERIOD_ADD, 0); }
+ public PERIOD_DIFF(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PERIOD_DIFF, 0); }
+ public QUARTER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.QUARTER, 0); }
+ public SECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SECOND, 0); }
+ public SUBDATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SUBDATE, 0); }
+ public SYSDATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SYSDATE, 0); }
+ public TIME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIME, 0); }
+ public TIME_TO_SEC(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIME_TO_SEC, 0); }
+ public TIMESTAMP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIMESTAMP, 0); }
+ public TO_DAYS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TO_DAYS, 0); }
+ public UNIX_TIMESTAMP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.UNIX_TIMESTAMP, 0); }
+ public WEEK(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.WEEK, 0); }
+ public YEAR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.YEAR, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_dateAndTimeFunctionBase; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterDateAndTimeFunctionBase) {
+ listener.enterDateAndTimeFunctionBase(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitDateAndTimeFunctionBase) {
+ listener.exitDateAndTimeFunctionBase(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitDateAndTimeFunctionBase) {
+ return visitor.visitDateAndTimeFunctionBase(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ConstantFunctionNameContext extends ParserRuleContext {
+ public CURRENT_DATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CURRENT_DATE, 0); }
+ public CURRENT_TIME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CURRENT_TIME, 0); }
+ public CURRENT_TIMESTAMP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CURRENT_TIMESTAMP, 0); }
+ public LOCALTIME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LOCALTIME, 0); }
+ public LOCALTIMESTAMP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LOCALTIMESTAMP, 0); }
+ public UTC_TIMESTAMP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.UTC_TIMESTAMP, 0); }
+ public UTC_DATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.UTC_DATE, 0); }
+ public UTC_TIME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.UTC_TIME, 0); }
+ public CURDATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CURDATE, 0); }
+ public CURTIME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CURTIME, 0); }
+ public NOW(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.NOW, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_constantFunctionName; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterConstantFunctionName) {
+ listener.enterConstantFunctionName(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitConstantFunctionName) {
+ listener.exitConstantFunctionName(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitConstantFunctionName) {
+ return visitor.visitConstantFunctionName(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ConditionFunctionBaseContext extends ParserRuleContext {
+ public LIKE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LIKE, 0); }
+ public IF(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.IF, 0); }
+ public ISNULL(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ISNULL, 0); }
+ public ISNOTNULL(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ISNOTNULL, 0); }
+ public IFNULL(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.IFNULL, 0); }
+ public NULLIF(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.NULLIF, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_conditionFunctionBase; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterConditionFunctionBase) {
+ listener.enterConditionFunctionBase(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitConditionFunctionBase) {
+ listener.exitConditionFunctionBase(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitConditionFunctionBase) {
+ return visitor.visitConditionFunctionBase(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class SystemFunctionBaseContext extends ParserRuleContext {
+ public TYPEOF(): TerminalNode { return this.getToken(OpenSearchPPLParser.TYPEOF, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_systemFunctionBase; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterSystemFunctionBase) {
+ listener.enterSystemFunctionBase(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitSystemFunctionBase) {
+ listener.exitSystemFunctionBase(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitSystemFunctionBase) {
+ return visitor.visitSystemFunctionBase(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class TextFunctionBaseContext extends ParserRuleContext {
+ public SUBSTR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SUBSTR, 0); }
+ public SUBSTRING(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SUBSTRING, 0); }
+ public TRIM(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TRIM, 0); }
+ public LTRIM(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LTRIM, 0); }
+ public RTRIM(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.RTRIM, 0); }
+ public LOWER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LOWER, 0); }
+ public UPPER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.UPPER, 0); }
+ public CONCAT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CONCAT, 0); }
+ public CONCAT_WS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.CONCAT_WS, 0); }
+ public LENGTH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LENGTH, 0); }
+ public STRCMP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.STRCMP, 0); }
+ public RIGHT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.RIGHT, 0); }
+ public LEFT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LEFT, 0); }
+ public ASCII(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ASCII, 0); }
+ public LOCATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LOCATE, 0); }
+ public REPLACE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.REPLACE, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_textFunctionBase; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterTextFunctionBase) {
+ listener.enterTextFunctionBase(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitTextFunctionBase) {
+ listener.exitTextFunctionBase(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitTextFunctionBase) {
+ return visitor.visitTextFunctionBase(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ComparisonOperatorContext extends ParserRuleContext {
+ public EQUAL(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.EQUAL, 0); }
+ public NOT_EQUAL(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.NOT_EQUAL, 0); }
+ public LESS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LESS, 0); }
+ public NOT_LESS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.NOT_LESS, 0); }
+ public GREATER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.GREATER, 0); }
+ public NOT_GREATER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.NOT_GREATER, 0); }
+ public REGEXP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.REGEXP, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_comparisonOperator; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterComparisonOperator) {
+ listener.enterComparisonOperator(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitComparisonOperator) {
+ listener.exitComparisonOperator(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitComparisonOperator) {
+ return visitor.visitComparisonOperator(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class BinaryOperatorContext extends ParserRuleContext {
+ public PLUS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PLUS, 0); }
+ public MINUS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MINUS, 0); }
+ public STAR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.STAR, 0); }
+ public DIVIDE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DIVIDE, 0); }
+ public MODULE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MODULE, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_binaryOperator; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterBinaryOperator) {
+ listener.enterBinaryOperator(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitBinaryOperator) {
+ listener.exitBinaryOperator(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitBinaryOperator) {
+ return visitor.visitBinaryOperator(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class SingleFieldRelevanceFunctionNameContext extends ParserRuleContext {
+ public MATCH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MATCH, 0); }
+ public MATCH_PHRASE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MATCH_PHRASE, 0); }
+ public MATCH_BOOL_PREFIX(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MATCH_BOOL_PREFIX, 0); }
+ public MATCH_PHRASE_PREFIX(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MATCH_PHRASE_PREFIX, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_singleFieldRelevanceFunctionName; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterSingleFieldRelevanceFunctionName) {
+ listener.enterSingleFieldRelevanceFunctionName(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitSingleFieldRelevanceFunctionName) {
+ listener.exitSingleFieldRelevanceFunctionName(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitSingleFieldRelevanceFunctionName) {
+ return visitor.visitSingleFieldRelevanceFunctionName(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class MultiFieldRelevanceFunctionNameContext extends ParserRuleContext {
+ public SIMPLE_QUERY_STRING(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SIMPLE_QUERY_STRING, 0); }
+ public MULTI_MATCH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MULTI_MATCH, 0); }
+ public QUERY_STRING(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.QUERY_STRING, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_multiFieldRelevanceFunctionName; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterMultiFieldRelevanceFunctionName) {
+ listener.enterMultiFieldRelevanceFunctionName(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitMultiFieldRelevanceFunctionName) {
+ listener.exitMultiFieldRelevanceFunctionName(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitMultiFieldRelevanceFunctionName) {
+ return visitor.visitMultiFieldRelevanceFunctionName(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class LiteralValueContext extends ParserRuleContext {
+ public intervalLiteral(): IntervalLiteralContext | undefined {
+ return this.tryGetRuleContext(0, IntervalLiteralContext);
+ }
+ public stringLiteral(): StringLiteralContext | undefined {
+ return this.tryGetRuleContext(0, StringLiteralContext);
+ }
+ public integerLiteral(): IntegerLiteralContext | undefined {
+ return this.tryGetRuleContext(0, IntegerLiteralContext);
+ }
+ public decimalLiteral(): DecimalLiteralContext | undefined {
+ return this.tryGetRuleContext(0, DecimalLiteralContext);
+ }
+ public booleanLiteral(): BooleanLiteralContext | undefined {
+ return this.tryGetRuleContext(0, BooleanLiteralContext);
+ }
+ public datetimeLiteral(): DatetimeLiteralContext | undefined {
+ return this.tryGetRuleContext(0, DatetimeLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_literalValue; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterLiteralValue) {
+ listener.enterLiteralValue(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitLiteralValue) {
+ listener.exitLiteralValue(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitLiteralValue) {
+ return visitor.visitLiteralValue(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class IntervalLiteralContext extends ParserRuleContext {
+ public INTERVAL(): TerminalNode { return this.getToken(OpenSearchPPLParser.INTERVAL, 0); }
+ public valueExpression(): ValueExpressionContext {
+ return this.getRuleContext(0, ValueExpressionContext);
+ }
+ public intervalUnit(): IntervalUnitContext {
+ return this.getRuleContext(0, IntervalUnitContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_intervalLiteral; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterIntervalLiteral) {
+ listener.enterIntervalLiteral(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitIntervalLiteral) {
+ listener.exitIntervalLiteral(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitIntervalLiteral) {
+ return visitor.visitIntervalLiteral(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class StringLiteralContext extends ParserRuleContext {
+ public DQUOTA_STRING(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DQUOTA_STRING, 0); }
+ public SQUOTA_STRING(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SQUOTA_STRING, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_stringLiteral; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterStringLiteral) {
+ listener.enterStringLiteral(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitStringLiteral) {
+ listener.exitStringLiteral(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitStringLiteral) {
+ return visitor.visitStringLiteral(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class IntegerLiteralContext extends ParserRuleContext {
+ public INTEGER_LITERAL(): TerminalNode { return this.getToken(OpenSearchPPLParser.INTEGER_LITERAL, 0); }
+ public PLUS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PLUS, 0); }
+ public MINUS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MINUS, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_integerLiteral; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterIntegerLiteral) {
+ listener.enterIntegerLiteral(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitIntegerLiteral) {
+ listener.exitIntegerLiteral(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitIntegerLiteral) {
+ return visitor.visitIntegerLiteral(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class DecimalLiteralContext extends ParserRuleContext {
+ public DECIMAL_LITERAL(): TerminalNode { return this.getToken(OpenSearchPPLParser.DECIMAL_LITERAL, 0); }
+ public PLUS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.PLUS, 0); }
+ public MINUS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MINUS, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_decimalLiteral; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterDecimalLiteral) {
+ listener.enterDecimalLiteral(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitDecimalLiteral) {
+ listener.exitDecimalLiteral(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitDecimalLiteral) {
+ return visitor.visitDecimalLiteral(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class BooleanLiteralContext extends ParserRuleContext {
+ public TRUE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TRUE, 0); }
+ public FALSE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FALSE, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_booleanLiteral; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterBooleanLiteral) {
+ listener.enterBooleanLiteral(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitBooleanLiteral) {
+ listener.exitBooleanLiteral(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitBooleanLiteral) {
+ return visitor.visitBooleanLiteral(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class DatetimeLiteralContext extends ParserRuleContext {
+ public dateLiteral(): DateLiteralContext | undefined {
+ return this.tryGetRuleContext(0, DateLiteralContext);
+ }
+ public timeLiteral(): TimeLiteralContext | undefined {
+ return this.tryGetRuleContext(0, TimeLiteralContext);
+ }
+ public timestampLiteral(): TimestampLiteralContext | undefined {
+ return this.tryGetRuleContext(0, TimestampLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_datetimeLiteral; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterDatetimeLiteral) {
+ listener.enterDatetimeLiteral(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitDatetimeLiteral) {
+ listener.exitDatetimeLiteral(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitDatetimeLiteral) {
+ return visitor.visitDatetimeLiteral(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class DateLiteralContext extends ParserRuleContext {
+ public _date!: StringLiteralContext;
+ public DATE(): TerminalNode { return this.getToken(OpenSearchPPLParser.DATE, 0); }
+ public stringLiteral(): StringLiteralContext {
+ return this.getRuleContext(0, StringLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_dateLiteral; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterDateLiteral) {
+ listener.enterDateLiteral(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitDateLiteral) {
+ listener.exitDateLiteral(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitDateLiteral) {
+ return visitor.visitDateLiteral(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class TimeLiteralContext extends ParserRuleContext {
+ public _time!: StringLiteralContext;
+ public TIME(): TerminalNode { return this.getToken(OpenSearchPPLParser.TIME, 0); }
+ public stringLiteral(): StringLiteralContext {
+ return this.getRuleContext(0, StringLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_timeLiteral; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterTimeLiteral) {
+ listener.enterTimeLiteral(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitTimeLiteral) {
+ listener.exitTimeLiteral(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitTimeLiteral) {
+ return visitor.visitTimeLiteral(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class TimestampLiteralContext extends ParserRuleContext {
+ public _timestamp!: StringLiteralContext;
+ public TIMESTAMP(): TerminalNode { return this.getToken(OpenSearchPPLParser.TIMESTAMP, 0); }
+ public stringLiteral(): StringLiteralContext {
+ return this.getRuleContext(0, StringLiteralContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_timestampLiteral; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterTimestampLiteral) {
+ listener.enterTimestampLiteral(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitTimestampLiteral) {
+ listener.exitTimestampLiteral(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitTimestampLiteral) {
+ return visitor.visitTimestampLiteral(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class IntervalUnitContext extends ParserRuleContext {
+ public MICROSECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MICROSECOND, 0); }
+ public SECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SECOND, 0); }
+ public MINUTE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MINUTE, 0); }
+ public HOUR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.HOUR, 0); }
+ public DAY(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DAY, 0); }
+ public WEEK(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.WEEK, 0); }
+ public MONTH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MONTH, 0); }
+ public QUARTER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.QUARTER, 0); }
+ public YEAR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.YEAR, 0); }
+ public SECOND_MICROSECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SECOND_MICROSECOND, 0); }
+ public MINUTE_MICROSECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MINUTE_MICROSECOND, 0); }
+ public MINUTE_SECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MINUTE_SECOND, 0); }
+ public HOUR_MICROSECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.HOUR_MICROSECOND, 0); }
+ public HOUR_SECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.HOUR_SECOND, 0); }
+ public HOUR_MINUTE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.HOUR_MINUTE, 0); }
+ public DAY_MICROSECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DAY_MICROSECOND, 0); }
+ public DAY_SECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DAY_SECOND, 0); }
+ public DAY_MINUTE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DAY_MINUTE, 0); }
+ public DAY_HOUR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DAY_HOUR, 0); }
+ public YEAR_MONTH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.YEAR_MONTH, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_intervalUnit; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterIntervalUnit) {
+ listener.enterIntervalUnit(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitIntervalUnit) {
+ listener.exitIntervalUnit(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitIntervalUnit) {
+ return visitor.visitIntervalUnit(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class TimespanUnitContext extends ParserRuleContext {
+ public MS(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MS, 0); }
+ public S(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.S, 0); }
+ public M(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.M, 0); }
+ public H(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.H, 0); }
+ public D(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.D, 0); }
+ public W(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.W, 0); }
+ public Q(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.Q, 0); }
+ public Y(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.Y, 0); }
+ public MILLISECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MILLISECOND, 0); }
+ public SECOND(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SECOND, 0); }
+ public MINUTE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MINUTE, 0); }
+ public HOUR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.HOUR, 0); }
+ public DAY(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DAY, 0); }
+ public WEEK(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.WEEK, 0); }
+ public MONTH(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.MONTH, 0); }
+ public QUARTER(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.QUARTER, 0); }
+ public YEAR(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.YEAR, 0); }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_timespanUnit; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterTimespanUnit) {
+ listener.enterTimespanUnit(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitTimespanUnit) {
+ listener.exitTimespanUnit(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitTimespanUnit) {
+ return visitor.visitTimespanUnit(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class ValueListContext extends ParserRuleContext {
+ public LT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.LT_PRTHS, 0); }
+ public literalValue(): LiteralValueContext[];
+ public literalValue(i: number): LiteralValueContext;
+ public literalValue(i?: number): LiteralValueContext | LiteralValueContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(LiteralValueContext);
+ } else {
+ return this.getRuleContext(i, LiteralValueContext);
+ }
+ }
+ public RT_PRTHS(): TerminalNode { return this.getToken(OpenSearchPPLParser.RT_PRTHS, 0); }
+ public COMMA(): TerminalNode[];
+ public COMMA(i: number): TerminalNode;
+ public COMMA(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.COMMA);
+ } else {
+ return this.getToken(OpenSearchPPLParser.COMMA, i);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_valueList; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterValueList) {
+ listener.enterValueList(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitValueList) {
+ listener.exitValueList(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitValueList) {
+ return visitor.visitValueList(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class QualifiedNameContext extends ParserRuleContext {
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_qualifiedName; }
+ public copyFrom(ctx: QualifiedNameContext): void {
+ super.copyFrom(ctx);
+ }
+}
+export class IdentsAsQualifiedNameContext extends QualifiedNameContext {
+ public ident(): IdentContext[];
+ public ident(i: number): IdentContext;
+ public ident(i?: number): IdentContext | IdentContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(IdentContext);
+ } else {
+ return this.getRuleContext(i, IdentContext);
+ }
+ }
+ public DOT(): TerminalNode[];
+ public DOT(i: number): TerminalNode;
+ public DOT(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.DOT);
+ } else {
+ return this.getToken(OpenSearchPPLParser.DOT, i);
+ }
+ }
+ constructor(ctx: QualifiedNameContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterIdentsAsQualifiedName) {
+ listener.enterIdentsAsQualifiedName(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitIdentsAsQualifiedName) {
+ listener.exitIdentsAsQualifiedName(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitIdentsAsQualifiedName) {
+ return visitor.visitIdentsAsQualifiedName(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class WcQualifiedNameContext extends ParserRuleContext {
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_wcQualifiedName; }
+ public copyFrom(ctx: WcQualifiedNameContext): void {
+ super.copyFrom(ctx);
+ }
+}
+export class IdentsAsWildcardQualifiedNameContext extends WcQualifiedNameContext {
+ public wildcard(): WildcardContext[];
+ public wildcard(i: number): WildcardContext;
+ public wildcard(i?: number): WildcardContext | WildcardContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(WildcardContext);
+ } else {
+ return this.getRuleContext(i, WildcardContext);
+ }
+ }
+ public DOT(): TerminalNode[];
+ public DOT(i: number): TerminalNode;
+ public DOT(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.DOT);
+ } else {
+ return this.getToken(OpenSearchPPLParser.DOT, i);
+ }
+ }
+ constructor(ctx: WcQualifiedNameContext) {
+ super(ctx.parent, ctx.invokingState);
+ this.copyFrom(ctx);
+ }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterIdentsAsWildcardQualifiedName) {
+ listener.enterIdentsAsWildcardQualifiedName(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitIdentsAsWildcardQualifiedName) {
+ listener.exitIdentsAsWildcardQualifiedName(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitIdentsAsWildcardQualifiedName) {
+ return visitor.visitIdentsAsWildcardQualifiedName(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class IdentContext extends ParserRuleContext {
+ public ID(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.ID, 0); }
+ public DOT(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DOT, 0); }
+ public BACKTICK(): TerminalNode[];
+ public BACKTICK(i: number): TerminalNode;
+ public BACKTICK(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.BACKTICK);
+ } else {
+ return this.getToken(OpenSearchPPLParser.BACKTICK, i);
+ }
+ }
+ public ident(): IdentContext | undefined {
+ return this.tryGetRuleContext(0, IdentContext);
+ }
+ public BQUOTA_STRING(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.BQUOTA_STRING, 0); }
+ public keywordsCanBeId(): KeywordsCanBeIdContext | undefined {
+ return this.tryGetRuleContext(0, KeywordsCanBeIdContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_ident; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterIdent) {
+ listener.enterIdent(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitIdent) {
+ listener.exitIdent(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitIdent) {
+ return visitor.visitIdent(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class WildcardContext extends ParserRuleContext {
+ public ident(): IdentContext[];
+ public ident(i: number): IdentContext;
+ public ident(i?: number): IdentContext | IdentContext[] {
+ if (i === undefined) {
+ return this.getRuleContexts(IdentContext);
+ } else {
+ return this.getRuleContext(i, IdentContext);
+ }
+ }
+ public MODULE(): TerminalNode[];
+ public MODULE(i: number): TerminalNode;
+ public MODULE(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.MODULE);
+ } else {
+ return this.getToken(OpenSearchPPLParser.MODULE, i);
+ }
+ }
+ public SINGLE_QUOTE(): TerminalNode[];
+ public SINGLE_QUOTE(i: number): TerminalNode;
+ public SINGLE_QUOTE(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.SINGLE_QUOTE);
+ } else {
+ return this.getToken(OpenSearchPPLParser.SINGLE_QUOTE, i);
+ }
+ }
+ public wildcard(): WildcardContext | undefined {
+ return this.tryGetRuleContext(0, WildcardContext);
+ }
+ public DOUBLE_QUOTE(): TerminalNode[];
+ public DOUBLE_QUOTE(i: number): TerminalNode;
+ public DOUBLE_QUOTE(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.DOUBLE_QUOTE);
+ } else {
+ return this.getToken(OpenSearchPPLParser.DOUBLE_QUOTE, i);
+ }
+ }
+ public BACKTICK(): TerminalNode[];
+ public BACKTICK(i: number): TerminalNode;
+ public BACKTICK(i?: number): TerminalNode | TerminalNode[] {
+ if (i === undefined) {
+ return this.getTokens(OpenSearchPPLParser.BACKTICK);
+ } else {
+ return this.getToken(OpenSearchPPLParser.BACKTICK, i);
+ }
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_wildcard; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterWildcard) {
+ listener.enterWildcard(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitWildcard) {
+ listener.exitWildcard(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitWildcard) {
+ return visitor.visitWildcard(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
+export class KeywordsCanBeIdContext extends ParserRuleContext {
+ public D(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.D, 0); }
+ public statsFunctionName(): StatsFunctionNameContext | undefined {
+ return this.tryGetRuleContext(0, StatsFunctionNameContext);
+ }
+ public TIMESTAMP(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIMESTAMP, 0); }
+ public DATE(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.DATE, 0); }
+ public TIME(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.TIME, 0); }
+ public FIRST(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.FIRST, 0); }
+ public LAST(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.LAST, 0); }
+ public timespanUnit(): TimespanUnitContext | undefined {
+ return this.tryGetRuleContext(0, TimespanUnitContext);
+ }
+ public SPAN(): TerminalNode | undefined { return this.tryGetToken(OpenSearchPPLParser.SPAN, 0); }
+ public constantFunctionName(): ConstantFunctionNameContext | undefined {
+ return this.tryGetRuleContext(0, ConstantFunctionNameContext);
+ }
+ public dateAndTimeFunctionBase(): DateAndTimeFunctionBaseContext | undefined {
+ return this.tryGetRuleContext(0, DateAndTimeFunctionBaseContext);
+ }
+ public textFunctionBase(): TextFunctionBaseContext | undefined {
+ return this.tryGetRuleContext(0, TextFunctionBaseContext);
+ }
+ public mathematicalFunctionBase(): MathematicalFunctionBaseContext | undefined {
+ return this.tryGetRuleContext(0, MathematicalFunctionBaseContext);
+ }
+ constructor(parent: ParserRuleContext | undefined, invokingState: number) {
+ super(parent, invokingState);
+ }
+ // @Override
+ public get ruleIndex(): number { return OpenSearchPPLParser.RULE_keywordsCanBeId; }
+ // @Override
+ public enterRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.enterKeywordsCanBeId) {
+ listener.enterKeywordsCanBeId(this);
+ }
+ }
+ // @Override
+ public exitRule(listener: OpenSearchPPLParserListener): void {
+ if (listener.exitKeywordsCanBeId) {
+ listener.exitKeywordsCanBeId(this);
+ }
+ }
+ // @Override
+ public accept(visitor: OpenSearchPPLParserVisitor): Result {
+ if (visitor.visitKeywordsCanBeId) {
+ return visitor.visitKeywordsCanBeId(this);
+ } else {
+ return visitor.visitChildren(this);
+ }
+ }
+}
+
+
diff --git a/common/query_manager/antlr/output/OpenSearchPPLParserListener.ts b/common/query_manager/antlr/output/OpenSearchPPLParserListener.ts
new file mode 100644
index 0000000000..c5a00ad0f0
--- /dev/null
+++ b/common/query_manager/antlr/output/OpenSearchPPLParserListener.ts
@@ -0,0 +1,1557 @@
+// Generated from ./common/query_manager/antlr/grammar/OpenSearchPPLParser.g4 by ANTLR 4.9.0-SNAPSHOT
+
+
+import { ParseTreeListener } from "antlr4ts/tree/ParseTreeListener";
+
+import { BinaryArithmeticContext } from "./OpenSearchPPLParser";
+import { ParentheticBinaryArithmeticContext } from "./OpenSearchPPLParser";
+import { ValueExpressionDefaultContext } from "./OpenSearchPPLParser";
+import { CompareExprContext } from "./OpenSearchPPLParser";
+import { InExprContext } from "./OpenSearchPPLParser";
+import { IdentsAsWildcardQualifiedNameContext } from "./OpenSearchPPLParser";
+import { SearchFromContext } from "./OpenSearchPPLParser";
+import { SearchFromFilterContext } from "./OpenSearchPPLParser";
+import { SearchFilterFromContext } from "./OpenSearchPPLParser";
+import { StatsFunctionCallContext } from "./OpenSearchPPLParser";
+import { CountAllFunctionCallContext } from "./OpenSearchPPLParser";
+import { DistinctCountFunctionCallContext } from "./OpenSearchPPLParser";
+import { PercentileAggFunctionCallContext } from "./OpenSearchPPLParser";
+import { TakeAggFunctionCallContext } from "./OpenSearchPPLParser";
+import { IdentsAsQualifiedNameContext } from "./OpenSearchPPLParser";
+import { ComparsionContext } from "./OpenSearchPPLParser";
+import { LogicalNotContext } from "./OpenSearchPPLParser";
+import { LogicalOrContext } from "./OpenSearchPPLParser";
+import { LogicalAndContext } from "./OpenSearchPPLParser";
+import { LogicalXorContext } from "./OpenSearchPPLParser";
+import { BooleanExprContext } from "./OpenSearchPPLParser";
+import { RelevanceExprContext } from "./OpenSearchPPLParser";
+import { RootContext } from "./OpenSearchPPLParser";
+import { PplStatementContext } from "./OpenSearchPPLParser";
+import { PplCommandsContext } from "./OpenSearchPPLParser";
+import { CommandsContext } from "./OpenSearchPPLParser";
+import { SearchCommandContext } from "./OpenSearchPPLParser";
+import { DescribeCommandContext } from "./OpenSearchPPLParser";
+import { ShowCatalogsCommandContext } from "./OpenSearchPPLParser";
+import { WhereCommandContext } from "./OpenSearchPPLParser";
+import { FieldsCommandContext } from "./OpenSearchPPLParser";
+import { RenameCommandContext } from "./OpenSearchPPLParser";
+import { StatsCommandContext } from "./OpenSearchPPLParser";
+import { DedupCommandContext } from "./OpenSearchPPLParser";
+import { SortCommandContext } from "./OpenSearchPPLParser";
+import { EvalCommandContext } from "./OpenSearchPPLParser";
+import { HeadCommandContext } from "./OpenSearchPPLParser";
+import { TopCommandContext } from "./OpenSearchPPLParser";
+import { RareCommandContext } from "./OpenSearchPPLParser";
+import { GrokCommandContext } from "./OpenSearchPPLParser";
+import { ParseCommandContext } from "./OpenSearchPPLParser";
+import { PatternsCommandContext } from "./OpenSearchPPLParser";
+import { PatternsParameterContext } from "./OpenSearchPPLParser";
+import { PatternsMethodContext } from "./OpenSearchPPLParser";
+import { KmeansCommandContext } from "./OpenSearchPPLParser";
+import { KmeansParameterContext } from "./OpenSearchPPLParser";
+import { AdCommandContext } from "./OpenSearchPPLParser";
+import { AdParameterContext } from "./OpenSearchPPLParser";
+import { MlCommandContext } from "./OpenSearchPPLParser";
+import { MlArgContext } from "./OpenSearchPPLParser";
+import { FromClauseContext } from "./OpenSearchPPLParser";
+import { TableSourceClauseContext } from "./OpenSearchPPLParser";
+import { RenameClasueContext } from "./OpenSearchPPLParser";
+import { ByClauseContext } from "./OpenSearchPPLParser";
+import { StatsByClauseContext } from "./OpenSearchPPLParser";
+import { BySpanClauseContext } from "./OpenSearchPPLParser";
+import { SpanClauseContext } from "./OpenSearchPPLParser";
+import { SortbyClauseContext } from "./OpenSearchPPLParser";
+import { EvalClauseContext } from "./OpenSearchPPLParser";
+import { StatsAggTermContext } from "./OpenSearchPPLParser";
+import { StatsFunctionContext } from "./OpenSearchPPLParser";
+import { StatsFunctionNameContext } from "./OpenSearchPPLParser";
+import { TakeAggFunctionContext } from "./OpenSearchPPLParser";
+import { PercentileAggFunctionContext } from "./OpenSearchPPLParser";
+import { ExpressionContext } from "./OpenSearchPPLParser";
+import { LogicalExpressionContext } from "./OpenSearchPPLParser";
+import { ComparisonExpressionContext } from "./OpenSearchPPLParser";
+import { ValueExpressionContext } from "./OpenSearchPPLParser";
+import { PrimaryExpressionContext } from "./OpenSearchPPLParser";
+import { ConstantFunctionContext } from "./OpenSearchPPLParser";
+import { BooleanExpressionContext } from "./OpenSearchPPLParser";
+import { RelevanceExpressionContext } from "./OpenSearchPPLParser";
+import { SingleFieldRelevanceFunctionContext } from "./OpenSearchPPLParser";
+import { MultiFieldRelevanceFunctionContext } from "./OpenSearchPPLParser";
+import { TableSourceContext } from "./OpenSearchPPLParser";
+import { TableFunctionContext } from "./OpenSearchPPLParser";
+import { FieldListContext } from "./OpenSearchPPLParser";
+import { WcFieldListContext } from "./OpenSearchPPLParser";
+import { SortFieldContext } from "./OpenSearchPPLParser";
+import { SortFieldExpressionContext } from "./OpenSearchPPLParser";
+import { FieldExpressionContext } from "./OpenSearchPPLParser";
+import { WcFieldExpressionContext } from "./OpenSearchPPLParser";
+import { EvalFunctionCallContext } from "./OpenSearchPPLParser";
+import { DataTypeFunctionCallContext } from "./OpenSearchPPLParser";
+import { BooleanFunctionCallContext } from "./OpenSearchPPLParser";
+import { ConvertedDataTypeContext } from "./OpenSearchPPLParser";
+import { EvalFunctionNameContext } from "./OpenSearchPPLParser";
+import { FunctionArgsContext } from "./OpenSearchPPLParser";
+import { FunctionArgContext } from "./OpenSearchPPLParser";
+import { RelevanceArgContext } from "./OpenSearchPPLParser";
+import { RelevanceArgNameContext } from "./OpenSearchPPLParser";
+import { RelevanceFieldAndWeightContext } from "./OpenSearchPPLParser";
+import { RelevanceFieldWeightContext } from "./OpenSearchPPLParser";
+import { RelevanceFieldContext } from "./OpenSearchPPLParser";
+import { RelevanceQueryContext } from "./OpenSearchPPLParser";
+import { RelevanceArgValueContext } from "./OpenSearchPPLParser";
+import { MathematicalFunctionBaseContext } from "./OpenSearchPPLParser";
+import { TrigonometricFunctionNameContext } from "./OpenSearchPPLParser";
+import { DateAndTimeFunctionBaseContext } from "./OpenSearchPPLParser";
+import { ConstantFunctionNameContext } from "./OpenSearchPPLParser";
+import { ConditionFunctionBaseContext } from "./OpenSearchPPLParser";
+import { SystemFunctionBaseContext } from "./OpenSearchPPLParser";
+import { TextFunctionBaseContext } from "./OpenSearchPPLParser";
+import { ComparisonOperatorContext } from "./OpenSearchPPLParser";
+import { BinaryOperatorContext } from "./OpenSearchPPLParser";
+import { SingleFieldRelevanceFunctionNameContext } from "./OpenSearchPPLParser";
+import { MultiFieldRelevanceFunctionNameContext } from "./OpenSearchPPLParser";
+import { LiteralValueContext } from "./OpenSearchPPLParser";
+import { IntervalLiteralContext } from "./OpenSearchPPLParser";
+import { StringLiteralContext } from "./OpenSearchPPLParser";
+import { IntegerLiteralContext } from "./OpenSearchPPLParser";
+import { DecimalLiteralContext } from "./OpenSearchPPLParser";
+import { BooleanLiteralContext } from "./OpenSearchPPLParser";
+import { DatetimeLiteralContext } from "./OpenSearchPPLParser";
+import { DateLiteralContext } from "./OpenSearchPPLParser";
+import { TimeLiteralContext } from "./OpenSearchPPLParser";
+import { TimestampLiteralContext } from "./OpenSearchPPLParser";
+import { IntervalUnitContext } from "./OpenSearchPPLParser";
+import { TimespanUnitContext } from "./OpenSearchPPLParser";
+import { ValueListContext } from "./OpenSearchPPLParser";
+import { QualifiedNameContext } from "./OpenSearchPPLParser";
+import { WcQualifiedNameContext } from "./OpenSearchPPLParser";
+import { IdentContext } from "./OpenSearchPPLParser";
+import { WildcardContext } from "./OpenSearchPPLParser";
+import { KeywordsCanBeIdContext } from "./OpenSearchPPLParser";
+
+
+/**
+ * This interface defines a complete listener for a parse tree produced by
+ * `OpenSearchPPLParser`.
+ */
+export interface OpenSearchPPLParserListener extends ParseTreeListener {
+ /**
+ * Enter a parse tree produced by the `binaryArithmetic`
+ * labeled alternative in `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ */
+ enterBinaryArithmetic?: (ctx: BinaryArithmeticContext) => void;
+ /**
+ * Exit a parse tree produced by the `binaryArithmetic`
+ * labeled alternative in `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ */
+ exitBinaryArithmetic?: (ctx: BinaryArithmeticContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `parentheticBinaryArithmetic`
+ * labeled alternative in `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ */
+ enterParentheticBinaryArithmetic?: (ctx: ParentheticBinaryArithmeticContext) => void;
+ /**
+ * Exit a parse tree produced by the `parentheticBinaryArithmetic`
+ * labeled alternative in `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ */
+ exitParentheticBinaryArithmetic?: (ctx: ParentheticBinaryArithmeticContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `valueExpressionDefault`
+ * labeled alternative in `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ */
+ enterValueExpressionDefault?: (ctx: ValueExpressionDefaultContext) => void;
+ /**
+ * Exit a parse tree produced by the `valueExpressionDefault`
+ * labeled alternative in `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ */
+ exitValueExpressionDefault?: (ctx: ValueExpressionDefaultContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `compareExpr`
+ * labeled alternative in `OpenSearchPPLParser.comparisonExpression`.
+ * @param ctx the parse tree
+ */
+ enterCompareExpr?: (ctx: CompareExprContext) => void;
+ /**
+ * Exit a parse tree produced by the `compareExpr`
+ * labeled alternative in `OpenSearchPPLParser.comparisonExpression`.
+ * @param ctx the parse tree
+ */
+ exitCompareExpr?: (ctx: CompareExprContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `inExpr`
+ * labeled alternative in `OpenSearchPPLParser.comparisonExpression`.
+ * @param ctx the parse tree
+ */
+ enterInExpr?: (ctx: InExprContext) => void;
+ /**
+ * Exit a parse tree produced by the `inExpr`
+ * labeled alternative in `OpenSearchPPLParser.comparisonExpression`.
+ * @param ctx the parse tree
+ */
+ exitInExpr?: (ctx: InExprContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `identsAsWildcardQualifiedName`
+ * labeled alternative in `OpenSearchPPLParser.wcQualifiedName`.
+ * @param ctx the parse tree
+ */
+ enterIdentsAsWildcardQualifiedName?: (ctx: IdentsAsWildcardQualifiedNameContext) => void;
+ /**
+ * Exit a parse tree produced by the `identsAsWildcardQualifiedName`
+ * labeled alternative in `OpenSearchPPLParser.wcQualifiedName`.
+ * @param ctx the parse tree
+ */
+ exitIdentsAsWildcardQualifiedName?: (ctx: IdentsAsWildcardQualifiedNameContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `searchFrom`
+ * labeled alternative in `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ */
+ enterSearchFrom?: (ctx: SearchFromContext) => void;
+ /**
+ * Exit a parse tree produced by the `searchFrom`
+ * labeled alternative in `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ */
+ exitSearchFrom?: (ctx: SearchFromContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `searchFromFilter`
+ * labeled alternative in `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ */
+ enterSearchFromFilter?: (ctx: SearchFromFilterContext) => void;
+ /**
+ * Exit a parse tree produced by the `searchFromFilter`
+ * labeled alternative in `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ */
+ exitSearchFromFilter?: (ctx: SearchFromFilterContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `searchFilterFrom`
+ * labeled alternative in `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ */
+ enterSearchFilterFrom?: (ctx: SearchFilterFromContext) => void;
+ /**
+ * Exit a parse tree produced by the `searchFilterFrom`
+ * labeled alternative in `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ */
+ exitSearchFilterFrom?: (ctx: SearchFilterFromContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `statsFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ enterStatsFunctionCall?: (ctx: StatsFunctionCallContext) => void;
+ /**
+ * Exit a parse tree produced by the `statsFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ exitStatsFunctionCall?: (ctx: StatsFunctionCallContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `countAllFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ enterCountAllFunctionCall?: (ctx: CountAllFunctionCallContext) => void;
+ /**
+ * Exit a parse tree produced by the `countAllFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ exitCountAllFunctionCall?: (ctx: CountAllFunctionCallContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `distinctCountFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ enterDistinctCountFunctionCall?: (ctx: DistinctCountFunctionCallContext) => void;
+ /**
+ * Exit a parse tree produced by the `distinctCountFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ exitDistinctCountFunctionCall?: (ctx: DistinctCountFunctionCallContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `percentileAggFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ enterPercentileAggFunctionCall?: (ctx: PercentileAggFunctionCallContext) => void;
+ /**
+ * Exit a parse tree produced by the `percentileAggFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ exitPercentileAggFunctionCall?: (ctx: PercentileAggFunctionCallContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `takeAggFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ enterTakeAggFunctionCall?: (ctx: TakeAggFunctionCallContext) => void;
+ /**
+ * Exit a parse tree produced by the `takeAggFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ exitTakeAggFunctionCall?: (ctx: TakeAggFunctionCallContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `identsAsQualifiedName`
+ * labeled alternative in `OpenSearchPPLParser.qualifiedName`.
+ * @param ctx the parse tree
+ */
+ enterIdentsAsQualifiedName?: (ctx: IdentsAsQualifiedNameContext) => void;
+ /**
+ * Exit a parse tree produced by the `identsAsQualifiedName`
+ * labeled alternative in `OpenSearchPPLParser.qualifiedName`.
+ * @param ctx the parse tree
+ */
+ exitIdentsAsQualifiedName?: (ctx: IdentsAsQualifiedNameContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `comparsion`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ enterComparsion?: (ctx: ComparsionContext) => void;
+ /**
+ * Exit a parse tree produced by the `comparsion`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ exitComparsion?: (ctx: ComparsionContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `logicalNot`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ enterLogicalNot?: (ctx: LogicalNotContext) => void;
+ /**
+ * Exit a parse tree produced by the `logicalNot`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ exitLogicalNot?: (ctx: LogicalNotContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `logicalOr`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ enterLogicalOr?: (ctx: LogicalOrContext) => void;
+ /**
+ * Exit a parse tree produced by the `logicalOr`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ exitLogicalOr?: (ctx: LogicalOrContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `logicalAnd`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ enterLogicalAnd?: (ctx: LogicalAndContext) => void;
+ /**
+ * Exit a parse tree produced by the `logicalAnd`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ exitLogicalAnd?: (ctx: LogicalAndContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `logicalXor`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ enterLogicalXor?: (ctx: LogicalXorContext) => void;
+ /**
+ * Exit a parse tree produced by the `logicalXor`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ exitLogicalXor?: (ctx: LogicalXorContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `booleanExpr`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ enterBooleanExpr?: (ctx: BooleanExprContext) => void;
+ /**
+ * Exit a parse tree produced by the `booleanExpr`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ exitBooleanExpr?: (ctx: BooleanExprContext) => void;
+
+ /**
+ * Enter a parse tree produced by the `relevanceExpr`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ enterRelevanceExpr?: (ctx: RelevanceExprContext) => void;
+ /**
+ * Exit a parse tree produced by the `relevanceExpr`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ exitRelevanceExpr?: (ctx: RelevanceExprContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.root`.
+ * @param ctx the parse tree
+ */
+ enterRoot?: (ctx: RootContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.root`.
+ * @param ctx the parse tree
+ */
+ exitRoot?: (ctx: RootContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.pplStatement`.
+ * @param ctx the parse tree
+ */
+ enterPplStatement?: (ctx: PplStatementContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.pplStatement`.
+ * @param ctx the parse tree
+ */
+ exitPplStatement?: (ctx: PplStatementContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.pplCommands`.
+ * @param ctx the parse tree
+ */
+ enterPplCommands?: (ctx: PplCommandsContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.pplCommands`.
+ * @param ctx the parse tree
+ */
+ exitPplCommands?: (ctx: PplCommandsContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.commands`.
+ * @param ctx the parse tree
+ */
+ enterCommands?: (ctx: CommandsContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.commands`.
+ * @param ctx the parse tree
+ */
+ exitCommands?: (ctx: CommandsContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ */
+ enterSearchCommand?: (ctx: SearchCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ */
+ exitSearchCommand?: (ctx: SearchCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.describeCommand`.
+ * @param ctx the parse tree
+ */
+ enterDescribeCommand?: (ctx: DescribeCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.describeCommand`.
+ * @param ctx the parse tree
+ */
+ exitDescribeCommand?: (ctx: DescribeCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.showCatalogsCommand`.
+ * @param ctx the parse tree
+ */
+ enterShowCatalogsCommand?: (ctx: ShowCatalogsCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.showCatalogsCommand`.
+ * @param ctx the parse tree
+ */
+ exitShowCatalogsCommand?: (ctx: ShowCatalogsCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.whereCommand`.
+ * @param ctx the parse tree
+ */
+ enterWhereCommand?: (ctx: WhereCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.whereCommand`.
+ * @param ctx the parse tree
+ */
+ exitWhereCommand?: (ctx: WhereCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.fieldsCommand`.
+ * @param ctx the parse tree
+ */
+ enterFieldsCommand?: (ctx: FieldsCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.fieldsCommand`.
+ * @param ctx the parse tree
+ */
+ exitFieldsCommand?: (ctx: FieldsCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.renameCommand`.
+ * @param ctx the parse tree
+ */
+ enterRenameCommand?: (ctx: RenameCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.renameCommand`.
+ * @param ctx the parse tree
+ */
+ exitRenameCommand?: (ctx: RenameCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.statsCommand`.
+ * @param ctx the parse tree
+ */
+ enterStatsCommand?: (ctx: StatsCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.statsCommand`.
+ * @param ctx the parse tree
+ */
+ exitStatsCommand?: (ctx: StatsCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.dedupCommand`.
+ * @param ctx the parse tree
+ */
+ enterDedupCommand?: (ctx: DedupCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.dedupCommand`.
+ * @param ctx the parse tree
+ */
+ exitDedupCommand?: (ctx: DedupCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.sortCommand`.
+ * @param ctx the parse tree
+ */
+ enterSortCommand?: (ctx: SortCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.sortCommand`.
+ * @param ctx the parse tree
+ */
+ exitSortCommand?: (ctx: SortCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.evalCommand`.
+ * @param ctx the parse tree
+ */
+ enterEvalCommand?: (ctx: EvalCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.evalCommand`.
+ * @param ctx the parse tree
+ */
+ exitEvalCommand?: (ctx: EvalCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.headCommand`.
+ * @param ctx the parse tree
+ */
+ enterHeadCommand?: (ctx: HeadCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.headCommand`.
+ * @param ctx the parse tree
+ */
+ exitHeadCommand?: (ctx: HeadCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.topCommand`.
+ * @param ctx the parse tree
+ */
+ enterTopCommand?: (ctx: TopCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.topCommand`.
+ * @param ctx the parse tree
+ */
+ exitTopCommand?: (ctx: TopCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.rareCommand`.
+ * @param ctx the parse tree
+ */
+ enterRareCommand?: (ctx: RareCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.rareCommand`.
+ * @param ctx the parse tree
+ */
+ exitRareCommand?: (ctx: RareCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.grokCommand`.
+ * @param ctx the parse tree
+ */
+ enterGrokCommand?: (ctx: GrokCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.grokCommand`.
+ * @param ctx the parse tree
+ */
+ exitGrokCommand?: (ctx: GrokCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.parseCommand`.
+ * @param ctx the parse tree
+ */
+ enterParseCommand?: (ctx: ParseCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.parseCommand`.
+ * @param ctx the parse tree
+ */
+ exitParseCommand?: (ctx: ParseCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.patternsCommand`.
+ * @param ctx the parse tree
+ */
+ enterPatternsCommand?: (ctx: PatternsCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.patternsCommand`.
+ * @param ctx the parse tree
+ */
+ exitPatternsCommand?: (ctx: PatternsCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.patternsParameter`.
+ * @param ctx the parse tree
+ */
+ enterPatternsParameter?: (ctx: PatternsParameterContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.patternsParameter`.
+ * @param ctx the parse tree
+ */
+ exitPatternsParameter?: (ctx: PatternsParameterContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.patternsMethod`.
+ * @param ctx the parse tree
+ */
+ enterPatternsMethod?: (ctx: PatternsMethodContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.patternsMethod`.
+ * @param ctx the parse tree
+ */
+ exitPatternsMethod?: (ctx: PatternsMethodContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.kmeansCommand`.
+ * @param ctx the parse tree
+ */
+ enterKmeansCommand?: (ctx: KmeansCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.kmeansCommand`.
+ * @param ctx the parse tree
+ */
+ exitKmeansCommand?: (ctx: KmeansCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.kmeansParameter`.
+ * @param ctx the parse tree
+ */
+ enterKmeansParameter?: (ctx: KmeansParameterContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.kmeansParameter`.
+ * @param ctx the parse tree
+ */
+ exitKmeansParameter?: (ctx: KmeansParameterContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.adCommand`.
+ * @param ctx the parse tree
+ */
+ enterAdCommand?: (ctx: AdCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.adCommand`.
+ * @param ctx the parse tree
+ */
+ exitAdCommand?: (ctx: AdCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.adParameter`.
+ * @param ctx the parse tree
+ */
+ enterAdParameter?: (ctx: AdParameterContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.adParameter`.
+ * @param ctx the parse tree
+ */
+ exitAdParameter?: (ctx: AdParameterContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.mlCommand`.
+ * @param ctx the parse tree
+ */
+ enterMlCommand?: (ctx: MlCommandContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.mlCommand`.
+ * @param ctx the parse tree
+ */
+ exitMlCommand?: (ctx: MlCommandContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.mlArg`.
+ * @param ctx the parse tree
+ */
+ enterMlArg?: (ctx: MlArgContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.mlArg`.
+ * @param ctx the parse tree
+ */
+ exitMlArg?: (ctx: MlArgContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.fromClause`.
+ * @param ctx the parse tree
+ */
+ enterFromClause?: (ctx: FromClauseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.fromClause`.
+ * @param ctx the parse tree
+ */
+ exitFromClause?: (ctx: FromClauseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.tableSourceClause`.
+ * @param ctx the parse tree
+ */
+ enterTableSourceClause?: (ctx: TableSourceClauseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.tableSourceClause`.
+ * @param ctx the parse tree
+ */
+ exitTableSourceClause?: (ctx: TableSourceClauseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.renameClasue`.
+ * @param ctx the parse tree
+ */
+ enterRenameClasue?: (ctx: RenameClasueContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.renameClasue`.
+ * @param ctx the parse tree
+ */
+ exitRenameClasue?: (ctx: RenameClasueContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.byClause`.
+ * @param ctx the parse tree
+ */
+ enterByClause?: (ctx: ByClauseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.byClause`.
+ * @param ctx the parse tree
+ */
+ exitByClause?: (ctx: ByClauseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.statsByClause`.
+ * @param ctx the parse tree
+ */
+ enterStatsByClause?: (ctx: StatsByClauseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.statsByClause`.
+ * @param ctx the parse tree
+ */
+ exitStatsByClause?: (ctx: StatsByClauseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.bySpanClause`.
+ * @param ctx the parse tree
+ */
+ enterBySpanClause?: (ctx: BySpanClauseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.bySpanClause`.
+ * @param ctx the parse tree
+ */
+ exitBySpanClause?: (ctx: BySpanClauseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.spanClause`.
+ * @param ctx the parse tree
+ */
+ enterSpanClause?: (ctx: SpanClauseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.spanClause`.
+ * @param ctx the parse tree
+ */
+ exitSpanClause?: (ctx: SpanClauseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.sortbyClause`.
+ * @param ctx the parse tree
+ */
+ enterSortbyClause?: (ctx: SortbyClauseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.sortbyClause`.
+ * @param ctx the parse tree
+ */
+ exitSortbyClause?: (ctx: SortbyClauseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.evalClause`.
+ * @param ctx the parse tree
+ */
+ enterEvalClause?: (ctx: EvalClauseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.evalClause`.
+ * @param ctx the parse tree
+ */
+ exitEvalClause?: (ctx: EvalClauseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.statsAggTerm`.
+ * @param ctx the parse tree
+ */
+ enterStatsAggTerm?: (ctx: StatsAggTermContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.statsAggTerm`.
+ * @param ctx the parse tree
+ */
+ exitStatsAggTerm?: (ctx: StatsAggTermContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ enterStatsFunction?: (ctx: StatsFunctionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ */
+ exitStatsFunction?: (ctx: StatsFunctionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.statsFunctionName`.
+ * @param ctx the parse tree
+ */
+ enterStatsFunctionName?: (ctx: StatsFunctionNameContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.statsFunctionName`.
+ * @param ctx the parse tree
+ */
+ exitStatsFunctionName?: (ctx: StatsFunctionNameContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.takeAggFunction`.
+ * @param ctx the parse tree
+ */
+ enterTakeAggFunction?: (ctx: TakeAggFunctionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.takeAggFunction`.
+ * @param ctx the parse tree
+ */
+ exitTakeAggFunction?: (ctx: TakeAggFunctionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.percentileAggFunction`.
+ * @param ctx the parse tree
+ */
+ enterPercentileAggFunction?: (ctx: PercentileAggFunctionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.percentileAggFunction`.
+ * @param ctx the parse tree
+ */
+ exitPercentileAggFunction?: (ctx: PercentileAggFunctionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.expression`.
+ * @param ctx the parse tree
+ */
+ enterExpression?: (ctx: ExpressionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.expression`.
+ * @param ctx the parse tree
+ */
+ exitExpression?: (ctx: ExpressionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ enterLogicalExpression?: (ctx: LogicalExpressionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ */
+ exitLogicalExpression?: (ctx: LogicalExpressionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.comparisonExpression`.
+ * @param ctx the parse tree
+ */
+ enterComparisonExpression?: (ctx: ComparisonExpressionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.comparisonExpression`.
+ * @param ctx the parse tree
+ */
+ exitComparisonExpression?: (ctx: ComparisonExpressionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ */
+ enterValueExpression?: (ctx: ValueExpressionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ */
+ exitValueExpression?: (ctx: ValueExpressionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.primaryExpression`.
+ * @param ctx the parse tree
+ */
+ enterPrimaryExpression?: (ctx: PrimaryExpressionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.primaryExpression`.
+ * @param ctx the parse tree
+ */
+ exitPrimaryExpression?: (ctx: PrimaryExpressionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.constantFunction`.
+ * @param ctx the parse tree
+ */
+ enterConstantFunction?: (ctx: ConstantFunctionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.constantFunction`.
+ * @param ctx the parse tree
+ */
+ exitConstantFunction?: (ctx: ConstantFunctionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.booleanExpression`.
+ * @param ctx the parse tree
+ */
+ enterBooleanExpression?: (ctx: BooleanExpressionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.booleanExpression`.
+ * @param ctx the parse tree
+ */
+ exitBooleanExpression?: (ctx: BooleanExpressionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.relevanceExpression`.
+ * @param ctx the parse tree
+ */
+ enterRelevanceExpression?: (ctx: RelevanceExpressionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.relevanceExpression`.
+ * @param ctx the parse tree
+ */
+ exitRelevanceExpression?: (ctx: RelevanceExpressionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.singleFieldRelevanceFunction`.
+ * @param ctx the parse tree
+ */
+ enterSingleFieldRelevanceFunction?: (ctx: SingleFieldRelevanceFunctionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.singleFieldRelevanceFunction`.
+ * @param ctx the parse tree
+ */
+ exitSingleFieldRelevanceFunction?: (ctx: SingleFieldRelevanceFunctionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.multiFieldRelevanceFunction`.
+ * @param ctx the parse tree
+ */
+ enterMultiFieldRelevanceFunction?: (ctx: MultiFieldRelevanceFunctionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.multiFieldRelevanceFunction`.
+ * @param ctx the parse tree
+ */
+ exitMultiFieldRelevanceFunction?: (ctx: MultiFieldRelevanceFunctionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.tableSource`.
+ * @param ctx the parse tree
+ */
+ enterTableSource?: (ctx: TableSourceContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.tableSource`.
+ * @param ctx the parse tree
+ */
+ exitTableSource?: (ctx: TableSourceContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.tableFunction`.
+ * @param ctx the parse tree
+ */
+ enterTableFunction?: (ctx: TableFunctionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.tableFunction`.
+ * @param ctx the parse tree
+ */
+ exitTableFunction?: (ctx: TableFunctionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.fieldList`.
+ * @param ctx the parse tree
+ */
+ enterFieldList?: (ctx: FieldListContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.fieldList`.
+ * @param ctx the parse tree
+ */
+ exitFieldList?: (ctx: FieldListContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.wcFieldList`.
+ * @param ctx the parse tree
+ */
+ enterWcFieldList?: (ctx: WcFieldListContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.wcFieldList`.
+ * @param ctx the parse tree
+ */
+ exitWcFieldList?: (ctx: WcFieldListContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.sortField`.
+ * @param ctx the parse tree
+ */
+ enterSortField?: (ctx: SortFieldContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.sortField`.
+ * @param ctx the parse tree
+ */
+ exitSortField?: (ctx: SortFieldContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.sortFieldExpression`.
+ * @param ctx the parse tree
+ */
+ enterSortFieldExpression?: (ctx: SortFieldExpressionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.sortFieldExpression`.
+ * @param ctx the parse tree
+ */
+ exitSortFieldExpression?: (ctx: SortFieldExpressionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.fieldExpression`.
+ * @param ctx the parse tree
+ */
+ enterFieldExpression?: (ctx: FieldExpressionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.fieldExpression`.
+ * @param ctx the parse tree
+ */
+ exitFieldExpression?: (ctx: FieldExpressionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.wcFieldExpression`.
+ * @param ctx the parse tree
+ */
+ enterWcFieldExpression?: (ctx: WcFieldExpressionContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.wcFieldExpression`.
+ * @param ctx the parse tree
+ */
+ exitWcFieldExpression?: (ctx: WcFieldExpressionContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.evalFunctionCall`.
+ * @param ctx the parse tree
+ */
+ enterEvalFunctionCall?: (ctx: EvalFunctionCallContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.evalFunctionCall`.
+ * @param ctx the parse tree
+ */
+ exitEvalFunctionCall?: (ctx: EvalFunctionCallContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.dataTypeFunctionCall`.
+ * @param ctx the parse tree
+ */
+ enterDataTypeFunctionCall?: (ctx: DataTypeFunctionCallContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.dataTypeFunctionCall`.
+ * @param ctx the parse tree
+ */
+ exitDataTypeFunctionCall?: (ctx: DataTypeFunctionCallContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.booleanFunctionCall`.
+ * @param ctx the parse tree
+ */
+ enterBooleanFunctionCall?: (ctx: BooleanFunctionCallContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.booleanFunctionCall`.
+ * @param ctx the parse tree
+ */
+ exitBooleanFunctionCall?: (ctx: BooleanFunctionCallContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.convertedDataType`.
+ * @param ctx the parse tree
+ */
+ enterConvertedDataType?: (ctx: ConvertedDataTypeContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.convertedDataType`.
+ * @param ctx the parse tree
+ */
+ exitConvertedDataType?: (ctx: ConvertedDataTypeContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.evalFunctionName`.
+ * @param ctx the parse tree
+ */
+ enterEvalFunctionName?: (ctx: EvalFunctionNameContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.evalFunctionName`.
+ * @param ctx the parse tree
+ */
+ exitEvalFunctionName?: (ctx: EvalFunctionNameContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.functionArgs`.
+ * @param ctx the parse tree
+ */
+ enterFunctionArgs?: (ctx: FunctionArgsContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.functionArgs`.
+ * @param ctx the parse tree
+ */
+ exitFunctionArgs?: (ctx: FunctionArgsContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.functionArg`.
+ * @param ctx the parse tree
+ */
+ enterFunctionArg?: (ctx: FunctionArgContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.functionArg`.
+ * @param ctx the parse tree
+ */
+ exitFunctionArg?: (ctx: FunctionArgContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.relevanceArg`.
+ * @param ctx the parse tree
+ */
+ enterRelevanceArg?: (ctx: RelevanceArgContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.relevanceArg`.
+ * @param ctx the parse tree
+ */
+ exitRelevanceArg?: (ctx: RelevanceArgContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.relevanceArgName`.
+ * @param ctx the parse tree
+ */
+ enterRelevanceArgName?: (ctx: RelevanceArgNameContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.relevanceArgName`.
+ * @param ctx the parse tree
+ */
+ exitRelevanceArgName?: (ctx: RelevanceArgNameContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.relevanceFieldAndWeight`.
+ * @param ctx the parse tree
+ */
+ enterRelevanceFieldAndWeight?: (ctx: RelevanceFieldAndWeightContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.relevanceFieldAndWeight`.
+ * @param ctx the parse tree
+ */
+ exitRelevanceFieldAndWeight?: (ctx: RelevanceFieldAndWeightContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.relevanceFieldWeight`.
+ * @param ctx the parse tree
+ */
+ enterRelevanceFieldWeight?: (ctx: RelevanceFieldWeightContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.relevanceFieldWeight`.
+ * @param ctx the parse tree
+ */
+ exitRelevanceFieldWeight?: (ctx: RelevanceFieldWeightContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.relevanceField`.
+ * @param ctx the parse tree
+ */
+ enterRelevanceField?: (ctx: RelevanceFieldContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.relevanceField`.
+ * @param ctx the parse tree
+ */
+ exitRelevanceField?: (ctx: RelevanceFieldContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.relevanceQuery`.
+ * @param ctx the parse tree
+ */
+ enterRelevanceQuery?: (ctx: RelevanceQueryContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.relevanceQuery`.
+ * @param ctx the parse tree
+ */
+ exitRelevanceQuery?: (ctx: RelevanceQueryContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.relevanceArgValue`.
+ * @param ctx the parse tree
+ */
+ enterRelevanceArgValue?: (ctx: RelevanceArgValueContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.relevanceArgValue`.
+ * @param ctx the parse tree
+ */
+ exitRelevanceArgValue?: (ctx: RelevanceArgValueContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.mathematicalFunctionBase`.
+ * @param ctx the parse tree
+ */
+ enterMathematicalFunctionBase?: (ctx: MathematicalFunctionBaseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.mathematicalFunctionBase`.
+ * @param ctx the parse tree
+ */
+ exitMathematicalFunctionBase?: (ctx: MathematicalFunctionBaseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.trigonometricFunctionName`.
+ * @param ctx the parse tree
+ */
+ enterTrigonometricFunctionName?: (ctx: TrigonometricFunctionNameContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.trigonometricFunctionName`.
+ * @param ctx the parse tree
+ */
+ exitTrigonometricFunctionName?: (ctx: TrigonometricFunctionNameContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.dateAndTimeFunctionBase`.
+ * @param ctx the parse tree
+ */
+ enterDateAndTimeFunctionBase?: (ctx: DateAndTimeFunctionBaseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.dateAndTimeFunctionBase`.
+ * @param ctx the parse tree
+ */
+ exitDateAndTimeFunctionBase?: (ctx: DateAndTimeFunctionBaseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.constantFunctionName`.
+ * @param ctx the parse tree
+ */
+ enterConstantFunctionName?: (ctx: ConstantFunctionNameContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.constantFunctionName`.
+ * @param ctx the parse tree
+ */
+ exitConstantFunctionName?: (ctx: ConstantFunctionNameContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.conditionFunctionBase`.
+ * @param ctx the parse tree
+ */
+ enterConditionFunctionBase?: (ctx: ConditionFunctionBaseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.conditionFunctionBase`.
+ * @param ctx the parse tree
+ */
+ exitConditionFunctionBase?: (ctx: ConditionFunctionBaseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.systemFunctionBase`.
+ * @param ctx the parse tree
+ */
+ enterSystemFunctionBase?: (ctx: SystemFunctionBaseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.systemFunctionBase`.
+ * @param ctx the parse tree
+ */
+ exitSystemFunctionBase?: (ctx: SystemFunctionBaseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.textFunctionBase`.
+ * @param ctx the parse tree
+ */
+ enterTextFunctionBase?: (ctx: TextFunctionBaseContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.textFunctionBase`.
+ * @param ctx the parse tree
+ */
+ exitTextFunctionBase?: (ctx: TextFunctionBaseContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.comparisonOperator`.
+ * @param ctx the parse tree
+ */
+ enterComparisonOperator?: (ctx: ComparisonOperatorContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.comparisonOperator`.
+ * @param ctx the parse tree
+ */
+ exitComparisonOperator?: (ctx: ComparisonOperatorContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.binaryOperator`.
+ * @param ctx the parse tree
+ */
+ enterBinaryOperator?: (ctx: BinaryOperatorContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.binaryOperator`.
+ * @param ctx the parse tree
+ */
+ exitBinaryOperator?: (ctx: BinaryOperatorContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.singleFieldRelevanceFunctionName`.
+ * @param ctx the parse tree
+ */
+ enterSingleFieldRelevanceFunctionName?: (ctx: SingleFieldRelevanceFunctionNameContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.singleFieldRelevanceFunctionName`.
+ * @param ctx the parse tree
+ */
+ exitSingleFieldRelevanceFunctionName?: (ctx: SingleFieldRelevanceFunctionNameContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.multiFieldRelevanceFunctionName`.
+ * @param ctx the parse tree
+ */
+ enterMultiFieldRelevanceFunctionName?: (ctx: MultiFieldRelevanceFunctionNameContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.multiFieldRelevanceFunctionName`.
+ * @param ctx the parse tree
+ */
+ exitMultiFieldRelevanceFunctionName?: (ctx: MultiFieldRelevanceFunctionNameContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.literalValue`.
+ * @param ctx the parse tree
+ */
+ enterLiteralValue?: (ctx: LiteralValueContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.literalValue`.
+ * @param ctx the parse tree
+ */
+ exitLiteralValue?: (ctx: LiteralValueContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.intervalLiteral`.
+ * @param ctx the parse tree
+ */
+ enterIntervalLiteral?: (ctx: IntervalLiteralContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.intervalLiteral`.
+ * @param ctx the parse tree
+ */
+ exitIntervalLiteral?: (ctx: IntervalLiteralContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.stringLiteral`.
+ * @param ctx the parse tree
+ */
+ enterStringLiteral?: (ctx: StringLiteralContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.stringLiteral`.
+ * @param ctx the parse tree
+ */
+ exitStringLiteral?: (ctx: StringLiteralContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.integerLiteral`.
+ * @param ctx the parse tree
+ */
+ enterIntegerLiteral?: (ctx: IntegerLiteralContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.integerLiteral`.
+ * @param ctx the parse tree
+ */
+ exitIntegerLiteral?: (ctx: IntegerLiteralContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.decimalLiteral`.
+ * @param ctx the parse tree
+ */
+ enterDecimalLiteral?: (ctx: DecimalLiteralContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.decimalLiteral`.
+ * @param ctx the parse tree
+ */
+ exitDecimalLiteral?: (ctx: DecimalLiteralContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.booleanLiteral`.
+ * @param ctx the parse tree
+ */
+ enterBooleanLiteral?: (ctx: BooleanLiteralContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.booleanLiteral`.
+ * @param ctx the parse tree
+ */
+ exitBooleanLiteral?: (ctx: BooleanLiteralContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.datetimeLiteral`.
+ * @param ctx the parse tree
+ */
+ enterDatetimeLiteral?: (ctx: DatetimeLiteralContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.datetimeLiteral`.
+ * @param ctx the parse tree
+ */
+ exitDatetimeLiteral?: (ctx: DatetimeLiteralContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.dateLiteral`.
+ * @param ctx the parse tree
+ */
+ enterDateLiteral?: (ctx: DateLiteralContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.dateLiteral`.
+ * @param ctx the parse tree
+ */
+ exitDateLiteral?: (ctx: DateLiteralContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.timeLiteral`.
+ * @param ctx the parse tree
+ */
+ enterTimeLiteral?: (ctx: TimeLiteralContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.timeLiteral`.
+ * @param ctx the parse tree
+ */
+ exitTimeLiteral?: (ctx: TimeLiteralContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.timestampLiteral`.
+ * @param ctx the parse tree
+ */
+ enterTimestampLiteral?: (ctx: TimestampLiteralContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.timestampLiteral`.
+ * @param ctx the parse tree
+ */
+ exitTimestampLiteral?: (ctx: TimestampLiteralContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.intervalUnit`.
+ * @param ctx the parse tree
+ */
+ enterIntervalUnit?: (ctx: IntervalUnitContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.intervalUnit`.
+ * @param ctx the parse tree
+ */
+ exitIntervalUnit?: (ctx: IntervalUnitContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.timespanUnit`.
+ * @param ctx the parse tree
+ */
+ enterTimespanUnit?: (ctx: TimespanUnitContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.timespanUnit`.
+ * @param ctx the parse tree
+ */
+ exitTimespanUnit?: (ctx: TimespanUnitContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.valueList`.
+ * @param ctx the parse tree
+ */
+ enterValueList?: (ctx: ValueListContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.valueList`.
+ * @param ctx the parse tree
+ */
+ exitValueList?: (ctx: ValueListContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.qualifiedName`.
+ * @param ctx the parse tree
+ */
+ enterQualifiedName?: (ctx: QualifiedNameContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.qualifiedName`.
+ * @param ctx the parse tree
+ */
+ exitQualifiedName?: (ctx: QualifiedNameContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.wcQualifiedName`.
+ * @param ctx the parse tree
+ */
+ enterWcQualifiedName?: (ctx: WcQualifiedNameContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.wcQualifiedName`.
+ * @param ctx the parse tree
+ */
+ exitWcQualifiedName?: (ctx: WcQualifiedNameContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.ident`.
+ * @param ctx the parse tree
+ */
+ enterIdent?: (ctx: IdentContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.ident`.
+ * @param ctx the parse tree
+ */
+ exitIdent?: (ctx: IdentContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.wildcard`.
+ * @param ctx the parse tree
+ */
+ enterWildcard?: (ctx: WildcardContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.wildcard`.
+ * @param ctx the parse tree
+ */
+ exitWildcard?: (ctx: WildcardContext) => void;
+
+ /**
+ * Enter a parse tree produced by `OpenSearchPPLParser.keywordsCanBeId`.
+ * @param ctx the parse tree
+ */
+ enterKeywordsCanBeId?: (ctx: KeywordsCanBeIdContext) => void;
+ /**
+ * Exit a parse tree produced by `OpenSearchPPLParser.keywordsCanBeId`.
+ * @param ctx the parse tree
+ */
+ exitKeywordsCanBeId?: (ctx: KeywordsCanBeIdContext) => void;
+}
+
diff --git a/common/query_manager/antlr/output/OpenSearchPPLParserVisitor.ts b/common/query_manager/antlr/output/OpenSearchPPLParserVisitor.ts
new file mode 100644
index 0000000000..b9261e6a39
--- /dev/null
+++ b/common/query_manager/antlr/output/OpenSearchPPLParserVisitor.ts
@@ -0,0 +1,1038 @@
+// Generated from ./common/query_manager/antlr/grammar/OpenSearchPPLParser.g4 by ANTLR 4.9.0-SNAPSHOT
+
+
+import { ParseTreeVisitor } from "antlr4ts/tree/ParseTreeVisitor";
+
+import { BinaryArithmeticContext } from "./OpenSearchPPLParser";
+import { ParentheticBinaryArithmeticContext } from "./OpenSearchPPLParser";
+import { ValueExpressionDefaultContext } from "./OpenSearchPPLParser";
+import { CompareExprContext } from "./OpenSearchPPLParser";
+import { InExprContext } from "./OpenSearchPPLParser";
+import { IdentsAsWildcardQualifiedNameContext } from "./OpenSearchPPLParser";
+import { SearchFromContext } from "./OpenSearchPPLParser";
+import { SearchFromFilterContext } from "./OpenSearchPPLParser";
+import { SearchFilterFromContext } from "./OpenSearchPPLParser";
+import { StatsFunctionCallContext } from "./OpenSearchPPLParser";
+import { CountAllFunctionCallContext } from "./OpenSearchPPLParser";
+import { DistinctCountFunctionCallContext } from "./OpenSearchPPLParser";
+import { PercentileAggFunctionCallContext } from "./OpenSearchPPLParser";
+import { TakeAggFunctionCallContext } from "./OpenSearchPPLParser";
+import { IdentsAsQualifiedNameContext } from "./OpenSearchPPLParser";
+import { ComparsionContext } from "./OpenSearchPPLParser";
+import { LogicalNotContext } from "./OpenSearchPPLParser";
+import { LogicalOrContext } from "./OpenSearchPPLParser";
+import { LogicalAndContext } from "./OpenSearchPPLParser";
+import { LogicalXorContext } from "./OpenSearchPPLParser";
+import { BooleanExprContext } from "./OpenSearchPPLParser";
+import { RelevanceExprContext } from "./OpenSearchPPLParser";
+import { RootContext } from "./OpenSearchPPLParser";
+import { PplStatementContext } from "./OpenSearchPPLParser";
+import { PplCommandsContext } from "./OpenSearchPPLParser";
+import { CommandsContext } from "./OpenSearchPPLParser";
+import { SearchCommandContext } from "./OpenSearchPPLParser";
+import { DescribeCommandContext } from "./OpenSearchPPLParser";
+import { ShowCatalogsCommandContext } from "./OpenSearchPPLParser";
+import { WhereCommandContext } from "./OpenSearchPPLParser";
+import { FieldsCommandContext } from "./OpenSearchPPLParser";
+import { RenameCommandContext } from "./OpenSearchPPLParser";
+import { StatsCommandContext } from "./OpenSearchPPLParser";
+import { DedupCommandContext } from "./OpenSearchPPLParser";
+import { SortCommandContext } from "./OpenSearchPPLParser";
+import { EvalCommandContext } from "./OpenSearchPPLParser";
+import { HeadCommandContext } from "./OpenSearchPPLParser";
+import { TopCommandContext } from "./OpenSearchPPLParser";
+import { RareCommandContext } from "./OpenSearchPPLParser";
+import { GrokCommandContext } from "./OpenSearchPPLParser";
+import { ParseCommandContext } from "./OpenSearchPPLParser";
+import { PatternsCommandContext } from "./OpenSearchPPLParser";
+import { PatternsParameterContext } from "./OpenSearchPPLParser";
+import { PatternsMethodContext } from "./OpenSearchPPLParser";
+import { KmeansCommandContext } from "./OpenSearchPPLParser";
+import { KmeansParameterContext } from "./OpenSearchPPLParser";
+import { AdCommandContext } from "./OpenSearchPPLParser";
+import { AdParameterContext } from "./OpenSearchPPLParser";
+import { MlCommandContext } from "./OpenSearchPPLParser";
+import { MlArgContext } from "./OpenSearchPPLParser";
+import { FromClauseContext } from "./OpenSearchPPLParser";
+import { TableSourceClauseContext } from "./OpenSearchPPLParser";
+import { RenameClasueContext } from "./OpenSearchPPLParser";
+import { ByClauseContext } from "./OpenSearchPPLParser";
+import { StatsByClauseContext } from "./OpenSearchPPLParser";
+import { BySpanClauseContext } from "./OpenSearchPPLParser";
+import { SpanClauseContext } from "./OpenSearchPPLParser";
+import { SortbyClauseContext } from "./OpenSearchPPLParser";
+import { EvalClauseContext } from "./OpenSearchPPLParser";
+import { StatsAggTermContext } from "./OpenSearchPPLParser";
+import { StatsFunctionContext } from "./OpenSearchPPLParser";
+import { StatsFunctionNameContext } from "./OpenSearchPPLParser";
+import { TakeAggFunctionContext } from "./OpenSearchPPLParser";
+import { PercentileAggFunctionContext } from "./OpenSearchPPLParser";
+import { ExpressionContext } from "./OpenSearchPPLParser";
+import { LogicalExpressionContext } from "./OpenSearchPPLParser";
+import { ComparisonExpressionContext } from "./OpenSearchPPLParser";
+import { ValueExpressionContext } from "./OpenSearchPPLParser";
+import { PrimaryExpressionContext } from "./OpenSearchPPLParser";
+import { ConstantFunctionContext } from "./OpenSearchPPLParser";
+import { BooleanExpressionContext } from "./OpenSearchPPLParser";
+import { RelevanceExpressionContext } from "./OpenSearchPPLParser";
+import { SingleFieldRelevanceFunctionContext } from "./OpenSearchPPLParser";
+import { MultiFieldRelevanceFunctionContext } from "./OpenSearchPPLParser";
+import { TableSourceContext } from "./OpenSearchPPLParser";
+import { TableFunctionContext } from "./OpenSearchPPLParser";
+import { FieldListContext } from "./OpenSearchPPLParser";
+import { WcFieldListContext } from "./OpenSearchPPLParser";
+import { SortFieldContext } from "./OpenSearchPPLParser";
+import { SortFieldExpressionContext } from "./OpenSearchPPLParser";
+import { FieldExpressionContext } from "./OpenSearchPPLParser";
+import { WcFieldExpressionContext } from "./OpenSearchPPLParser";
+import { EvalFunctionCallContext } from "./OpenSearchPPLParser";
+import { DataTypeFunctionCallContext } from "./OpenSearchPPLParser";
+import { BooleanFunctionCallContext } from "./OpenSearchPPLParser";
+import { ConvertedDataTypeContext } from "./OpenSearchPPLParser";
+import { EvalFunctionNameContext } from "./OpenSearchPPLParser";
+import { FunctionArgsContext } from "./OpenSearchPPLParser";
+import { FunctionArgContext } from "./OpenSearchPPLParser";
+import { RelevanceArgContext } from "./OpenSearchPPLParser";
+import { RelevanceArgNameContext } from "./OpenSearchPPLParser";
+import { RelevanceFieldAndWeightContext } from "./OpenSearchPPLParser";
+import { RelevanceFieldWeightContext } from "./OpenSearchPPLParser";
+import { RelevanceFieldContext } from "./OpenSearchPPLParser";
+import { RelevanceQueryContext } from "./OpenSearchPPLParser";
+import { RelevanceArgValueContext } from "./OpenSearchPPLParser";
+import { MathematicalFunctionBaseContext } from "./OpenSearchPPLParser";
+import { TrigonometricFunctionNameContext } from "./OpenSearchPPLParser";
+import { DateAndTimeFunctionBaseContext } from "./OpenSearchPPLParser";
+import { ConstantFunctionNameContext } from "./OpenSearchPPLParser";
+import { ConditionFunctionBaseContext } from "./OpenSearchPPLParser";
+import { SystemFunctionBaseContext } from "./OpenSearchPPLParser";
+import { TextFunctionBaseContext } from "./OpenSearchPPLParser";
+import { ComparisonOperatorContext } from "./OpenSearchPPLParser";
+import { BinaryOperatorContext } from "./OpenSearchPPLParser";
+import { SingleFieldRelevanceFunctionNameContext } from "./OpenSearchPPLParser";
+import { MultiFieldRelevanceFunctionNameContext } from "./OpenSearchPPLParser";
+import { LiteralValueContext } from "./OpenSearchPPLParser";
+import { IntervalLiteralContext } from "./OpenSearchPPLParser";
+import { StringLiteralContext } from "./OpenSearchPPLParser";
+import { IntegerLiteralContext } from "./OpenSearchPPLParser";
+import { DecimalLiteralContext } from "./OpenSearchPPLParser";
+import { BooleanLiteralContext } from "./OpenSearchPPLParser";
+import { DatetimeLiteralContext } from "./OpenSearchPPLParser";
+import { DateLiteralContext } from "./OpenSearchPPLParser";
+import { TimeLiteralContext } from "./OpenSearchPPLParser";
+import { TimestampLiteralContext } from "./OpenSearchPPLParser";
+import { IntervalUnitContext } from "./OpenSearchPPLParser";
+import { TimespanUnitContext } from "./OpenSearchPPLParser";
+import { ValueListContext } from "./OpenSearchPPLParser";
+import { QualifiedNameContext } from "./OpenSearchPPLParser";
+import { WcQualifiedNameContext } from "./OpenSearchPPLParser";
+import { IdentContext } from "./OpenSearchPPLParser";
+import { WildcardContext } from "./OpenSearchPPLParser";
+import { KeywordsCanBeIdContext } from "./OpenSearchPPLParser";
+
+
+/**
+ * This interface defines a complete generic visitor for a parse tree produced
+ * by `OpenSearchPPLParser`.
+ *
+ * @param The return type of the visit operation. Use `void` for
+ * operations with no return type.
+ */
+export interface OpenSearchPPLParserVisitor extends ParseTreeVisitor {
+ /**
+ * Visit a parse tree produced by the `binaryArithmetic`
+ * labeled alternative in `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitBinaryArithmetic?: (ctx: BinaryArithmeticContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `parentheticBinaryArithmetic`
+ * labeled alternative in `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitParentheticBinaryArithmetic?: (ctx: ParentheticBinaryArithmeticContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `valueExpressionDefault`
+ * labeled alternative in `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitValueExpressionDefault?: (ctx: ValueExpressionDefaultContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `compareExpr`
+ * labeled alternative in `OpenSearchPPLParser.comparisonExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitCompareExpr?: (ctx: CompareExprContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `inExpr`
+ * labeled alternative in `OpenSearchPPLParser.comparisonExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitInExpr?: (ctx: InExprContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `identsAsWildcardQualifiedName`
+ * labeled alternative in `OpenSearchPPLParser.wcQualifiedName`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitIdentsAsWildcardQualifiedName?: (ctx: IdentsAsWildcardQualifiedNameContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `searchFrom`
+ * labeled alternative in `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSearchFrom?: (ctx: SearchFromContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `searchFromFilter`
+ * labeled alternative in `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSearchFromFilter?: (ctx: SearchFromFilterContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `searchFilterFrom`
+ * labeled alternative in `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSearchFilterFrom?: (ctx: SearchFilterFromContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `statsFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitStatsFunctionCall?: (ctx: StatsFunctionCallContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `countAllFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitCountAllFunctionCall?: (ctx: CountAllFunctionCallContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `distinctCountFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitDistinctCountFunctionCall?: (ctx: DistinctCountFunctionCallContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `percentileAggFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitPercentileAggFunctionCall?: (ctx: PercentileAggFunctionCallContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `takeAggFunctionCall`
+ * labeled alternative in `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitTakeAggFunctionCall?: (ctx: TakeAggFunctionCallContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `identsAsQualifiedName`
+ * labeled alternative in `OpenSearchPPLParser.qualifiedName`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitIdentsAsQualifiedName?: (ctx: IdentsAsQualifiedNameContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `comparsion`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitComparsion?: (ctx: ComparsionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `logicalNot`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitLogicalNot?: (ctx: LogicalNotContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `logicalOr`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitLogicalOr?: (ctx: LogicalOrContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `logicalAnd`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitLogicalAnd?: (ctx: LogicalAndContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `logicalXor`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitLogicalXor?: (ctx: LogicalXorContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `booleanExpr`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitBooleanExpr?: (ctx: BooleanExprContext) => Result;
+
+ /**
+ * Visit a parse tree produced by the `relevanceExpr`
+ * labeled alternative in `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRelevanceExpr?: (ctx: RelevanceExprContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.root`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRoot?: (ctx: RootContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.pplStatement`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitPplStatement?: (ctx: PplStatementContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.pplCommands`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitPplCommands?: (ctx: PplCommandsContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.commands`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitCommands?: (ctx: CommandsContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.searchCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSearchCommand?: (ctx: SearchCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.describeCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitDescribeCommand?: (ctx: DescribeCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.showCatalogsCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitShowCatalogsCommand?: (ctx: ShowCatalogsCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.whereCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitWhereCommand?: (ctx: WhereCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.fieldsCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitFieldsCommand?: (ctx: FieldsCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.renameCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRenameCommand?: (ctx: RenameCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.statsCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitStatsCommand?: (ctx: StatsCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.dedupCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitDedupCommand?: (ctx: DedupCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.sortCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSortCommand?: (ctx: SortCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.evalCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitEvalCommand?: (ctx: EvalCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.headCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitHeadCommand?: (ctx: HeadCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.topCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitTopCommand?: (ctx: TopCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.rareCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRareCommand?: (ctx: RareCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.grokCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitGrokCommand?: (ctx: GrokCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.parseCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitParseCommand?: (ctx: ParseCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.patternsCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitPatternsCommand?: (ctx: PatternsCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.patternsParameter`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitPatternsParameter?: (ctx: PatternsParameterContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.patternsMethod`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitPatternsMethod?: (ctx: PatternsMethodContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.kmeansCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitKmeansCommand?: (ctx: KmeansCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.kmeansParameter`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitKmeansParameter?: (ctx: KmeansParameterContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.adCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitAdCommand?: (ctx: AdCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.adParameter`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitAdParameter?: (ctx: AdParameterContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.mlCommand`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitMlCommand?: (ctx: MlCommandContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.mlArg`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitMlArg?: (ctx: MlArgContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.fromClause`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitFromClause?: (ctx: FromClauseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.tableSourceClause`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitTableSourceClause?: (ctx: TableSourceClauseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.renameClasue`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRenameClasue?: (ctx: RenameClasueContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.byClause`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitByClause?: (ctx: ByClauseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.statsByClause`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitStatsByClause?: (ctx: StatsByClauseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.bySpanClause`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitBySpanClause?: (ctx: BySpanClauseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.spanClause`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSpanClause?: (ctx: SpanClauseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.sortbyClause`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSortbyClause?: (ctx: SortbyClauseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.evalClause`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitEvalClause?: (ctx: EvalClauseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.statsAggTerm`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitStatsAggTerm?: (ctx: StatsAggTermContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.statsFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitStatsFunction?: (ctx: StatsFunctionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.statsFunctionName`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitStatsFunctionName?: (ctx: StatsFunctionNameContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.takeAggFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitTakeAggFunction?: (ctx: TakeAggFunctionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.percentileAggFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitPercentileAggFunction?: (ctx: PercentileAggFunctionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.expression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitExpression?: (ctx: ExpressionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.logicalExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitLogicalExpression?: (ctx: LogicalExpressionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.comparisonExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitComparisonExpression?: (ctx: ComparisonExpressionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.valueExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitValueExpression?: (ctx: ValueExpressionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.primaryExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitPrimaryExpression?: (ctx: PrimaryExpressionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.constantFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitConstantFunction?: (ctx: ConstantFunctionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.booleanExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitBooleanExpression?: (ctx: BooleanExpressionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.relevanceExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRelevanceExpression?: (ctx: RelevanceExpressionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.singleFieldRelevanceFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSingleFieldRelevanceFunction?: (ctx: SingleFieldRelevanceFunctionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.multiFieldRelevanceFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitMultiFieldRelevanceFunction?: (ctx: MultiFieldRelevanceFunctionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.tableSource`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitTableSource?: (ctx: TableSourceContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.tableFunction`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitTableFunction?: (ctx: TableFunctionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.fieldList`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitFieldList?: (ctx: FieldListContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.wcFieldList`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitWcFieldList?: (ctx: WcFieldListContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.sortField`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSortField?: (ctx: SortFieldContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.sortFieldExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSortFieldExpression?: (ctx: SortFieldExpressionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.fieldExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitFieldExpression?: (ctx: FieldExpressionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.wcFieldExpression`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitWcFieldExpression?: (ctx: WcFieldExpressionContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.evalFunctionCall`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitEvalFunctionCall?: (ctx: EvalFunctionCallContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.dataTypeFunctionCall`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitDataTypeFunctionCall?: (ctx: DataTypeFunctionCallContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.booleanFunctionCall`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitBooleanFunctionCall?: (ctx: BooleanFunctionCallContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.convertedDataType`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitConvertedDataType?: (ctx: ConvertedDataTypeContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.evalFunctionName`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitEvalFunctionName?: (ctx: EvalFunctionNameContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.functionArgs`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitFunctionArgs?: (ctx: FunctionArgsContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.functionArg`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitFunctionArg?: (ctx: FunctionArgContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.relevanceArg`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRelevanceArg?: (ctx: RelevanceArgContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.relevanceArgName`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRelevanceArgName?: (ctx: RelevanceArgNameContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.relevanceFieldAndWeight`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRelevanceFieldAndWeight?: (ctx: RelevanceFieldAndWeightContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.relevanceFieldWeight`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRelevanceFieldWeight?: (ctx: RelevanceFieldWeightContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.relevanceField`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRelevanceField?: (ctx: RelevanceFieldContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.relevanceQuery`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRelevanceQuery?: (ctx: RelevanceQueryContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.relevanceArgValue`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitRelevanceArgValue?: (ctx: RelevanceArgValueContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.mathematicalFunctionBase`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitMathematicalFunctionBase?: (ctx: MathematicalFunctionBaseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.trigonometricFunctionName`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitTrigonometricFunctionName?: (ctx: TrigonometricFunctionNameContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.dateAndTimeFunctionBase`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitDateAndTimeFunctionBase?: (ctx: DateAndTimeFunctionBaseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.constantFunctionName`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitConstantFunctionName?: (ctx: ConstantFunctionNameContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.conditionFunctionBase`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitConditionFunctionBase?: (ctx: ConditionFunctionBaseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.systemFunctionBase`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSystemFunctionBase?: (ctx: SystemFunctionBaseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.textFunctionBase`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitTextFunctionBase?: (ctx: TextFunctionBaseContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.comparisonOperator`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitComparisonOperator?: (ctx: ComparisonOperatorContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.binaryOperator`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitBinaryOperator?: (ctx: BinaryOperatorContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.singleFieldRelevanceFunctionName`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitSingleFieldRelevanceFunctionName?: (ctx: SingleFieldRelevanceFunctionNameContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.multiFieldRelevanceFunctionName`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitMultiFieldRelevanceFunctionName?: (ctx: MultiFieldRelevanceFunctionNameContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.literalValue`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitLiteralValue?: (ctx: LiteralValueContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.intervalLiteral`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitIntervalLiteral?: (ctx: IntervalLiteralContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.stringLiteral`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitStringLiteral?: (ctx: StringLiteralContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.integerLiteral`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitIntegerLiteral?: (ctx: IntegerLiteralContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.decimalLiteral`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitDecimalLiteral?: (ctx: DecimalLiteralContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.booleanLiteral`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitBooleanLiteral?: (ctx: BooleanLiteralContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.datetimeLiteral`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitDatetimeLiteral?: (ctx: DatetimeLiteralContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.dateLiteral`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitDateLiteral?: (ctx: DateLiteralContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.timeLiteral`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitTimeLiteral?: (ctx: TimeLiteralContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.timestampLiteral`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitTimestampLiteral?: (ctx: TimestampLiteralContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.intervalUnit`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitIntervalUnit?: (ctx: IntervalUnitContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.timespanUnit`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitTimespanUnit?: (ctx: TimespanUnitContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.valueList`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitValueList?: (ctx: ValueListContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.qualifiedName`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitQualifiedName?: (ctx: QualifiedNameContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.wcQualifiedName`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitWcQualifiedName?: (ctx: WcQualifiedNameContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.ident`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitIdent?: (ctx: IdentContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.wildcard`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitWildcard?: (ctx: WildcardContext) => Result;
+
+ /**
+ * Visit a parse tree produced by `OpenSearchPPLParser.keywordsCanBeId`.
+ * @param ctx the parse tree
+ * @return the visitor result
+ */
+ visitKeywordsCanBeId?: (ctx: KeywordsCanBeIdContext) => Result;
+}
+
diff --git a/common/query_manager/antlr/ppl_syntax_parser.ts b/common/query_manager/antlr/ppl_syntax_parser.ts
new file mode 100644
index 0000000000..9af9bc8930
--- /dev/null
+++ b/common/query_manager/antlr/ppl_syntax_parser.ts
@@ -0,0 +1,30 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { CharStreams, CommonTokenStream } from 'antlr4ts';
+import { CaseInsensitiveCharStream } from './adaptors/case_insensitive_char_stream';
+import { OpenSearchPPLLexer } from './output/OpenSearchPPLLexer';
+import { OpenSearchPPLParser } from './output/OpenSearchPPLParser';
+
+/**
+ * PPL Syntax Parser.
+ */
+export class PPLSyntaxParser {
+ /**
+ * Analyze the query syntax.
+ */
+
+ parse(query: string) {
+ return this.createParser(this.createLexer(query));
+ }
+
+ createLexer(query: string = '') {
+ return new OpenSearchPPLLexer(new CaseInsensitiveCharStream(CharStreams.fromString(query)));
+ }
+
+ createParser(lexer: OpenSearchPPLLexer) {
+ return new OpenSearchPPLParser(new CommonTokenStream(lexer));
+ }
+}
diff --git a/common/query_manager/ast/builder/query_builder.ts b/common/query_manager/ast/builder/query_builder.ts
new file mode 100644
index 0000000000..a6b6494c0f
--- /dev/null
+++ b/common/query_manager/ast/builder/query_builder.ts
@@ -0,0 +1,8 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+export interface QueryBuilder {
+ build: () => T;
+}
diff --git a/common/query_manager/ast/builder/stats_ast_builder.ts b/common/query_manager/ast/builder/stats_ast_builder.ts
new file mode 100644
index 0000000000..6556347abf
--- /dev/null
+++ b/common/query_manager/ast/builder/stats_ast_builder.ts
@@ -0,0 +1,232 @@
+/*
+ * Copyright OpenSearch Contributors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+import { isFunction, isEqual } from 'lodash';
+import { AbstractParseTreeVisitor } from 'antlr4ts/tree/AbstractParseTreeVisitor';
+import {
+ RootContext,
+ PplStatementContext,
+ CommandsContext,
+ StatsCommandContext,
+ BooleanLiteralContext,
+ BySpanClauseContext,
+ FieldExpressionContext,
+ FieldListContext,
+ IntegerLiteralContext,
+ LiteralValueContext,
+ QualifiedNameContext,
+ SpanClauseContext,
+ StatsAggTermContext,
+ StatsByClauseContext,
+ StatsFunctionContext,
+ StatsFunctionNameContext,
+ StringLiteralContext,
+ TimespanUnitContext,
+ ValueExpressionContext,
+ WcFieldExpressionContext,
+} from '../../antlr/output/OpenSearchPPLParser';
+import { OpenSearchPPLParserVisitor } from '../../antlr/output/OpenSearchPPLParserVisitor';
+import { PPLNode } from '../node';
+import { Aggregations } from '../tree/aggragations';
+import {
+ AggregateFunction,
+ AggregateTerm,
+ GroupBy,
+ Field,
+ Span,
+ SpanExpression,
+} from '../expression';
+
+type VisitResult = PPLNode | Array | string;
+
+export class StatsAstBuilder
+ extends AbstractParseTreeVisitor
+ implements OpenSearchPPLParserVisitor {
+ protected defaultResult(): PPLNode {
+ return new PPLNode('default', [] as Array);
+ }
+
+ visitRoot(ctx: RootContext) {
+ if (!ctx.pplStatement()) return this.defaultResult();
+ return this.visitPplStatement(ctx.pplStatement()!);
+ }
+
+ visitPplStatement(ctx: PplStatementContext): PPLNode {
+ let statsTree: VisitResult = this.defaultResult();
+ ctx.commands().map((pplCommandContext) => {
+ if (
+ isFunction(this.visitChildren(pplCommandContext).getName) &&
+ isEqual(this.visitChildren(pplCommandContext).getName(), 'stats_command')
+ )
+ statsTree = this.visitChildren(pplCommandContext);
+ });
+ return statsTree;
+ }
+
+ visitCommands(ctx: CommandsContext) {
+ if (ctx.statsCommand()) {
+ return this.visitStatsCommand(ctx.statsCommand()!);
+ }
+ return this.defaultResult();
+ }
+
+ /**
+ * Stats command
+ */
+ visitStatsCommand(ctx: StatsCommandContext): PPLNode {
+ return new Aggregations(
+ 'stats_command',
+ [] as Array,
+ ctx.PARTITIONS() && ctx.integerLiteral()
+ ? {
+ keyword: ctx.PARTITIONS()?.text,
+ sign: '=',
+ value: ctx.integerLiteral()?.text,
+ }
+ : {}, // visit partitions partial
+ ctx.ALLNUM() && ctx.booleanLiteral()
+ ? {
+ keyword: ctx.ALLNUM()?.text,
+ sign: '=',
+ value: this.visitBooleanLiteral(ctx.booleanLiteral()[0]),
+ }
+ : {}, // visit allnum partial
+ ctx.DELIM() && ctx.stringLiteral()
+ ? {
+ keyword: ctx.DELIM()?.text,
+ sign: '=',
+ value: this.visitStringLiteral(ctx.stringLiteral()!),
+ }
+ : '', // visit delim partial
+ ctx.statsAggTerm().map((aggTermAlternative) => this.visitStatsAggTerm(aggTermAlternative)), // visit statsAggTerm
+ ctx.statsByClause() ? this.visitStatsByClause(ctx.statsByClause()!) : ({} as GroupBy), // visit group list
+ ctx.DEDUP_SPLITVALUES() && ctx.booleanLiteral()
+ ? {
+ keyword: ctx.DEDUP_SPLITVALUES()?.text,
+ sign: '=',
+ value: this.visitBooleanLiteral(ctx.booleanLiteral()[1]),
+ }
+ : '', // visit dedup split value
+ {
+ start: ctx.start.startIndex,
+ end: ctx.stop?.stopIndex,
+ } // stats start/end indices in query for later query concatenation
+ );
+ }
+
+ visitIntegerLiteral(ctx: IntegerLiteralContext): string {
+ return ctx.text;
+ }
+
+ visitBooleanLiteral(ctx: BooleanLiteralContext): string {
+ return ctx.text;
+ }
+
+ visitStringLiteral(ctx: StringLiteralContext): string {
+ return ctx.text;
+ }
+
+ visitStatsAggTerm(ctx: StatsAggTermContext): PPLNode {
+ return new AggregateTerm(
+ 'stats_agg_term',
+ [] as Array,
+ this.visitStatsFunction(ctx.statsFunction()),
+ ctx.wcFieldExpression() ? this.visitWcFieldExpression(ctx.wcFieldExpression()!) : ''
+ );
+ }
+
+ visitWcFieldExpression(ctx: WcFieldExpressionContext): string {
+ // return only text from here to all its chilren for now
+ return ctx.wcQualifiedName().text;
+ }
+
+ visitStatsByClause(ctx: StatsByClauseContext): PPLNode {
+ return new GroupBy(
+ 'stats_by_clause',
+ [] as Array,
+ ctx.fieldList() ? this.visitFieldList(ctx.fieldList()!) : [],
+ ctx.bySpanClause() ? this.visitBySpanClause(ctx.bySpanClause()!) : this.defaultResult()
+ );
+ }
+
+ visitBySpanClause(ctx: BySpanClauseContext): PPLNode {
+ return new Span(
+ 'span_clause',
+ [] as Array,
+ this.visitSpanClause(ctx.spanClause()),
+ ctx.qualifiedName() ? this.visitQualifiedName(ctx.qualifiedName()!) : ''
+ );
+ }
+
+ visitSpanClause(ctx: SpanClauseContext): PPLNode {
+ return new SpanExpression(
+ 'span_expression',
+ [] as Array