You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
747 B

global:
scrape_interval: 10s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
scrape_configs:
- job_name: 'kafka-1' # Job name
static_configs:
- targets: ['localhost:7071'] # mysqld_exporter address and port
labels:
alias: 'kafka-1' # alias name given to this instance
- job_name: 'kafka-2' # Job name
static_configs:
- targets: ['localhost:7072'] # mysqld_exporter address and port
labels:
alias: 'kafka-2' # alias name given to this instance
- job_name: 'kafka-3' # Job name
static_configs:
- targets: ['localhost:7073'] # mysqld_exporter address and port
labels:
alias: 'kafka-3' # alias name given to this instance