Merge "s3p drools documentation"
authorRam Krishna Verma <ram_krishna.verma@bell.ca>
Wed, 27 Apr 2022 14:17:38 +0000 (14:17 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 27 Apr 2022 14:17:38 +0000 (14:17 +0000)
docs/development/prometheus-metrics.rst

index 8469985..39d0a71 100644 (file)
@@ -131,9 +131,6 @@ Key metrics for APEX-PDP
 | pdpa_engine_average_execution_time_seconds  | Average time taken to execute an APEX policy in seconds                             | "engine_instance_id": ID of the engine thread                                                                        |
 +---------------------------------------------+-------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------------+
 
-Key metrics for Drools PDP
---------------------------
-
 Key metrics for XACML PDP
 -------------------------
 
@@ -146,7 +143,25 @@ Key metrics for XACML PDP
 +--------------------------------+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
 | pdpx_policy_decisions_total    | Counts the total number of decisions              | permit: Counts the number of permit decisions; "deny": Counts the number of deny decisions; "indeterminant": Counts the number of indeterminant decisions; "not_applicable": Counts the number of not applicable decisions.  |
 +--------------------------------+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+| logback_appender_total         | Counts the log entries                            | level: Counts on a per log level basis.                                                                                                                                                                                      |
++--------------------------------+---------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+
+Key metrics for Drools PDP
+--------------------------
 
++-----------------------------------------------+-------------------------------------------------------+-------------------------------------------------------+
+| Metric name                                   | Metric description                                    |Metric labels                                          |
++===============================================+=======================================================+=======================================================+
+| process_start_time_seconds                    | Uptime of policy-drools-pdp component in seconds.     |                                                       |
++-----------------------------------------------+-------------------------------------------------------+-------------------------------------------------------+
+| pdpd_policy_deployments_total                 | Count of policy deployments                           | operation: deploy|undeploy, status: SUCCESS|FAILURE   |
++-----------------------------------------------+-------------------------------------------------------+-------------------------------------------------------+
+| pdpd_policy_executions_latency_seconds_count  | Count of policy executions                            | controller, controlloop, policy                       |
++-----------------------------------------------+-------------------------------------------------------+-------------------------------------------------------+
+| pdpd_policy_executions_latency_seconds_sum    | Count of policy execution latency in seconds          | controller, controlloop, policy                       |
++-----------------------------------------------+-------------------------------------------------------+-------------------------------------------------------+
+| logback_appender_total                        | Count of log entries                                  | level                                                 |
++-----------------------------------------------+-------------------------------------------------------+-------------------------------------------------------+
 
 Key metrics for Policy Distribution
 -----------------------------------