Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
This commit is contained in:
72 files changed
+1147
-437
No files matched your search
@@ -420,6 +420,9 @@ type Cfg struct {
|
||||
// ExpressionsEnabled specifies whether expressions are enabled.
|
||||
ExpressionsEnabled bool
|
||||
|
||||
// SQLExpressionCellLimit is the maximum number of cells (rows × columns, across all frames) that can be accepted by a SQL expression.
|
||||
SQLExpressionCellLimit int64
|
||||
|
||||
ImageUploadProvider string
|
||||
|
||||
// LiveMaxConnections is a maximum number of WebSocket connections to
|
||||
@@ -779,6 +782,7 @@ func (cfg *Cfg) readAnnotationSettings() error {
|
||||
func (cfg *Cfg) readExpressionsSettings() {
|
||||
expressions := cfg.Raw.Section("expressions")
|
||||
cfg.ExpressionsEnabled = expressions.Key("enabled").MustBool(true)
|
||||
cfg.SQLExpressionCellLimit = expressions.Key("sql_expression_cell_limit").MustInt64(100000)
|
||||
}
|
||||
|
||||
type AnnotationCleanupSettings struct {
|
||||
|
||||
Reference in new issue
Block a user