Skip to content

Commit

Permalink
Add prometheus metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Aug 12, 2024
1 parent 7b68493 commit 1c491b4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/enlil/env/values-kub-ent-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ common:
application.properties: |-
spring.cloud.gcp.firestore.enabled=true
spring.cloud.gcp.firestore.project-id=deviation-messages-dev
management.endpoints.web.exposure.include=*
management.endpoint.health.show.details=always
2 changes: 2 additions & 0 deletions helm/enlil/env/values-kub-ent-prd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ common:
application.properties: |-
spring.cloud.gcp.firestore.enabled=true
spring.cloud.gcp.firestore.project-id=deviation-messages-prod
management.endpoints.web.exposure.include=*
management.endpoint.health.show.details=always
2 changes: 2 additions & 0 deletions helm/enlil/env/values-kub-ent-tst.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ common:
application.properties: |-
spring.cloud.gcp.firestore.enabled=true
spring.cloud.gcp.firestore.project-id=deviation-messages-staging
management.endpoints.web.exposure.include=*
management.endpoint.health.show.details=always
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@
<version>1.27</version>
</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>
<groupId>org.springframework.boot</groupId>
Expand Down

0 comments on commit 1c491b4

Please sign in to comment.