A
Size: a a a
A
KY
KY
KY
KY
KY
KY
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: ['127.0.0.1:9090']
- job_name: 'spring-actuator'
metrics_path: '/actuator/prometheus'
scrape_interval: 5s
static_configs:
- targets: ['HOST_IP:8080']
KY
A
KY
KY
A
A
RestTemplate RsT = new RestTemplateBuilder.buid()
Нужно инжектить билдер от спринга:@Autowired
RestTemplateBuilder RsTB;
//some code...
RestTemplate RsT = RsTB.build();
тогда действительно все из коробки собираетсяA
ΙΤ
ЕР
TP
A
VG
VG