Deploy Parca server and configure scrape jobs to collect pprof profiles from Go services

domain: parca.dev · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Run the Parca server binary or deploy it via Kubernetes, pointing it at a parca.yaml config file that contains scrape_configs
  2. In parca.yaml define a job with job_name, static_configs listing target host:port, and scrape_interval (default 30s); enable desired profile types under profiling_config.pprof_config
  3. Ensure target Go services expose /debug/pprof/* endpoints by importing net/http/pprof and serving on a known port
  4. Optionally deploy the Parca Agent (eBPF-based) as a DaemonSet for system-wide always-on CPU profiling that requires no code changes
  5. Open the Parca UI, select a profile type (cpu, heap, goroutine), choose a time range, and use the flamegraph or icicle chart to identify hot functions
  6. Use the ParcaScrapeConfig CRD when running the Parca Operator to dynamically add scrape targets without restarting the server

Known gotchas

Related routes

Deploy Parca for continuous profiling with pprof scraping from Go services
parca.dev · 5 steps · unrated
Deploy Parca Agent as a Kubernetes DaemonSet for continuous eBPF-based whole-system profiling and query the collected profiles via the Parca server's API/UI in pprof format
parca.dev · 6 steps · unrated
Profile a Go HTTP service with pprof, expose the /debug/pprof endpoint, and capture CPU and heap profiles for analysis
pkg.go.dev · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ 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