70 lines
1.7 KiB
YAML
70 lines
1.7 KiB
YAML
global:
|
|
scrape_interval: 15s
|
|
scrape_timeout: 10s
|
|
evaluation_interval: 15s
|
|
alerting:
|
|
alertmanagers:
|
|
- static_configs:
|
|
- targets: [alertmanager:9093]
|
|
scheme: http
|
|
timeout: 10s
|
|
api_version: v1
|
|
rule_files:
|
|
- /etc/prometheus/alert.rules
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
honor_timestamps: true
|
|
scrape_interval: 15s
|
|
scrape_timeout: 10s
|
|
metrics_path: /metrics
|
|
scheme: http
|
|
static_configs:
|
|
- targets:
|
|
- infra.bv.stef.lan:9100
|
|
- 192.168.1.50:9100
|
|
- cadvisor:8080
|
|
- 192.168.1.104:9100
|
|
- appdemo.dell.stef.lan:80
|
|
|
|
- job_name: nodes_kube
|
|
honor_timestamps: true
|
|
scrape_interval: 15s
|
|
scrape_timeout: 10s
|
|
metrics_path: /metrics
|
|
scheme: http
|
|
static_configs:
|
|
- targets:
|
|
- knode01.bv.stef.lan:9100
|
|
- knode02.bv.stef.lan:9100
|
|
- knode03.bv.stef.lan:9100
|
|
|
|
- job_name: 'sflow-rt-analyzer'
|
|
metrics_path: /prometheus/analyzer/txt
|
|
static_configs:
|
|
- targets: ['192.168.200.21:8008']
|
|
- job_name: 'sflow-rt-metrics'
|
|
metrics_path: /prometheus/metrics/ALL/ALL/txt
|
|
static_configs:
|
|
- targets: ['192.168.200.21:8008']
|
|
- job_name: 'sflow-rt-flow-src-dst-bps'
|
|
metrics_path: /app/prometheus/scripts/export.js/flows/ALL/txt
|
|
static_configs:
|
|
- targets: ['192.168.200.21:8008']
|
|
params:
|
|
metric: ['ip_src_dst_bps']
|
|
key: ['ipsource','ipdestination']
|
|
label: ['src','dst']
|
|
value: ['bytes']
|
|
scale: ['8']
|
|
minValue: ['1000']
|
|
maxFlows: ['100']
|
|
|
|
- job_name: minio-job
|
|
bearer_token: eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJwcm9tZXRoZXVzIiwic3ViIjoiYWRtaW4iLCJleHAiOjQ5MDYwMzc3Njh9.VmApbIPOb0Ham_0rsPb-uIzN7MhjUjdIkCG6t7cC-tSc8A1UGHc82LOUGzTt7uP7sYH03sP_BGLY39BrNQ2Riw
|
|
metrics_path: /minio/v2/metrics/cluster
|
|
scheme: http
|
|
static_configs:
|
|
- targets: [minio.dell.stef.lan]
|
|
|