server_config.yaml 1018 字节
Newer Older
G
groot 已提交
1
server_config:
G
groot 已提交
2
  address: 0.0.0.0
G
groot 已提交
3
  port: 19530
G
groot 已提交
4
  gpu_index: 0                #which gpu to be used
G
groot 已提交
5
  mode: single                #optional: single, cluster
G
groot 已提交
6 7

db_config:
J
jinhai 已提交
8
  db_path: /tmp/milvus
Z
zhiru 已提交
9 10
  #URI format: dialect://username:password@host:port/database
  #All parts except dialect are optional, but you MUST include the delimiters
11
  db_backend_url: mysql://root:1234@:/test
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
metric_config:
Y
yu yunfeng 已提交
15
  is_startup: off # on is activated, otherwise is down. note: case sensitive
Y
yu yunfeng 已提交
16 17
  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