prometheus_1C_exporter
/
prometheus.yml
30 строк · 1.0 Кб
1# my global config
2global:
3scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
4evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
5# scrape_timeout is set to the global default (10s).
6
7# Alertmanager configuration
8alerting:
9alertmanagers:
10- static_configs:
11- targets:
12# - alertmanager:9093
13
14# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
15rule_files:
16# - "first_rules.yml"
17# - "second_rules.yml"
18
19# A scrape configuration containing exactly one endpoint to scrape:
20# Here it's Prometheus itself.
21scrape_configs:
22# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
23- job_name: "prometheus"
24static_configs:
25- targets: ["localhost:9090"]
26
27- job_name: '1C_Metrics'
28metrics_path: '/1C_Metrics'
29static_configs:
30- targets: ['host.docker.internal:9091'] # если прометея запускать в докере