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

proposal: net/http: add accessor for number of listeners and connections #36538

Open
erwiese opened this issue Jan 13, 2020 · 0 comments
Open

proposal: net/http: add accessor for number of listeners and connections #36538

erwiese opened this issue Jan 13, 2020 · 0 comments

Comments

@erwiese
Copy link

@erwiese erwiese commented Jan 13, 2020

Hi,
running a http/server it would be helpfully to know the count of listeners and connections, for monitoring reasons. The server already has the fields listeners and activeConn. What about adding methods like GetCurrentListenersCount and GetActiveConnectionsCount?

@smasher164 smasher164 changed the title http/server: get count of listeners and connections proposal: net/http: add accessor for number of listeners and connections Jan 14, 2020
@gopherbot gopherbot added this to the Proposal milestone Jan 14, 2020
@gopherbot gopherbot added the Proposal label Jan 14, 2020
@smasher164 smasher164 added FeatureRequest and removed Proposal labels Jan 14, 2020
@gopherbot gopherbot added the Proposal label Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.