Blame SOURCES/0003-update-default-configuration.patch

05d305
From a84194c2f7929bd78303daf04a56ab32cd9c4bb3 Mon Sep 17 00:00:00 2001
05d305
From: Andreas Gerstmayr <agerstmayr@redhat.com>
05d305
Date: Wed, 22 Jun 2022 17:05:48 +0200
05d305
Subject: [PATCH] update default configuration
05d305
05d305
05d305
diff --git a/conf/defaults.ini b/conf/defaults.ini
05d305
index dbb7143be4..4a3cf0a21d 100644
05d305
--- a/conf/defaults.ini
05d305
+++ b/conf/defaults.ini
05d305
@@ -190,7 +190,7 @@ row_limit = 1000000
05d305
 # No ip addresses are being tracked, only simple counters to track
05d305
 # running instances, dashboard and error counts. It is very helpful to us.
05d305
 # Change this option to false to disable reporting.
05d305
-reporting_enabled = true
05d305
+reporting_enabled = false
05d305
 
05d305
 # The name of the distributor of the Grafana instance. Ex hosted-grafana, grafana-labs
05d305
 reporting_distributor = grafana-labs
05d305
@@ -200,7 +200,7 @@ reporting_distributor = grafana-labs
05d305
 # in some UI views to notify that a grafana update exists.
05d305
 # This option does not cause any auto updates, nor send any information
05d305
 # only a GET request to https://raw.githubusercontent.com/grafana/grafana/main/latest.json to get the latest version.
05d305
-check_for_updates = true
05d305
+check_for_updates = false
05d305
 
05d305
 # Set to false to disable all checks to https://grafana.com
05d305
 # for new versions of plugins. The check is used
05d305
diff --git a/conf/sample.ini b/conf/sample.ini
05d305
index d44532f346..1ede932e1e 100644
05d305
--- a/conf/sample.ini
05d305
+++ b/conf/sample.ini
05d305
@@ -196,7 +196,7 @@
05d305
 # No ip addresses are being tracked, only simple counters to track
05d305
 # running instances, dashboard and error counts. It is very helpful to us.
05d305
 # Change this option to false to disable reporting.
05d305
-;reporting_enabled = true
05d305
+;reporting_enabled = false
05d305
 
05d305
 # The name of the distributor of the Grafana instance. Ex hosted-grafana, grafana-labs
05d305
 ;reporting_distributor = grafana-labs
05d305
@@ -206,7 +206,7 @@
05d305
 # in some UI views to notify that a grafana update exists.
05d305
 # This option does not cause any auto updates, nor send any information
05d305
 # only a GET request to https://raw.githubusercontent.com/grafana/grafana/main/latest.json to get the latest version.
05d305
-;check_for_updates = true
05d305
+;check_for_updates = false
05d305
 
05d305
 # Set to false to disable all checks to https://grafana.com
05d305
 # for new versions of plugins. The check is used
05d305
@@ -338,7 +338,7 @@
05d305
 
05d305
 # Minimum dashboard refresh interval. When set, this will restrict users to set the refresh interval of a dashboard lower than given interval. Per default this is 5 seconds.
05d305
 # The interval string is a possibly signed sequence of decimal numbers, followed by a unit suffix (ms, s, m, h, d), e.g. 30s or 1m.
05d305
-;min_refresh_interval = 5s
05d305
+min_refresh_interval = 1s
05d305
 
05d305
 # Path to the default home dashboard. If this value is empty, then Grafana uses StaticRootPath + "dashboards/home.json"
05d305
 ;default_home_dashboard_path =
05d305
@@ -1028,7 +1028,7 @@
05d305
 ;enable_alpha = false
05d305
 ;app_tls_skip_verify_insecure = false
05d305
 # Enter a comma-separated list of plugin identifiers to identify plugins to load even if they are unsigned. Plugins with modified signatures are never loaded.
05d305
-;allow_loading_unsigned_plugins =
05d305
+allow_loading_unsigned_plugins = performancecopilot-pcp-app,pcp-redis-datasource,pcp-vector-datasource,pcp-bpftrace-datasource,pcp-flamegraph-panel,pcp-breadcrumbs-panel,pcp-troubleshooting-panel,performancecopilot-redis-datasource,performancecopilot-vector-datasource,performancecopilot-bpftrace-datasource,performancecopilot-flamegraph-panel,performancecopilot-breadcrumbs-panel,performancecopilot-troubleshooting-panel
05d305
 # Enable or disable installing / uninstalling / updating plugins directly from within Grafana.
05d305
 ;plugin_admin_enabled = false
05d305
 ;plugin_admin_external_manage_enabled = false