关于springboot:Spring-cloud-微服务组件-mica-205GA-发布添加对sentinelundertow指标收集

6次阅读

共计 1111 个字符,预计需要花费 3 分钟才能阅读完成。

Spring cloud 微服务组件 mica 2.0.5-GA 公布,增加对 sentinel、undertow 指标收集

一、mica(云母)

mica 由如梦技术外部的 lutool(撸秃) 演变而来。lutool 诞生于 2017 年,受 jhipster 启发逐步形成一个微服务的外围集。

lutool 名称与性能不太合乎,故在 2019 年开源时将其改名为 mica(云母),寓意为云服务的基石。

二、mica 2.x 外围依赖

mica 基于 java 8,没有历史包袱,反对传统 Servlet 和 Reactive(webflux)。采纳 mica-auto 主动生成 spring.factoriesspring-devtools.properties 配置,仅依赖 Spring boot、Spring cloud 全家桶,无第三方依赖。市面上鲜有的微服务外围组件。

依赖 版本
Spring Boot 2.3.x

三、mica 2.0.5-GA 更新阐明

  • ✨ 增加 mica-metrics 模块,用于应用 prometheus 进行指标收集,已反对 undertow、sentinel。
  • ✨ mica-redis add scan 和 sscan。
  • ???? mica-redis 修复应用文档。Gitee pr by @醉酒的蝴蝶 zzz/N/A
  • ✨ mica-core 增加 RsaHelper RSA PEM 格局秘钥对的解析和导出,Gitee pr by @caiqiyuan
  • ✨ mica-core RsaUtil 欠缺加解密办法。
  • ✨ mica-core 增加疏忽序列化 id 的 jdk 对象序列化。
  • ✨ mica-core 增加 CheckedPredicate。
  • ✨ mica-core 增加 json 格局校验。
  • ???? 修复局部 sonarcloud 问题。
  • ⬆️ 降级 spring cloud 到 Hoxton.SR7。

四、新增 mica-metrics 组件

  • sentinel 指标收集。
  • undertow 指标收集。

联合 micrometer-registry-prometheus 组件能够将这些指标数据进行收集。

而后展现到 Grafana 中。

五、文档

  • mica 源码 Github:https://github.com/lets-mica
  • mica 源码 Gitee(码云):https://gitee.com/596392912/mica
  • 文档地址(官网):https://www.dreamlu.net/mica2x/index.html
  • 文档地址(语雀 - 可关注订阅):https://www.yuque.com/dreamlu
  • 示例我的项目:https://github.com/lets-mica/mica-example

六、关注咱们

扫描下面二维码,更多 精彩内容 每天举荐!

正文完
 0