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

feat: Embed a grafana and explore-profiles instance into pyroscope #3428

Merged
merged 3 commits into from
Aug 21, 2024

Conversation

simonswine
Copy link
Contributor

@simonswine simonswine commented Jul 16, 2024

This provides an optional target embedded-grafana to download/configure/run a dedicated Grafana instance with Explore Profiles deployed.

This is meant not to be used for production, but useful to quickly discover/play/develop profiles.

After this PR merges a user can run this:

$ docker run -p 4040:4040 -p 4041:4041 grafana/pyroscope --target all,embedded-grafana

And on http://localhost:4040 there will the classic pyroscope and on http://localhost:4041, there will be Grafana with Explore Profiles.

Screen.Recording.2024-07-16.at.17.12.51.mov

@simonswine simonswine changed the title 20240716 embed grafana feat: Embed a grafana and explore-profiles instance into pyroscope Jul 16, 2024
@simonswine simonswine mentioned this pull request Jul 16, 2024
@simonswine
Copy link
Contributor Author

To test this now you can use my image repo:

$ docker run --platform linux/amd64 -p 4041:4041 -p 4040:4040 simonswine/pyroscope:all-in-one --target all,embedded-grafana

Then go to http://localhost:4041

@simonswine simonswine marked this pull request as ready for review July 16, 2024 16:33
@simonswine simonswine requested review from a team as code owners July 16, 2024 16:33
Copy link
Collaborator

@korniltsev korniltsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's go!

@korniltsev
Copy link
Collaborator

worth updating

This provides an optional target `embedded-grafana` to
download/configure/run a dedicated Grafana instance with Explore
Profiles deployed.

This is meant not to be used as production, but useful to quickly
discover profiles.

After this PR merges a user can run this:

```
$ docker run -p 4040:4040 -p 4041:4041 grafana/pyroscope --target all,embedded-grafana
```

And on localhost:4040 there will the classic pyroscope and on :4041,
there will be Grafana with Explore Profiles.
@simonswine
Copy link
Contributor Author

worth updating >

I went with updating the contribution guide first. I think for now let's test if this works for us.

@simonswine simonswine merged commit 336d198 into grafana:main Aug 21, 2024
18 checks passed
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

Successfully merging this pull request may close these issues.

2 participants