chen-gliu / nacos-consul-adapter

This project contains a Spring Boot Starter that registers HTTP endpoints on a Spring Cloud Nacos server to support Prometheus's service discovery mechanism for Consul (<consul_sd_config>)
MIT License
87 stars 36 forks source link

Prometheus能从nacos获取到服务,但是却没有数据插入到Prometheus中 #21

Closed alexz0000 closed 9 months ago

alexz0000 commented 9 months ago

从Prometheus的日志看,Prometheus已经查询到有哪些服务了。但是Prometheus的targets里始终看不到任何服务。

alexz0000 commented 9 months ago

顺便说一下,我使用的Prometheus版本是2.28

chen-gliu commented 9 months ago

建议排查Prometheus