apiVersion: v1 kind: ConfigMap metadata: name: vmagent-config namespace: monitoring data: vmagent-config.yml: | global: scrape_interval: 30s scrape_timeout: 30s scrape_configs: - job_name: pushgateway-aispeech honor_labels: true honor_timestamps: true scrape_interval: 30s scrape_timeout: 30s metrics_path: /metrics scheme: http follow_redirects: true static_configs: - targets: - pushgateway.aispeech.com - job_name: federate-d1-beta honor_labels: true honor_timestamps: true params: match[]: - '{job=~".*"}' - '{__name__=~"job:.*"}' scrape_interval: 15s scrape_timeout: 15s metrics_path: /federate scheme: http follow_redirects: true static_configs: - targets: - prometheus.beta.aispeech.com labels: k8scluster: d1-beta - job_name: federate-d3-alpha honor_labels: true honor_timestamps: true params: match[]: - '{job=~".*"}' - '{__name__=~"job:.*"}' scrape_interval: 15s scrape_timeout: 15s metrics_path: /federate scheme: http follow_redirects: true static_configs: - targets: - prometheus.alpha.aispeech.com labels: k8scluster: d3-alpha - job_name: federate-d1-prod honor_labels: true honor_timestamps: true params: match[]: - '{job=~".*"}' - '{__name__=~"job:.*"}' scrape_interval: 15s scrape_timeout: 15s metrics_path: /federate scheme: http follow_redirects: true static_configs: - targets: - prometheus.hd.aispeech.com labels: k8scluster: d1-prod - job_name: federate-d3-prod honor_labels: true honor_timestamps: true params: match[]: - '{job=~".*"}' - '{__name__=~"job:.*"}' scrape_interval: 15s scrape_timeout: 15s metrics_path: /federate scheme: http follow_redirects: true static_configs: - targets: - prometheus.gk.aispeech.com labels: k8scluster: d3-prod - job_name: federate-d2-prod honor_labels: true honor_timestamps: true params: match[]: - '{job=~".*"}' - '{__name__=~"job:.*"}' scrape_interval: 15s scrape_timeout: 15s metrics_path: /federate scheme: http follow_redirects: true static_configs: - targets: - prometheus.lyg.aispeech.com labels: k8scluster: d2-prod - job_name: aliyun-exporter honor_timestamps: true scrape_interval: 1m scrape_timeout: 1m metrics_path: /metrics scheme: http follow_redirects: true static_configs: - targets: - 172.28.10.9:19525 - job_name: mongo-lasr-prod honor_timestamps: true scrape_interval: 30s scrape_timeout: 30s metrics_path: /metrics scheme: http follow_redirects: true static_configs: - targets: - 10.24.10.67:9001 - job_name: rabbitmq-exporter-kf honor_timestamps: true scrape_interval: 30s scrape_timeout: 30s metrics_path: /metrics scheme: http follow_redirects: true static_configs: - targets: - 10.32.2.98:9419 - job_name: alarm-exporter honor_timestamps: true scrape_interval: 30s scrape_timeout: 30s metrics_path: /alarmMetrics scheme: http follow_redirects: true static_configs: - targets: - exporter-prod.talkinggenie.com:80 - job_name: federate-kf-beta honor_labels: true honor_timestamps: true params: match[]: - '{job=~".*"}' - '{__name__=~"job:.*"}' scrape_interval: 15s scrape_timeout: 15s metrics_path: /federate scheme: http follow_redirects: true static_configs: - targets: - prometheus.kfbeta.aispeech.com labels: k8scluster: kf-beta - job_name: federate-kf-alpha honor_labels: true honor_timestamps: true params: match[]: - '{job=~".*"}' - '{__name__=~"job:.*"}' scrape_interval: 15s scrape_timeout: 15s metrics_path: /federate scheme: http follow_redirects: true static_configs: - targets: - prometheus.kfalpha.aispeech.com:31302 labels: k8scluster: kf-alpha - job_name: federate-kf-prod honor_labels: true honor_timestamps: true params: match[]: - '{job=~".*"}' - '{__name__=~"job:.*"}' scrape_interval: 15s scrape_timeout: 15s metrics_path: /federate scheme: http follow_redirects: true static_configs: - targets: - prometheus.kfprod.aispeech.com labels: k8scluster: kf-prod