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 ...
随机推荐
- synchronized和lock区别
synchronized 快速回顾: 1.当代码块 加上 synchrozized之后,代码会发生什么改变? 答案:有两条改变.一个是原子性(atomicity),一个是可见性(visibility) ...
- 解决kylin报错 ClassCastException org.apache.hadoop.hive.ql.exec.ConditionalTask cannot be cast to org.apache.hadoop.hive.ql.exec.mr.MapRedTask
方法:去掉参数SET hive.auto.convert.join=true; 从配置文件$KYLIN_HOME/conf/kylin_hive_conf.xml删掉 或 kylin-gui的cube ...
- easyui-combobox绑定回车事件相关
去掉combobox回车内容不匹配清空输入项 问题描述:easyui的combobox插件,输入的内容如果和选项不匹配时,按下回车会导致输入的内容被清空. 解决办法:要解决回车时,combob ...
- [Linux] Linux软连接和硬链接
转载自:http://www.cnblogs.com/itech/archive/2009/04/10/1433052.html 1.Linux链接概念Linux链接分两种,一种被称为硬链接(Hard ...
- [转]ssis cannot retrieve the column code page info from the ole db provider
本文转自:http://social.msdn.microsoft.com/Forums/sqlserver/en-US/dc1a61f2-1ab8-4ed3-b85c-db6481800b50/er ...
- (转)Android技术积累:图片缓存管理
如果每次加载同一张图片都要从网络获取,那代价实在太大了.所以同一张图片只要从网络获取一次就够了,然后在本地缓存起来,之后加载同一张图片时就从缓存中加载就可以了.从内存缓存读取图片是最快的,但是因为内存 ...
- Appium处理滑动方法是swipe
滑动API:Swipe(int start x,int start y,int end x,int y,duration) 解释: int start x-开始滑动的x坐标:int start y - ...
- CyclicBarrier使用方法
CyclicBarrier是一个同步辅助类,它同意一组线程互相等待.直到到达某个公共屏障点 (common barrier point).在涉及一组固定大小的线程的程序中,这些线程必须不时地互相等待, ...
- javascript 中用到的时间戳函数
JavaScript 获取当前时间戳:第一种方法: var timestamp = Date.parse(new Date()); 例如结果:1280977330000第二种方法: var times ...
- actor中!(tell)与forward的差别
! 的源代码: def !(message: Any)(implicit sender: ActorRef = Actor.noSender): Unit tell 的源代码: final def t ...