Skip to content

Document configuration property default for the show-values properties #39565

New issue

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

Closed
mhalbritter opened this issue Feb 14, 2024 · 2 comments
Closed
Labels
status: superseded An issue that has been superseded by another

Comments

@mhalbritter
Copy link
Contributor

mhalbritter commented Feb 14, 2024

See https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#application-properties.actuator.management.endpoint.configprops.show-values for example. They all default to NEVER.

There are three of them: management.endpoint.configprops.show-values, management.endpoint.env.show-values and management.endpoint.quartz.show-values.

@mhalbritter mhalbritter added the type: documentation A documentation update label Feb 14, 2024
@mhalbritter mhalbritter added this to the 3.1.x milestone Feb 14, 2024
@mhalbritter mhalbritter changed the title Configuration property default is missing for the show-values properties Document configuration property default for the show-values properties Feb 14, 2024
@mhalbritter
Copy link
Contributor Author

This can be done by adding an entry in spring-boot-project/spring-boot-actuator-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json. You can take management.prometheus.metrics.export.histogram-flavor (the backing code is org.springframework.boot.actuate.autoconfigure.metrics.export.prometheus.PrometheusProperties#histogramFlavor) for a blueprint, it's an enum with a default, too.

@mhalbritter mhalbritter added the status: ideal-for-contribution An issue that a contributor can help us with label Feb 14, 2024
lukasdo pushed a commit to lukasdo/spring-boot that referenced this issue Feb 15, 2024
@scottfrederick scottfrederick removed type: documentation A documentation update status: ideal-for-contribution An issue that a contributor can help us with labels Feb 15, 2024
@scottfrederick scottfrederick removed this from the 3.1.x milestone Feb 15, 2024
@scottfrederick scottfrederick added the status: superseded An issue that has been superseded by another label Feb 15, 2024
@scottfrederick
Copy link
Contributor

Closing in favor of #39589.

@scottfrederick scottfrederick closed this as not planned Won't fix, can't repro, duplicate, stale Feb 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: superseded An issue that has been superseded by another
Projects
None yet
Development

No branches or pull requests

2 participants