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

Roffe/metrics polish #595

Merged
merged 5 commits into from
Dec 7, 2018
Merged

Roffe/metrics polish #595

merged 5 commits into from
Dec 7, 2018

Conversation

roffe
Copy link
Collaborator

@roffe roffe commented Dec 7, 2018

Updated dashboard & fixed bugg where the namespace label for metrics would be overwritten by most prometheus setups by renaming it to svc_namespace

Made histograms for all the controller sync times for better visualization

Closes #374

docs/metrics.md Outdated Show resolved Hide resolved
docs/metrics.md Outdated Show resolved Hide resolved
@@ -342,6 +342,9 @@ func (nrc *NetworkRoutingController) watchBgpUpdates() {
}

func (nrc *NetworkRoutingController) advertisePodRoute() error {
if nrc.MetricsEnabled {
Copy link
Collaborator

Choose a reason for hiding this comment

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

For a future PR, I think we can make some changes to remove all if metrics enabled checks.

@andrewsykim
Copy link
Collaborator

lgtm (please squash commits)

@roffe roffe merged commit e5d599b into cloudnativelabs:master Dec 7, 2018
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.

Metrics for network routes controller
2 participants