Skip to content

Commit

Permalink
Update standalone monitoring config
Browse files Browse the repository at this point in the history
  • Loading branch information
richzw committed Nov 14, 2024
1 parent 37131cb commit c668bd4
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,20 @@ services:
prometheus:
image: prom/prometheus
container_name: prometheus
user: root
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- 9090:9090
restart: unless-stopped
volumes:
- ./prometheus:/etc/prometheus
- prom_data:/prometheus
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/prometheus:/prometheus

grafana:
image: grafana/grafana
container_name: grafana
user: root
ports:
- 3000:3000
restart: unless-stopped
Expand All @@ -86,9 +88,7 @@ services:
- ./grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml
- ./grafana/dashboard.yml:/etc/grafana/provisioning/dashboards/main.yml
- ./grafana/dashboards:/var/lib/grafana/dashboards

volumes:
prom_data:
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/grafana:/var/lib/grafana

networks:
default:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1005,10 +1005,6 @@ trace:
secure: true
initTimeoutSeconds: 10 # segcore initialization timeout in seconds, preventing otlp grpc hangs forever

metrics:
serviceMontior:
enabled: true

#when using GPU indexing, Milvus will utilize a memory pool to avoid frequent memory allocation and deallocation.
#here, you can set the size of the memory occupied by the memory pool, with the unit being MB.
#note that there is a possibility of Milvus crashing when the actual memory demand exceeds the value set by maxMemSize.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ scrape_configs:
- targets: ['localhost:9090']

# Allows ephemeral and batch jobs to expose their metrics to Prometheus
- job_name: 'pushgateway'
- job_name: 'milvus-standalone'
honor_labels: true
metrics_path: /metrics
static_configs:
Expand Down

0 comments on commit c668bd4

Please sign in to comment.