Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0050012 | Openbravo ERP | A. Platform | public | 2022-08-19 09:37 | 2022-08-25 16:52 |
|
| Reporter | AugustoMauch | |
| Assigned To | AugustoMauch | |
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | PR22Q4 | |
| 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 | - |
| Proposed Solution | |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| 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 | bug_revision_view_page.php?rev_id=24643#r24643 |
| 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 | |
|
Notes |
|
|
(0140242)
|
|
hgbot
|
|
2022-08-19 09:52
|
|
|
|
|
(0140396)
|
|
hgbot
|
|
2022-08-25 13:46
|
|
|
|
|
(0140397)
|
|
hgbot
|
|
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
|
|
2022-08-25 16:07
|
|
|
|
|
(0140404)
|
|
hgbot
|
|
2022-08-25 16:52
|
|
|