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 /debug/env for vtgate #8292

Merged
merged 3 commits into from
Jun 23, 2021
Merged

Conversation

aquarapid
Copy link
Contributor

Similar to the vttablet /debug/env handler, borrow the code to make one for vtgate.

Initial use-case is to enable changing new healthcheck flags without a vtgate restart. Having the getter/setters for the various flags in replicationlag.go is not idiomatic, but it minimizes changes. Open to suggestions.

Not putting for this on the vtgate homepage (yet).

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@aquarapid aquarapid requested review from deepthi and sougou June 9, 2021 01:59
@systay systay added Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature) labels Jun 14, 2021
Copy link
Member

@deepthi deepthi left a comment

Choose a reason for hiding this comment

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

LGTM.
Can you post a screenshot of what this looks like?
Approving for now, LMK if you decide to add it to the homepage and need re-review.

@deepthi deepthi marked this pull request as ready for review June 22, 2021 23:41
@aquarapid
Copy link
Contributor Author

Screenshot:
vtgate_debugenv

@deepthi deepthi merged commit 4385d67 into vitessio:main Jun 23, 2021
@deepthi deepthi deleted the jg_gatedebugenv branch June 23, 2021 00:50
aquarapid added a commit to planetscale/vitess that referenced this pull request Jun 29, 2021
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants