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

Fix Prometheus scraping, enable pprof and update to go 1.13 #81

Merged
merged 4 commits into from
Oct 2, 2019
Merged

Fix Prometheus scraping, enable pprof and update to go 1.13 #81

merged 4 commits into from
Oct 2, 2019

Conversation

stefanprodan
Copy link
Collaborator

@stefanprodan stefanprodan commented Oct 2, 2019

This PR binds the controller server on all IPs so that Prometheus can scrape the /metrics endpoint and enables profiling:

kubectl -n appmesh-system port-forward deploy/appmesh-controller 10555:10555

go tool pprof http://localhost:10555/debug/pprof/profile

Fix: #79
Fix: #80
Fix: #83

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Signed-off-by: stefanprodan <[email protected]>
Fix: #79

Signed-off-by: stefanprodan <[email protected]>
Copy link
Contributor

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

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

👍

go.mod Show resolved Hide resolved
Fix: #83

Signed-off-by: stefanprodan <[email protected]>
@stefanprodan stefanprodan changed the title Fix Prometheus scraping and enable pprof Fix Prometheus scraping, enable pprof and update to go 1.13 Oct 2, 2019
Copy link
Contributor

@jaypipes jaypipes left a comment

Choose a reason for hiding this comment

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

++

@stefanprodan
Copy link
Collaborator Author

stefanprodan commented Oct 2, 2019

Once this is merged and released, scraping will work as specified in aws/eks-charts#1

@nckturner nckturner merged commit 391c415 into aws:master Oct 2, 2019
@stefanprodan stefanprodan deleted the server branch October 2, 2019 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants