update 升级 Nacos 至 3.2.2

update 升级 Seata 至 2.6.0
update 升级 Elasticsearch/Kibana/Logstash 至 8.19.16
update 调整 Elasticsearch 默认关闭认证并保留启用认证初始化说明
update 适配 Logstash 输出到 Elasticsearch 8.x 的 hosts 配置
update 升级 RocketMQ 服务端至 5.5.0
update 升级 RocketMQ Spring Boot Starter 至 2.3.5
update 升级 Kafka 至 4.3.0
update 升级 SkyWalking OAP/UI 至 10.4.0,补充 Java Agent 9.6.0 说明
update 升级 Prometheus 至 3.12.0,Grafana 至 13.0.2
update 更新 Grafana 看板,替换 Spring Boot 2.1 看板为 Spring Boot 3.x Statistics
update 更新 Nacos 与 JVM Micrometer 看板模板来源说明
This commit is contained in:
疯狂的狮子Li
2026-06-04 19:49:17 +08:00
parent 7fbd6fffcc
commit 4a62f4d52f
30 changed files with 7421 additions and 711449 deletions
File diff suppressed because it is too large Load Diff
+5 -1
View File
@@ -1 +1,5 @@
# 将此文件夹下所有配置文件导入到 `grafana` 内生成展示看板(此模板与项目做了定制化与官方下载的不一致, 同名看板以框架自带的为主)
# 将此文件夹下所有配置文件导入到 `grafana` 内生成展示看板
- `Spring Boot 3.x Statistics.json`: 基于 Grafana dashboard `20727`,用于 Spring Boot 3.x/4.x Micrometer Prometheus 指标。
- `SLS JVM监控大盘.json`: 基于 Grafana dashboard `4701`,用于 JVM Micrometer 指标。
- `Nacos.json`: 基于 Grafana dashboard `13221`,用于 Nacos Prometheus 指标。
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+19 -19
View File
@@ -1,6 +1,6 @@
services:
mysql:
image: mysql:8.0.42
image: mysql:8.4.9
container_name: mysql
environment:
# 时区上海
@@ -17,8 +17,6 @@ services:
# 配置挂载
- /docker/mysql/conf/:/etc/mysql/conf.d/
command:
# 将mysql8.0默认密码策略 修改为 原先 策略 (mysql8.0对其默认策略做了更改 会导致密码无法匹配)
--default-authentication-plugin=mysql_native_password
--character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci
--explicit_defaults_for_timestamp=true
@@ -27,7 +25,7 @@ services:
network_mode: "host"
nacos:
image: nacos/nacos-server:v3.1.1
image: nacos/nacos-server:v3.2.2
container_name: nacos
ports:
- "8848:8848"
@@ -47,7 +45,7 @@ services:
network_mode: "host"
redis:
image: redis:7.2.8
image: redis:8.6.3
container_name: redis
ports:
- "6379:6379"
@@ -65,7 +63,7 @@ services:
minio:
# pgsty 开源社区 fork 重新维护的最新版 minio
image: pgsty/minio:RELEASE.2026-02-14T12-00-00Z
image: pgsty/minio:RELEASE.2026-04-17T00-00-00Z
container_name: minio
ports:
# api 端口
@@ -115,7 +113,7 @@ services:
network_mode: "host"
nginx-web:
image: nginx:1.22.1
image: nginx:1.31.1
container_name: nginx-web
environment:
# 时区上海
@@ -319,7 +317,7 @@ services:
#################################################################################################
elasticsearch:
image: elasticsearch:7.17.6
image: elasticsearch:8.19.16
container_name: elasticsearch
ports:
- "9200:9200"
@@ -331,6 +329,8 @@ services:
cluster.name: elasticsearch
# 以单一节点模式启动
discovery.type: single-node
# 默认关闭认证 便于本地联调; 如开启 xpack.security.enabled 需手动初始化 Kibana/Logstash/SkyWalking 账号密码
xpack.security.enabled: "false"
ES_JAVA_OPTS: "-Xms512m -Xmx512m"
volumes:
- /docker/elk/elasticsearch/plugins:/usr/share/elasticsearch/plugins
@@ -339,7 +339,7 @@ services:
network_mode: "host"
kibana:
image: kibana:7.17.6
image: kibana:8.19.16
container_name: kibana
ports:
- "5601:5601"
@@ -358,7 +358,7 @@ services:
network_mode: "host"
logstash:
image: logstash:7.17.6
image: logstash:8.19.16
container_name: logstash
ports:
- "4560:4560"
@@ -373,7 +373,7 @@ services:
network_mode: "host"
rmqnamesrv:
image: apache/rocketmq:5.2.0
image: apache/rocketmq:5.5.0
container_name: rmqnamesrv
ports:
- "9876:9876"
@@ -385,7 +385,7 @@ services:
network_mode: "host"
rmqbroker1:
image: apache/rocketmq:5.2.0
image: apache/rocketmq:5.5.0
container_name: rmqbroker1
ports:
- "10911:10911"
@@ -395,11 +395,11 @@ services:
JAVA_OPT: -server -Xms512M -Xmx512M
NAMESRV_ADDR: 127.0.0.1:9876
# --enable-proxy 开启broker与proxy共用模式 生产部署建议将proxy单独部署
command: sh mqbroker --enable-proxy -c /home/rocketmq/rocketmq-5.2.0/conf/broker.conf
command: sh mqbroker --enable-proxy -c /home/rocketmq/rocketmq-5.5.0/conf/broker.conf
depends_on:
- rmqnamesrv
volumes:
- /docker/rocketmq/broker1/conf/broker.conf:/home/rocketmq/rocketmq-5.2.0/conf/broker.conf
- /docker/rocketmq/broker1/conf/broker.conf:/home/rocketmq/rocketmq-5.5.0/conf/broker.conf
- /docker/rocketmq/broker1/logs:/home/rocketmq/logs/rocketmqlogs
- /docker/rocketmq/broker1/store:/home/rocketmq/store
privileged: true
@@ -432,7 +432,7 @@ services:
network_mode: "host"
kafka:
image: apache/kafka:3.9.1
image: apache/kafka:4.3.0
container_name: kafka
ports:
- "9092:9092"
@@ -459,7 +459,7 @@ services:
network_mode: "host"
sky-oap:
image: apache/skywalking-oap-server:9.7.0
image: apache/skywalking-oap-server:10.4.0
container_name: sky-oap
ports:
- "11800:11800"
@@ -476,7 +476,7 @@ services:
network_mode: "host"
sky-ui:
image: apache/skywalking-ui:9.7.0
image: apache/skywalking-ui:10.4.0
container_name: sky-ui
ports:
- "18080:18080"
@@ -489,7 +489,7 @@ services:
network_mode: "host"
prometheus:
image: prom/prometheus:v2.40.1
image: prom/prometheus:v3.12.0
container_name: prometheus
ports:
- "9090:9090"
@@ -498,7 +498,7 @@ services:
network_mode: "host"
grafana:
image: grafana/grafana:9.2.4
image: grafana/grafana:13.0.2
container_name: grafana
environment:
TZ: Asia/Shanghai
@@ -0,0 +1,10 @@
# Elasticsearch plugins
Elasticsearch plugins must match the exact Elasticsearch version.
The Docker Compose file mounts `/docker/elk/elasticsearch/plugins`
for Elasticsearch 8.19.16. Do not reuse a 7.x plugin directory with 8.x,
otherwise Elasticsearch will fail during startup.
If IK analysis is required, install an IK package built for Elasticsearch
8.19.16 into that host directory.
@@ -1,13 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>IK Analyzer 扩展配置</comment>
<!--用户可以在这里配置自己的扩展字典 -->
<entry key="ext_dict"></entry>
<!--用户可以在这里配置自己的扩展停止词字典-->
<entry key="ext_stopwords"></entry>
<!--用户可以在这里配置远程扩展字典 -->
<!-- <entry key="remote_ext_dict">words_location</entry> -->
<!--用户可以在这里配置远程扩展停止词字典-->
<!-- <entry key="remote_ext_stopwords">words_location</entry> -->
</properties>
@@ -1,31 +0,0 @@
也
了
仍
从
以
使
则
却
又
及
对
就
并
很
或
把
是
的
着
给
而
被
让
在
还
比
等
当
与
于
但
@@ -1,25 +0,0 @@
不
也
了
仍
从
以
使
则
却
又
及
对
就
并
很
或
把
是
的
着
给
而
被
让
但
@@ -1,316 +0,0 @@
丈
下
世
世纪
两
个
中
串
亩
人
介
付
代
件
任
份
伏
伙
位
位数
例
倍
像素
元
克
克拉
公亩
公克
公分
公升
公尺
公担
公斤
公里
公顷
具
册
出
刀
分
分钟
分米
划
列
则
刻
剂
剑
副
加仑
勺
包
匙
匹
区
千克
千米
升
卷
厅
厘
厘米
双
发
口
句
只
台
叶
号
名
吨
听
员
周
周年
品
回
团
圆
圈
地
场
块
坪
堆
声
壶
处
夜
大
天
头
套
女
孔
字
宗
室
家
寸
对
封
尊
小时
尺
尾
局
层
届
岁
师
帧
幅
幕
幢
平方
平方公尺
平方公里
平方分米
平方厘米
平方码
平方米
平方英寸
平方英尺
平方英里
平米
年
年代
年级
度
座
式
引
张
成
战
截
户
房
所
扇
手
打
批
把
折
担
拍
招
拨
拳
指
掌
排
撮
支
文
斗
斤
方
族
日
时
曲
月
月份
期
本
朵
村
束
条
来
杯
枚
枝
枪
架
柄
柜
栋
栏
株
样
根
格
案
桌
档
桩
桶
梯
棵
楼
次
款
步
段
毛
毫
毫升
毫米
毫克
池
洲
派
海里
滴
炮
点
点钟
片
版
环
班
瓣
瓶
生
男
画
界
盆
盎司
盏
盒
盘
相
眼
石
码
碗
碟
磅
种
科
秒
秒钟
窝
立方公尺
立方分米
立方厘米
立方码
立方米
立方英寸
立方英尺
站
章
笔
等
筐
筒
箱
篇
篓
篮
簇
米
类
粒
级
组
维
缕
缸
罐
网
群
股
脚
船
艇
艘
色
节
英亩
英寸
英尺
英里
行
袋
角
言
课
起
趟
路
车
转
轮
辆
辈
连
通
遍
部
里
重
针
钟
钱
锅
门
间
队
阶段
隅
集
页
顶
顷
项
顿
颗
餐
首
@@ -1,33 +0,0 @@
a
an
and
are
as
at
be
but
by
for
if
in
into
is
it
no
not
of
on
or
such
that
the
their
then
there
these
they
this
to
was
will
with
@@ -1,37 +0,0 @@
乡
井
亭
党
区
厅
县
园
塔
家
寺
局
巷
市
弄
所
斯基
楼
江
河
海
湖
省
维奇
署
苑
街
觀
观
诺夫
路
部
镇
阁
山
子
娃
@@ -1,131 +0,0 @@
丁
万
万俟
上官
东方
乔
于
令狐
仲孙
任
何
余
候
傅
公冶
公孙
公羊
冯
刘
单
单于
卢
史
叶
司徒
司空
司马
吕
吴
周
唐
夏
夏侯
太叔
姚
姜
孔
孙
孟
宇文
宋
宗政
尉迟
尹
崔
常
康
廖
张
彭
徐
慕容
戴
文
方
易
曹
曾
朱
李
杜
杨
林
梁
欧阳
武
段
毛
江
汤
沈
淳于
潘
澹台
濮阳
熊
王
田
申屠
白
皇甫
石
秦
程
罗
肖
胡
苏
范
董
蒋
薛
袁
许
诸葛
谢
谭
贺
贾
赖
赫连
赵
轩辕
邓
邱
邵
邹
郑
郝
郭
金
钟
钟离
钱
长孙
闻人
闾丘
阎
陆
陈
雷
韩
顾
马
高
魏
鲜于
黄
黎
龙
龚
@@ -1,56 +0,0 @@
# Elasticsearch plugin descriptor file
# This file must exist as 'plugin-descriptor.properties' at
# the root directory of all plugins.
#
# A plugin can be 'site', 'jvm', or both.
#
### example site plugin for "foo":
#
# foo.zip <-- zip file for the plugin, with this structure:
# _site/ <-- the contents that will be served
# plugin-descriptor.properties <-- example contents below:
#
# site=true
# description=My cool plugin
# version=1.0
#
### example jvm plugin for "foo"
#
# foo.zip <-- zip file for the plugin, with this structure:
# <arbitrary name1>.jar <-- classes, resources, dependencies
# <arbitrary nameN>.jar <-- any number of jars
# plugin-descriptor.properties <-- example contents below:
#
# jvm=true
# classname=foo.bar.BazPlugin
# description=My cool plugin
# version=2.0.0-rc1
# elasticsearch.version=2.0
# java.version=1.7
#
### mandatory elements for all plugins:
#
# 'description': simple summary of the plugin
description=IK Analyzer for Elasticsearch
#
# 'version': plugin's version
version=7.17.6
#
# 'name': the plugin name
name=analysis-ik
#
# 'classname': the name of the class to load, fully-qualified.
classname=org.elasticsearch.plugin.analysis.ik.AnalysisIkPlugin
#
# 'java.version' version of java the code is built against
# use the system property java.specification.version
# version string must be a sequence of nonnegative decimal integers
# separated by "."'s and may have leading zeros
java.version=1.8
#
# 'elasticsearch.version' version of elasticsearch compiled against
# You will have to release a new version of the plugin for each new
# elasticsearch release. This version is checked when the plugin
# is loaded so Elasticsearch will refuse to start in the presence of
# plugins with the incorrect elasticsearch.version.
elasticsearch.version=7.17.6
@@ -1,4 +0,0 @@
grant {
// needed because of the hot reload functionality
permission java.net.SocketPermission "*", "connect,resolve";
};
@@ -8,7 +8,7 @@ input {
}
output {
elasticsearch {
hosts => "127.0.0.1:9200"
hosts => [ "http://127.0.0.1:9200" ]
index => "%{[spring.application.name]}-%{+YYYY.MM.dd}"
}
}
+2
View File
@@ -1,3 +1,5 @@
# 说明
自行下载 `skywalking` 官方 `agent` 将内容解压到当前文件夹下(注意解压不要带其他文件夹包裹 应直接把具体的agent程序解压到文件夹下)
当前推荐版本:`9.6.0`