跳到主要内容

技术类型支持矩阵

SmartGate 在不同的部署模式下对操作系统、系统架构和运行环境有一定的要求。在安装前,请确保目标环境满足相应的条件。

注意

对于列表中未列出的版本,并不意味着不支持,而是尚未经过官方验证。

适用平台 One 版本:2.0.0.0+

支持的系统与架构​

目前经过测试和支持的 Linux 发行版及系统版本如下表所示:

Linux 发行版支持版本系统架构
CentOS7.9/8.5x86/64
Debian9+x86/64
华为openEuler21.09x86/64、arm/64

支持的技术组件类型​

组件类型Exporter集成版本已测试组件版本(未测试版本可能存在兼容问题,请自行验证)备注
Redishttps://github.com/oliver006/redis_exporterv1.27.1v5.0.6、v6.2.3、v6.2.6
Redis Clusterhttps://github.com/oliver006/redis_exporterv1.27.1v7.4.2.1
MySQLhttps://github.com/prometheus/mysqld_exporterv0.13.0v5.7.2、v5.7.32、v8.0.15
Nginxhttps://github.com/nginxinc/nginx-prometheus-exporterv0.11.0v1.12.2、v1.17.0、v1.21.5、v1.24.0.1需要安装nginx模块ngx_http_stub_status_module

参考配置:SmartGate监控组件配置前准备
Kafkahttps://github.com/davidmparrott/kafka_exporterv2.0.1v0.10.2.2、v2.11-0.10.2.2、v2.11-1.1.0、v2.13-2.5.1、v3.6.2 (版本较低时,需要指定kafka_version)
Zookeeperhttps://github.com/carlpett/zookeeper_exporterv1.1.0v3.4.10、v3.6.4、v3.8.0
ElasticSearchhttps://github.com/prometheus-community/elasticsearch_exporterv1.2.1v7.16.2、v8.17.1
Druidhttps://github.com/opstree/druid-exporterv0.11
Tomcathttps://github.com/nlighten/tomcat_exporterv7.0.53、v7.0.73、v9.0.41需要 war 包集成到 tomcat 中

参考配置:SmartGate监控组件配置前准备
Oraclehttps://github.com/iamseth/oracledb_exporterv0.6.0v12.2.0
RabbitMQhttps://github.com/kbudde/rabbitmq_exporterv1.0.0v3.7.8
ClickHousehttps://github.com/f1yegor/clickhouse_exportergit commit hash:b6c4ff8v23.8.16.16
Dmdbhttps://github.com/easy-monitor/dmdb_exportergit commit hash:4c21b17--
Db2https://github.com/grafana/ibm-db2-prometheus-exportergit commit hash:38f0ab2v11.5.5.1SmartGate 4.0.0开始支持
只支持x86_64
sqlserverhttps://github.com/MindFlavor/prometheus_sql_server_exportergit commit hash:510ea32(没有go版本的exporter, 参考这个项目实现的)v2017SmartGate 4.0.0开始支持
外部 exporter参考prometheus支持的ExporterSmartGate可以采集外部exporter 通过 http api 接口暴露的指标指标格式遵循OpenMetrics规范

支持的容器编排工具​

容器编排工具版本要求备注说明
Kubernetes仅支持 Linux
1.19.1、1.21.1、1.22.2、1.31.2
  • 不支持非标准 Kubernetes(如腾讯云 EKS 超级节点,因未完整验证,需自行评估风险)
  • 集群部署容器测试仅覆盖最小配置的 Pod(apiVersion、kind、metadata.name、spec.containers)以及 imagePullPolicy、ports、resources、replicas、strategy、revisionHistoryLimit 字段
  • 其他未在测试范围内的配置项可能不受支持,请自行验证
OpenShift4.20.0-okd-scos.0
注意

SmartGate 的 Kubernetes 安装 YAML 内置了 Prometheus Operator 的 PodMonitor 和 ServiceMonitor CRD。

若集群中已存在同类 CRD,安装 SmartGate 时可能因 CRD 已存在或版本不一致而发生冲突;卸载 SmartGate 时,若使用同一份 YAML 执行删除操作,还可能误删集群共享的 CRD,进而影响其他组件已有的监控配置。

因此,使用 YAML 安装前,应先确认集群是否已安装以下 CRD:

podmonitors.monitoring.coreos.com servicemonitors.monitoring.coreos.com

若已存在,为避免影响现有 Prometheus 监控体系,应从 SmartGate 安装 YAML 中移除这两部分 CRD 定义,仅保留 SmartGate 自身的部署资源。