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 ServerStatusZones support in vs/vsr #693

Merged
merged 2 commits into from
Sep 16, 2019

Conversation

Dean-Coakley
Copy link
Contributor

Proposed changes

VirtualServer now sets a status_zone in the server block. Which allows metrics to be collected.

Metrics can be viewed at: /api/5/http/server_zones/

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING doc
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto master
  • I will ensure my PR is targeting the master branch and pulling from my branch from my own fork

@Dean-Coakley Dean-Coakley added the enhancement Pull requests for new features/feature enhancements label Sep 11, 2019
@Dean-Coakley Dean-Coakley self-assigned this Sep 11, 2019
@pleshakov
Copy link
Contributor

@Dean-Coakley looks good. I suggest adding a StatusZone field to the config, rather than reusing the host value https://github.com/nginxinc/kubernetes-ingress/blob/master/internal/configs/version1/config.go#L64 Note that in the near future, with the support of StatusZones for location, we will be adding StatusZone field in the location struct as well. This way our StatusZone fields will be consistent.

Copy link
Contributor

@Rulox Rulox left a comment

Choose a reason for hiding this comment

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

lgtm :shipit:

Copy link
Contributor

@pleshakov pleshakov left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

@LorcanMcVeigh LorcanMcVeigh left a comment

Choose a reason for hiding this comment

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

👍

@Dean-Coakley Dean-Coakley merged commit eff8c94 into master Sep 16, 2019
@Dean-Coakley Dean-Coakley deleted the vs-vsr-server-status-zones branch September 16, 2019 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pull requests for new features/feature enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants