Code Review
/
cps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Expose Prometheus metrics for monitoring
[cps.git]
/
cps-application
/
src
/
main
/
resources
/
application.yml
diff --git
a/cps-application/src/main/resources/application.yml
b/cps-application/src/main/resources/application.yml
index
4f3072e
..
9d52164
100644
(file)
--- a/
cps-application/src/main/resources/application.yml
+++ b/
cps-application/src/main/resources/application.yml
@@
-73,26
+73,26
@@
notification:
\r
security:
\r
# comma-separated uri patterns which do not require authorization
\r
\r
security:
\r
# comma-separated uri patterns which do not require authorization
\r
- permit-uri: /manage/
health/**,/manage/info
,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
\r
+ permit-uri: /manage/
**
,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
\r
auth:
\r
username: ${CPS_USERNAME}
\r
password: ${CPS_PASSWORD}
\r
\r
# Actuator
\r
management:
\r
auth:
\r
username: ${CPS_USERNAME}
\r
password: ${CPS_PASSWORD}
\r
\r
# Actuator
\r
management:
\r
+ server:
\r
+ port: 8081
\r
endpoints:
\r
web:
\r
base-path: /manage
\r
endpoints:
\r
web:
\r
base-path: /manage
\r
- exposure:
\r
-
include: info,health,logger
s
\r
+
exposure:
\r
+
include: info,health,loggers,prometheu
s
\r
endpoint:
\r
health:
\r
show-details: always
\r
# kubernetes probes: liveness and readiness
\r
probes:
\r
enabled: true
\r
endpoint:
\r
health:
\r
show-details: always
\r
# kubernetes probes: liveness and readiness
\r
probes:
\r
enabled: true
\r
- loggers:
\r
- enabled: true
\r
\r
logging:
\r
level:
\r
\r
logging:
\r
level:
\r