我正在运行 Spring Boot 2 应用程序并添加了执行器 spring boot 启动器依赖项。我启用了所有 Web 端点,然后调用:
http://localhost:8080/actuator/metrics
结果是:
{
"names": ["jdbc.connections.active",
"jdbc.connections.max",
"jdbc.connections.min",
"hikaricp.connections.idle",
"hikaricp.connections.pending",
"hikaricp.connections",
"hikaricp.connections.active",
"hikaricp.connections.creation",
"hikaricp.connections.max",
"hikaricp.connections.min",
"hikaricp.connections.usage",
"hikaricp.connections.timeout",
"hikaricp.connections.acquire"]
}
但我缺少所有 JVM 统计信息和其他内置指标。我在这里想念什么?我读到的所有内容都说这些指标应该随时可用。
感谢您的任何提示。