KusionStack / KusionStack/karpor

Governance: Extract a Generic expvar Package

Open
#729 0 comments 0 reactions 1 assignee Claimed by @elliotxx View on GitHub
governance priority/awaiting-more-evidence
Dominant language
Go
Stars
1.7k
Forks
113
PR merge metrics
No merged PRs in 30d

Description

## What would you like to be added?
Extract a generic expvar package to replace the standard library's expvar package.

## Why is this needed?
The current standard library's expvar package has an problem where it automatically includes 'cmdline' and 'memstats', and there is no way to remove them through configuration. The new generic expvar package should allow for customization of exposed variables through configuration, providing more flexibility and control over what metrics are exposed.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.