Skip to content

Commit

Permalink
Enable basic Prometheus metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
jshholland committed Feb 3, 2025
1 parent 013811b commit 6656f25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-oauth2-client'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'io.micrometer:micrometer-registry-prometheus'
implementation 'org.xerial:sqlite-jdbc'
implementation 'org.springframework:spring-jdbc'
implementation "uk.ac.ceh.components:datastore-git:${cehComponentsVersion}"
Expand Down
2 changes: 1 addition & 1 deletion java/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jira.address=https://jira.ceh.ac.uk/rest/api/2/
jira.jqlTemplate=project=eidchelp AND component='data transfer' AND cf[13250]={id}
jira.username=eidc_ingest
jira.serviceAgreement.prefix=EIDCHELP-
management.endpoints.web.exposure.include=health,loggers
management.endpoints.web.exposure.include=health,loggers,prometheus
management.server.port=8081
maps.location=/var/ceh-catalogue/mapfiles
schemas.location=/opt/ceh-catalogue/schemas
Expand Down

0 comments on commit 6656f25

Please sign in to comment.