[enh] measure response time with more details. #477
Conversation
To share data between uwsgi threads we could propably using SharedArea? |
I'm not sure about the score stats. Also I saw a small issue with request time measure per engine : it's include the call to the request fonction (since it's based on params['started'] ). Perhaps the per engine measure should also include the time out / error requests, after all if one engine has 20% of timeout each time the user has too wait for that. After bring back the graph is not too difficult, nearly done actually except I would like to double check the consistency. @pointhi : I don't know this projects why not. The only : measure response time mustn't be slow. |
In hurry, I mess up : I pushed the metrology2 branch to asciimoo/searx instead of dalf/searx and added my settings.yml... By the way, there are the graphs in /stats2 |
no problem, force push allowed on non-master branches =) |
@dalf what do you think about this PR? .. if it has a value, it might be better tagged as RFC .. otherwise close? |
I've started to rewrite this PR because many things have changed since the time I wrote that PR. Also, I would like to keep the https://github.com/searx/searx/tree/metrology2 branch until the new one is pushed. |
First step to fix #162
The shown statistics are the same, except in memory there is a lot more information.
The second steps would be to re-implements UI. See https://github.com/dalf/searx/tree/metrology
Notes :