From c9f47efdffe00fc5f823b1c982e6b12d92f90276 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Fri, 23 Mar 2018 01:14:12 -0500 Subject: transaction logging through a feature This is the first of 2 code inspections. This review contains though most of the work. It keeps tracks of all in progress transactions by intercepting all notifications. From that appropriate metrics can be obtained and logged. The actual logging of the metrics and enablement of the feature at install time will come in a subsequent review. Change-Id: Ie5c8adfbdeae72758da7da8a1b4133cd4818c6fb Issue-ID: POLICY-533 Signed-off-by: Jorge Hernandez --- .../src/test/resources/feature-controlloop-trans.properties | 2 ++ .../src/test/resources/metrics-controller.properties | 1 + 2 files changed, 3 insertions(+) create mode 100644 controlloop/common/feature-controlloop-trans/src/test/resources/feature-controlloop-trans.properties create mode 100644 controlloop/common/feature-controlloop-trans/src/test/resources/metrics-controller.properties (limited to 'controlloop/common/feature-controlloop-trans/src/test/resources') diff --git a/controlloop/common/feature-controlloop-trans/src/test/resources/feature-controlloop-trans.properties b/controlloop/common/feature-controlloop-trans/src/test/resources/feature-controlloop-trans.properties new file mode 100644 index 000000000..80bdc2ad3 --- /dev/null +++ b/controlloop/common/feature-controlloop-trans/src/test/resources/feature-controlloop-trans.properties @@ -0,0 +1,2 @@ +controlloop.cache.transactions.size=3 +controllop.cache.transactions.timeout.seconds=10 \ No newline at end of file diff --git a/controlloop/common/feature-controlloop-trans/src/test/resources/metrics-controller.properties b/controlloop/common/feature-controlloop-trans/src/test/resources/metrics-controller.properties new file mode 100644 index 000000000..9612315f6 --- /dev/null +++ b/controlloop/common/feature-controlloop-trans/src/test/resources/metrics-controller.properties @@ -0,0 +1 @@ +controller.name=metrics -- cgit 1.2.3-korg