parca icon indicating copy to clipboard operation
parca copied to clipboard

Document profiling_config

Open roidelapluie opened this issue 2 years ago • 2 comments

While parca is mostly configured like prometheus, I could not find documentation about profiling_config.

This was needed to configure Parca for prometheus' prombench, which requires prefixes.

scrape_configs:                      
  - job_name: "pr"          
    scrape_interval: "3s"                                                  
    scrape_timeout: "2s"
    scheme: https                    
    profiling_config:                                                      
      pprof_config:
       memory_total:        
               enabled: true                                               
               path: /10543/prometheus-pr/debug/pprof/allocs               
       block_total:         
               enabled: true                                               
               path: /10543/prometheus-pr/debug/pprof/block                
       goroutine_total:              
               enabled: true                                               
               path: /10543/prometheus-pr/debug/pprof/goroutine            
       mutex_total:                                                        
               enabled: true
               path: /10543/prometheus-pr/debug/pprof/mutex                
       process_cpu:                                                        
               enabled: true
               path: /10543/prometheus-pr/debug/pprof/profile              
               delta: true
    tls_config:                      
            insecure_skip_verify: true                                     
    static_configs:
      - targets: [ 'prombench.prometheus.io' ]                             

roidelapluie avatar Apr 12 '22 07:04 roidelapluie

Can I take this up?

importhuman avatar Jun 09 '22 16:06 importhuman

Yes, totally. Go for it! :relaxed:

metalmatze avatar Jun 15 '22 08:06 metalmatze

Some work has been done in parca-dev/docs#140, going to close in favor of parca-dev/docs#137

maxbrunet avatar Oct 22 '22 02:10 maxbrunet