Updating ONAP A1PMS version & Change to OpenAPI-first
[nonrtric/plt/a1policymanagementservice.git] / config / prometheus.yml
1 #
2 # ============LICENSE_START=======================================================
3 # ONAP : ccsdk oran
4 # ================================================================================
5 # Copyright (C) 2022 Nordix Foundation. All rights reserved.
6 # ================================================================================
7 # Licensed under the Apache License, Version 2.0 (the "License");
8 # you may not use this file except in compliance with the License.
9 # You may obtain a copy of the License at
10 #
11 #      http://www.apache.org/licenses/LICENSE-2.0
12 #
13 # Unless required by applicable law or agreed to in writing, software
14 # distributed under the License is distributed on an "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 # See the License for the specific language governing permissions and
17 # limitations under the License.
18 #
19 # SPDX-License-Identifier: Apache-2.0
20 # ============LICENSE_END=========================================================
21 #
22
23 # Sample Prometheus config
24 # This assumes that your Prometheus instance can access this application on localhost:8081
25 # host.docker.internal could be overridden as per the application's end-point e.g. localhost
26
27 global:
28   scrape_interval:     15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
29   evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
30   # scrape_timeout is set to the global default (10s).
31
32 scrape_configs:
33   - job_name: 'A1 PMS scrape'
34     metrics_path: '/actuator/prometheus'
35     scrape_interval: 15s
36     static_configs:
37       - targets: ['host.docker.internal:8081']