From: Jorge Hernandez Date: Thu, 14 Apr 2022 16:10:18 +0000 (+0000) Subject: Merge "Adding documentation for Prometheus metrics in Xacml-PDP." X-Git-Tag: 10.0.0-ONAP~16 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=2f86c5990a3b01be0226d7c299764e3b0807e1b9;hp=81b980cfa3ac66df07152c7692cf872cb92bfd57;p=policy%2Fparent.git Merge "Adding documentation for Prometheus metrics in Xacml-PDP." --- 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.