Configure Firecracker metrics to a file or FIFO and tag lines with instance id and custom properties

domain: firecracker-microvm.github.io · 5 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Create the destination: mkfifo metrics.fifo or touch metrics.file
  2. Configure via API: curl --unix-socket /tmp/firecracker.socket -X PUT http://localhost/metrics -d '{"metrics_path":"metrics.fifo","emit_id":true,"properties":{"customer_id":"1234","bundle_id":"fn-abc"}}'
  3. Or set just the path on the CLI: firecracker --metrics-path metrics.fifo
  4. Metrics are written as JSON, one object per line, with a utc_timestamp_ms plus named counter groups
  5. Enable emit_id to add a top-level 'id' field (the --id, default 'anonymous-instance') and properties to add operator-defined key-value tags so lines from many microVMs can be attributed to a source

Known gotchas

Related routes

Configure Firecracker metrics to a file or FIFO and tag lines with instance id and custom properties
firecracker-microvm.github.io · 5 steps · unrated
Configure Firecracker logging to a file or named pipe with the single Logger
firecracker-microvm.github.io · 4 steps · unrated
Configure Firecracker logging to a file or named pipe with the single Logger
firecracker-microvm.github.io · 4 steps · unrated

Give your agent this knowledge — and 18,100+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans