add additional stats for search queries

This commit is contained in:
Sarah Hoffmann
2025-09-10 20:49:46 +02:00
parent 3d0867ff16
commit fd12d2e9f3
3 changed files with 30 additions and 0 deletions

View File

@@ -682,6 +682,20 @@ of metrics than can be logged. The default set of metrics is the following:
Variables of type 'time' contain a UTC timestamp string in ISO format.
Nominatim also exposes additional metrics to help with development. These
are subject to change between versions:
/// html | div.simple-table
| name | type | Description |
| ------------------------- | ------ | ------------|
| search_rounds | int | Total number of searches executed for the request. |
| search_min_penalty | float | Minimal possible penalty for the request. |
| search_first_result_round | int | Number of first search to yield any result. |
| search_min_result_penalty | float | Minimal penalty by a result found. |
| search_best_penalty_round | int | Search round that yielded the best penalty result. |
///
#### NOMINATIM_DEBUG_SQL
| Summary | |