![]() |
温柔的打火机 · 因果推断笔记——因果图建模之微软开源的Eco ...· 10 月前 · |
![]() |
阳刚的太阳 · ASP.NET Core web API ...· 11 月前 · |
![]() |
愤怒的豆芽 · Android ...· 1 年前 · |
![]() |
苦恼的羊肉串 · 海康SDK的NET_DVR_STDXMLCo ...· 1 年前 · |
![]() |
淡定的核桃 · windows日志 ...· 2 年前 · |
键 |
默认值 |
描述 |
---|---|---|
spring.hateoas.use-hal-as-default-json-media-type |
true |
是否应将application / hal + json响应发送到接受application / json的请求。 |
spring.http.converters.preferred-json-mapper |
|
用于HTTP消息转换的首选JSON映射器。默认情况下,根据环境自动检测。 |
spring.http.encoding.charset |
UTF-8 |
HTTP请求和响应的字符集。如果未明确设置,则添加到“ Content-Type”标题中。 |
spring.http.encoding.enabled |
true |
是否启用http编码支持。 |
spring.http.encoding.force |
|
是否在HTTP请求和响应上强制对配置的字符集进行编码。 |
spring.http.encoding.force-request |
|
是否在HTTP请求上强制对配置的字符集进行编码。如果未指定“力”,则默认为true。 |
spring.http.encoding.force-response |
|
是否在HTTP响应上强制对配置的字符集进行编码。 |
spring.http.encoding.mapping.* |
|
映射映射的语言环境。 |
spring.http.log-request-details |
false |
是否允许在DEBUG和TRACE级别记录(潜在敏感)请求详细信息。 |
spring.jersey.application-path |
|
用作应用程序的基本URI的路径。如果指定,将覆盖“ @ApplicationPath”的值。 |
spring.jersey.filter.order |
0 |
球衣过滤器链顺序。 |
spring.jersey.init.* |
|
初始化参数通过servlet或过滤器传递给Jersey。 |
spring.jersey.servlet.load-on-startup |
-1 |
加载Jersey Servlet的启动优先级。 |
spring.jersey.type |
servlet |
|
spring.mvc.async.request-timeout |
|
异步请求处理超时之前的时间。如果未设置此值,则使用基础实现的默认超时,例如,在带有Servlet 3的Tomcat上为10秒。 |
spring.mvc.contentnegotiation.favor-parameter |
false |
是否应使用请求参数(默认为“格式”)来确定请求的媒体类型。 |
spring.mvc.contentnegotiation.favor-path-extension |
false |
URL路径中的路径扩展是否应该用于确定请求的媒体类型。如果启用,则无论“ Accept”标头如何,请求“ /users.pdf”都将被解释为对“ application / pdf”的请求。 |
spring.mvc.contentnegotiation.media-types.* |
|
将文件扩展名映射到媒体类型以进行内容协商。例如,将yml转换为text / yaml。 |
spring.mvc.contentnegotiation.parameter-name |
|
启用“收藏参数”时要使用的查询参数名称。 |
spring.mvc.date-format |
|
要使用的日期格式。例如,“ dd / MM / yyyy”。 |
spring.mvc.dispatch-options-request |
true |
是否将OPTIONS请求调度到FrameworkServlet doService方法。 |
spring.mvc.dispatch-trace-request |
false |
是否将TRACE请求调度到FrameworkServlet doService方法。 |
spring.mvc.formcontent.filter.enabled |
true |
是否启用Spring的FormContentFilter。 |
spring.mvc.hiddenmethod.filter.enabled |
false |
是否启用Spring的HiddenHttpMethodFilter。 |
spring.mvc.ignore-default-model-on-redirect |
true |
重定向方案期间是否应忽略“默认”模型的内容。 |
spring.mvc.locale |
|
使用的语言环境。默认情况下,此语言环境被“ Accept-Language”标头覆盖。 |
spring.mvc.locale-resolver |
accept-header |
定义如何解析语言环境。 |
spring.mvc.log-resolved-exception |
false |
是否启用“ HandlerExceptionResolver”解决的异常的警告日志记录,“ DefaultHandlerExceptionResolver”除外。 |
spring.mvc.message-codes-resolver-format |
|
消息代码的格式化策略。例如,`PREFIX_ERROR_CODE`。 |
spring.mvc.pathmatch.use-registered-suffix-pattern |
false |
后缀模式匹配是否仅应针对在“ spring.mvc.contentnegotiation.media-types。*”中注册的扩展名有效。通常建议这样做以减少歧义并避免出现诸如“。”之类的问题。由于其他原因出现在路径中。 |
spring.mvc.pathmatch.use-suffix-pattern |
false |
将模式与请求匹配时是否使用后缀模式匹配(“。*”)。如果启用,则映射到“ / users”的方法也将匹配“ /users.*”。 |
spring.mvc.publish-request-handled-events |
true |
Whether to publish a ServletRequestHandledEvent at the end of each request. |
spring.mvc.servlet.load-on-startup |
-1 |
Load on startup priority of the dispatcher servlet. |
spring.mvc.servlet.path |
/ |
Path of the dispatcher servlet. |
spring.mvc.static-path-pattern |
/** |
Path pattern used for static resources. |
spring.mvc.throw-exception-if-no-handler-found |
false |
Whether a "NoHandlerFoundException" should be thrown if no Handler was found to process a request. |
spring.mvc.view.prefix |
|
Spring MVC view prefix. |
spring.mvc.view.suffix |
|
Spring MVC view suffix. |
spring.resources.add-mappings |
true |
Whether to enable default resource handling. |
spring.resources.cache.cachecontrol.cache-private |
|
Indicate that the response message is intended for a single user and must not be stored by a shared cache. |
spring.resources.cache.cachecontrol.cache-public |
|
Indicate that any cache may store the response. |
spring.resources.cache.cachecontrol.max-age |
|
Maximum time the response should be cached, in seconds if no duration suffix is not specified. |
spring.resources.cache.cachecontrol.must-revalidate |
|
Indicate that once it has become stale, a cache must not use the response without re-validating it with the server. |
spring.resources.cache.cachecontrol.no-cache |
|
Indicate that the cached response can be reused only if re-validated with the server. |
spring.resources.cache.cachecontrol.no-store |
|
Indicate to not cache the response in any case. |
spring.resources.cache.cachecontrol.no-transform |
|
Indicate intermediaries (caches and others) that they should not transform the response content. |
spring.resources.cache.cachecontrol.proxy-revalidate |
|
Same meaning as the "must-revalidate" directive, except that it does not apply to private caches. |
spring.resources.cache.cachecontrol.s-max-age |
|
Maximum time the response should be cached by shared caches, in seconds if no duration suffix is not specified. |
spring.resources.cache.cachecontrol.stale-if-error |
|
Maximum time the response may be used when errors are encountered, in seconds if no duration suffix is not specified. |
spring.resources.cache.cachecontrol.stale-while-revalidate |
|
Maximum time the response can be served after it becomes stale, in seconds if no duration suffix is not specified. |
spring.resources.cache.period |
|
Cache period for the resources served by the resource handler. If a duration suffix is not specified, seconds will be used. Can be overridden by the 'spring.resources.cache.cachecontrol' properties. |
spring.resources.chain.cache |
true |
Whether to enable caching in the Resource chain. |
spring.resources.chain.compressed |
false |
Whether to enable resolution of already compressed resources (gzip, brotli). Checks for a resource name with the '.gz' or '.br' file extensions. |
spring.resources.chain.enabled |
|
Whether to enable the Spring Resource Handling chain. By default, disabled unless at least one strategy has been enabled. |
spring.resources.chain.html-application-cache |
false |
Whether to enable HTML5 application cache manifest rewriting. |
spring.resources.chain.strategy.content.enabled |
false |
Whether to enable the content Version Strategy. |
spring.resources.chain.strategy.content.paths |
/** |
Comma-separated list of patterns to apply to the content Version Strategy. |
spring.resources.chain.strategy.fixed.enabled |
false |
Whether to enable the fixed Version Strategy. |
spring.resources.chain.strategy.fixed.paths |
/** |
Comma-separated list of patterns to apply to the fixed Version Strategy. |
spring.resources.chain.strategy.fixed.version |
|
Version string to use for the fixed Version Strategy. |
spring.resources.static-locations |
classpath:/META-INF/resources/, classpath:/resources/, classpath:/static/, classpath:/public/ |
Locations of static resources. Defaults to classpath:[/META-INF/resources/, /resources/, /static/, /public/]. |
spring.servlet.multipart.enabled |
true |
Whether to enable support of multipart uploads. |
spring.servlet.multipart.file-size-threshold |
0B |
Threshold after which files are written to disk. |
spring.servlet.multipart.location |
|
上载文件的中间位置。 |
spring.servlet.multipart.max-file-size |
1MB |
档案大小上限。 |
spring.servlet.multipart.max-request-size |
10MB |
最大请求大小。 |
spring.servlet.multipart.resolve-lazily |
false |
在文件或参数访问时是否延迟解决多部分请求。 |
spring.webflux.date-format |
|
要使用的日期格式。例如,“ dd / MM / yyyy”。 |
spring.webflux.hiddenmethod.filter.enabled |
false |
是否启用Spring的HiddenHttpMethodFilter。 |
spring.webflux.static-path-pattern |
/** |
用于静态资源的路径模式。 |
键 |
默认值 |
描述 |
---|---|---|
spring.freemarker.allow-request-override |
false |
是否允许HttpServletRequest属性覆盖(隐藏)控制器生成的同名模型属性。 |
spring.freemarker.allow-session-override |
false |
是否允许HttpSession属性覆盖(隐藏)控制器生成的同名模型属性。 |
spring.freemarker.cache |
false |
是否启用模板缓存。 |
spring.freemarker.charset |
UTF-8 |
模板编码。 |
spring.freemarker.check-template-location |
true |
是否检查模板位置是否存在。 |
spring.freemarker.content-type |
text/html |
内容类型值。 |
spring.freemarker.enabled |
true |
是否为此技术启用MVC视图解析。 |
spring.freemarker.expose-request-attributes |
false |
在与模板合并之前是否应将所有请求属性添加到模型。 |
spring.freemarker.expose-session-attributes |
false |
在与模板合并之前是否应将所有HttpSession属性添加到模型中。 |
spring.freemarker.expose-spring-macro-helpers |
true |
是否公开名称为“ springMacroRequestContext”的Spring宏库使用的RequestContext。 |
spring.freemarker.prefer-file-system-access |
true |
是否更喜欢使用文件系统访问进行模板加载。通过文件系统访问,可以热检测模板更改。 |
spring.freemarker.prefix |
|
前缀,用于在构建URL时查看名称。 |
spring.freemarker.request-context-attribute |
|
所有视图的RequestContext属性的名称。 |
spring.freemarker.settings.* |
|
众所周知的FreeMarker密钥被传递到FreeMarker的配置中。 |
spring.freemarker.suffix |
.ftlh |
建立网址时,后缀会附加到视图名称中。 |
spring.freemarker.template-loader-path |
classpath:/templates/ |
逗号分隔的模板路径列表。 |
spring.freemarker.view-names |
|
可以解析的视图名称的白名单。 |
spring.groovy.template.allow-request-override |
false |
是否允许HttpServletRequest属性覆盖(隐藏)控制器生成的同名模型属性。 |
spring.groovy.template.allow-session-override |
false |
是否允许HttpSession属性覆盖(隐藏)控制器生成的同名模型属性。 |
spring.groovy.template.cache |
false |
是否启用模板缓存。 |
spring.groovy.template.charset |
UTF-8 |
模板编码。 |
spring.groovy.template.check-template-location |
true |
是否检查模板位置是否存在。 |
spring.groovy.template.configuration.auto-escapespring.groovy.template.configuration.auto-indentspring.groovy.template.configuration.auto-indent-stringspring.groovy.template.configuration.auto-new-linespring.groovy.template.configuration.base-template-classspring.groovy.template.configuration.cache-templatesspring.groovy.template.configuration.declaration-encodingspring.groovy.template.configuration.expand-empty-elementsspring.groovy.template.configuration.localespring.groovy.template.configuration.new-line-stringspring.groovy.template.configuration.resource-loader-pathspring.groovy.template.configuration.use-double-quotes |
|
请参阅GroovyMarkupConfigurer |
spring.groovy.template.content-type |
text/html |
内容类型值。 |
spring.groovy.template.enabled |
true |
是否为此技术启用MVC视图解析。 |
spring.groovy.template.expose-request-attributes |
false |
在与模板合并之前是否应将所有请求属性添加到模型。 |
spring.groovy.template.expose-session-attributes |
false |
在与模板合并之前是否应将所有HttpSession属性添加到模型中。 |
spring.groovy.template.expose-spring-macro-helpers |
true |
是否公开名称为“ springMacroRequestContext”的Spring宏库使用的RequestContext。 |
spring.groovy.template.prefix |
|
前缀,用于在构建URL时查看名称。 |
spring.groovy.template.request-context-attribute |
|
所有视图的RequestContext属性的名称。 |
spring.groovy.template.resource-loader-path |
classpath:/templates/ |
模板路径。 |
spring.groovy.template.suffix |
.tpl |
建立网址时,后缀会附加到视图名称中。 |
spring.groovy.template.view-names |
|
可以解析的视图名称的白名单。 |
spring.mustache.allow-request-override |
false |
是否允许HttpServletRequest属性覆盖(隐藏)控制器生成的同名模型属性。 |
spring.mustache.allow-session-override |
false |
是否允许HttpSession属性覆盖(隐藏)控制器生成的同名模型属性。 |
spring.mustache.cache |
false |
是否启用模板缓存。 |
spring.mustache.charset |
UTF-8 |
模板编码。 |
spring.mustache.check-template-location |
true |
是否检查模板位置是否存在。 |
spring.mustache.content-type |
text/html |
内容类型值。 |
spring.mustache.enabled |
true |
是否为此技术启用MVC视图解析。 |
spring.mustache.expose-request-attributes |
false |
在与模板合并之前是否应将所有请求属性添加到模型。 |
spring.mustache.expose-session-attributes |
false |
在与模板合并之前是否应将所有HttpSession属性添加到模型中。 |
spring.mustache.expose-spring-macro-helpers |
true |
是否公开名称为“ springMacroRequestContext”的Spring宏库使用的RequestContext。 |
spring.mustache.prefix |
classpath:/templates/ |
适用于模板名称的前缀。 |
spring.mustache.request-context-attribute |
|
所有视图的RequestContext属性的名称。 |
spring.mustache.suffix |
.mustache |
后缀适用于模板名称。 |
spring.mustache.view-names |
|
可以解析的视图名称的白名单。 |
spring.thymeleaf.cache |
true |
是否启用模板缓存。 |
spring.thymeleaf.check-template |
true |
渲染前是否检查模板是否存在。 |
spring.thymeleaf.check-template-location |
true |
是否检查模板位置是否存在。 |
spring.thymeleaf.enable-spring-el-compiler |
false |
在SpringEL表达式中启用SpringEL编译器。 |
spring.thymeleaf.enabled |
true |
是否为Web框架启用Thymeleaf视图解析。 |
spring.thymeleaf.encoding |
UTF-8 |
模板文件编码。 |
spring.thymeleaf.excluded-view-names |
|
以逗号分隔的视图名称列表(允许使用的模式),应从分辨率中排除。 |
spring.thymeleaf.mode |
HTML |
模板模式应用于模板。另请参见Thymeleaf的TemplateMode枚举。 |
spring.thymeleaf.prefix |
classpath:/templates/ |
|
spring.thymeleaf.reactive.chunked-mode-view-names |
|
设置最大块大小时,以逗号分隔的视图名称列表(允许的模式)应该是在CHUNKED模式下唯一执行的视图名称列表。 |
spring.thymeleaf.reactive.full-mode-view-names |
|
即使设置了最大块大小,也应以FULL模式执行的视图名称的逗号分隔列表(允许的模式)。 |
spring.thymeleaf.reactive.max-chunk-size |
0B |
用于写入响应的数据缓冲区的最大大小。如果设置了模板,则默认情况下将以CHUNKED模式执行。 |
spring.thymeleaf.reactive.media-types |
|
视图技术支持的媒体类型。 |
spring.thymeleaf.render-hidden-markers-before-checkboxes |
false |
是否应在复选框元素本身之前呈现隐藏的表单输入作为复选框的标记。 |
spring.thymeleaf.servlet.content-type |
text/html |
写入HTTP响应的Content-Type值。 |
spring.thymeleaf.servlet.produce-partial-output-while-processing |
true |
Thymeleaf是应该尽快开始写入部分输出还是缓冲直到模板处理完成。 |
spring.thymeleaf.suffix |
.html |
|
spring.thymeleaf.template-resolver-order |
|
模板解析器在链中的顺序。默认情况下,模板解析器位于链中的第一位。顺序从1开始,只有在定义了其他“ TemplateResolver” bean的情况下,才应设置顺序。 |
spring.thymeleaf.view-names |
|
可以解析的视图名称的逗号分隔列表(允许的模式)。 |
键 |
默认值 |
描述 |
---|---|---|
server.address |
|
服务器应绑定到的网络地址。 |
server.compression.enabled |
false |
是否启用响应压缩。 |
server.compression.excluded-user-agents |
|
以逗号分隔的用户代理列表,不应压缩其响应。 |
server.compression.mime-types |
text/html, text/xml, text/plain, text/css, text/javascript, application/javascript, application/json, application/xml |
以逗号分隔的应压缩的MIME类型列表。 |
server.compression.min-response-size |
2KB |
执行压缩所需的最小“内容长度”值。 |
server.error.include-exception |
false |
包括“例外”属性。 |
server.error.include-stacktrace |
never |
|
server.error.path |
/error |
错误控制器的路径。 |
server.error.whitelabel.enabled |
true |
如果发生服务器错误,是否启用浏览器中显示的默认错误页面。 |
server.forward-headers-strategy |
|
处理X-Forwarded- *标头的策略。 |
server.http2.enabled |
false |
如果当前环境支持,则是否启用HTTP / 2支持。 |
server.jetty.acceptors |
-1 |
要使用的接收器线程数。当值为-1(默认值)时,接受者的数量是从操作环境派生的。 |
server.jetty.accesslog.append |
false |
追加到日志。 |
server.jetty.accesslog.custom-format |
|
自定义日志格式,请参阅org.eclipse.jetty.server.CustomRequestLog。如果已定义,它将覆盖“格式”配置键。 |
server.jetty.accesslog.enabled |
false |
启用访问日志。 |
server.jetty.accesslog.file-date-format |
|
要放在日志文件名中的日期格式。 |
server.jetty.accesslog.filename |
|
日志文件名。如果未指定,则日志重定向到“ System.err”。 |
server.jetty.accesslog.format |
|
日志格式。 |
server.jetty.accesslog.ignore-paths |
|
请求不应记录的路径。 |
server.jetty.accesslog.retention-period |
31 |
轮换日志文件删除前的天数。 |
server.jetty.connection-idle-timeout |
|
连接关闭之前可以空闲的时间。 |
server.jetty.max-http-post-size |
200000B |
HTTP发布或放置内容的最大大小。 |
server.jetty.max-threads |
200 |
最大线程数。 |
server.jetty.min-threads |
8 |
最小线程数。 |
server.jetty.selectors |
-1 |
要使用的选择器线程数。当值是-1(默认值)时,选择器的数量是从操作环境派生的。 |
server.jetty.thread-idle-timeout |
60000ms |
最大线程空闲时间。 |
server.max-http-header-size |
8KB |
HTTP消息头的最大大小。 |
server.netty.connection-timeout |
|
Netty通道的连接超时。 |
server.port |
8080 |
服务器HTTP端口。 |
server.server-header |
|
用于服务器响应标头的值(如果为空,则不发送标头)。 |
server.servlet.application-display-name |
application |
显示应用程序的名称。 |
server.servlet.context-parameters.* |
|
Servlet上下文初始化参数。 |
server.servlet.context-path |
|
应用程序的上下文路径。 |
server.servlet.jsp.class-name |
org.apache.jasper.servlet.JspServlet |
用于JSP的Servlet的类名。如果registered为true,并且此类*在类路径上,则它将被注册。 |
server.servlet.jsp.init-parameters.* |
|
用于配置JSP Servlet的初始化参数。 |
server.servlet.jsp.registered |
true |
JSP Servlet是否已注册。 |
server.servlet.session.cookie.comment |
|
评论会话cookie。 |
server.servlet.session.cookie.domain |
|
会话cookie的域。 |
server.servlet.session.cookie.http-only |
|
是否对会话cookie使用“ HttpOnly” cookie。 |
server.servlet.session.cookie.max-age |
|
会话Cookie的最长期限。如果未指定持续时间后缀,则将使用秒。 |
server.servlet.session.cookie.name |
|
会话Cookie名称。 |
server.servlet.session.cookie.path |
|
会话cookie的路径。 |
server.servlet.session.cookie.secure |
|
是否始终将会话cookie标记为安全。 |
server.servlet.session.persistent |
false |
是否在两次重启之间保留会话数据。 |
server.servlet.session.store-dir |
|
用于存储会话数据的目录。 |
server.servlet.session.timeout |
30m |
会话超时。如果未指定持续时间后缀,则将使用秒。 |
server.servlet.session.tracking-modes |
|
会话跟踪模式。 |
server.ssl.ciphers |
|
支持的SSL密码。 |
server.ssl.client-auth |
|
客户端认证方式。需要一个信任库。 |
server.ssl.enabled |
true |
是否启用SSL支持。 |
server.ssl.enabled-protocols |
|
启用的SSL协议。 |
server.ssl.key-alias |
|
标识密钥库中密钥的别名。 |
server.ssl.key-password |
|
用于访问密钥库中密钥的密码。 |
server.ssl.key-store |
|
持有SSL证书(通常是jks文件)的密钥库的路径。 |
server.ssl.key-store-password |
|
用于访问密钥库的密码。 |
server.ssl.key-store-provider |
|
密钥库的提供者。 |
server.ssl.key-store-type |
|
密钥库的类型。 |
server.ssl.protocol |
TLS |
要使用的SSL协议。 |
server.ssl.trust-store |
|
拥有SSL证书的信任库。 |
server.ssl.trust-store-password |
|
用于访问信任库的密码。 |
server.ssl.trust-store-provider |
|
信任库的提供者。 |
server.ssl.trust-store-type |
|
信任库的类型。 |
server.tomcat.accept-count |
100 |
使用所有可能的请求处理线程时,传入连接请求的最大队列长度。 |
server.tomcat.accesslog.buffered |
true |
是否缓冲输出,以便仅定期刷新输出。 |
server.tomcat.accesslog.check-exists |
false |
是否检查日志文件是否存在,以便在外部进程将其重命名后可以重新创建它。 |
server.tomcat.accesslog.condition-if |
|
是否仅在“ ServletRequest.getAttribute(conditionIf)”不产生空值时才启用请求日志记录。 |
server.tomcat.accesslog.condition-unless |
|
是否仅在“ ServletRequest.getAttribute(conditionUnless)”产生空值时才启用请求的日志记录。 |
server.tomcat.accesslog.directory |
logs |
在其中创建日志文件的目录。可以是绝对值,也可以相对于Tomcat基本目录。 |
server.tomcat.accesslog.enabled |
false |
启用访问日志。 |
server.tomcat.accesslog.encoding |
|
日志文件使用的字符集。默认为系统默认字符集。 |
server.tomcat.accesslog.file-date-format |
.yyyy-MM-dd |
放置在日志文件名中的日期格式。 |
server.tomcat.accesslog.ipv6-canonical |
false |
是否使用RFC 5952定义的IPv6规范表示格式。 |
server.tomcat.accesslog.locale |
|
语言环境用于格式化日志条目和日志文件名后缀中的时间戳。默认为Java进程的默认语言环境。 |
server.tomcat.accesslog.max-days |
-1 |
在删除访问日志文件之前保留它们的天数。 |
server.tomcat.accesslog.pattern |
common |
访问日志的格式模式。 |
server.tomcat.accesslog.prefix |
access_log |
日志文件名前缀。 |
server.tomcat.accesslog.rename-on-rotate |
false |
是否推迟在文件名中包括日期戳,直到轮换时间。 |
server.tomcat.accesslog.request-attributes-enabled |
false |
设置用于请求的IP地址,主机名,协议和端口的请求属性。 |
server.tomcat.accesslog.rotate |
true |
是否启用访问日志循环。 |
server.tomcat.accesslog.suffix |
.log |
日志文件名后缀。 |
server.tomcat.additional-tld-skip-patterns |
|
逗号分隔的与jar匹配的其他模式列表,可忽略,以免TLD扫描。特殊的“?” 模式中可以使用'*'和'*'字符来分别匹配一个和一个字符以及零个或多个字符。 |
server.tomcat.background-processor-delay |
10s |
调用backgroundProcess方法之间的延迟。如果未指定持续时间后缀,则将使用秒。 |
server.tomcat.basedir |
|
Tomcat基本目录。如果未指定,则使用一个临时目录。 |
server.tomcat.connection-timeout |
|
连接器在接受连接后将等待呈现请求URI行的时间。 |
server.tomcat.host-header |
X-Forwarded-Host |
从中提取远程主机的HTTP标头的名称。 |
server.tomcat.internal-proxies |
10\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|192\\.168\\.\\d{1,3}\\.\\d{1,3}|169\\.254\\.\\d{1,3}\\.\\d{1,3}|127\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}|172\\.1[6-9]{1}\\.\\d{1,3}\\.\\d{1,3}|172\\.2[0-9]{1}\\.\\d{1,3}\\.\\d{1,3}|172\\.3[0-1]{1}\\.\\d{1,3}\\.\\d{1,3}|0:0:0:0:0:0:0:1|::1 |
与要信任的代理匹配的正则表达式。 |
server.tomcat.max-connections |
10000 |
服务器在任何给定时间接受和处理的最大连接数。一旦达到限制,操作系统仍可以基于“ acceptCount”属性接受连接。 |
server.tomcat.max-http-post-size |
2MB |
HTTP帖子内容的最大大小。 |
server.tomcat.max-swallow-size |
2MB |
可吞下的请求正文的最大数量。 |
server.tomcat.max-threads |
200 |
工作线程的最大数量。 |
server.tomcat.mbeanregistry.enabled |
false |
是否应启用Tomcat的MBean注册表。 |
server.tomcat.min-spare-threads |
10 |
最小工作线程数。 |
server.tomcat.port-header |
X-Forwarded-Port |
HTTP标头的名称,用于覆盖原始端口值。 |
server.tomcat.processor-cache |
200 |
将保留在缓存中并在后续请求中重用的最大空闲处理器数。设置为-1时,高速缓存将不受限制,其理论最大大小等于最大连接数。 |
server.tomcat.protocol-header |
|
包含传入协议的标头,通常命名为“ X-Forwarded-Proto”。 |
server.tomcat.protocol-header-https-value |
https |
协议报头的值,指示传入的请求是否使用SSL。 |
server.tomcat.redirect-context-root |
true |
是否应该通过在路径后面加上/来重定向对上下文根的请求。 |
server.tomcat.relaxed-path-chars |
|
URI路径中应允许的其他未编码字符的逗号分隔列表。仅允许使用“ <> [\] ^`{|}”。 |
server.tomcat.relaxed-query-chars |
|
URI查询字符串中应允许的其他未编码字符的逗号分隔列表。仅允许使用“ <> [\] ^`{|}”。 |
server.tomcat.remote-ip-header |
|
从中提取远程IP的HTTP标头的名称。例如,“ X-FORWARDED-FOR”。 |
server.tomcat.resource.allow-caching |
true |
此Web应用程序是否允许静态资源缓存。 |
server.tomcat.resource.cache-ttl |
|
静态资源缓存的生存时间。 |
server.tomcat.uri-encoding |
UTF-8 |
用于解码URI的字符编码。 |
server.tomcat.use-relative-redirects |
|
通过调用sendRedirect生成的HTTP 1.1和更高版本的位置标头将使用相对还是绝对重定向。 |
server.undertow.accesslog.dir |
|
Undertow访问日志目录。 |
server.undertow.accesslog.enabled |
false |
是否启用访问日志。 |
server.undertow.accesslog.pattern |
common |
访问日志的格式模式。 |
server.undertow.accesslog.prefix |
access_log. |
日志文件名前缀。 |
server.undertow.accesslog.rotate |
true |
是否启用访问日志循环。 |
server.undertow.accesslog.suffix |
log |
日志文件名后缀。 |
server.undertow.allow-encoded-slash |
false |
服务器是否应解码百分比编码的斜杠字符。由于不同的服务器对斜杠的解释不同,因此启用编码斜杠可能会带来安全隐患。仅当您有需要它的旧版应用程序时才启用它。 |
server.undertow.always-set-keep-alive |
true |
是否将“ Connection:keep-alive”标头添加到所有响应中,即使HTTP规范没有要求也是如此。 |
server.undertow.buffer-size |
|
每个缓冲区的大小。缺省值是从JVM可用的最大内存量得出的。 |
server.undertow.decode-url |
true |
URL是否应解码。禁用后,URL中的百分比编码字符将保持原样。 |
server.undertow.direct-buffers |
|
是否在Java堆之外分配缓冲区。缺省值是从JVM可用的最大内存量得出的。 |
server.undertow.eager-filter-init |
true |
Servlet过滤器是否应在启动时初始化。 |
server.undertow.io-threads |
|
为工作线程创建的I / O线程数。默认值是根据可用处理器的数量得出的。 |
server.undertow.max-cookies |
200 |
允许的最大Cookie数。存在此限制是为了防止基于散列冲突的DOS攻击。 |
server.undertow.max-headers |
|
允许的最大标头数。存在此限制是为了防止基于散列冲突的DOS攻击。 |
server.undertow.max-http-post-size |
-1B |
HTTP帖子内容的最大大小。当值为-1(默认值)时,大小是无限的。 |
server.undertow.max-parameters |
|
允许的最大查询或路径参数数。存在此限制是为了防止基于散列冲突的DOS攻击。 |
server.undertow.no-request-timeout |
|
在服务器关闭连接之前,连接可以闲置而不处理请求的时间。 |
server.undertow.options.server.* |
|
|
server.undertow.options.socket.* |
|
|
server.undertow.url-charset |
UTF-8 |
字符集,用于解码URL。 |
server.undertow.worker-threads |
|
工作线程数。默认值为I / O线程数的8倍。 |
键 |
默认值 |
描述 |
---|---|---|
spring.ldap.anonymous-read-only |
false |
只读操作是否应使用匿名环境。 |
spring.ldap.base |
|
所有操作应从其开始的基本后缀。 |
spring.ldap.base-environment.* |
|
LDAP规范设置。 |
spring.ldap.embedded.base-dn |
|
基本DN的列表。 |
spring.ldap.embedded.credential.password |
|
嵌入式LDAP密码。 |
spring.ldap.embedded.credential.username |
|
嵌入式LDAP用户名。 |
spring.ldap.embedded.ldif |
classpath:schema.ldif |
架构(LDIF)脚本资源参考。 |
spring.ldap.embedded.port |
0 |
嵌入式LDAP端口。 |
spring.ldap.embedded.validation.enabled |
true |
是否启用LDAP模式验证。 |
spring.ldap.embedded.validation.schema |
|
自定义架构的路径。 |
spring.ldap.password |
|
服务器的登录密码。 |
spring.ldap.urls |
|
服务器的LDAP URL。 |
spring.ldap.username |
|
服务器的登录用户名。 |
spring.security.filter.dispatcher-types |
async, error, request |
安全筛选器链调度程序类型。 |
spring.security.filter.order |
-100 |
安全筛选器链顺序。 |
spring.security.oauth2.client.provider.* |
|
OAuth提供者详细信息。 |
spring.security.oauth2.client.registration.* |
|
OAuth客户端注册。 |
spring.security.oauth2.resourceserver.jwt.issuer-uri |
|
URI可以是OpenID Connect发现端点,也可以是RFC 8414定义的OAuth 2.0授权服务器元数据端点。 |
spring.security.oauth2.resourceserver.jwt.jwk-set-uri |
|
用于验证JWT令牌的JSON Web密钥URI。 |
spring.security.oauth2.resourceserver.jwt.jws-algorithm |
RS256 |
用于验证数字签名的JSON Web算法。 |
spring.security.oauth2.resourceserver.jwt.public-key-location |
|
包含用于验证JWT的公钥的文件的位置。 |
spring.security.oauth2.resourceserver.opaquetoken.client-id |
|
用于通过令牌自省端点进行身份验证的客户端ID。 |
spring.security.oauth2.resourceserver.opaquetoken.client-secret |
|
用于通过令牌自省端点进行身份验证的客户端机密。 |
spring.security.oauth2.resourceserver.opaquetoken.introspection-uri |
|
OAuth 2.0端点,通过该端点完成令牌自省。 |
spring.security.saml2.relyingparty.registration.* |
|
SAML2依赖方注册。 |
spring.security.user.name |
user |
默认用户名。 |
spring.security.user.password |
|
默认用户名的密码。 |
spring.security.user.roles |
|
为默认用户名授予角色。 |
spring.session.hazelcast.flush-mode |
on-save |
会话刷新模式。确定何时将会话更改写入会话存储。 |
spring.session.hazelcast.map-name |
spring:session:sessions |
用于存储会话的地图名称。 |
spring.session.hazelcast.save-mode |
|
会话保存模式。确定如何跟踪会话更改并将其保存到会话存储。 |
spring.session.jdbc.cleanup-cron |
0 * * * * * |
过期的会话清理作业的Cron表达式。 |
spring.session.jdbc.flush-mode |
|
会话刷新模式。确定何时将会话更改写入会话存储。 |
spring.session.jdbc.initialize-schema |
embedded |
数据库模式初始化模式。 |
spring.session.jdbc.save-mode |
|
会话保存模式。确定如何跟踪会话更改并将其保存到会话存储。 |
spring.session.jdbc.schema |
classpath:org/springframework/session/jdbc/schema-@@platform@@.sql |
用于初始化数据库模式的SQL文件的路径。 |
spring.session.jdbc.table-name |
SPRING_SESSION |
用于存储会话的数据库表的名称。 |
spring.session.mongodb.collection-name |
sessions |
用于存储会话的集合名称。 |
spring.session.redis.cleanup-cron |
0 * * * * * |
过期的会话清理作业的Cron表达式。 |
spring.session.redis.configure-action |
|
没有用户定义的ConfigureRedisAction bean时应用的configure操作。 |
spring.session.redis.flush-mode |
on-save |
|
spring.session.redis.namespace |
spring:session |
用于存储会话的键的命名空间。 |
spring.session.redis.save-mode |
|
会话保存模式。确定如何跟踪会话更改并将其保存到会话存储。 |
spring.session.servlet.filter-dispatcher-types |
async, error, request |
会话存储库过滤器调度程序类型。 |
spring.session.servlet.filter-order |
|
会话存储库过滤器顺序。 |
spring.session.store-type |
|
会话存储类型。 |
spring.session.timeout |
|
会话超时。如果未指定持续时间后缀,则将使用秒。 |
键 |
默认值 |
描述 |
---|---|---|
spring.rsocket.server.address |
|
服务器应绑定到的网络地址。 |
spring.rsocket.server.mapping-path |
|
RSocket处理请求的路径(仅适用于websocket传输)。 |
spring.rsocket.server.port |
|
服务器端口。 |
spring.rsocket.server.transport |
|
RSocket传输协议。 |
键 |
默认值 |
描述 |
---|---|---|
management.auditevents.enabled |
true |
是否启用审计事件存储。 |
management.cloudfoundry.enabled |
true |
是否启用扩展的Cloud Foundry执行器端点。 |
management.cloudfoundry.skip-ssl-validation |
false |
是否跳过Cloud Foundry执行器端点安全性调用的SSL验证。 |
management.endpoint.auditevents.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.auditevents.enabled |
true |
是否启用auditevents端点。 |
management.endpoint.beans.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.beans.enabled |
true |
是否启用bean端点。 |
management.endpoint.caches.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.caches.enabled |
true |
是否启用缓存端点。 |
management.endpoint.conditions.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.conditions.enabled |
true |
是否启用条件端点。 |
management.endpoint.configprops.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.configprops.enabled |
true |
是否启用configprops端点。 |
management.endpoint.configprops.keys-to-sanitize |
password, secret, key, token, .*credentials.*, vcap_services, sun.java.command |
应该清理的密钥。键可以是属性结尾的简单字符串,也可以是正则表达式。 |
management.endpoint.env.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.env.enabled |
true |
是否启用环境端点。 |
management.endpoint.env.keys-to-sanitize |
password, secret, key, token, .*credentials.*, vcap_services, sun.java.command |
应该清理的密钥。键可以是属性结尾的简单字符串,也可以是正则表达式。 |
management.endpoint.flyway.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.flyway.enabled |
true |
是否启用飞行路线端点。 |
management.endpoint.health.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.health.enabled |
true |
是否启用健康端点。 |
management.endpoint.health.group.* |
|
健康端点组。 |
management.endpoint.health.roles |
|
用于确定是否授权向用户显示详细信息的角色。如果为空,则对所有经过身份验证的用户进行授权。 |
management.endpoint.health.show-components |
|
何时显示组件。如果未指定,将使用“显示详细信息”设置。 |
management.endpoint.health.show-details |
never |
何时显示完整的健康详细信息。 |
management.endpoint.health.status.http-mapping.* |
|
健康状况到HTTP状态代码的映射。默认情况下,已注册的健康状态会映射为合理的默认值(例如,UP映射为200)。 |
management.endpoint.health.status.order |
DOWN, OUT_OF_SERVICE, UP, UNKNOWN |
用逗号分隔的健康状况列表(按严重程度排序)。 |
management.endpoint.heapdump.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.heapdump.enabled |
true |
是否启用heapdump端点。 |
management.endpoint.httptrace.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.httptrace.enabled |
true |
是否启用httptrace端点。 |
management.endpoint.info.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.info.enabled |
true |
是否启用信息端点。 |
management.endpoint.integrationgraph.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.integrationgraph.enabled |
true |
是否启用积分图端点。 |
management.endpoint.jolokia.config.* |
|
Jolokia设置。有关更多详细信息,请参阅Jolokia的文档。 |
management.endpoint.jolokia.enabled |
true |
是否启用jolokia端点。 |
management.endpoint.liquibase.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.liquibase.enabled |
true |
是否启用liquibase端点。 |
management.endpoint.logfile.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.logfile.enabled |
true |
是否启用日志文件端点。 |
management.endpoint.logfile.external-file |
|
要访问的外部日志文件。如果日志文件是通过输出重定向而不是日志系统本身编写的,则可以使用。 |
management.endpoint.loggers.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.loggers.enabled |
true |
是否启用记录器端点。 |
management.endpoint.mappings.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.mappings.enabled |
true |
是否启用映射端点。 |
management.endpoint.metrics.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.metrics.enabled |
true |
是否启用指标终结点。 |
management.endpoint.prometheus.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.prometheus.enabled |
true |
是否启用Prometheus端点。 |
management.endpoint.scheduledtasks.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.scheduledtasks.enabled |
true |
是否启用ScheduledTasks端点。 |
management.endpoint.sessions.enabled |
true |
是否启用会话端点。 |
management.endpoint.shutdown.enabled |
false |
是否启用关闭端点。 |
management.endpoint.threaddump.cache.time-to-live |
0ms |
可以缓存响应的最长时间。 |
management.endpoint.threaddump.enabled |
true |
是否启用线程转储端点。 |
management.endpoints.enabled-by-default |
|
默认情况下启用还是禁用所有端点。 |
management.endpoints.jmx.domain |
org.springframework.boot |
|
management.endpoints.jmx.exposure.exclude |
|
应当排除的端点ID,或者所有端点ID均为“ *”。 |
management.endpoints.jmx.exposure.include |
* |
|
management.endpoints.jmx.static-names |
|
附加到代表端点的MBean的所有ObjectName的附加静态属性。 |
management.endpoints.migrate-legacy-ids |
false |
是否透明地迁移旧式端点ID。 |
management.endpoints.web.base-path |
/actuator |
Web端点的基本路径。如果已配置management.server.port,则相对于server.servlet.context-path或management.server.servlet.context-path。 |
management.endpoints.web.cors.allow-credentials |
|
是否支持凭据。如果未设置,则不支持凭据。 |
management.endpoints.web.cors.allowed-headers |
|
请求中允许的标头的逗号分隔列表。'*'允许所有标题。 |
management.endpoints.web.cors.allowed-methods |
|
以逗号分隔的方法列表。'*'允许所有方法。未设置时,默认为GET。 |
management.endpoints.web.cors.allowed-origins |
|
以逗号分隔的来源列表。'*'允许所有来源。如果未设置,则会禁用CORS支持。 |
management.endpoints.web.cors.exposed-headers |
|
响应中包含的标头的逗号分隔列表。 |
management.endpoints.web.cors.max-age |
1800s |
客户端可以将飞行前请求的响应缓存多长时间。如果未指定持续时间后缀,则将使用秒。 |
management.endpoints.web.exposure.exclude |
|
应当排除的端点ID,或者所有端点ID均为“ *”。 |
management.endpoints.web.exposure.include |
health, info |
应当包含的端点ID,或全部包含的“ *”。 |
management.endpoints.web.path-mapping.* |
|
端点ID和应公开它们的路径之间的映射。 |
management.health.cassandra.enabled |
true |
是否启用Cassandra健康检查。 |
management.health.couchbase.enabled |
true |
是否启用Couchbase健康检查。 |
management.health.db.enabled |
true |
是否启用数据库健康检查。 |
management.health.defaults.enabled |
true |
是否启用默认运行状况指示器。 |
management.health.diskspace.enabled |
true |
是否启用磁盘空间健康检查。 |
management.health.diskspace.path |
|
用于计算可用磁盘空间的路径。 |
management.health.diskspace.threshold |
10MB |
最小可用磁盘空间。 |
management.health.elasticsearch.enabled |
true |
是否启用Elasticsearch健康检查。 |
management.health.influxdb.enabled |
true |
是否启用InfluxDB健康检查。 |
management.health.jms.enabled |
true |
是否启用JMS健康检查。 |
management.health.ldap.enabled |
true |
是否启用LDAP健康检查。 |
management.health.mail.enabled |
true |
是否启用邮件健康检查。 |
management.health.mongo.enabled |
true |
是否启用MongoDB健康检查。 |
management.health.neo4j.enabled |
true |
是否启用Neo4j健康检查。 |
management.health.ping.enabled |
true |
是否启用ping健康检查。 |
management.health.rabbit.enabled |
true |
是否启用RabbitMQ健康检查。 |
management.health.redis.enabled |
true |
是否启用Redis健康检查。 |
management.health.solr.enabled |
true |
是否启用Solr健康检查。 |
management.info.build.enabled |
true |
是否启用构建信息。 |
management.info.defaults.enabled |
true |
是否启用默认信息提供者。 |
management.info.env.enabled |
true |
是否启用环境信息。 |
management.info.git.enabled |
true |
是否启用git info。 |
management.info.git.mode |
simple |
|
management.metrics.distribution.maximum-expected-value.* |
|
仪表ID以指定名称开头的最大值应予观察。最长的比赛获胜。值可以指定为long或Duration值(对于计时器,如果未指定单位,则默认为ms)。 |
management.metrics.distribution.minimum-expected-value.* |
|
仪表ID以指定名称开头的最小值。最长的比赛获胜。值可以指定为long或Duration值(对于计时器,如果未指定单位,则默认为ms)。 |
management.metrics.distribution.percentiles-histogram.* |
|
以指定名称开头的计量表ID是否应发布百分数直方图。对于支持基于直方图的可百分比计算的监视系统,可以将其设置为true。对于其他系统,这无效。最长的比赛获胜,键“ all”也可用于配置所有仪表。 |
management.metrics.distribution.percentiles.* |
|
特定的计算的不可凝结的百分位数将从指定名称开始发送到仪表ID的后端。最长的比赛获胜,键“ all”也可用于配置所有仪表。 |
management.metrics.distribution.sla.* |
|
以指定名称开头的电表ID的特定SLA边界。最长的比赛获胜。将为每个指定的边界发布计数器。值可以指定为long或Duration值(对于计时器,如果未指定单位,则默认为ms)。 |
management.metrics.enable.* |
|
是否应启用以指定名称开头的仪表ID。最长的比赛获胜,键“ all”也可用于配置所有仪表。 |
management.metrics.export.appoptics.api-token |
|
AppOptics API令牌。 |
management.metrics.export.appoptics.batch-size |
500 |
每个请求用于此后端的测量数量。如果找到更多测量值,则将提出多个请求。 |
management.metrics.export.appoptics.connect-timeout |
5s |
与此后端的请求的连接超时。 |
management.metrics.export.appoptics.enabled |
true |
是否启用将度量导出到此后端。 |
management.metrics.export.appoptics.host-tag |
instance |
将指标发送到AppOptics时将映射到“ @host”的标签。 |
management.metrics.export.appoptics.num-threads |
2 |
与指标发布调度程序一起使用的线程数。 |
management.metrics.export.appoptics.read-timeout |
10s |
读取超时请求到此后端。 |
management.metrics.export.appoptics.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.appoptics.uri |
https://api.appoptics.com/v1/measurements |
指标发送到的URI。 |
management.metrics.export.atlas.batch-size |
10000 |
每个请求用于此后端的测量数量。如果找到更多测量值,则将提出多个请求。 |
management.metrics.export.atlas.config-refresh-frequency |
10s |
从LWC服务刷新配置设置的频率。 |
management.metrics.export.atlas.config-time-to-live |
150s |
LWC服务提供订阅的时间。 |
management.metrics.export.atlas.config-uri |
http://localhost:7101/lwc/api/v1/expressions/local-dev |
Atlas LWC端点检索当前订阅的URI。 |
management.metrics.export.atlas.connect-timeout |
1s |
与此后端的请求的连接超时。 |
management.metrics.export.atlas.enabled |
true |
是否启用将度量导出到此后端。 |
management.metrics.export.atlas.eval-uri |
http://localhost:7101/lwc/api/v1/evaluate |
Atlas LWC端点的URI,用于评估预订数据。 |
management.metrics.export.atlas.lwc-enabled |
false |
是否启用到Atlas LWC的流传输。 |
management.metrics.export.atlas.meter-time-to-live |
15m |
是时候去参加没有任何活动的仪表了。在此期间之后,仪表将被视为已过期,并且不会得到报告。 |
management.metrics.export.atlas.num-threads |
4 |
与指标发布调度程序一起使用的线程数。 |
management.metrics.export.atlas.read-timeout |
10s |
读取超时请求到此后端。 |
management.metrics.export.atlas.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.atlas.uri |
http://localhost:7101/api/v1/publish |
Atlas服务器的URI。 |
management.metrics.export.datadog.api-key |
|
Datadog API密钥。 |
management.metrics.export.datadog.application-key |
|
Datadog应用程序密钥。并非严格要求,但可以通过将仪表描述,类型和基本单位发送到Datadog来改善Datadog的体验。 |
management.metrics.export.datadog.batch-size |
10000 |
每个请求用于此后端的测量数量。如果找到更多测量值,则将提出多个请求。 |
management.metrics.export.datadog.connect-timeout |
1s |
与此后端的请求的连接超时。 |
management.metrics.export.datadog.descriptions |
true |
是否将描述元数据发布到Datadog。关闭此选项可最大程度地减少发送的元数据量。 |
management.metrics.export.datadog.enabled |
true |
是否启用将度量导出到此后端。 |
management.metrics.export.datadog.host-tag |
instance |
将指标发送到Datadog时将映射到“主机”的标签。 |
management.metrics.export.datadog.num-threads |
2 |
与指标发布调度程序一起使用的线程数。 |
management.metrics.export.datadog.read-timeout |
10s |
读取超时请求到此后端。 |
management.metrics.export.datadog.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.datadog.uri |
https://app.datadoghq.com |
指标发送到的URI。如果需要在到Datadog的内部代理中发布度量标准,则可以使用此定义代理的位置。 |
management.metrics.export.dynatrace.api-token |
|
Dynatrace身份验证令牌。 |
management.metrics.export.dynatrace.batch-size |
10000 |
每个请求用于此后端的测量数量。如果找到更多测量值,则将提出多个请求。 |
management.metrics.export.dynatrace.connect-timeout |
1s |
与此后端的请求的连接超时。 |
management.metrics.export.dynatrace.device-id |
|
将指标导出到Dynatrace的自定义设备的ID。 |
management.metrics.export.dynatrace.enabled |
true |
是否启用将度量导出到此后端。 |
management.metrics.export.dynatrace.num-threads |
2 |
与指标发布调度程序一起使用的线程数。 |
management.metrics.export.dynatrace.read-timeout |
10s |
读取超时请求到此后端。 |
management.metrics.export.dynatrace.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.dynatrace.technology-type |
java |
导出指标的技术类型。用于在Dynatrace UI中以逻辑技术名称将指标分组。 |
management.metrics.export.dynatrace.uri |
|
指标发送到的URI。应该用于SaaS,自我管理的实例或通过内部代理进行路由。 |
management.metrics.export.elastic.auto-create-index |
true |
如果索引不存在,是否自动创建。 |
management.metrics.export.elastic.batch-size |
10000 |
每个请求用于此后端的测量数量。如果找到更多测量值,则将提出多个请求。 |
management.metrics.export.elastic.connect-timeout |
1s |
与此后端的请求的连接超时。 |
management.metrics.export.elastic.enabled |
true |
是否启用将度量导出到此后端。 |
management.metrics.export.elastic.host |
http://localhost:9200 |
主机将指标导出到。 |
management.metrics.export.elastic.index |
metrics |
要将指标导出到的索引。 |
management.metrics.export.elastic.index-date-format |
yyyy-MM |
用于滚动索引的索引日期格式。追加到索引名称后,以“-”开头。 |
management.metrics.export.elastic.num-threads |
2 |
与指标发布调度程序一起使用的线程数。 |
management.metrics.export.elastic.password |
|
Elastic Server的登录密码。 |
management.metrics.export.elastic.read-timeout |
10s |
读取超时请求到此后端。 |
management.metrics.export.elastic.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.elastic.timestamp-field-name |
@timestamp |
时间戳字段的名称。 |
management.metrics.export.elastic.user-name |
|
Elastic服务器的登录用户。 |
management.metrics.export.ganglia.addressing-mode |
multicast |
UDP寻址模式,单播或多播。 |
management.metrics.export.ganglia.duration-units |
milliseconds |
用于报告持续时间的基准时间单位。 |
management.metrics.export.ganglia.enabled |
true |
是否启用将度量标准导出到Ganglia。 |
management.metrics.export.ganglia.host |
localhost |
Ganglia服务器的主机,以接收导出的指标。 |
management.metrics.export.ganglia.port |
8649 |
Ganglia服务器的端口,用于接收导出的指标。 |
management.metrics.export.ganglia.protocol-version |
3.1 |
Ganglia协议版本。必须为3.1或3.0。 |
management.metrics.export.ganglia.rate-units |
seconds |
用于报告费率的基准时间单位。 |
management.metrics.export.ganglia.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.ganglia.time-to-live |
1 |
是时候使用Ganglia上的指标了。将多播生存时间设置为比主机之间的跳数(路由器)大一。 |
management.metrics.export.graphite.duration-units |
milliseconds |
|
management.metrics.export.graphite.enabled |
true |
是否启用将度量导出到Graphite。 |
management.metrics.export.graphite.host |
localhost |
Graphite服务器的主机,用于接收导出的指标。 |
management.metrics.export.graphite.port |
2004 |
Graphite服务器的端口,用于接收导出的指标。 |
management.metrics.export.graphite.protocol |
pickled |
|
management.metrics.export.graphite.rate-units |
seconds |
|
management.metrics.export.graphite.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.graphite.tags-as-prefix |
|
对于默认的命名约定,请将指定的标记键转换为度量标准前缀的一部分。 |
management.metrics.export.humio.api-token |
|
Humio API令牌。 |
management.metrics.export.humio.batch-size |
10000 |
每个请求用于此后端的测量数量。如果找到更多测量值,则将提出多个请求。 |
management.metrics.export.humio.connect-timeout |
5s |
与此后端的请求的连接超时。 |
management.metrics.export.humio.enabled |
true |
是否启用将度量导出到此后端。 |
management.metrics.export.humio.num-threads |
2 |
与指标发布调度程序一起使用的线程数。 |
management.metrics.export.humio.read-timeout |
10s |
读取超时请求到此后端。 |
management.metrics.export.humio.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.humio.tags.* |
|
Humio标签描述将在其中存储度量的数据源。Humio标签是与Micrometer标签不同的概念。千分尺的标签用于沿尺寸边界划分指标。 |
management.metrics.export.humio.uri |
https://cloud.humio.com |
指标发送到的URI。如果您需要在到Humio的内部代理中发布度量标准,则可以使用此方法定义代理的位置。 |
management.metrics.export.influx.auto-create-db |
true |
在尝试向其发布指标之前是否创建Influx数据库(如果不存在)。 |
management.metrics.export.influx.batch-size |
10000 |
每个请求用于此后端的测量数量。如果找到更多测量值,则将提出多个请求。 |
management.metrics.export.influx.compressed |
true |
是否启用发布到Influx的度量标准批次的GZIP压缩。 |
management.metrics.export.influx.connect-timeout |
1s |
与此后端的请求的连接超时。 |
management.metrics.export.influx.consistency |
one |
为每个点写一致性。 |
management.metrics.export.influx.db |
mydb |
将指标发送到Influx时将映射到“主机”的标签。 |
management.metrics.export.influx.enabled |
true |
是否启用将度量导出到此后端。 |
management.metrics.export.influx.num-threads |
2 |
与指标发布调度程序一起使用的线程数。 |
management.metrics.export.influx.password |
|
Influx服务器的登录密码。 |
management.metrics.export.influx.read-timeout |
10s |
读取超时请求到此后端。 |
management.metrics.export.influx.retention-duration |
|
Influx应该在当前数据库中保留数据的时间段。例如,对于7d,请查看流入文档以获取有关持续时间格式的更多详细信息。 |
management.metrics.export.influx.retention-policy |
|
要使用的保留策略(如果未指定,Influx将写入DEFAULT保留策略)。 |
management.metrics.export.influx.retention-replication-factor |
|
集群中存储了多少数据副本。对于单节点实例,必须为1。 |
management.metrics.export.influx.retention-shard-duration |
|
分片组覆盖的时间范围。例如2w,请查看流入文档以获取有关持续时间格式的更多详细信息。 |
management.metrics.export.influx.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.influx.uri |
http://localhost:8086 |
Influx服务器的URI。 |
management.metrics.export.influx.user-name |
|
Influx服务器的登录用户。 |
management.metrics.export.jmx.domain |
metrics |
指标JMX域名。 |
management.metrics.export.jmx.enabled |
true |
是否启用将度量标准导出到JMX。 |
management.metrics.export.jmx.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.kairos.batch-size |
10000 |
每个请求用于此后端的测量数量。如果找到更多测量值,则将提出多个请求。 |
management.metrics.export.kairos.connect-timeout |
1s |
与此后端的请求的连接超时。 |
management.metrics.export.kairos.enabled |
true |
是否启用将度量导出到此后端。 |
management.metrics.export.kairos.num-threads |
2 |
与指标发布调度程序一起使用的线程数。 |
management.metrics.export.kairos.password |
|
KairosDB服务器的登录密码。 |
management.metrics.export.kairos.read-timeout |
10s |
读取超时请求到此后端。 |
management.metrics.export.kairos.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.kairos.uri |
http://localhost:8080/api/v1/datapoints |
KairosDB服务器的URI。 |
management.metrics.export.kairos.user-name |
|
KairosDB服务器的登录用户。 |
management.metrics.export.newrelic.account-id |
|
新的文物帐户ID。 |
management.metrics.export.newrelic.api-key |
|
新的Relic API密钥。 |
management.metrics.export.newrelic.batch-size |
10000 |
每个请求用于此后端的测量数量。如果找到更多测量值,则将提出多个请求。 |
management.metrics.export.newrelic.connect-timeout |
1s |
与此后端的请求的连接超时。 |
management.metrics.export.newrelic.enabled |
true |
是否启用将度量导出到此后端。 |
management.metrics.export.newrelic.event-type |
SpringBootSample |
应该发布的事件类型。如果将“ meter-name-event-type-enabled”设置为“ true”,则将忽略此属性。 |
management.metrics.export.newrelic.meter-name-event-type-enabled |
false |
是否发送仪表名称作为事件类型,而不是使用“事件类型”配置属性值。如果未遵循New Relic准则或需要与以前的Spring Boot发行版一致的事件类型,则可以设置为“ true”。 |
management.metrics.export.newrelic.num-threads |
2 |
与指标发布调度程序一起使用的线程数。 |
management.metrics.export.newrelic.read-timeout |
10s |
读取超时请求到此后端。 |
management.metrics.export.newrelic.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.newrelic.uri |
https://insights-collector.newrelic.com |
指标发送到的URI。 |
management.metrics.export.prometheus.descriptions |
true |
是否将发布说明作为对Prometheus的有效内容的一部分。关闭此选项可最大程度地减少每个刮板上发送的数据量。 |
management.metrics.export.prometheus.enabled |
true |
是否启用将度量标准导出到Prometheus。 |
management.metrics.export.prometheus.pushgateway.base-url |
http://localhost:9091 |
Pushgateway的基本URL。 |
management.metrics.export.prometheus.pushgateway.enabled |
false |
通过Prometheus Pushgateway启用发布。 |
management.metrics.export.prometheus.pushgateway.grouping-key.* |
|
推送指标的分组键。 |
management.metrics.export.prometheus.pushgateway.job |
|
此应用程序实例的作业标识符。 |
management.metrics.export.prometheus.pushgateway.push-rate |
1m |
推送指标的频率。 |
management.metrics.export.prometheus.pushgateway.shutdown-operation |
|
关机时应执行的操作。 |
management.metrics.export.prometheus.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.signalfx.access-token |
|
SignalFX访问令牌。 |
management.metrics.export.signalfx.batch-size |
10000 |
每个请求用于此后端的测量数量。如果找到更多测量值,则将提出多个请求。 |
management.metrics.export.signalfx.connect-timeout |
1s |
与此后端的请求的连接超时。 |
management.metrics.export.signalfx.enabled |
true |
是否启用将度量导出到此后端。 |
management.metrics.export.signalfx.num-threads |
2 |
与指标发布调度程序一起使用的线程数。 |
management.metrics.export.signalfx.read-timeout |
10s |
读取超时请求到此后端。 |
management.metrics.export.signalfx.source |
|
唯一标识正在将指标发布到SignalFx的应用程序实例。默认为本地主机名。 |
management.metrics.export.signalfx.step |
10s |
要使用的步长(即报告频率)。 |
management.metrics.export.signalfx.uri |
https://ingest.signalfx.com |
指标发送到的URI。 |
management.metrics.export.simple.enabled |
true |
在没有其他任何导出器的情况下,是否启用将度量导出到内存后端。 |
management.metrics.export.simple.mode |
cumulative |
计数模式。 |
management.metrics.export.simple.step |
1m |
要使用的步长(即报告频率)。 |
management.metrics.export.statsd.enabled |
true |
是否启用将度量导出到StatsD。 |
management.metrics.export.statsd.flavor |
datadog |
|
management.metrics.export.statsd.host |
localhost |
StatsD服务器的主机,以接收导出的指标。 |
management.metrics.export.statsd.max-packet-length |
1400 |
单个有效负载的总长度应保持在网络的MTU之内。 |
management.metrics.export.statsd.polling-frequency |
10s |
仪表多久轮询一次。轮询量规时,将重新计算其值,并且如果该值已更改(或publishUnchangedMeters为true),则将其发送到StatsD服务器。 |
management.metrics.export.statsd.port |
8125 |
StatsD服务器的端口,用于接收导出的指标。 |
management.metrics.export.statsd.publish-unchanged-meters |
true |
是否将未更改的计量表发送到StatsD服务器。 |
management.metrics.export.wavefront.api-token |
|
直接将指标发布到Wavefront API主机时使用的API令牌。 |
management.metrics.export.wavefront.batch-size |
10000 |
每个请求用于此后端的测量数量。如果找到更多测量值,则将提出多个请求。 |
management.metrics.export.wavefront.connect-timeout |
1s |
与此后端的请求的连接超时。 |
management.metrics.export.wavefront.enabled |
true |
是否启用将度量导出到此后端。 |
management.metrics.export.wavefront.global-prefix |
|
全局前缀,用于在从Wavefront UI中查看时,将源自此应用程序白盒检测的指标与源自其他Wavefront集成的指标分开。 |
management.metrics.export.wavefront.num-threads |
2 |
与指标发布调度程序一起使用的线程数。 |
management.metrics.export.wavefront.read-timeout |
10s |
读取超时请求到此后端。 |
management.metrics.export.wavefront.source |
|
应用实例的唯一标识符,是发布到Wavefront的指标的来源。默认为本地主机名。 |
management.metrics.export.wavefront.step |
10s |
要使用的步长(即报告频率)。 |
management.metrics.export.wavefront.uri |
https://longboard.wavefront.com |
指标发送到的URI。 |
management.metrics.tags.* |
|
应用于每个仪表的通用标签。 |
management.metrics.use-global-registry |
true |
自动配置的MeterRegistry实现是否应绑定到Metrics上的全局静态注册表。对于测试,请将其设置为“ false”以最大化测试独立性。 |
management.metrics.web.client.max-uri-tags |
100 |
允许的最大唯一URI标记值数量。达到标记值的最大数量后,过滤器会拒绝带有其他标记值的指标。 |
management.metrics.web.client.request.autotime.enabled |
true |
是否自动定时Web客户端请求。 |
management.metrics.web.client.request.autotime.percentiles |
|
已计算的不可凝结百分位数要发布。 |
management.metrics.web.client.request.autotime.percentiles-histogram |
false |
是否应发布百分位直方图。 |
management.metrics.web.client.request.metric-name |
http.client.requests |
已发送请求的度量标准名称。 |
management.metrics.web.server.max-uri-tags |
100 |
允许的最大唯一URI标记值数量。达到标记值的最大数量后,过滤器会拒绝带有其他标记值的指标。 |
management.metrics.web.server.request.autotime.enabled |
true |
是否自动定时Web服务器请求。 |
management.metrics.web.server.request.autotime.percentiles |
|
已计算的不可凝结百分位数要发布。 |
management.metrics.web.server.request.autotime.percentiles-histogram |
false |
是否应发布百分位直方图。 |
management.metrics.web.server.request.metric-name |
http.server.requests |
接收到的请求的度量标准名称。 |
management.server.add-application-context-header |
false |
在每个响应中添加“ X-Application-Context” HTTP标头。 |
management.server.address |
|
管理端点应绑定到的网络地址。需要自定义的management.server.port。 |
management.server.port |
|
管理端点HTTP端口(默认情况下使用与应用程序相同的端口)。配置其他端口以使用特定于管理的SSL。 |
management.server.servlet.context-path |
|
管理端点上下文路径(例如,/ management)。需要自定义的management.server.port。 |
management.server.ssl.ciphers |
|
支持的SSL密码。 |
management.server.ssl.client-auth |
|
客户端认证方式。需要一个信任库。 |
management.server.ssl.enabled |
true |
是否启用SSL支持。 |
management.server.ssl.enabled-protocols |
|
启用的SSL协议。 |
management.server.ssl.key-alias |
|
标识密钥库中密钥的别名。 |
management.server.ssl.key-password |
|
用于访问密钥库中密钥的密码。 |
management.server.ssl.key-store |
|
持有SSL证书(通常是jks文件)的密钥库的路径。 |
management.server.ssl.key-store-password |
|
用于访问密钥库的密码。 |
management.server.ssl.key-store-provider |
|
密钥库的提供者。 |
management.server.ssl.key-store-type |
|
密钥库的类型。 |
management.server.ssl.protocol |
TLS |
要使用的SSL协议。 |
management.server.ssl.trust-store |
|
拥有SSL证书的信任库。 |
management.server.ssl.trust-store-password |
|
用于访问信任库的密码。 |
management.server.ssl.trust-store-provider |
|
信任库的提供者。 |
management.server.ssl.trust-store-type |
|
信任库的类型。 |
management.trace.http.enabled |
true |
是否启用HTTP请求-响应跟踪。 |
management.trace.http.include |
request-headers, response-headers, cookies, errors |
要包含在跟踪中的项目。默认为请求标头(不包括授权,但包括Cookie),响应标头(包括Set-Cookie)和花费的时间。 |
键 |
默认值 |
描述 |
---|---|---|
spring.devtools.add-properties |
true |
是否启用开发属性默认值。 |
spring.devtools.livereload.enabled |
true |
是否启用livereload.com兼容服务器。 |
spring.devtools.livereload.port |
35729 |
服务器端口。 |
spring.devtools.remote.context-path |
/.~~spring-boot!~ |
用于处理远程连接的上下文路径。 |
spring.devtools.remote.proxy.host |
|
用于连接到远程应用程序的代理的主机。 |
spring.devtools.remote.proxy.port |
|
用于连接到远程应用程序的代理服务器的端口。 |
spring.devtools.remote.restart.enabled |
true |
是否启用远程重启。 |
spring.devtools.remote.secret |
|
建立连接所需的共享机密(启用远程支持所必需)。 |
spring.devtools.remote.secret-header-name |
X-AUTH-TOKEN |
用于传输共享机密的HTTP标头。 |
spring.devtools.restart.additional-exclude |
|
应从触发完全重新启动中排除的其他模式。 |
spring.devtools.restart.additional-paths |
|
监视更改的其他路径。 |
spring.devtools.restart.enabled |
true |
是否启用自动重启。 |
spring.devtools.restart.exclude |
META-INF/maven/**,META-INF/resources/**,resources/**,static/**,public/**,templates/**,**/*Test.class,**/*Tests.class,git.properties,META-INF/build-info.properties |
应从触发完全重新启动中排除的模式。 |
spring.devtools.restart.log-condition-evaluation-delta |
true |
重新启动时是否记录条件评估增量。 |
spring.devtools.restart.poll-interval |
1s |
在轮询类路径更改之间等待的时间。 |
spring.devtools.restart.quiet-period |
400ms |
触发重新启动之前,无需更改任何类路径所需的安静时间。 |
spring.devtools.restart.trigger-file |
|
更改后触发重新启动检查的特定文件的名称。必须是出现在类路径中的文件的简单名称(没有任何路径)。如果未指定,则任何类路径文件更改都会触发重新启动。 |
键 |
默认值 |
描述 |
---|---|---|
spring.test.database.replace |
any |
要替换的现有数据源的类型。 |
spring.test.mockmvc.print |
default |
MVC打印选项。 |
Copyright © 2013 - 2023 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号: 粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
扫码关注腾讯云开发者
领取腾讯云代金券