server_config.yaml 963 字节
Newer Older
G
groot 已提交
1
server_config:
G
groot 已提交
2
  address: 0.0.0.0
G
groot 已提交
3
  port: 19530
G
groot 已提交
4
  transfer_protocol: binary   #optional: binary, compact, json
G
groot 已提交
5
  server_mode: thread_pool    #optional: simple, thread_pool
G
groot 已提交
6
  gpu_index: 0                #which gpu to be used
G
groot 已提交
7
  mode: single                #optional: single, cluster
G
groot 已提交
8 9

db_config:
J
jinhai 已提交
10
  db_path: /tmp/milvus
G
groot 已提交
11
  db_backend_url: http://127.0.0.1
G
groot 已提交
12
  index_building_threshold: 1024          #build index file when raw data file size larger than this value, unit: MB
G
groot 已提交
13

Y
yu yunfeng 已提交
14 15 16 17
metric_config:
  is_startup: true # true is on, false is off
  collector: prometheus # prometheus, now we only have prometheus
  prometheus_config:
G
groot 已提交
18
    collect_type: pull # pull means prometheus pull the message from server, push means server push metric to push gateway
Y
yu yunfeng 已提交
19
    port: 8080
Y
yu yunfeng 已提交
20 21 22
    push_gateway_ip_address: 127.0.0.1
    push_gateway_port: 9091

Y
yangwei.yao 已提交
23
license_config:
G
groot 已提交
24
  license_path: "/tmp/system.license"
G
groot 已提交
25 26

cache_config:
G
groot 已提交
27
    cpu_cache_capacity: 16   # memory pool to hold index data, unit: GB