diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2022-02-08 19:23:41 -0600 |
---|---|---|
committer | jhh <jorge.hernandez-herrero@att.com> | 2022-02-08 19:23:41 -0600 |
commit | 6a7b2bafee504d41f061f470746999f4ddcaf964 (patch) | |
tree | a27d52e80527964e788a507a7b155ff356363bee /utils/src/main | |
parent | c341937e0c058304a5a808e4bf416b651d817032 (diff) |
add constants for policy execution latency metric
Issue-ID: POLICY-3761
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: Ib4885e8f412c540796de37d18fc553da0a04f46c
Diffstat (limited to 'utils/src/main')
-rw-r--r-- | utils/src/main/java/org/onap/policy/common/utils/resources/PrometheusUtils.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/src/main/java/org/onap/policy/common/utils/resources/PrometheusUtils.java b/utils/src/main/java/org/onap/policy/common/utils/resources/PrometheusUtils.java index b6dae149..bac65d4e 100644 --- a/utils/src/main/java/org/onap/policy/common/utils/resources/PrometheusUtils.java +++ b/utils/src/main/java/org/onap/policy/common/utils/resources/PrometheusUtils.java @@ -53,6 +53,18 @@ public class PrometheusUtils { public static final String POLICY_EXECUTION_HELP = "The total number of TOSCA policy executions."; /** + * Policy Execution Latency in Seconds Metric Name. + * This metric name is not to be used as a counter. + */ + public static final String POLICY_EXECUTIONS_LATENCY_SECONDS_METRIC = "policy_executions_latency_seconds"; + + /** + * Policy Execution Latency in Seconds Metric Help message. + */ + public static final String POLICY_EXECUTIONS_LATENCY_SECONDS_HELP = + "The latency in seconds of TOSCA policy executions."; + + /** * Metric label for arbitrary operations (eg. deploy, undeploy, execute). */ public static final String OPERATION_METRIC_LABEL = "operation"; |