Disable statistics for default installations 38/126738/3
authorRam Krishna Verma <ram_krishna.verma@bell.ca>
Mon, 24 Jan 2022 20:10:52 +0000 (15:10 -0500)
committerRam Krishna Verma <ram_krishna.verma@bell.ca>
Mon, 24 Jan 2022 20:16:56 +0000 (20:16 +0000)
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 <ram_krishna.verma@bell.ca>
packages/policy-pap-tarball/src/main/resources/etc/papParameters.yaml

index 8c907a6..8a4cba0 100644 (file)
@@ -30,7 +30,7 @@ pap:
     databaseUser: policy_user
     databasePassword: policy_user
     persistenceUnit: PolicyMariaDb
-  savePdpStatisticsInDb: true
+  savePdpStatisticsInDb: false
   topicParameterGroup:
     topicSources:
     - topic: POLICY-PDP-PAP