springboot admin server常用配置
|
Property name
|
Description
|
Default value
|
|
spring.boot.admin.context-path
|
The context-path prefixes the path where the Admin Server’s statics assets and API should be served. Relative to the Dispatcher-Servlet.
|
|
|
spring.boot.admin.monitor.period
|
Time interval in ms to update the status of applications with expired status-information.
|
10,000
|
|
spring.boot.admin.monitor.status-lifetime
|
Lifetime of application statuses in ms. The applications /health-endpoint will not be queried until the lifetime has expired.
|
10,000
|
|
spring.boot.admin.monitor.connect-timeout
|
Connect timeout in ms when querying the applications' status and info.
|
2,000
|
|
spring.boot.admin.monitor.read-timeout
|
Read timeout in ms when querying the applications' status and info.
|
10,000
|
|
spring.boot.admin.monitor.default-retries
|
Default number of retries for failed requests. Modyfing requests (PUT, POST, PATCH, DELETE) are never retried.
|
0
|
|
spring.boot.admin.monitor.retries.*
|
Key-Value-Pairs with the number of retries per endpointId. Defaults to default-retries. Modyfing requests (PUT, POST, PATCH, DELETE) are never retried.
|
|
|
spring.boot.admin.metadata-keys-to-sanitize
|
Metadata values for the keys matching these regex patterns will be sanitized in all json output.
|
".password$", ".*secret$", ".*key$", ".$token$", ".credentials.", ".*vcap_services$"
|
|
spring.boot.admin.probed-endpoints
|
For Spring Boot 1.x client applications SBA probes for the specified endpoints using an OPTIONS request. If the path differs from the id you can specify this as id:path (e.g. health:ping)..
|
"health", "env", "metrics", "httptrace:trace", "threaddump:dump", "jolokia", "info", "logfile", "refresh", "flyway", "liquibase", "heapdump", "loggers", "auditevents"
|
|
spring.boot.admin.instance-proxy.ignored-headers
|
Headers not to be forwarded when making requests to clients.
|
`"Cookie", "Set-Cookie", "Authorization"
|
|
spring.boot.admin.ui.brand
|
Brand to be shown in then navbar.
|
"<img src="assets/img/icon-spring-boot-admin.svg"><span>Spring Boot Admin</span>"
|
|
spring.boot.admin.ui.title
|
Page-Title to be shown.
|
"Spring Boot Admin"
|
springboot admin server常用配置的更多相关文章
- springboot中yml常用配置
server: port: 8080 spring: datasource: #数据源配置 driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc: ...
- springBoot数据库连接池常用配置
在配置文件中添加配置如下(我使用的是多数据源): spring.datasource.primary.url=jdbc\:mysql\://localhost\:3306/test?useUnicod ...
- spring-boot web项目常用配置
一.对用户输入query参数过滤空字符串 使用 WebBindingInitializer 来对string类型参数进行过滤,但是这种方式只能处理query参数不能处理body参数 代码例子: /** ...
- 关于SpringBoot Admin server 监控注意事项
当你导入了依赖 <dependency> <groupId>de.codecentric</groupId> <artifactId>spring-bo ...
- springboot配置server相关配置&整合模板引擎Freemarker、thymeleaf&thymeleaf基本用法&thymeleaf 获取项目路径 contextPath 与取session中信息
1.Springboot配置server相关配置(包括默认tomcat的相关配置) 下面的配置也都是模板,需要的时候在application.properties配置即可 ############## ...
- SpringBoot常用配置简介
SpringBoot常用配置简介 1. SpringBoot中几个常用的配置的简单介绍 一个简单的Spring.factories # Bootstrap components org.springf ...
- SpringBoot阿里巴巴Fastjson的一些常用配置
SpringBoot阿里巴巴Fastjson的一些常用配置 @Bean public HttpMessageConverters fastJsonHttpMessageConverters() { F ...
- SpringBoot常用配置
前言:springboot集成了主流的第三方框架,但是需要使用springboot那一套配置方式.但是我这里只列举了非常非常常用的,可以看已发的几篇博客,慢慢会补充.当然官方文档里也有相应的配置,可惜 ...
- Springboot client 常用配置详解
Property name Description Default value spring.boot.admin.client.enabled Enables the Spring Boot Adm ...
随机推荐
- Unity3D 避免玩家作弊
如果你的Unity项目快上线了,我强烈建议你看一下Anti-Cheat这个插件.因为IOS和Android分别越狱和Root后玩家可以使用 @八门神器 @烧饼修改器 等一些列作弊的软件来修改游戏内存, ...
- cas服务器源码阅读笔记,对标博客
对标源码阅读博客:http://www.cnblogs.com/jiuzhongguo/category/375405.html 在CAS中很多地方使用了策略模式,那么根据什么方式来确定使用哪种策略呢 ...
- 利用cca进行fmri分析
在肖柯的硕士毕业论文中<基于CCA的fMRI时空模型数据处理方法的研究>,他的总体思路是利用cca提取出fmri图像在时间和空间上两个相关系数,也就是两个特征,然后利用pca,对这两个特征 ...
- 虚拟机选择配置:解决tomcat内存溢出
用于解决java.tomcat内存溢出:-server -XX:PermSize=128M -XX:MaxPermSize=256m
- RenderMonkey 练习 第四天 【OpenGL Texture Bump】
BumpTexture 1. 新建一个OpenGL 空effect; 2. 添加相关变量 右击Effect节点选择Add Variable->float->float / float3 添 ...
- JS夯实基础:Javascript 变态题解析 (上)
["].map(parseInt) 1.知识点: Array/map Number/parseInt Global_Objects/parseInt JavaScript parseInt ...
- 【架构】Nginx如何设置X-Request-ID请求头,记录请求时间:毫秒?
Nginx is awesome, but it’s missing some common features. For instance, a common thing to add to acce ...
- Spark 开发环境搭建
原文见 http://xiguada.org/spark-develop/ 本文基于Spark 0.9.0,由于它基于Scala 2.10,因此必须安装Scala 2.10,否则将无法运行Spar ...
- Spring框架学习(5)spring整合struts2
内容源自:spring整合struts2 一.spring框架对struts等表现层框架的整合原理 : 使用spring的ioc容器管理struts中用于处理请求的Action 将Action配置成i ...
- CUDA编程札记
const int N = 33 * 1024; const int threadsPerBlock = 256; const int blocksPerGrid = imin( 32, (N+thr ...