Prometheus requires that all meters with the same name have the same set of tag keys.异常处理

在sprngboot整合zipkin的过程中,项目启动后,通过网址http://localhost:9411访问UI时,报错,详细如下图所示:

Prometheus requires that all meters with the same name have the same set of tag keys.异常处理_第1张图片

解决办法

    在application.xml文件中添加参数配置如下:

   

  #zipkin 配置参数,关闭自动监测

management:    

        metrics:

            web:

                server:

                    auto-time-requests: false #Required

你可能感兴趣的:(prometheus,spring,boot,Zipkin)