grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
9.98k stars 598 forks source link

Unable to get services from cluster Grafana pyroscope #3537

Open raghav20241 opened 1 month ago

raghav20241 commented 1 month ago

Describe the bug

A clear and concise description of what the bug is.--services not visible even after adding pyroscope endpoint in alloy

To Reproduce

Steps to reproduce the behavior: required all services data in pyro scope DS, i have deployed alloy and added pyroscope endpoint in alloy config to send profile data.

  1. Start Pyroscope (SHA or version)-lastest
  2. Perform Operations(Read/Write/Others)

Expected behavior

A clear and concise description of what you expected to happen.

Environment

Additional Context

Image

only able to see pyro scope related data plz suggest what changes to be made, I am new to this.
manjulearnings8 commented 2 weeks ago

did you get any update here... facing same issue

bryanhuhta commented 2 weeks ago

Without additional information, it is difficult to know exactly what is going wrong here. It would be helpful if you described your infrastructure more and provided your Alloy configuration.

My best guess is that your pyroscope.scrape block is not receiving the correct targets.

pyroscope.scrape "pyroscope_scrape" {
  targets    =  [] // <-- Something is wrong with these targets. Either this is empty or the targets are invalid.
  forward_to = [pyroscope.write.pyroscope_write.receiver]

  profiling_config {
    // Your profiling configuration ...
  }
}

I would suggest reviewing your Alloy configuration to verify the pyroscope.scrape block is receiving the correct targets. This doc provides steps to help debug Alloy blocks.

manjulearnings8 commented 1 week ago

have below lines configured in values.yaml

securityContext: runAsUser: 0 runAsNonRoot: false capabilities: add: -all

and

hostPID: true