Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (17 sloc) 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
You can’t perform that action at this time.