diff options
author | waynedunican <wayne.dunican@est.tech> | 2023-03-01 09:07:31 +0000 |
---|---|---|
committer | waynedunican <wayne.dunican@est.tech> | 2023-03-31 09:22:52 +0100 |
commit | e4ff7e58336dfb4fa6699e0a37dbbb298a129ada (patch) | |
tree | 628b9dd05e310075d45af382655142fdcd419908 /compose/metrics/prometheus.yml | |
parent | 181e6c525c5e05bbb3e580fd0793b8332200659d (diff) |
Add SLA Validations for Apex-PDP
- Add multiple apex microservice SLA tests
- Add single instance apex SLA tests
- Single instance SLA tests to be ran as part of CSIT runs
- Multiple microservice will not be ran as part of CSITs due to high resource consumption
- Multiple microservice SLA test results can be found in the linked JIRA
- Added setup scripts for multiple instance SLA tests
- nginx added for load balancing purposes for multiple apex instances
Issue-ID: POLICY-4530
Issue-ID: POLICY-4164
Change-Id: Ib86e96c57f4b7bf2b4f5e930fd7d4a3805b50687
Signed-off-by: Wayne Dunican <wayne.dunican@est.tech>
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'compose/metrics/prometheus.yml')
-rw-r--r-- | compose/metrics/prometheus.yml | 124 |
1 files changed, 60 insertions, 64 deletions
diff --git a/compose/metrics/prometheus.yml b/compose/metrics/prometheus.yml index 789cfc2a..c3d87f57 100644 --- a/compose/metrics/prometheus.yml +++ b/compose/metrics/prometheus.yml @@ -24,78 +24,74 @@ global: # Alertmanager configuration alerting: alertmanagers: - - static_configs: - - targets: - # - alertmanager:9093 + - static_configs: + - targets: + # - alertmanager:9093 # scrape config scrape_configs: - - job_name: "api-metrics" - metrics_path: /policy/api/v1/metrics - static_configs: - - targets: ["policy-api:6969"] - basic_auth: - username: "policyadmin" - password: "zb!XztG34" +- job_name: "api-metrics" + metrics_path: /policy/api/v1/metrics + static_configs: + - targets: ["policy-api:6969"] + basic_auth: + username: "policyadmin" + password: "zb!XztG34" - - job_name: "pap-metrics" - metrics_path: /policy/pap/v1/metrics - static_configs: - - targets: ["policy-pap:6969"] - basic_auth: - username: "policyadmin" - password: "zb!XztG34" +- job_name: "pap-metrics" + metrics_path: /policy/pap/v1/metrics + static_configs: + - targets: ["policy-pap:6969"] + basic_auth: + username: "policyadmin" + password: "zb!XztG34" - - job_name: "apex-pdp-metrics" - static_configs: - - targets: - - "policy-apex-pdp:6969" - basic_auth: - username: "policyadmin" - password: "zb!XztG34" +- job_name: "apex-pdp-metrics" + static_configs: + - targets: + - "policy-apex-pdp:6969" + basic_auth: + username: "policyadmin" + password: "zb!XztG34" - - job_name: "drools-apps-metrics" - static_configs: - - targets: - - "drools-apps:9696" - basic_auth: - username: "demo@people.osaaf.org" - password: "demo123456!" +- job_name: "drools-apps-metrics" + static_configs: + - targets: + - "drools-apps:9696" + basic_auth: + username: "demo@people.osaaf.org" + password: "demo123456!" - - job_name: "drools-pdp-metrics" - static_configs: - - targets: - - "drools:9696" - basic_auth: - username: "demo@people.osaaf.org" - password: "demo123456!" +- job_name: "drools-pdp-metrics" + static_configs: + - targets: + - "drools:9696" + basic_auth: + username: "demo@people.osaaf.org" + password: "demo123456!" - - job_name: "distribution-metrics" - static_configs: - - targets: - - "policy-distribution:6969" - basic_auth: - username: "policyadmin" - password: "zb!XztG34" +- job_name: "distribution-metrics" + static_configs: + - targets: + - "policy-distribution:6969" + basic_auth: + username: "policyadmin" + password: "zb!XztG34" - - job_name: "xacml-pdp-metrics" - static_configs: - - targets: - - "policy-xacml-pdp:6969" - basic_auth: - username: "policyadmin" - password: "zb!XztG34" +- job_name: "xacml-pdp-metrics" + static_configs: + - targets: + - "policy-xacml-pdp:6969" + basic_auth: + username: "policyadmin" + password: "zb!XztG34" - - job_name: "acm-metrics" - metrics_path: "/onap/policy/clamp/acm/prometheus" - static_configs: - - targets: - - "policy-clamp-runtime-acm:6969" - basic_auth: - username: "runtimeUser" - password: "zb!XztG34" - - - job_name: "node" - static_configs: - - targets: ["node-exporter:9100"] +- job_name: "acm-metrics" + metrics_path: "/onap/policy/clamp/acm/prometheus" + static_configs: + - targets: + - "policy-clamp-runtime-acm:6969" + basic_auth: + username: "runtimeUser" + password: "zb!XztG34" |