blob: 2d535a0bee2c1e51cd501f67ed45261130b9a606 [file] [log] [blame]
lavado2cc0ea82018-05-15 03:24:03 +00001# Copyright 2018 The Prometheus Authors
2# Copyright 2018 Whitestack
3# Copyright 2018 Telefonica Investigacion y Desarrollo, S.A.U.
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
17# my global config
18global:
19 scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
20 evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
21 # scrape_timeout is set to the global default (10s).
22
23# Alertmanager configuration
24alerting:
25 alertmanagers:
26 - static_configs:
27 - targets:
28 # - alertmanager:9093
29
30# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
31rule_files:
32 # - "first_rules.yml"
33 # - "second_rules.yml"
34
35# A scrape configuration containing exactly one endpoint to scrape:
36# Here it's Prometheus itself.
37scrape_configs:
38 # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
39 - job_name: 'prometheus'
40
41 # metrics_path defaults to '/metrics'
42 # scheme defaults to 'http'.
43
44 static_configs:
lavado60216242018-10-10 23:44:28 +020045 - targets: ['mon:8000']