Yelp / nrtsearch

A high performance gRPC server on top of Apache Lucene
Apache License 2.0
270 stars 40 forks source link

Add initialDeadlineMs to search Diagnostics #786

Closed aprudhomme closed 2 weeks ago

aprudhomme commented 2 weeks ago

Adds a new field to the search Diagnostics message, initialDeadlineMs. This will be how much time is remaining on the gRPC request deadline at the start of search processing. This would be useful when trying to analyze deadline errors, as we would know how much of the deadline was used before search started.