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

Add monitoring instrumentation for the remaining HTTP handlers in the apiserver. #4299

Merged
merged 1 commit into from
Feb 11, 2015

Conversation

a-robinson
Copy link
Contributor

Issue #1625, follow up to #4272. cc @vmarmol

This is as far as I'm planning to go with instrumentation for the time being. I'll check in with folks more familiar with the master than me to see if they have suggestions for additional important metrics.

ctx := api.WithNamespace(api.NewContext(), requestInfo.Namespace)

storage := h.storage[requestInfo.Resource]
if storage == nil {
notFound(w, req)
httpCode = http.StatusNotFound
Copy link
Contributor

Choose a reason for hiding this comment

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

this makes me slightly worries that in the future changes we'll forget to add this annotation

@vmarmol
Copy link
Contributor

vmarmol commented Feb 11, 2015

LGTM, only one forward-looking concern. Merging.

vmarmol added a commit that referenced this pull request Feb 11, 2015
Add monitoring instrumentation for the remaining HTTP handlers in the apiserver.
@vmarmol vmarmol merged commit 6c15604 into kubernetes:master Feb 11, 2015
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