We want to log slow requests and found this server...
# community-help
e
We want to log slow requests and found this server parameter
--log-slow-requests-time-ms
but noticed its managed separately in typesense cloud - how can we toggle this parameter for a cloud cluster?
j
We only enable it on our side for diagnostic purposes on a need basis when we need to debug some reported issues
Are you seeing particular slow query issues?
e
@Rushil Srivastava mentioned occasionally seeing some slow initial queries for company_id facet so we wanted to add a log for requests taking > 2s to monitor
j
I don’t see any search latency spikes just looking at historical metrics, in the last 24 hours…
Avg is at ~15ms and max is at 200ms
These same measurements are what Typesense uses to log slow queries
e
ah I see - Wednesday was when he mentioned the slow requests
j
Last 3 days max latency is 350ms, avg 25ms
👀 1