server_config.yaml 1.1 KB
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
Z
zhiru 已提交
11 12 13
  #URI format: dialect://username:password@host:port/database
  #All parts except dialect are optional, but you MUST include the delimiters
  db_backend_url: sqlite://:@:/
G
groot 已提交
14
  index_building_threshold: 1024          #build index file when raw data file size larger than this value, unit: MB
G
groot 已提交
15

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

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

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