From 9f23b8e2493c8e9dd654dc7eb4ffd80ef24aea77 Mon Sep 17 00:00:00 2001 From: starlord Date: Wed, 26 Jun 2019 10:13:11 +0800 Subject: [PATCH] remove unuse config Former-commit-id: 6b5468ba77c440ca2ad52c8846a0205d7f651f1b --- cpp/conf/server_config.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/cpp/conf/server_config.yaml b/cpp/conf/server_config.yaml index cfb7ff8cf8..2db841abaa 100644 --- a/cpp/conf/server_config.yaml +++ b/cpp/conf/server_config.yaml @@ -1,8 +1,8 @@ server_config: address: 0.0.0.0 - port: 19530 - gpu_index: 0 #which gpu to be used - mode: single #optional: single, cluster + port: 19530 # the port milvus listen to, default: 19530, range: 1025 ~ 65534 + gpu_index: 0 # the gpu milvus use, default: 0, range: 0 ~ gpu number - 1 + mode: single # milvus deployment type: single, cluster db_config: db_path: /tmp/milvus @@ -12,16 +12,16 @@ db_config: index_building_threshold: 1024 #build index file when raw data file size larger than this value, unit: MB metric_config: - is_startup: off # on is activated, otherwise is down. note: case sensitive - collector: prometheus # prometheus, now we only have prometheus - prometheus_config: - collect_type: pull # pull means prometheus pull the message from server, push means server push metric to push gateway - port: 8080 - push_gateway_ip_address: 127.0.0.1 - push_gateway_port: 9091 + is_startup: true # if monitoring start: on, off + collector: prometheus # metrics collector: prometheus + prometheus_config: # following are prometheus configure + collect_type: pull # prometheus collect data method + 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 -license_config: - license_path: "/tmp/system.license" +license_config: # license configure + license_path: "/tmp/system.license" # license file path -cache_config: - cpu_cache_capacity: 16 # memory pool to hold index data, unit: GB \ No newline at end of file +cache_config: # cache configure + cpu_cache_capacity: 16 # how many memory are used as cache, unit: GB, range: 0 ~ less than total memory \ No newline at end of file