Skip to content

Commit 538dc04

Browse files
authored
Merge pull request #27065 from vmartowicz/fix/27047-prometheus-application-not-sent
application field not sent to prometheus
2 parents 592b5db + 1b8f43e commit 538dc04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

generators/spring-boot/templates/src/main/resources/config/application.yml.ejs

+2
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ management:
161161
repository:
162162
autotime:
163163
enabled: true
164+
tags:
165+
application: ${spring.application.name}
164166

165167
<%_ if (databaseTypeMongodb) { _%>
166168
mongock:

0 commit comments

Comments
 (0)