We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Spring Boot Actuator package (https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html) allows exposing health and telemetry endpoints. This is especially neat when deploying to Kubernetes since it supports liveness- and readiness-probes: https://spring.io/blog/2020/03/25/liveness-and-readiness-probes-with-spring-boot.
To also expose metrics in Prometheus format, an additional dependency on https://mvnrepository.com/artifact/io.micrometer/micrometer-registry-prometheus is required. This can track HTTP request durations, but I believe it doesn't yet work out-of-the-box with the HAPI FHIR Facade.
I'd be happy to add these dependencies in a PR if it seems useful to you as well! - the changes are basically the same as when the HAPI FHIR JPA Starter project introduced the same: hapifhir/hapi-fhir-jpaserver-starter#337 & hapifhir/hapi-fhir-jpaserver-starter#355
The text was updated successfully, but these errors were encountered:
@chgl I think this sounds like a great feature, we would be very happy to work with you on a PR!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The Spring Boot Actuator package (https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html) allows exposing health and telemetry endpoints. This is especially neat when deploying to Kubernetes since it supports liveness- and readiness-probes: https://spring.io/blog/2020/03/25/liveness-and-readiness-probes-with-spring-boot.
To also expose metrics in Prometheus format, an additional dependency on https://mvnrepository.com/artifact/io.micrometer/micrometer-registry-prometheus is required. This can track HTTP request durations, but I believe it doesn't yet work out-of-the-box with the HAPI FHIR Facade.
I'd be happy to add these dependencies in a PR if it seems useful to you as well! - the changes are basically the same as when the HAPI FHIR JPA Starter project introduced the same: hapifhir/hapi-fhir-jpaserver-starter#337 & hapifhir/hapi-fhir-jpaserver-starter#355
The text was updated successfully, but these errors were encountered: