Issue 11031

Title
Make use of Server-Timing headers to monitor performances
Priority
feature
Status
chatting
Nosy list
albertca, ced, nicoe, pokoli
Assigned to
Keywords

Created on 2021-12-09.09:41:35 by nicoe, last changed 9 months ago by ced.

Messages

Author: [hidden] (ced) Tryton committer Tryton translator
Date: 2022-02-22.23:44:33

I think it could be activated by user with some access right. The client could have a configuration for tryton and something like the logger in sao. This will put a header flag on the request which will activate the timing of the request.

Author: [hidden] (nicoe) Tryton committer
Date: 2021-12-09.09:41:35

HTTP Requests can send some monitoring informations about the server with the Server-Timing header:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing

I think we could use that when it's required to monitor the server response time (some timings but also the number of SQL queries, etc). Those data could be linked to a transaction, a context manager could be used to monitor some specific part of the code.

History
Date User Action Args
2022-02-22 23:44:33cedsetmessages: + msg74318
nosy: + ced
status: unread -> chatting
2021-12-09 16:10:12pokolisetnosy: + pokoli
2021-12-09 09:45:17albertcasetnosy: + albertca
2021-12-09 09:41:35nicoecreate

Showing 10 items. Show all history (warning: this could be VERY long)