Skip to content

GH-1644: Document RefreshScopeHealthIndicator#1695

Open
won-seoop wants to merge 1 commit into
spring-cloud:mainfrom
won-seoop:doc-1644-refresh-scope-health-indicator
Open

GH-1644: Document RefreshScopeHealthIndicator#1695
won-seoop wants to merge 1 commit into
spring-cloud:mainfrom
won-seoop:doc-1644-refresh-scope-health-indicator

Conversation

@won-seoop

Copy link
Copy Markdown

Summary

Closes #1644

Adds a [[refresh-scope-health-indicator]] subsection to the Refresh Scope section of application-context-services.adoc that:

  • Documents that RefreshScopeHealthIndicator is auto-configured when Spring Boot Actuator is on the classpath
  • Explains what it reports: UP when no refresh errors exist, DOWN with error details when a @RefreshScope or @ConfigurationProperties bean fails to rebind after a config refresh
  • Shows how to disable it: management.health.refresh.enabled=false

This follows the same style as the DiscoveryClientHealthIndicator documentation in common-abstractions.adoc.

The health indicator is wired via @ConditionalOnEnabledHealthIndicator("refresh") in RefreshEndpointAutoConfiguration, which maps to the management.health.refresh.enabled property.

Test plan

  • AsciiDoc renders the new section correctly under the Refresh Scope section
  • The management.health.refresh.enabled=false snippet renders as YAML

🤖 Generated with Claude Code

Add a section under 'Refresh Scope' describing the
RefreshScopeHealthIndicator that is auto-configured when Spring Boot
Actuator is on the classpath. The indicator reports DOWN with error
details when a @RefreshScope or @ConfigurationProperties bean fails to
rebind after a config refresh, and how to disable it using
management.health.refresh.enabled=false.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve documentation on refresh health indicator

2 participants