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 ...
随机推荐
- 嵌入式学习之Nand Flash
转:http://m.blog.csdn.net/blog/woshixiongge/9017149 Nand Flash是flash存储器的一种,其内部采用非线性宏单元模式,为固态大容量内存的实现提 ...
- 统计中的f检验和t检验的区别
参考:http://emuch.net/html/201102/2841741.html 首先是目的不同.F检验用于比较两种分析方法是否存在显著差异(单边检验)或者两种方法紧密度是否存在差异(双边检验 ...
- brew 安装PHP的配置文件所在位置
- 使用Facebook的create-react-app脚手架快速构建React开发环境(ant.design,redux......)
编程领域中的“脚手架(Scaffolding)”指的是能够快速搭建项目“骨架”的一类工具.例如大多数的React项目都有src,public,webpack配置文件等等,而src目录中又包含compo ...
- js清空子元素,创建新的子元素
清空子元素 $('#region').empty(); 添加子元素 var regions = document.getElementById('region'); regions.appendChi ...
- vector relation
::std::vector<> 的存储管理 以下成员函数用于存储管理: void reserve( size_t n ); size_t capacity() const; void re ...
- MySQL : ERROR 1042 (HY000): Can't get hostname for your address
摘自: http://www.siutung.org/post/506/ 使用Navicat for MySQL连接远程的MySQL服务器,却提示:Can't get hostname for you ...
- 解析PHP中如何将数组变量写入文件
在用PHP记录日志,或者是 Ajax 请求出错想要 debug 的时候.我们一般都会将信息写入到一个指定的文件当中.然后根据相应的信息来处理问题.比如笔者最喜欢在用 Ajax 取不到数据的时候,在PH ...
- Mac OS X 10.10 执行 Eclipse 提示须要安装 Java
- 如何在网页中嵌入QQ 阿里旺旺等代码
1 登陆以下网址: http://wp.qq.com/login.html?target=1 2 复制代码到HTML中即可 3 将对方和自己的QQ都登陆测试(注意自己QQ必须是2010以上版本,否则会 ...