Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Add pprof #62

Merged
merged 2 commits into from
Jun 21, 2018
Merged

Add pprof #62

merged 2 commits into from
Jun 21, 2018

Conversation

JulienBalestra
Copy link
Collaborator

@JulienBalestra JulienBalestra commented Jun 21, 2018

What does this PR do?

Following #57 linked to #54

Motivation

Help to debug.

@JulienBalestra JulienBalestra added the enhancement New feature or request label Jun 21, 2018
@JulienBalestra JulienBalestra added this to the v0.5.0 milestone Jun 21, 2018
@JulienBalestra JulienBalestra requested review from kindermoumoute and a team June 21, 2018 18:25
CharlyF
CharlyF previously approved these changes Jun 21, 2018
Copy link
Contributor

@CharlyF CharlyF left a comment

Choose a reason for hiding this comment

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

Left a nit, LGTM otherwise

pkg/api/api.go Outdated
r.Methods("GET").Path("/metrics").Handler(promhttp.Handler())

// this is the cleanest way I found to register all pprof routes,
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd just change this too be less personal
// this is the cleanest way I found to register all pprof routes, -> Known issue with Mux and the registering of pprof

Copy link
Contributor

@CharlyF CharlyF left a comment

Choose a reason for hiding this comment

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

🍡

@JulienBalestra JulienBalestra merged commit f6f4b88 into master Jun 21, 2018
@JulienBalestra JulienBalestra deleted the JulienBalestra/pprof branch June 21, 2018 20:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants