文章目录 1. 快速开始 2. 监控和管理端点3. 定制端点 2.1. health 应用健康指标 2.2. info 查看应用信息 2.3. metrics 应用基本指标 2.4. trace 基本的HTTP跟踪信息 2.5. shutdown关闭当前应用 4. 源代码 文章目录 Spring B ...
分类:
编程语言 时间:
2017-07-27 18:39:06
阅读次数:
192
文章目录 1. 内置 HealthIndicator 监控检测 2. 自定义 HealthIndicator 监控检测 3. 源代码 文章目录 Health 信息是从 ApplicationContext 中所有的 HealthIndicator 的 Bean 中收集的, Spring Boot 内 ...
分类:
编程语言 时间:
2017-07-27 18:34:58
阅读次数:
272
Elasticsearch集群知识笔记 Elasticsearch内部提供了一个rest接口用于查看集群内部的健康状况: Elasticsearch内部提供了一个rest接口用于查看集群内部的健康状况: curl -XGET http://localhost:9200/_cluster/health ...
分类:
其他好文 时间:
2017-07-27 00:50:31
阅读次数:
342
报错信息如下:[root@ceph-6-11~]#cephhealthdetailHEALTH_ERR1pgsinconsistent;1scruberrors;pg2.37cisactive+clean+inconsistent,acting[75,6,35]1scruberrors报错信息总结:问题PG:2.37cOSD编号:75,6,35执行常规修复:cephpgrepair2.37c查看修复结果:[root@ceph-6-11~]#c..
分类:
其他好文 时间:
2017-07-25 01:10:01
阅读次数:
600
引言What is the Health Check Health Check(健康状态检查)不仅是对自己应用程序内部检测各个项目之间的健康状态(各项目的运行情况、项目之间的连接情况等),还包括了应用程序对外部或者第三方依赖库的状态检测。Why use Health Check 现在我们的项目越来越... ...
分类:
其他好文 时间:
2017-07-21 14:08:50
阅读次数:
139
1.通过命令ceph -s 或者ceph health检查ceph 状态,有osd near full cluster bef6d01c-631b-4355-94fe-77d4eb1a6322 health HEALTH_WARN 4 near full osd(s) 2.ceph health d ...
分类:
其他好文 时间:
2017-07-14 18:47:34
阅读次数:
241
import random health = 50 difficulty = 1 portionHealth = int(random.randint(20,50) / difficulty) health = health + portionHealth print(health) ...
分类:
编程语言 时间:
2017-07-11 01:01:39
阅读次数:
244
Training little cats Facer's pet cat just gave birth to a brood of little cats. Having considered the health of those lovely cats, Facer decides to ma ...
分类:
其他好文 时间:
2017-07-10 13:16:02
阅读次数:
158
一:this的关键字的用法: 1.调用属性:5 this.health=100; this.name="小黄"; 2.调用方法: this.print(); 3.调用构造方法 this(); >如果是使用,必须是构造方法中的第一条语句 this("小黑",100,100,"雄"); 二:this关键 ...
分类:
其他好文 时间:
2017-07-07 00:54:36
阅读次数:
147
一、概述 本次讲述jenkins的jar包MavenDeploy job的配置 二、MavenDeploy job配置 2.1、Project名称 2.2、参数化构建过程 Description: Default Value: Description: 2.3、源码管理 2.4、maven-depl ...
分类:
其他好文 时间:
2017-06-28 17:15:44
阅读次数:
2043