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

Unable to get services from cluster Grafana pyroscope #3537

Open
raghav20241 opened this issue Sep 2, 2024 · 3 comments
Open

Unable to get services from cluster Grafana pyroscope #3537

raghav20241 opened this issue Sep 2, 2024 · 3 comments

Comments

@raghav20241
Copy link

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

  • Infrastructure: [e.g., Kubernetes, bare-metal, laptop] kubenetes
  • Deployment tool: [e.g., helm, jsonnet] helm

Additional Context

Image

only able to see pyro scope related data plz suggest what changes to be made, I am new to this.
@manjulearnings8
Copy link

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

@bryanhuhta
Copy link
Contributor

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
Copy link

manjulearnings8 commented Sep 20, 2024

have below lines configured in values.yaml

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

and

hostPID: true

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

No branches or pull requests

3 participants