diff options
author | Rashmi Pujar <rashmi.pujar1@bell.ca> | 2021-11-26 07:44:23 -0500 |
---|---|---|
committer | Rashmi Pujar <rashmi.pujar1@bell.ca> | 2021-11-30 11:23:53 -0500 |
commit | df756c6862e4a94b43e85c3b95b50fb305c9ee76 (patch) | |
tree | 9acc4abfc21753711abffadabd5ab9610ac99714 /services/services-engine/pom.xml | |
parent | 886976ee99995c83dac4b6a7805c3d1514c5ce18 (diff) |
Prometheus metrics for policy deploy/undeploy requests for APEX
Added counters for:
- Policy deploy/undeploy requests total
- Policy deploy/undeploy successful requests total
- Policy deploy/undeploy failed requests total
Cleaned up unused method resetAllStatistics.
Fixed some checkstyle warnings
Update to latest snapshot for parent, and common modules
Depends on https://gerrit.onap.org/r/c/policy/parent/+/125974 for build to pass.
Issue-ID: POLICY-3760
Change-Id: I4a9447c9caea7a018dba86057b9dae3871910709
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Diffstat (limited to 'services/services-engine/pom.xml')
-rw-r--r-- | services/services-engine/pom.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/services/services-engine/pom.xml b/services/services-engine/pom.xml index 039e40925..bd527c69d 100644 --- a/services/services-engine/pom.xml +++ b/services/services-engine/pom.xml @@ -2,6 +2,7 @@ ============LICENSE_START======================================================= Copyright (C) 2018 Ericsson. All rights reserved. Copyright (C) 2019-2020 Nordix Foundation. + Modifications Copyright (C) 2021 Bell Canada Intellectual Property. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -42,6 +43,10 @@ <artifactId>common-parameters</artifactId> </dependency> <dependency> + <groupId>io.prometheus</groupId> + <artifactId>simpleclient</artifactId> + </dependency> + <dependency> <groupId>org.onap.policy.apex-pdp.core</groupId> <artifactId>core-engine</artifactId> <version>${project.version}</version> @@ -102,4 +107,4 @@ </resource> </resources> </build> -</project> +</project>
\ No newline at end of file |