Skip to content

Observability

Both self-hosted model serving and Maku emit into Cloud Native Reference’s shared Victoria stack and Grafana; nothing here runs a second telemetry pipeline. Serving is watched per model; Maku runs are watched per run.

    flowchart LR
  subgraph serving["Serving"]
    V["vLLM pods<br/>vllm:* :8000"]
    AIG["ai-gateway extproc<br/>gen_ai_* :1064"]
  end
  subgraph agents["Maku (agent-platform)"]
    RUN["Agent run<br/>OTLP spans, step log"]
    AGW["agentgateway model-gateway<br/>access log, gen_ai_* :15020"]
    KSM["kube-state-metrics<br/>AgentRun state"]
  end
  VM[("VictoriaMetrics")]
  VL[("VictoriaLogs")]
  VT[("VictoriaTraces")]
  COL["agent-traces-collector<br/>allowlisted metadata"]
  KEDA["KEDA<br/>three triggers"]
  G["Grafana"]
  V --> VM
  AIG --> VM
  VM --> KEDA
  RUN --> COL --> VT
  RUN -->|step log| VL
  AGW --> VL
  AGW --> VM
  KSM --> VM
  VM --> G
  VL --> G
  VT --> G
  

Serving telemetry

SignalSourceRead it in
Engine metricsEach vLLM pod’s /metrics on port 8000 (vllm:* labelled by model_name), scraped by the VMServiceScrape each claim renders (30s interval)LLM Platform — Self-hosted vLLM Fleet: replicas, queue depth, throughput, TTFT and decode latency, GPU KV-cache usage, prefix-cache hit rate
Gateway metricsThe AI Gateway extproc’s /metrics on port 1064 (gen_ai_* OTel semantic conventions)LLM Gateway — Envoy AI Gateway GenAI Telemetry: token spend per model, base-vs-canary attribution, TTFT and decode latency
AutoscalingKEDA’s three triggers query the same vllm:* series every 15 sAutoscaling & GPUs

Both dashboards live in Grafana folder llm (apps/base/ai/llm/grafana-folder.yaml), created once llm-platform is resumed.

Serving alerts are lagging signals, deliberately not scale triggers:

FileAlerts
apps/base/ai/llm/vmrule-llm-slo.yamlSustained queue depth, TTFT breached, replica scaled to zero, missing gen_ai telemetry, scrape down, high error rate, canary regressions
apps/base/ai/llm/vmrule-ai-fleet.yamlFleet abort rate, Semantic Router down, Promptfoo regression and staleness

Shared Victoria wiring for Maku

On this host, observability/base/agent-platform/ wires Maku’s maku_factory_*, maku_rooms_*, and agentgateway signals into the same Victoria stack:

SignalManifest path on this host
Grafana dashboards (agent-run, agent-fleet, agents-overview, agent-room, agent-gateway, agent-identity, agent-factory)observability/base/agent-platform/
Factory and gateway alert rules (VMRule)observability/base/agent-platform/vmrule-agent-factory.yaml, observability/base/agent-platform/vmrule.yaml
Metadata-only OTel trace gate (agent-traces-collector)observability/base/agent-platform/agent-traces-collector.yaml
agentgateway → gen_ai_* cache-token scrape relabellinginfrastructure/base/agent-gateway/vmpodscrape.yaml

Full Maku metric definitions, alert runbooks, and standalone observability setup live on Maku’s documentation site: Install › Observability, Reference › Metrics, and Reference › Alerts.