Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个使用Spring Cloud自动向 Consul 注册的微服务,但是当服务关闭时,它会被取消注册,这意味着我们使用Prometheus配置的警报会触发一次,然后自动解析。如何禁用此功能,以便服务保持注册状态,除非手动删除。