摘要:
报错如下: [WARNING] [WARNING] Some problems were encountered while building the effective settings [WARNING] expected START_TAG or END_TAG not TEXT (posit 阅读全文
摘要:
grafana想要大屏展示,根据请求的uri的耗时时间做分组。按照自己的想法,只需要根据uri的请求以及耗时做一个分组就行了。 这个是es的数据 我其实就是想要根据apiUrl根据costTime做分组。下面是我的grafana的设置: 展示的是costTime耗时时间,按照apiUrl做分组。显示 阅读全文
摘要:
mq生产环境正常生产和消费都挺稳定的,99.999%应该都没问题的,比较稳定。今天刚好碰到过一例因为写超时导致异常问题。 2023-02-23 21:19:58.449 TID:8b8a430ff3d34213a374de3550822503.789.16771583982424385 [ERROR 阅读全文
摘要:
1.grafana以elasticsearch为数据源,时间字段问题 es 新建了索引后,日期类型默认是text类型。postman输入http://localhost:9200/index后,可以查看索引的具体类型。比如 需要在程序里面设置下: for (Field f2 : df2) { if 阅读全文
摘要:
基本都是pom依赖包冲突导致的,可以这样来解决: 找到pom.xml找到依赖项 一般Class Not found 会给一个具体的类名。搜索这个类名,看是在那个pom里面。然后在pom依赖项进行ctrl+f 查询,如果有多个,一般就是有冲突了 阅读全文
ElasticsearchStatusException[Unable to parse response body]; nested: ResponseException[method [PUT],
摘要:
ElasticsearchStatusException[Unable to parse response body]; nested: ResponseException[method [PUT], host [http://marketing-ora-m-dev.gwm.com.cn], URI 阅读全文
摘要:
ElasticsearchStatusException[Unable to parse response body]; nested: ResponseException[method [PUT], host [http://marketing-ora-m-dev.gwm.com.cn], URI 阅读全文
摘要:
es 磁盘超过90%后,无写权限了 参考:https://blog.csdn.net/aa503709643/article/details/115120233 阅读全文
摘要:
主要原因是依赖的包的问题。这个redis包是在另一个项目里面,启动时候是不需要的。把这个给注释就行了 2.单元测试时候启动时候报datasource不存在 @RunWith(SpringJUnit4ClassRunner.class) @SpringBootTest(classes = {TestE 阅读全文
摘要:
新建一个springboot服务时候,想要把公共模块的一个组件禁止自动装配。有两种方式: 1. @SpringCloudApplication @EnableAutoConfiguration(exclude = {MongoAutoConfiguration.class, MongoDataAut 阅读全文