Fixed metrics and health path so that they are reachable in Kubernetes
This commit is contained in:
parent
a0b1b10749
commit
1979356fdc
|
@ -24,9 +24,20 @@ quarkus.native.enable-https-url-handler=true
|
|||
quarkus.native.enable-all-security-services=true
|
||||
|
||||
|
||||
# Metrics and Health
|
||||
|
||||
# so that on server endpoints like /openapi, /swagger-ui, /health can be reached under /epcqrcode (under /q/ it's not reachable on server)
|
||||
quarkus.http.non-application-root-path=/epcqrcode
|
||||
# Kubernetes / Prometheus won't find endpoints under /q/health, /q/metrics, ..., so remove /q (= Quarkus default sub path) from path
|
||||
quarkus.micrometer.export.prometheus.path=/metrics
|
||||
|
||||
quarkus.smallrye-health.root-path=/health
|
||||
quarkus.smallrye-health.ui.always-include=true
|
||||
|
||||
|
||||
# OpenAPI and Swagger-UI
|
||||
|
||||
# so that in Kubernetes Swagger-UI, Health UI, ... can be reached under /k7s (under /q/ it's not reachable via ingress)
|
||||
quarkus.http.root-path=/k7s
|
||||
quarkus.http.non-application-root-path=${quarkus.http.root-path}
|
||||
|
||||
|
||||
# OpenAPI and Swagger-UI
|
||||
|
@ -41,5 +52,3 @@ quarkus.smallrye-openapi.info-description=REST API to generate EPC QR codes (als
|
|||
quarkus.smallrye-openapi.info-contact-email=dev@codinux.net
|
||||
quarkus.smallrye-openapi.info-contact-name=codinux GmbH & Co. KG
|
||||
quarkus.smallrye-openapi.info-contact-url=https://codinux.net/
|
||||
|
||||
quarkus.smallrye-health.ui.always-include=true
|
Loading…
Reference in New Issue