blob: 5ff5f9492cb7e405d814e5a0deaf01009488d7bf [file] [log] [blame]
adheli.tavares7abe36c2022-02-02 14:53:10 +00001#
2# ===========LICENSE_START====================================================
rameshiyer27630801c2024-10-01 15:19:25 +01003# Copyright (C) 2022-2024 Nordix Foundation.
adheli.tavares7abe36c2022-02-02 14:53:10 +00004# ============================================================================
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.tavaresfce51e82022-02-24 09:54:30 +000019# global config
adheli.tavares7abe36c2022-02-02 14:53:10 +000020global:
adheli.tavaresfce51e82022-02-24 09:54:30 +000021 scrape_interval: 60s
22 evaluation_interval: 60s
adheli.tavares7abe36c2022-02-02 14:53:10 +000023
24# Alertmanager configuration
25alerting:
26 alertmanagers:
waynedunicane4ff7e52023-03-01 09:07:31 +000027 - static_configs:
28 - targets:
29 # - alertmanager:9093
adheli.tavares7abe36c2022-02-02 14:53:10 +000030
adheli.tavaresfce51e82022-02-24 09:54:30 +000031# scrape config
adheli.tavares7abe36c2022-02-02 14:53:10 +000032scrape_configs:
adheli.tavares7abe36c2022-02-02 14:53:10 +000033
waynedunicane4ff7e52023-03-01 09:07:31 +000034- 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.tavares7abe36c2022-02-02 14:53:10 +000041
waynedunicane4ff7e52023-03-01 09:07:31 +000042- 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.tavares7abe36c2022-02-02 14:53:10 +000049
waynedunicane4ff7e52023-03-01 09:07:31 +000050- 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.tavares7abe36c2022-02-02 14:53:10 +000057
waynedunicane4ff7e52023-03-01 09:07:31 +000058- job_name: "drools-apps-metrics"
59 static_configs:
60 - targets:
rameshiyer27630801c2024-10-01 15:19:25 +010061 - "policy-drools-apps:9696"
waynedunicane4ff7e52023-03-01 09:07:31 +000062 basic_auth:
63 username: "demo@people.osaaf.org"
64 password: "demo123456!"
adheli.tavares7abe36c2022-02-02 14:53:10 +000065
waynedunicane4ff7e52023-03-01 09:07:31 +000066- job_name: "drools-pdp-metrics"
67 static_configs:
68 - targets:
rameshiyer27630801c2024-10-01 15:19:25 +010069 - "policy-drools:9696"
waynedunicane4ff7e52023-03-01 09:07:31 +000070 basic_auth:
71 username: "demo@people.osaaf.org"
72 password: "demo123456!"
adheli.tavares7abe36c2022-02-02 14:53:10 +000073
waynedunicane4ff7e52023-03-01 09:07:31 +000074- job_name: "distribution-metrics"
75 static_configs:
76 - targets:
77 - "policy-distribution:6969"
78 basic_auth:
79 username: "policyadmin"
80 password: "zb!XztG34"
adheli.tavares7abe36c2022-02-02 14:53:10 +000081
waynedunicane4ff7e52023-03-01 09:07:31 +000082- 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.tavares476480c2022-06-07 13:36:57 +010089
waynedunicane4ff7e52023-03-01 09:07:31 +000090- 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"