Nacos
集群
配置文件
vi path/conf/application.properties
management.endpoints.web.exposure.include=*sh path/bin/shutdown.sh
sh path/bin/startup.sh配置prometheus.yml
scrape_configs:
- job_name: Nacos
metrics_path: /nacos/actuator/prometheus
static_configs:
- targets:
- ip1:8848
labels:
instance: Nacos_node1
- targets:
- ip2:8848
labels:
instance: Nacos_node2
- targets:
- ip:8848
labels:
instance: Nacos_node3Last updated