首页 > 解决方案 > Spring Boot Webflux - “process_threads”指标问题

问题描述

请快速询问有关指标“process_threads”的问题。

目前使用 SpringBoot Webflux 应用程序 2.5.4,我目前正在导入 Actuator、Micrometer 和 Prometheus 依赖项。

我认为(不确定)开箱即用的一个指标是process_threads指标。

我们甚至可以在网络上看到使用此指标的流行仪表板:

https://grafana.com/grafana/dashboards/4701

 {
              "expr": "process_threads{application=\"$application\", instance=\"$instance\"}",
              "format": "time_series",
              "interval": "",
              "intervalFactor": 2,
              "legendFormat": "process",
              "refId": "D",
              "step": 2400
            }

不幸的是,对于我当前的 Web 应用程序,这些指标确实会产生任何价值。(只是这个指标,其他指标工作正常)。

请问有什么问题吗?

自某个版本以来,此指标是否已删除?

我是否忘记实例化将填充指标的东西?

也许该指标在以前的版本中已被弃用?

谢谢

标签: javaspring-webfluxspring-boot-actuatorspring-micrometer

解决方案


推荐阅读