# file: prometheus.yml # my global config global: scrape_interval: 60s # A scrape configuration containing exactly one endpoint to scrape: # Here it's Prometheus itself. scrape_configs: # The job name is added as a label `job=` to any timeseries scraped from this config. - job_name: 'prometheus' static_configs: # 9090 is the prometheus server port - targets: ['localhost:9090'] - job_name: 'kafka' file_sd_configs: - files: - 'targets.json' - job_name: 'broker' file_sd_configs: - files: - 'targets.json' remote_write: - url: queue_config: max_samples_per_send: 1000 max_shards: 200 capacity: 2500 sigv4: region: us-east-1