Skip to content

Commit

Permalink
Add prometheus endpoint security
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Pavlovskiy committed Aug 13, 2023
1 parent 5b63cd8 commit 951d5a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/api/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ keycloak:
client-secret: someclientsecret

management:
security: disabled # todo remove this line
security:
role: metrics-scraper
endpoints:
web:
exposure.include: health, prometheus
Expand Down

0 comments on commit 951d5a8

Please sign in to comment.