diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2021-07-15 07:40:15 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-07-15 07:40:15 +0000 |
commit | b0c2031e8d546336685c84cfccef8d515144dfc6 (patch) | |
tree | f17c7fc5e9c35c554c879c2343a29b038ef95061 /cps-application/src | |
parent | d9fe3582c963209a2841b2ec2ca0e5cfe17ea887 (diff) | |
parent | b46d137c04a78f62d097f680e016558b815bd915 (diff) |
Merge "Expose Prometheus metrics for monitoring"
Diffstat (limited to 'cps-application/src')
-rw-r--r-- | cps-application/src/main/resources/application.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 5ae6786ef1..1b62b02df5 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -75,26 +75,26 @@ notification: security:
# comma-separated uri patterns which do not require authorization
- permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
+ permit-uri: /manage/**,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
auth:
username: ${CPS_USERNAME}
password: ${CPS_PASSWORD}
# Actuator
management:
+ server:
+ port: 8081
endpoints:
web:
base-path: /manage
- exposure:
- include: info,health,loggers
+ exposure:
+ include: info,health,loggers,prometheus
endpoint:
health:
show-details: always
# kubernetes probes: liveness and readiness
probes:
enabled: true
- loggers:
- enabled: true
logging:
level:
|