Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document profiling_config #930

Closed
roidelapluie opened this issue Apr 12, 2022 · 3 comments
Closed

Document profiling_config #930

roidelapluie opened this issue Apr 12, 2022 · 3 comments

Comments

@roidelapluie
Copy link

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' ]                             
@importhuman
Copy link
Contributor

Can I take this up?

@metalmatze
Copy link
Member

Yes, totally. Go for it! ☺️

@maxbrunet
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants