aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2022-04-14 16:10:18 +0000
committerGerrit Code Review <gerrit@onap.org>2022-04-14 16:10:18 +0000
commit2f86c5990a3b01be0226d7c299764e3b0807e1b9 (patch)
treeb181d7c0b92353d1d09be17c795fbcd58b34f3e9
parent81b980cfa3ac66df07152c7692cf872cb92bfd57 (diff)
parent532c80c364a4d77e48384235a2e42d440babfcf8 (diff)
Merge "Adding documentation for Prometheus metrics in Xacml-PDP."
-rw-r--r--docs/development/prometheus-metrics.rst26
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/development/prometheus-metrics.rst b/docs/development/prometheus-metrics.rst
index 7e9211ab..90bc9225 100644
--- a/docs/development/prometheus-metrics.rst
+++ b/docs/development/prometheus-metrics.rst
@@ -11,3 +11,29 @@ Prometheus Metrics support in Policy Framework Components
:depth: 3
This page explains the prometheus metrics exposed by different Policy Framework components.
+
+XACML-PDP
+*********
+
+The following Prometheus metric counters are present in the current release:
+
+- pdpx_policy_deployments_total counts the total number of deployment operations.
+- pdpx_policy_decisions_total counts the total number of decisions.
+
+pdpx_policy_deployments_total
++++++++++++++++++++++++++++++
+
+This counter supports the following labels:
+
+- "deploy": Counts the number of successful or failed deploys.
+- "undeploy": Counts the number of successful or failed undeploys.
+
+pdpx_policy_decisions_total
++++++++++++++++++++++++++++
+
+This counter supports the following labels:
+
+- "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.