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

[DOC] Update Pyroscope for Agent > Alloy #3271

Open
2 of 10 tasks
knylander-grafana opened this issue May 2, 2024 · 0 comments
Open
2 of 10 tasks

[DOC] Update Pyroscope for Agent > Alloy #3271

knylander-grafana opened this issue May 2, 2024 · 0 comments
Assignees
Labels
type/docs Improvements for doc docs. Used by Docs team for project management

Comments

@knylander-grafana
Copy link
Contributor

knylander-grafana commented May 2, 2024

Update the Pyroscope documentation to use Alloy examples since Agent is being deprecated.

Related: #3277

Page updates

Configure the client . Grafana Agent
https://grafana.com/docs/pyroscope/latest/configure-client/grafana-agent/

  • Change page to be Alloy or Agent

Set up Go profiling in pull mode
On https://grafana.com/docs/pyroscope/latest/configure-client/grafana-agent

Install Grafana Agent section:

Add > Install Grafana Alloy > https://grafana.com/docs/alloy/latest/get-started/install/

Prepare configuration file
Alloy - config file can be anything .alloy
Blocks should stay the same for Agent flow and Alloy.

Start Grafana Agent Flow
Start a local Pyroscope instance for testing purposes (stays the same)

docker run -p 4040:4040 grafana/pyroscope

Start the collector

Start Grafana Alloy: alloy run <configuration-file.file>
Start Grafana Agent: grafana-agent-flow run configuration.river

Open a browser to http://localhost:4040. The page should list profiles.

eBPF

k8s install -- see https://grafana.com/docs/alloy/latest/get-started/install/kubernetes/

All ebpf docs:

  • Updates to configuration files and specifics for agent vs alloy
  • Update links to Alloy and Agent

Tasks

@knylander-grafana knylander-grafana changed the title Update Pyroscope for Agent > Alloy [DOC] Update Pyroscope for Agent > Alloy May 2, 2024
@knylander-grafana knylander-grafana self-assigned this May 2, 2024
@knylander-grafana knylander-grafana added the type/docs Improvements for doc docs. Used by Docs team for project management label May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/docs Improvements for doc docs. Used by Docs team for project management
Projects
None yet
Development

No branches or pull requests

1 participant