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.
21 lines
874 B
21 lines
874 B
global: |
|
scrape_interval: 1s # Set the scrape interval to every 15 seconds. Default is every 1 minute. |
|
evaluation_interval: 5s # Evaluate rules every 15 seconds. The default is every 1 minute. |
|
scrape_configs: |
|
- job_name: 'app1-01' # Job name |
|
static_configs: |
|
- targets: ['app:3001'] # mysqld_exporter address and port |
|
labels: |
|
alias: 'app1-01' # alias name given to this instance |
|
- job_name: 'app1-02' # Job name |
|
metrics_path: /metrics2 |
|
static_configs: |
|
- targets: ['app:3001'] # mysqld_exporter address and port |
|
labels: |
|
alias: 'app1-02' # alias name given to this instance |
|
- job_name: 'jmeter' # Job name |
|
metrics_path: /metrics |
|
static_configs: |
|
- targets: ['172.17.0.1:9027'] # address and port |
|
labels: |
|
alias: 'jmeter' # alias name given to this instance |