diff options
author | joffrey-bion <joffrey.bion@gmail.com> | 2020-12-05 18:42:06 +0100 |
---|---|---|
committer | joffrey-bion <joffrey.bion@gmail.com> | 2020-12-05 18:42:06 +0100 |
commit | 3563c975492da066032815ca279a1309b5562db2 (patch) | |
tree | 39ed9c77fda90ad4c8c43050161f5e5b4cb7fbc1 /sw-server/src | |
parent | Hide more expensive transaction options by default (diff) | |
download | seven-wonders-3563c975492da066032815ca279a1309b5562db2.tar.gz seven-wonders-3563c975492da066032815ca279a1309b5562db2.tar.bz2 seven-wonders-3563c975492da066032815ca279a1309b5562db2.zip |
Enable actuator and prometheus metrics
Diffstat (limited to 'sw-server/src')
-rw-r--r-- | sw-server/src/main/resources/application.properties | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw-server/src/main/resources/application.properties b/sw-server/src/main/resources/application.properties index 5ee314c7..bd16f43f 100644 --- a/sw-server/src/main/resources/application.properties +++ b/sw-server/src/main/resources/application.properties @@ -1 +1,5 @@ server.port=8000 + +# enable and expose prometheus endpoint in Spring Boot Actuator +management.endpoint.prometheus.enabled=true +management.endpoints.web.exposure.include=prometheus |