2 # ============LICENSE_START=======================================================
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
11 # http://www.apache.org/licenses/LICENSE-2.0
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.
19 # SPDX-License-Identifier: Apache-2.0
20 # ============LICENSE_END=========================================================
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
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).
33 - job_name: 'A1 PMS scrape'
34 metrics_path: '/actuator/prometheus'
37 - targets: ['host.docker.internal:8081']