github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/scripts/pprof-view/pprof-config.yaml (about)

     1  ---
     2  # type SampleTypeConfig struct {
     3  #   Units       string `json:"units,omitempty"`
     4  #   DisplayName string `json:"display-name,omitempty"`
     5  #   Aggregation string `json:"aggregation,omitempty"`
     6  #   Cumulative  bool   `json:"cumulative,omitempty"`
     7  #   Sampled     bool   `json:"sampled,omitempty"`
     8  # }
     9  
    10  cpu:
    11    samples:
    12      display-name: cpu
    13      units: samples
    14      sampled: true
    15  
    16  mem-js:
    17    objects:
    18      units: objects
    19      aggregation: avg
    20    space:
    21      units: bytes
    22      aggregation: avg
    23  
    24  mem:
    25    inuse_objects:
    26      units: objects
    27      aggregation: avg
    28    inuse_space:
    29      units: bytes
    30      aggregation: avg
    31    alloc_objects:
    32      units: objects
    33      cumulative: true
    34    alloc_space:
    35      units: bytes
    36      cumulative: true
    37  
    38  goroutines:
    39    goroutine:
    40      display-name: goroutines
    41      units: objects
    42      aggregation: average
    43  
    44  mutex:
    45    contentions:
    46      display-name: mutex-contentions
    47      units: objects
    48      aggregation: average
    49    delay:
    50      display-name: mutex-delay
    51      units: nanoseconds
    52      aggregation: average
    53  
    54  block:
    55    contentions:
    56      display-name: block-contentions
    57      units: objects
    58      aggregation: average
    59    delay:
    60      display-name: block-delay
    61      units: nanoseconds
    62      aggregation: average