zoukankan      html  css  js  c++  java
  • 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"
  • 相关阅读:
    有趣的面试题 11 单向链表
    CLR via C# 读书笔记 13 前台线程和后台线程
    c# 使用 new 操作符构造新对象中做了一些什么 (简单版)
    CLR via C# 读书笔记 11 何时使用线程或者线程池
    CLR via C# 读书笔记 31 一种单实例应用程序的实现(信号量)
    延时加载lazyload
    [评论]为什么中国的程序员技术偏低
    关于陈列设计和一些细节的体验
    滚动
    JavaScript 的 parseInt 取整
  • 原文地址:https://www.cnblogs.com/xiaohouzai/p/10030646.html
Copyright © 2011-2022 走看看