From 244cc3a8d4b4b8612c089e070d03d5b1f5dc8d40 Mon Sep 17 00:00:00 2001 From: Artur Wierzbicki Date: Fri, 18 Feb 2022 21:28:06 +0400 Subject: [PATCH] #44449: draft - modify defaults.ini --- conf/defaults.ini | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/conf/defaults.ini b/conf/defaults.ini index 738b33889ac..fab65fe2929 100644 --- a/conf/defaults.ini +++ b/conf/defaults.ini @@ -122,7 +122,7 @@ path = grafana.db # For "sqlite3" only. cache mode setting used for connecting to the database cache_mode = private -# For "mysql" only if lockingMigration feature toggle is set. How many seconds to wait before failing to lock the database for the migrations, default is 0. +# For "mysql" only if lockingMigration feature toggle is set. How many seconds to wait before failing to lock the database for the migrations, default is 0. locking_attempt_timeout_sec = 0 #################################### Cache server ############################# @@ -1133,3 +1133,34 @@ default_baselayer_config = # Enable or disable loading other base map layers enable_custom_baselayers = true + +#################################### Dashboard previews ##################################### +[dashboard_previews.images] +# Width of each image. Default is 320. +width = + +# Height of each image. Default is 240. +height = + +# Device scale factor passed down to the Image Renderer plugin. +# The plugin will render a scaled up image and then scale it down to the desired width/height. +# Default is -5. +device_scale_factor = + +[dashboard_previews.crawler] +# Number of dashboards rendered in parallel. Default is 6. +thread_count = + +# Timeout passed down to the Image Renderer plugin. It is used in two separate places within a single rendering request: +# First during the initial navigation to the dashboard and then when waiting for all the panels to load. Default is 10s. +# This setting should be expressed as a duration. Examples: 10s (seconds), 1m (minutes). +rendering_timeout = + +# Maximum duration of a single crawl. Default is 1h. +# This setting should be expressed as a duration. Examples: 10s (seconds), 1m (minutes). +max_duration = + +[dashboard_previews.scheduler] +# Minimum interval between two subsequent scheduler runs. Default is 12h. +# This setting should be expressed as a duration. Examples: 10s (seconds), 1m (minutes). +interval =