天天看点

3.SpringBoot-Actuator-配置属性说明

spring-boot-actuator-2.1.3.RELEASE.jar!\META-INF\spring-configuration-metadata.json

名称 类型 描述 默认值 来源类
auditevents.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms AuditEventsEndpoint
auditevents.enabled Boolean 是否启用auditevents endpoint. true AuditEventsEndpoint
beans.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms BeansEndpoint
beans.enabled Boolean 是否启用beans endpoint. true BeansEndpoint
caches.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms CachesEndpoint
caches.enabled Boolean 是否启用caches endpoint. true CachesEndpoint
configprops.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms ConfigurationPropertiesReportEndpoint
configprops.enabled Boolean 是否启用configprops endpoint. true ConfigurationPropertiesReportEndpoint
env.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms EnvironmentEndpoint
env.enabled Boolean 是否启用env endpoint. true EnvironmentEndpoint
flyway.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms FlywayEndpoint
flyway.enabled Boolean 是否启用flyway endpoint. true FlywayEndpoint
health.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms HealthEndpoint
health.enabled Boolean 是否启用health endpoint. true HealthEndpoint
heapdump.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms HeapDumpWebEndpoint
heapdump.enabled Boolean 是否启用heapdump endpoint. true HeapDumpWebEndpoint
httptrace.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms HttpTraceEndpoint
httptrace.enabled Boolean 是否启用httptrace endpoint. true HttpTraceEndpoint
info.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms InfoEndpoint
info.enabled Boolean 是否启用info endpoint. true InfoEndpoint
integrationgraph.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms IntegrationGraphEndpoint
integrationgraph.enabled Boolean 是否启用integrationgraph endpoint. true IntegrationGraphEndpoint
liquibase.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms LiquibaseEndpoint
liquibase.enabled Boolean 是否启用liquibase endpoint. true LiquibaseEndpoint
logfile.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms LogFileWebEndpoint
logfile.enabled Boolean 是否启用logfile endpoint. true LogFileWebEndpoint
loggers.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms LoggersEndpoint
loggers.enabled Boolean 是否启用loggers endpoint. true LoggersEndpoint
mappings.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms MappingsEndpoint
mappings.enabled Boolean 是否启用mappings endpoint. true MappingsEndpoint
metrics.cache.time-to-live" Duration 响应可以缓存的最大时间. 0ms MetricsEndpoint
metrics.enabled Boolean 是否启用metrics endpoint. true MetricsEndpoint
prometheus.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms PrometheusScrapeEndpoint
prometheus.enabled Boolean 是否启用prometheus endpoint. true PrometheusScrapeEndpoint
scheduledtasks.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms ScheduledTasksEndpoint
scheduledtasks.enabled Boolean 是否启用scheduledtasks endpoint. true ScheduledTasksEndpoint
sessions.enabled Boolean 是否启用sessions endpoint. true SessionsEndpoint
shutdown.enabled Boolean 是否启用shutdown endpoint. false ShutdownEndpoint
threaddump.cache.time-to-live Duration 响应可以缓存的最大时间. 0ms ThreadDumpEndpoint
threaddump.enabled Boolean 是否启用threaddump endpoint. true ThreadDumpEndpoint

spring-boot-actuator-autoconfigure-2.1.3.RELEASE.jar!\META-INF\spring-configuration-metadata.json

配置项太多 只列举一些常用的属性

名称 类型 描述 默认值 来源类
health.show-details ShowDetails 是否显示健康状况详情. never HealthEndpoint

继续阅读