Mooncake/mooncake-integration/ollama/deploy/prometheus.yml

18 lines
617 B
YAML

# Prometheus scrape config for the Ollama x Mooncake KVCache Bus.
# Run: prometheus --config.file=deploy/prometheus.yml --storage.tsdb.path=run/prometheus
global:
scrape_interval: 2s
evaluation_interval: 5s
scrape_configs:
- job_name: ollama-mooncake-bridge
metrics_path: /metrics
static_configs:
- targets: ["127.0.0.1:52052"] # sidecar HTTP gateway (OMB_BRIDGE_HTTP_PORT)
labels: { component: sidecar }
- job_name: mooncake-master
static_configs:
- targets: ["127.0.0.1:52063"] # mooncake_master -metrics_port (OMB_MASTER_PORT+2)
labels: { component: master }