SQL Expressions: Add sql expression specific timeout and output limit (#104834)

Adds settings for SQL expressions:
 sql_expression_cell_output_limit

Set the maximum number of cells that can be returned from a SQL expression. Default is 100000.

sql_expression_timeout

The duration a SQL expression will run before being cancelled. The default is 10s.
This commit is contained in:
Kyle Brandt
2025-05-13 15:22:20 -04:00
committed by GitHub
parent 02d977e1af
commit 5e056c2a3f
12 changed files with 183 additions and 22 deletions
@@ -2782,6 +2782,14 @@ Set this to `false` to disable expressions and hide them in the Grafana UI. Defa
Set the maximum number of cells that can be passed to a SQL expression. Default is `100000`.
#### `sql_expression_cell_output_limit`
Set the maximum number of cells that can be returned from a SQL expression. Default is `100000`.
#### `sql_expression_timeout`
The duration a SQL expression will run before being cancelled. The default is `10s`.
### `[geomap]`
This section controls the defaults settings for **Geomap Plugin**.