From: Ram Krishna Verma Date: Mon, 24 Jan 2022 20:10:52 +0000 (-0500) Subject: Disable statistics for default installations X-Git-Tag: 2.6.1~15 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=3878aab0518225fcebedfddb1b4aa9c468773dba;p=policy%2Fpap.git Disable statistics for default installations As discussed during weekly call, with the move towards prometheus way of monitoring policy framework components. There is no need to keep the statistics flag turned on by default and utilize resources in processing & storing them. Hence, turning off the flag here. Will raise another review for OOM. Won't cause any breakage to CSIT as we are already providing config to enable the statistics there. Issue-ID: POLICY-3156 Change-Id: I89962277a6b9aede713317336f776ea3ed9ffd65 Signed-off-by: Ram Krishna Verma --- diff --git a/packages/policy-pap-tarball/src/main/resources/etc/papParameters.yaml b/packages/policy-pap-tarball/src/main/resources/etc/papParameters.yaml index 8c907a6e..8a4cba0f 100644 --- a/packages/policy-pap-tarball/src/main/resources/etc/papParameters.yaml +++ b/packages/policy-pap-tarball/src/main/resources/etc/papParameters.yaml @@ -30,7 +30,7 @@ pap: databaseUser: policy_user databasePassword: policy_user persistenceUnit: PolicyMariaDb - savePdpStatisticsInDb: true + savePdpStatisticsInDb: false topicParameterGroup: topicSources: - topic: POLICY-PDP-PAP