Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 544 Bytes

micrometer.md

File metadata and controls

29 lines (17 loc) · 544 Bytes

相应组件部署

引入 Prometheus

<dependency>
    <groupId>io.micrometer</groupId>
    <artifactId>micrometer-registry-prometheus</artifactId>
</dependency>

访问:http://sso.cdk8s.com:19091/tkey-actuator/actuator/prometheus

可以看到 prometheus 暴露出来的埋点信息

Micrometer Tag

$instance - Instance Name
$application - Spring Boot Application Name
$hikaricp - HikariCP Connection Pool Name