0

I use the SmallRye Health extension in Quarkus.

The /q/health-ui is acutally only enabled in devmode. How can i enable it in the runtime?

%runtime.quarkus.smallrye.health.ui.enable=true

Does not work. Thanks for your help.

Limey
  • 10,234
  • 2
  • 12
  • 32
Tobias
  • 13
  • 3

2 Answers2

0

You made a small mistake on the profile name, it's not runtime but prod as default non test/dev profile.

Usage is similar to what you've already done :

%prod.quarkus.smallrye-health.ui.enable=true

Edit

I saw it a bit late, but you also miss typed the param name, there is a - between smallrye and health, not a dot as you typed in your question

See Quarkus Smallrye health extension configuration

Jacouille
  • 951
  • 8
  • 14
0

Now: quarkus.smallrye-health.ui.always-include=true worked

Tobias
  • 13
  • 3
  • Your answer could be improved with additional supporting information. Please [edit] to add further details, such as citations or documentation, so that others can confirm that your answer is correct. You can find more information on how to write good answers [in the help center](/help/how-to-answer). – Community Jun 08 '22 at 14:02