mirror of
https://github.com/Alfresco/alfresco-transform-core.git
synced 2025-05-12 17:04:48 +00:00
ATS-126 : Expose JVM metrics - eg. CPU & Memory (within jvm process / container)
- added actuator & micrometer - enabled /health, /metrics & /prometheus - disabled some of the default metrics (subject to be discussed)
This commit is contained in:
parent
71f0598115
commit
7c2cb2f768
@ -21,6 +21,14 @@
|
|||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-web</artifactId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>io.micrometer</groupId>
|
||||||
|
<artifactId>micrometer-registry-prometheus</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-test</artifactId>
|
<artifactId>spring-boot-starter-test</artifactId>
|
||||||
|
@ -17,3 +17,22 @@ logging:
|
|||||||
org.alfresco.transformer.TikaController: debug
|
org.alfresco.transformer.TikaController: debug
|
||||||
|
|
||||||
fileStoreUrl: ${FILE_STORE_URL:http://localhost:8099/alfresco/api/-default-/private/sfs/versions/1/file}
|
fileStoreUrl: ${FILE_STORE_URL:http://localhost:8099/alfresco/api/-default-/private/sfs/versions/1/file}
|
||||||
|
|
||||||
|
management:
|
||||||
|
endpoints:
|
||||||
|
web:
|
||||||
|
exposure:
|
||||||
|
include:
|
||||||
|
- metrics
|
||||||
|
- prometheus
|
||||||
|
- health
|
||||||
|
metrics:
|
||||||
|
enable[go]: false
|
||||||
|
enable[http]: false
|
||||||
|
enable[net]: false
|
||||||
|
enable[logback]: false
|
||||||
|
enable[prometheus]: false
|
||||||
|
enable[promhttp]: false
|
||||||
|
enable[tomcat]: false
|
||||||
|
enable[scrape]: false
|
||||||
|
enable[jvm.classes]: false
|
Loading…
x
Reference in New Issue
Block a user