Add prometheus/prometheus.yml

This commit is contained in:
2025-11-27 16:38:24 +00:00
parent 8e04118d48
commit 7032d2de5b

121
prometheus/prometheus.yml Normal file
View File

@@ -0,0 +1,121 @@
global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
alerting:
alertmanagers:
- static_configs:
- targets: []
scheme: http
timeout: 10s
api_version: v2
scrape_configs:
- job_name: prometheus
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:9090
# - job_name: 'omega' # static address fpr OMEGA 2.5Gb link
# static_configs:
# - targets: ['192.168.1.5:9100']
#
# - job_name: 'valhalla' # Change to whatever you like
# static_configs:
# - targets: ['192.168.1.7:9100'] #Change this to your server's IP
#
- job_name: monitor
static_configs:
- targets: ['192.168.1.22:9100']
# - job_name: rasp3b
# static_configs:
# - targets: ['192.168.1.23:9100']
- job_name: prod-01
static_configs:
- targets: ['192.168.1.12:9100']
- job_name: prod-02
static_configs:
- targets: ['192.168.1.13:9100']
- job_name: prod-03
static_configs:
- targets: ['192.168.1.14:9100']
- job_name: prod-04
static_configs:
- targets: ['192.168.1.15:9100']
#
# ***
#
- job_name: node-16
static_configs:
- targets: ['192.168.1.16:9100']
- job_name: node-17
static_configs:
- targets: ['192.168.1.17:9100']
- job_name: node-18
static_configs:
- targets: ['192.168.1.18:9100']
- job_name: node-19
static_configs:
- targets: ['192.168.1.19:9100']
#
# ^^^
#
- job_name: delta
static_configs:
- targets: ['192.168.1.10:9100']
- job_name: gamma
static_configs:
- targets: ['192.168.1.11:9100']
- job_name: beta
static_configs:
- targets: ['192.168.1.9:9100']
#
#
#
# - job_name: cadvisor_paradise
# scrape_interval: 5s
# static_configs:
# - targets: ['192.168.1.151:8083']
#
# - job_name: cadvisor_monitor
# scrape_interval: 5s
# static_configs:
# - targets: ['192.168.1.22:8083']
##
# - job_name: cadvisor_prod-01
# scrape_interval: 5s
# static_configs:
# - targets: ['192.168.1.50:8083']
#
# - job_name: cadvisor_prod-02
# scrape_interval: 5s
# static_configs:
# - targets: ['192.168.1.52:8083']
#
# - job_name: cadvisor_prod-03
# scrape_interval: 5s
# static_configs:
# - targets: ['192.168.1.54:8083']
#
# - job_name: cadvisor_prod-04
# scrape_interval: 5s
# static_configs:
# - targets: ['192.168.1.53:8083']
#
# - job_name: cadvisor_prod-06
# scrape_interval: 5s
# static_configs:
# - targets: ['192.168.1.55:8083']
#
# Attempt to scrape the metrics from the standard admin port of 2019
# Requires Caddyfile to have 2019 accessible from 0.0.0.0; "metrics" declared in the globall secrtion AND
# a metrics handler declaring metrics are avaiable on 2019! Weird but it works!!
#
- job_name: caddy
scrape_interval: 30s
scrape_timeout: 25s
static_configs:
- targets: ['192.168.1.1:2019']