MS-582 grafana displays changes frequently

Former-commit-id: 9e2771a4ea84cf8b868628ce64cf0b0ad48a200d
This commit is contained in:
Yu Kun 2019-09-21 19:16:15 +08:00
parent 618229bf19
commit d470889d4e
3 changed files with 11 additions and 16 deletions

View File

@ -62,6 +62,7 @@ Please mark all change in change log and use the ticket from JIRA.
- MS-510 - unittest out of memory and crashed
- MS-507 - Dataset 10m-512, index type sq8performance in-normal when set CPU_CACHE to 16 or 64
- MS-543 - SearchTask fail without exception
- MS-582 - grafana displays changes frequently
## Improvement
- MS-327 - Clean code for milvus

View File

@ -40,15 +40,17 @@ services:
networks:
- monitor
milvus:
milvus_server:
runtime: nvidia
image: registry.zilliz.com/milvus/engine:branch-0.4.0-release
container_name: milvus
hostname: milvus
restart: always
links:
- prometheus
environment:
WEB_APP: host.docker.internal
volumes:
- ../cpp/conf/server_config.yaml:/opt/milvus/cpp/conf/server_config.yaml
- ../cpp/conf/log_config.conf:/opt/milvus/cpp/conf/log_config.conf
- ../cpp/conf/server_config.yaml:/opt/milvus/conf/server_config.yaml
- ../cpp/conf/log_config.conf:/opt/milvus/conf/log_config.conf
ports:
- "8080:8080"
- "19530:19530"

View File

@ -24,23 +24,15 @@ scrape_configs:
# scheme defaults to 'http'.
static_configs:
- targets: ['localhost:9090']
- targets: ['prometheus:9090']
# scrape metrics of server
- job_name: 'milvus_server'
scrape_interval: 1s
static_configs:
- targets: ['localhost:8080']
# scrape metrics of server
- job_name: 'milvus_server_1'
scrape_interval: 1s
static_configs:
- targets: ['localhost:8080']
- targets: ['milvus_server:8080']
# under development
- job_name: 'pushgateway'
static_configs:
- targets: ['localhost:9091']
- targets: ['pushgateway:9091']