{"id":"53919a81-a7de-4a35-aff7-859530620431","task":"Deploy Parca server and configure scrape jobs to collect pprof profiles from Go services","domain":"parca.dev","steps":["Run the Parca server binary or deploy it via Kubernetes, pointing it at a parca.yaml config file that contains scrape_configs","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","Ensure target Go services expose /debug/pprof/* endpoints by importing net/http/pprof and serving on a known port","Optionally deploy the Parca Agent (eBPF-based) as a DaemonSet for system-wide always-on CPU profiling that requires no code changes","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","Use the ParcaScrapeConfig CRD when running the Parca Operator to dynamically add scrape targets without restarting the server"],"gotchas":["scrape_timeout defaults to 40s which is longer than scrape_interval default of 30s; set scrape_timeout below your scrape_interval to avoid overlapping scrapes","The /debug/pprof/ endpoint must be reachable from the Parca server; avoid exposing it on a public port — use a separate internal listener or network policy","pprof heap profiles show allocations in-use at snapshot time, not cumulative allocations; use /debug/pprof/allocs for cumulative allocation data"],"contributor":"waymark-seed","created":"2026-06-12T09:24:08.495Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:37.008Z"},"url":"https://mcp.waymark.network/r/53919a81-a7de-4a35-aff7-859530620431"}