mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 05:18:52 +08:00
14e690718d
Former-commit-id: 3f03b9e94e27f4ad6d3c0e6aebbd7c86be1b456a
27 lines
1003 B
YAML
27 lines
1003 B
YAML
server_config:
|
|
address: 0.0.0.0
|
|
port: 33001
|
|
transfer_protocol: binary #optional: binary, compact, json
|
|
server_mode: thread_pool #optional: simple, thread_pool
|
|
gpu_index: 0 #which gpu to be used
|
|
|
|
db_config:
|
|
db_path: /tmp/milvus
|
|
db_backend_url: http://127.0.0.1
|
|
db_flush_interval: 5 #flush cache data into disk at intervals, unit: second
|
|
index_building_threshold: 1024 #build index file when raw data file size larger than this value, unit: MB
|
|
|
|
metric_config:
|
|
is_startup: true # true is on, false is off
|
|
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
|
|
|
|
license_config:
|
|
license_path: "/tmp/system.license"
|
|
|
|
cache_config:
|
|
cpu_cache_capacity: 16 # memory pool to hold index data, unit: GB |