prometheus_config:# following are prometheus configure
port:8080# the port prometheus use to fetch metrics
push_gateway_ip_address:127.0.0.1# push method configure: push gateway ip address
push_gateway_port:9091# push method configure: push gateway port
enable_monitor:false# enable monitoring or not
collector:prometheus# prometheus
prometheus_config:
port:8080# port prometheus used to fetch metrics
cache_config:
cpu_cache_capacity:16# how many memory are used as cache, unit: GB, range: 0 ~ less than total memory
cpu_cache_free_percent:0.85# old data will be erased from cache when cache is full, this value specify how much memory should be kept, range: greater than zero ~ 1.0
insert_cache_immediately:false# insert data will be load into cache immediately for hot query
gpu_cache_capacity:5# how many memory are used as cache in gpu, unit: GB, RANGE: 0 ~ less than total memory
gpu_cache_free_percent:0.85# old data will be erased from cache when cache is full, this value specify how much memory should be kept, range: greater than zero ~ 1.0
cpu_mem_capacity:16# GB, CPU memory used for cache
cpu_mem_threshold:0.85# percentage of data kept when cache cleanup triggered
cache_insert_data:false# whether load inserted data into cache