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

Ignore latency metrics for events #7857

Merged
merged 1 commit into from May 7, 2015

Conversation

fgrzadkowski
Copy link
Contributor

This should fix some of the jenkins failure.

@wojtek-t @bprashanth @quinton-hoole

@fgrzadkowski
Copy link
Contributor Author

See #7561

metrics, err := ReadLatencyMetrics(c)
if err != nil {
return 0, err
}
ignored := make(map[string]bool)
for _, resource := range ignoredResources {
Copy link
Contributor

Choose a reason for hiding this comment

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

suggest declaring this as a util.StringSet and checking the set with Has, instead of a list that becomes a dict

Copy link
Member

Choose a reason for hiding this comment

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

+1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@bprashanth
Copy link
Contributor

LGTM with one nit

@fgrzadkowski fgrzadkowski force-pushed the fix_jenkins branch 2 times, most recently from 88b934e to a1a61d9 Compare May 7, 2015 06:45
@wojtek-t wojtek-t added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 7, 2015
@wojtek-t
Copy link
Member

wojtek-t commented May 7, 2015

LGTM - will merge on green.

wojtek-t added a commit that referenced this pull request May 7, 2015
Ignore latency metrics for events
@wojtek-t wojtek-t merged commit 1d59a03 into kubernetes:master May 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants