S

Shyam Dubey • 3.70K Points
Extraordinary

Q. How can you disable a specific actuator endpoint?

  • (A) Use @DisableEndpoint
  • (B) Set management.endpoint.<name>.enabled=false
  • (C) Comment it in application.properties
  • (D) Use @Exclude
  • Correct Answer - Option(B)
  • Views: 22
  • Filed under category Springboot
  • Hashtags:

Explanation by: Shyam Dubey

Setting management.endpoint.<name>.enabled=false disables that specific actuator endpoint.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.