Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/main/resources/application-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,13 @@ jwt:
master-jwt: ${JWT_MASTER_SECRET}

management:
metrics:
tags:
application: ${spring.application.name}
Comment on lines +135 to +137
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The management.metrics.tags.application property is correctly set to ${spring.application.name}. This is a good practice for consistent metric tagging across environments.

endpoints:
web:
exposure:
include: health,info,metrics,env,beans,prometheus
include: health, prometheus
endpoint:
health:
show-details: always
Expand Down
5 changes: 4 additions & 1 deletion src/main/resources/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,13 @@ jwt:
master-jwt: ${JWT_MASTER_SECRET}

management:
metrics:
tags:
application: ${spring.application.name}
Comment on lines +143 to +144
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The management.metrics.tags.application property is correctly set to ${spring.application.name}. This is a good practice for consistent metric tagging across environments.

endpoints:
web:
exposure:
include: health,info,metrics,prometheus
include: health, prometheus
endpoint:
health:
show-details: never
Expand Down
Loading