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

Build profilecli and pyroscope separately #3496

Merged
merged 2 commits into from
Aug 20, 2024
Merged

Build profilecli and pyroscope separately #3496

merged 2 commits into from
Aug 20, 2024

Conversation

bryanhuhta
Copy link
Contributor

I use a local debug binary of Pyroscope when testing various changes locally. Right now, the only way to get a debug binary of Pyroscope is to use

make go/bin-debug

which builds both profilecli and pyroscope. It's a minor annoyance to have to wait for profilecli to get built every time. This creates two separate rules to build Pyroscope or profilecli.

@bryanhuhta bryanhuhta self-assigned this Aug 16, 2024
@bryanhuhta bryanhuhta requested a review from a team as a code owner August 16, 2024 18:44
@@ -77,10 +77,15 @@ build: frontend/build go/bin ## Do a production build (requiring the frontend bu
build-dev: ## Do a dev build (without requiring the frontend)
$(MAKE) EMBEDASSETS="" go/bin


Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just whitespace formatting

@@ -180,7 +198,7 @@ define deploy
--set pyroscope.podAnnotations."profiles\.grafana\.com\/goroutine\.port_name"=http-metrics \
--set pyroscope.extraEnvVars.JAEGER_AGENT_HOST=jaeger.monitoring.svc.cluster.local. \
--set pyroscope.extraArgs."pyroscopedb\.max-block-duration"=5m
endef
endef
Copy link
Contributor Author

Choose a reason for hiding this comment

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

More whitespace formatting

@bryanhuhta bryanhuhta merged commit b49a128 into main Aug 20, 2024
18 checks passed
@bryanhuhta bryanhuhta deleted the profilecli branch August 20, 2024 14:30
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