Response time to process requests in the logs #2645
Unanswered
Okiharaherbst
asked this question in
Q&A
Replies: 2 comments 1 reply
-
How about using Nginx for this? You can configure an See: |
Beta Was this translation helpful? Give feedback.
0 replies
-
I was hoping for a switch that would not involve introducing Nginx or Apache. If the request user agent is in log output, response time would like a reasonable log output datum as well. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently PostgREST outputs these logs:
[02/Feb/2023:12:27:11 +0100] "POST /rpc/interv_status HTTP/1.1" 200 - "" "python-requests/2.27.1"
It would be useful to see the response time to serve the request in seconds or milliseconds as that would allow profiling RPC calls for instance.
Is there any way to set this up?
Beta Was this translation helpful? Give feedback.
All reactions