scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['localhost:9090']
- job_name: 'Actuators' # This will be overridden in targets.yml
file_sd_configs:
- files:
- targets.yml
======================================================================================
targets.yml:
labels:
job: Target01
__metrics_path__: /apps01/actuator/prometheus
__scheme__: https
__insecure_skip_verify__: true
labels:
job: Target02
__metrics_path__: /apps02/actuator/prometheus
__scheme__: https
__insecure_skip_verify__: true
==========================================================================================
Any help would be greatly appreciated.
TIA!
Andrew