Micrometer: Spring Boot 2's new application metrics collector
https://spring.io/blog/2018/03/16/micrometer-spring-boot-2-s-new-application-metrics-collector
Spring Boot metrics monitoring using elasticsearch and kibana
https://aboullaite.me/spring-boot-elastic-kibana/
https://www.elastic.co/guide/en/kibana/current/tutorial-build-dashboard.html
ELKstack 中文指南
https://elkguide.elasticsearch.cn/kibana/v5/visualize/
http://lswsimap7u:9200/metrics-tm-api-2020.07.13
http://lswsimap7u:9200/_template/metrics_template
elk基于jolokia监控springboot应用jvm方案
https://www.jianshu.com/p/6edec67d1b10
<dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-elastic</artifactId> </dependency>
# Spring Actuator configuration
management:
endpoints.web.exposure:
# expose all actuator endpoints except for 'shutdown'
include: "*"
exclude: shutdown
endpoint.health.showDetails: always
# Publish metrics to Elasticsearch every 1 minute
metrics.export.elastic:
enabled: true
host: http://lswsimap7u:9200
index: metrics-tm-api
indexDateFormat: yyyy.MM.dd
step: 1m
health:
tpsoauth.healthUri: ${security.oauth2.authServerUri}/health