server_config.yaml 1.2 KB
Newer Older
G
groot 已提交
1
server_config:
G
groot 已提交
2
  address: 0.0.0.0
G
groot 已提交
3 4 5
  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
G
groot 已提交
6 7

db_config:
G
groot 已提交
8 9 10
  db_path: /tmp/milvus             # milvus data storage path
  db_backend_url: http://127.0.0.1 # meta database uri
  index_building_threshold: 1024   # index building trigger threshold, default: 1024, unit: MB
G
groot 已提交
11

Y
yu yunfeng 已提交
12
metric_config:
G
groot 已提交
13 14 15 16 17 18 19
  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
Y
yu yunfeng 已提交
20

G
groot 已提交
21 22
license_config:         # license configure
  license_path: "/tmp/system.license" # license file path
G
groot 已提交
23

G
groot 已提交
24 25
cache_config:           # cache configure
  cpu_cache_capacity: 16   # how many memory are used as cache, unit: GB, range: 0 ~ less than total memory