2 # ===========LICENSE_START====================================================
3 # Copyright (C) 2022-2023 Nordix Foundation.
4 # ============================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=====================================================
22 evaluation_interval: 60s
24 # Alertmanager configuration
34 - job_name: "api-metrics"
35 metrics_path: /policy/api/v1/metrics
37 - targets: ["policy-api:6969"]
39 username: "policyadmin"
42 - job_name: "pap-metrics"
43 metrics_path: /policy/pap/v1/metrics
45 - targets: ["policy-pap:6969"]
47 username: "policyadmin"
50 - job_name: "apex-pdp-metrics"
53 - "policy-apex-pdp:6969"
55 username: "policyadmin"
58 - job_name: "drools-apps-metrics"
63 username: "demo@people.osaaf.org"
64 password: "demo123456!"
66 - job_name: "drools-pdp-metrics"
71 username: "demo@people.osaaf.org"
72 password: "demo123456!"
74 - job_name: "distribution-metrics"
77 - "policy-distribution:6969"
79 username: "policyadmin"
82 - job_name: "xacml-pdp-metrics"
85 - "policy-xacml-pdp:6969"
87 username: "policyadmin"
90 - job_name: "acm-metrics"
91 metrics_path: "/onap/policy/clamp/acm/prometheus"
94 - "policy-clamp-runtime-acm:6969"
96 username: "runtimeUser"