Skip to main content

Pprof Receiver

Status Available in: contrib Maintainers: @MovieStoreGuy, @atoulme Source: opentelemetry-collector-contrib

Overview

Configuration

  • include (required): The glob path for files to watch
  • collection_interval (default = 1m): The interval at which metrics are emitted by this receiver.
  • initial_delay (default = 1s): defines how long this receiver waits before starting.
  • block_profile_fraction (default = 1): (self scraper only) Fraction of blocking events that are profiled. A value <= 0 disables profiling. See https://golang.org/pkg/runtime/#SetBlockProfileRate for details.
  • mutex_profile_fraction (default = 1): (self scraper only) Fraction of mutex contention events that are profiled. A value <= 0 disables profiling. See https://golang.org/pkg/runtime/#SetMutexProfileFraction for details.

Example

receivers:
  pprof:
    include: /tmp/pprof/*
    collection_interval: 10s
    initial_delay: 1s
Collector with remote endpoint:
receivers:
  pprof:
    endpoint: "http://localhost:6060/debug/pprof/profile?seconds=1"

Last generated: 2026-04-13