首页
学习
活动
专区
圈层
工具
发布
  • 您找到你想要的搜索结果了吗?
    是的
    没有找到

    Kong网关upstream健康检查机制

    零值表示不执行对健康target的探测; healthchecks.active.unhealthy.interval – 对不健康的target执行健康的间隔(单位秒),零值表示不执对不健康target...healthchecks.active.healthy.successes – 根据healthcheck.active.health.http_statuses定义的健康HTTP返回码累加的次数; healthchecks.active.unhealthy.tcp_failures...– 根据TCP连接失败或TLS验证失败进行累加; healthchecks.active.unhealthy.timeouts – target不健康的超时累加计数; healthchecks.active.unhealthy.http_failures...– TCP连接失败累加的计数器; healthchecks.passive.unhealthy.timeouts – 超时失败的累加计数器; healthchecks.passive.unhealthy.http_failures...要完全禁用主动健康游的健康状况检查,可以把healthchecks.active.healthy.interval和healthchecks.active.unhealthy.interval都设置为0

    3.9K30

    遗留系统微服务改造(五):监控体系建设与指标收集

    log.error("遗留系统数据库健康检查失败",e);returnHealthStatus.builder().component("legacy-database").status(Status.UNHEALTHY...log.error("服务注册中心健康检查失败",e);returnHealthStatus.builder().component("service-discovery").status(Status.UNHEALTHY...message("数据同步服务正常").build();}else{returnHealthStatus.builder().component("data-sync").status(Status.UNHEALTHY...Exceptione){log.error("数据同步健康检查失败",e);returnHealthStatus.builder().component("data-sync").status(Status.UNHEALTHY...JavaAI代码解释/***健康状态枚举*定义系统组件的健康状态类型*/publicenumStatus{HEALTHY("健康"),//组件运行正常DEGRADED("降级"),//组件运行异常但仍可用UNHEALTHY

    15720
    领券