global: scrape_interval: 10s scrape_timeout: 10s evaluation_interval: 15s alerting: alertmanagers: - static_configs: - targets: rule_files: scrape_configs: - job_name: minio-job bearer_token: metrics_path: /minio/v2/metrics/cluster scheme: http static_configs: - targets: ['minio:9000'] - job_name: 'prometheus' static_configs: - targets: ['prometheus:9090'] - job_name: 'traefik' static_configs: - targets: ['traefik:8082'] - job_name: 'sflow-rt-analyzer' metrics_path: /prometheus/analyzer/txt static_configs: - targets: ['sflow-collector:8008'] - job_name: 'sflow-rt-metrics' metrics_path: /prometheus/metrics/ALL/ALL/txt static_configs: - targets: ['sflow-collector:8008'] metric_relabel_configs: - source_labels: ['agent', 'datasource'] separator: ':' target_label: instance - job_name: 'sflow-rt-countries' metrics_path: /app/prometheus/scripts/export.js/flows/ALL/txt static_configs: - targets: ['sflow-collector:8008'] params: metric: ['sflow_country_bps'] key: ['null:[country:ipsource:both]:unknown','null:[country:ipdestination:both]:unknown'] label: ['src','dst'] value: ['bytes'] scale: ['8'] aggMode: ['sum'] minValue: ['1000'] maxFlows: ['100'] - job_name: 'sflow-rt-asns' metrics_path: /app/prometheus/scripts/export.js/flows/ALL/txt static_configs: - targets: ['sflow-collector:8008'] params: metric: ['sflow_asn_bps'] key: ['null:[asn:ipsource:both]:unknown','null:[asn:ipdestination:both]:unknown'] label: ['src','dst'] value: ['bytes'] scale: ['8'] aggMode: ['sum'] minValue: ['1000'] maxFlows: ['100'] - job_name: 'sflow-rt-src-dst-bps' metrics_path: /app/prometheus/scripts/export.js/flows/ALL/txt static_configs: - targets: ['sflow-collector:8008'] params: metric: ['ip_src_dst_bps'] key: ['ipsource','ipdestination'] label: ['src','dst'] value: ['bytes'] scale: ['8'] minValue: ['1000'] maxFlows: ['100']