Skip to content

prometheus/collectors: use godoc link for runtime/metrics supported metrics #1844

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

Merged
merged 1 commit into from
Jul 29, 2025

Conversation

xieyuschen
Copy link
Contributor

This pr repalces the link from src/runtime/metrics/description.go to runtime/metrics package docs. The change is reasonable as:

  • go doc has integrated go version switch, but old link cannot change it via web ui.
  • the package docs is sufficient to show all provided metrics from runtime, we don't need to see code even it's not complex.

@ArthurSens

@kakkoyun
Copy link
Member

@xieyuschen Thanks for the contribution. You need to sign your commits. Please check the failing CI step.

…etrics

This pr replaces the link from src/runtime/metrics/description.go to
runtime/metrics package docs. The change is reasonable as:

- go doc has integrated go version switch, but old link cannot change it
  via web ui.
- the package docs is sufficient to show all provided metrics from
  runtime, we don't need to see code even it's not complex.

Signed-off-by: xieyuschen <[email protected]>
@xieyuschen
Copy link
Contributor Author

done, thanks for your review:) @kakkoyun

@kakkoyun kakkoyun merged commit 83a9730 into prometheus:main Jul 29, 2025
8 checks passed
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.

2 participants