summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2022-04-26 13:19:36 -0500
committerjhh <jorge.hernandez-herrero@att.com>2022-04-27 08:11:49 -0500
commit78430075624c287b4a25e7b0b39622f9bf3313a3 (patch)
treec0c3fd7f0d23d0cd82ca14d0f918be9d14e3d5ce /docs
parentb7962acc6df0a42eff365ff84f1dc313cd0bedda (diff)
prometheus metrics for drools
Issue-ID: POLICY-3960 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: I6a8b729fa625ba658ea3fbff73649f350ac79d2f Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/development/prometheus-metrics.rst21
1 files changed, 18 insertions, 3 deletions
diff --git a/docs/development/prometheus-metrics.rst b/docs/development/prometheus-metrics.rst
index 84699853..39d0a71c 100644
--- a/docs/development/prometheus-metrics.rst
+++ b/docs/development/prometheus-metrics.rst
@@ -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
-----------------------------------