Skip to content
This repository was archived by the owner on May 21, 2026. It is now read-only.

Commit a3f65ba

Browse files
Correct Prometheus property key
Fix the Prometheus metrics property name in application.properties: changed "management.metrics.export.prometheus.enabled" to "management.prometheus.metrics.export.enabled" so the Prometheus exporter is enabled correctly under the expected property path (src/main/resources/application.properties).
1 parent f599513 commit a3f65ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ spring.mail.properties.mail.smtp.writetimeout=5000
5050
# ===== Actuator / Management Endpoints =====
5151
management.endpoints.web.exposure.include=health,info,prometheus
5252
management.endpoint.health.show-details=always
53-
management.metrics.export.prometheus.enabled=true
53+
management.prometheus.metrics.export.enabled=true
5454

5555
# Application settings
5656
app.name=${APP_NAME:EspacoGeek}

0 commit comments

Comments
 (0)