diff --git a/alfresco-transformer-base/pom.xml b/alfresco-transformer-base/pom.xml index cd21190e..96fab665 100644 --- a/alfresco-transformer-base/pom.xml +++ b/alfresco-transformer-base/pom.xml @@ -21,6 +21,14 @@ org.springframework.boot spring-boot-starter-web + + org.springframework.boot + spring-boot-starter-actuator + + + io.micrometer + micrometer-registry-prometheus + org.springframework.boot spring-boot-starter-test diff --git a/alfresco-transformer-base/src/main/resources/application.yaml b/alfresco-transformer-base/src/main/resources/application.yaml index 95ca9000..4b418b12 100644 --- a/alfresco-transformer-base/src/main/resources/application.yaml +++ b/alfresco-transformer-base/src/main/resources/application.yaml @@ -16,4 +16,23 @@ logging: org.alfresco.transformer.ImageMagickController: debug org.alfresco.transformer.TikaController: debug -fileStoreUrl: ${FILE_STORE_URL:http://localhost:8099/alfresco/api/-default-/private/sfs/versions/1/file} \ No newline at end of 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 \ No newline at end of file