taos> select * from information_schema.ins_dnode_variables where name like 'monitor%';
dnode_id | name | value | scope | category | info |
===========================================================================================================================================
。。。。。
1 | monitor | 1 | server | global | |
1 | monitorInterval | 30 | server | global | |
1 | monitorMaxLogs | 100 | server | global | |
1 | monitorComp | 0 | server | global | |
1 | monitorLogProtocol | 0 | server | global | |
1 | monitorForceV2 | 1 | server | global | |
1 | monitorFqdn | | server | local | |
1 | monitorPort | 6043 | server | local | |
。。。。。
Query OK, 24 row(s) in set (0.010365s)
keeper日志:
root@MES-TD-01:/var/log/taos# cat taoskeeper_64_20260908.log.5
==================================================
new log file
==================================================
config:&{InstanceID:64 Cors:{AllowAllOrigins:false AllowOrigins:[] AllowHeaders:[Authorization AccessKey X-AccessKey UserToken X-Language X-WebAppID X-App X-Action] ExposeHeaders:[] AllowCredentials:true AllowWebSockets:true} Host: Port:6043 LogLevel:info GoPoolSize:50000 RotationInterval:15s TDengine:{Host:localhost Port:6041 Username:root Password:[REDACTED] Usessl:false} Metrics:{Cluster: Prefix:taos Database:{Name:log Options:map[buffer:64 cachemodel:both keep:90 vgroups:1]} Tables:[]} Prometheus:{IncludeTables:[] CacheTTL:300} Env:{InCGroup:false} Audit:{Enable:false Database:{Name: Options:map[]}} SSL:{Enable:false CertFile: KeyFile:} Log:{Level:info Path:/var/log/taos RotationCount:3 RotationTime:24h0m0s RotationSize:1073741824 KeepDays:3 Compress:false ReservedDiskSize:1073741824} Transfer: FromTime:2020-01-01T00:00:00+08:00 Drop:}
version 3.4.2.5
gitinfo c15925333c9fe385902b153879b812c26bc612f7
buildinfo linux-x64 2026-08-16 16:56:33
09/08 10:35:01.724093 00078627 REP WARN create database sql: create database if not exists log buffer 64 keep 90 vgroups 1 cachemodel 'both'
09/08 10:35:01.728266 00078627 REP INFO execute sql:create table if not exists keeper_monitor (ts timestamp, cpu float, mem float, total_reports int ) tags (identify nchar(50))
09/08 10:35:01.776874 00078627 PRG INFO Memory cache mode (v2) enabled
09/08 10:35:01.794793 00078627 GEN INFO gColumnSeqMap:map[adapter_c_interface:{[endpoint] [taos_connect_total taos_xxx... 省略]}]
09/08 10:35:01.794928 00078627 ADP INFO QID:0x4000000000000023 create database, sql:create database if not exists log buffer 64 keep 90 vgroups 1 cachemodel 'both'
09/08 10:35:01.801764 00078627 PRG INFO Running under service manager.
09/08 10:35:01.801808 00078627 PRG INFO Starting HTTP service at :6043