adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 1 | # |
| 2 | # ===========LICENSE_START==================================================== |
rameshiyer27 | 630801c | 2024-10-01 15:19:25 +0100 | [diff] [blame] | 3 | # Copyright (C) 2022-2024 Nordix Foundation. |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 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 |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 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===================================================== |
| 17 | # |
| 18 | |
adheli.tavares | fce51e8 | 2022-02-24 09:54:30 +0000 | [diff] [blame] | 19 | # global config |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 20 | global: |
adheli.tavares | fce51e8 | 2022-02-24 09:54:30 +0000 | [diff] [blame] | 21 | scrape_interval: 60s |
| 22 | evaluation_interval: 60s |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 23 | |
| 24 | # Alertmanager configuration |
| 25 | alerting: |
| 26 | alertmanagers: |
waynedunican | e4ff7e5 | 2023-03-01 09:07:31 +0000 | [diff] [blame] | 27 | - static_configs: |
| 28 | - targets: |
| 29 | # - alertmanager:9093 |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 30 | |
adheli.tavares | fce51e8 | 2022-02-24 09:54:30 +0000 | [diff] [blame] | 31 | # scrape config |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 32 | scrape_configs: |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 33 | |
waynedunican | e4ff7e5 | 2023-03-01 09:07:31 +0000 | [diff] [blame] | 34 | - job_name: "api-metrics" |
| 35 | metrics_path: /policy/api/v1/metrics |
| 36 | static_configs: |
| 37 | - targets: ["policy-api:6969"] |
| 38 | basic_auth: |
| 39 | username: "policyadmin" |
| 40 | password: "zb!XztG34" |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 41 | |
waynedunican | e4ff7e5 | 2023-03-01 09:07:31 +0000 | [diff] [blame] | 42 | - job_name: "pap-metrics" |
| 43 | metrics_path: /policy/pap/v1/metrics |
| 44 | static_configs: |
| 45 | - targets: ["policy-pap:6969"] |
| 46 | basic_auth: |
| 47 | username: "policyadmin" |
| 48 | password: "zb!XztG34" |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 49 | |
waynedunican | e4ff7e5 | 2023-03-01 09:07:31 +0000 | [diff] [blame] | 50 | - job_name: "apex-pdp-metrics" |
| 51 | static_configs: |
| 52 | - targets: |
| 53 | - "policy-apex-pdp:6969" |
| 54 | basic_auth: |
| 55 | username: "policyadmin" |
| 56 | password: "zb!XztG34" |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 57 | |
waynedunican | e4ff7e5 | 2023-03-01 09:07:31 +0000 | [diff] [blame] | 58 | - job_name: "drools-apps-metrics" |
| 59 | static_configs: |
| 60 | - targets: |
rameshiyer27 | 630801c | 2024-10-01 15:19:25 +0100 | [diff] [blame] | 61 | - "policy-drools-apps:9696" |
waynedunican | e4ff7e5 | 2023-03-01 09:07:31 +0000 | [diff] [blame] | 62 | basic_auth: |
| 63 | username: "demo@people.osaaf.org" |
| 64 | password: "demo123456!" |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 65 | |
waynedunican | e4ff7e5 | 2023-03-01 09:07:31 +0000 | [diff] [blame] | 66 | - job_name: "drools-pdp-metrics" |
| 67 | static_configs: |
| 68 | - targets: |
rameshiyer27 | 630801c | 2024-10-01 15:19:25 +0100 | [diff] [blame] | 69 | - "policy-drools:9696" |
waynedunican | e4ff7e5 | 2023-03-01 09:07:31 +0000 | [diff] [blame] | 70 | basic_auth: |
| 71 | username: "demo@people.osaaf.org" |
| 72 | password: "demo123456!" |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 73 | |
waynedunican | e4ff7e5 | 2023-03-01 09:07:31 +0000 | [diff] [blame] | 74 | - job_name: "distribution-metrics" |
| 75 | static_configs: |
| 76 | - targets: |
| 77 | - "policy-distribution:6969" |
| 78 | basic_auth: |
| 79 | username: "policyadmin" |
| 80 | password: "zb!XztG34" |
adheli.tavares | 7abe36c | 2022-02-02 14:53:10 +0000 | [diff] [blame] | 81 | |
waynedunican | e4ff7e5 | 2023-03-01 09:07:31 +0000 | [diff] [blame] | 82 | - job_name: "xacml-pdp-metrics" |
| 83 | static_configs: |
| 84 | - targets: |
| 85 | - "policy-xacml-pdp:6969" |
| 86 | basic_auth: |
| 87 | username: "policyadmin" |
| 88 | password: "zb!XztG34" |
adheli.tavares | 476480c | 2022-06-07 13:36:57 +0100 | [diff] [blame] | 89 | |
waynedunican | e4ff7e5 | 2023-03-01 09:07:31 +0000 | [diff] [blame] | 90 | - job_name: "acm-metrics" |
| 91 | metrics_path: "/onap/policy/clamp/acm/prometheus" |
| 92 | static_configs: |
| 93 | - targets: |
| 94 | - "policy-clamp-runtime-acm:6969" |
| 95 | basic_auth: |
| 96 | username: "runtimeUser" |
| 97 | password: "zb!XztG34" |