Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0050012 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | minor | have not tried | 2022-08-19 09:37 | 2022-08-25 16:52 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | PR22Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0050012: Support logging slow datasource requests | |||||||
Description | It would be convenient to be able to log information about datasource requests where the time it takes to get the information from the database takes longer than a given configured number of milliseconds. This configuration should be defined by tab. The logged line will be structured and must contain at least: - The name of the tab whose information was being requested - The query that was executed - The number of milliseconds it took to execute the query - The request parameters The info must be logged in a way that allows that log to be written into a separate file other than openbravo.log | |||||||
Steps To Reproduce | - | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0140242) hgbot (developer) 2022-08-19 09:52 |
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/688 [^] |
(0140396) hgbot (developer) 2022-08-25 13:46 |
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/688 [^] |
(0140397) hgbot (developer) 2022-08-25 13:46 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 756e86fdf8c4bbc18c8269fa9fe92b0d9e9667b0 Author: Augusto Mauch <augusto.mauch@openbravo.com> Date: 25-08-2022 11:45:47 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/756e86fdf8c4bbc18c8269fa9fe92b0d9e9667b0 [^] Fixes ISSUE-50012: Enables logging info about slow datasource queries --- A modules/org.openbravo.service.datasource/src-db/database/model/tables/OBSERDS_DS_OBS_CONFIG.xml A modules/org.openbravo.service.json/src/org/openbravo/service/json/observability/logger/DatasourceObservabilityLogger.java M modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_COLUMN.xml M modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_ELEMENT.xml M modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_FIELD.xml M modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MENU.xml M modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_TAB.xml M modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_TABLE.xml M modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_TREENODE.xml M modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_WINDOW.xml M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java --- |
(0140400) hgbot (developer) 2022-08-25 16:07 |
Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: 59275a0bd81a6183c62bd5b1cb16d13baea560bb Author: Augusto Mauch <augusto.mauch@openbravo.com> Date: 25-08-2022 14:07:14 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/59275a0bd81a6183c62bd5b1cb16d13baea560bb [^] Related to ISSUE-50012: Prevents error when tabId is not provided in datasource request --- M modules/org.openbravo.service.json/src/org/openbravo/service/json/observability/logger/DatasourceObservabilityLogger.java --- |
(0140404) hgbot (developer) 2022-08-25 16:52 |
Repository: https://gitlab.com/openbravo/product/openbravo [^] Changeset: d8d47830e9e4b10e16aecca6e0d80193c2633f1f Author: Stefan Huehner <stefan.huehner@openbravo.com> Date: 25-08-2022 16:50:29 URL: https://gitlab.com/openbravo/product/openbravo/-/commit/d8d47830e9e4b10e16aecca6e0d80193c2633f1f [^] Related to ISSUE-50012: Hotfix last to fix compilation error. Use commons-lang2 library we have in backoffice. Last commit accidentlly used commona-lang3 (with different java package) we do not have as a jar file in core. --- M modules/org.openbravo.service.json/src/org/openbravo/service/json/observability/logger/DatasourceObservabilityLogger.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2022-08-19 09:37 | AugustoMauch | New Issue | |
2022-08-19 09:37 | AugustoMauch | Assigned To | => AugustoMauch |
2022-08-19 09:37 | AugustoMauch | OBNetwork customer | => No |
2022-08-19 09:37 | AugustoMauch | Modules | => Core |
2022-08-19 09:37 | AugustoMauch | Triggers an Emergency Pack | => No |
2022-08-19 09:38 | AugustoMauch | Description Updated | View Revisions |
2022-08-19 09:52 | hgbot | Merge Request Status | => open |
2022-08-19 09:52 | hgbot | Note Added: 0140242 | |
2022-08-25 13:45 | hgbot | Merge Request Status | open => approved |
2022-08-25 13:46 | hgbot | Resolution | open => fixed |
2022-08-25 13:46 | hgbot | Status | new => closed |
2022-08-25 13:46 | hgbot | Note Added: 0140396 | |
2022-08-25 13:46 | hgbot | Fixed in Version | => PR22Q4 |
2022-08-25 13:46 | hgbot | Note Added: 0140397 | |
2022-08-25 16:07 | hgbot | Note Added: 0140400 | |
2022-08-25 16:52 | hgbot | Note Added: 0140404 |
Copyright © 2000 - 2009 MantisBT Group |