Skip to content

Enable Prometheus metrics endpoint dependencies#3

Draft
sdx-jkataja wants to merge 9 commits into
securosys-com:mainfrom
sdx-jkataja:feat/actuator
Draft

Enable Prometheus metrics endpoint dependencies#3
sdx-jkataja wants to merge 9 commits into
securosys-com:mainfrom
sdx-jkataja:feat/actuator

Conversation

@sdx-jkataja

@sdx-jkataja sdx-jkataja commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

Adds the required dependencies for Prometheus metrics endpoint using Spring Boot Actuator.

Sample application.yml configuration to enable Prometheus metrics

management:
  security:
    enabled: false
  server:
    port: 9443
    ssl:
      enabled: true
      bundle: custom
      enabled-protocols: "TLSv1.3"
  endpoint:
    metrics:
      enabled: true
    prometheus:
      enabled: true
    health:
      show-details: always
      show-components: always
      probes:
        enabled: true
    info:
      enabled: true
  endpoints:
    web:
      exposure:
        include: "prometheus, metrics, info, health"

@sdx-jkataja
sdx-jkataja marked this pull request as draft November 26, 2025 19:20
@sdx-jkataja

Copy link
Copy Markdown
Contributor Author

This is a simple dependencies change

diff --git a/fireblocks-application/build.gradle.kts b/fireblocks-application/build.gradle.kts
index 109c2c6..23d72a4 100644
--- a/fireblocks-application/build.gradle.kts
+++ b/fireblocks-application/build.gradle.kts
@@ -14,11 +14,13 @@ configurations {

 dependencies {
     implementation("org.springframework.boot:spring-boot-starter")
-    implementation("org.springframework.boot:spring-boot-starter-web")
+    implementation("org.springframework.boot:spring-boot-starter-actuator")
     implementation("org.springframework.boot:spring-boot-starter-security")
+    implementation("org.springframework.boot:spring-boot-starter-web")
     implementation(project(":fireblocks-service"))

     runtimeOnly("com.h2database:h2")
+    runtimeOnly("io.micrometer:micrometer-registry-prometheus")
     runtimeOnly("org.mariadb.jdbc:mariadb-java-client")
 }

@thgoebel

thgoebel commented Dec 3, 2025

Copy link
Copy Markdown
Collaborator

Status: The engineering team is currently discussing Prometheus internally. The team would like to address this in one go, and add metrics exporters to all Spring Boot projects in a single effort, to keep things unified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants