TSG-1242 输出Prometheus格式的性能监控数据

This commit is contained in:
fengweihao
2020-04-14 17:01:08 +08:00
parent 398907290e
commit f2e2832cbf
6 changed files with 200 additions and 157 deletions

View File

@@ -4,6 +4,7 @@ DEBUG_SWITCH = 1
#10:DEBUG, 20:INFO, 30:FATAL
RUN_LOG_LEVEL = 10
RUN_LOG_PATH = ./logs
[CONFIG]
#Number of running threads
thread-nu = 4
@@ -15,7 +16,7 @@ expire_after = 30
local_debug = 0
ca_path = ./cert/tango-ca-v3-trust-ca.pem
untrusted_ca_path = ./cert/mesalab-ca-untrust.pem
[NTC_MAAT]
[MAAT]
#Configure the load mode,
#0: using the configuration distribution network
#1: using local json
@@ -43,4 +44,7 @@ port = 6379
ip = 192.168.11.243
port = 6379
dbindex = 4
[stat]
statsd_server=192.168.10.72
statsd_port=8126