Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
490 views
in Technique[技术] by (71.8m points)

请问actuator监控hikaricp的指标项是什么?

请求接口http://ip:port/actuator/metrics/hikaricp.connections.usage

返回:

{
    "name": "hikaricp.connections.usage",
    "description": "Connection usage time",
    "baseUnit": "seconds",
    "measurements": [{
            "statistic": "COUNT",
            "value": 70291
        },
        {
            "statistic": "TOTAL_TIME",
            "value": 562.648
        },
        {
            "statistic": "MAX",
            "value": 0.013
        }
    ],
    "availableTags": [{
        "tag": "pool",
        "values": [
            "DatebookHikariCP1",
            "DatebookHikariCP2"
        ]
    }]
}

请问以上的COUNT,TOTAL_TIME,MAX是什么意思?

COUNT,TOTAL_TIME我猜测为连接总使用次数、连接总使用时间。

但MAX猜不出是啥玩意.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...