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

feature: add meta server for handling prometheus metrics and pprof by yurttunnel #253

Merged
merged 1 commit into from
Apr 9, 2021

Conversation

rambohe-ch
Copy link
Member

Ⅰ. Describe what this PR does

  • add a meta server for yurttunnel in order to handle http requests like profiling and metrics.
  • default meta port on which serve meta requests by yurt-tunnel-server is: 10265, and can be set by user with --meta-port parameter.
  • default meta port on which serve meta requests by yurt-tunnel-agent is: 10266, and also can be set by user with --meta-port parameter.

Ⅱ. Does this pull request fix one issue?

Ⅲ. List the added test cases (unit test/integration test) if any, please explain if no tests are needed.

Ⅳ. Describe how to verify it

make all
make release WHAT=cmd/yurt-tunnel-server
make release WHAT=cmd/yurt-tunnel-agent
and check pprof and metrics at http://127.0.0.1:10265(6)/metrics or http://127.0.0.1:10265(6)/debug/pprof

Ⅴ. Special notes for reviews

@Fei-Guo
Copy link
Member

Fei-Guo commented Apr 8, 2021

lgtm

@charleszheng44 charleszheng44 merged commit 02aa604 into openyurtio:master Apr 9, 2021
@rambohe-ch rambohe-ch deleted the add-meta-server branch May 27, 2021 06:27
MrGirl pushed a commit to MrGirl/openyurt that referenced this pull request Mar 29, 2022
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.

3 participants