For the complete documentation index, see llms.txt. This page is also available as Markdown.

1️⃣Prometheus+Nacos动态监控发现

基于nacos注册中心实现Prometheus的动态发现...

准备环境

整合步骤

  • 创建nacos命名空间,如Prometheus

  • 创建一个服务发现配置json文件,例如

  • 找到nacos文件产生的文件位置,将其路径添加到Prometheus的配置文件,例如(按照实际环境修改)

  • 重启Prometheus,再nacos的Prometheus命名空间下添加.json文件,查看Prometheus面板Status->Targets,观察是否生效

Last updated