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

feat(metric): adds accepted/closed connections counters to worker and controller servers #2668

Merged
merged 5 commits into from
Dec 6, 2022

Conversation

A-440Hz
Copy link
Contributor

@A-440Hz A-440Hz commented Dec 2, 2022

reverts the #2661 revert

@A-440Hz
Copy link
Contributor Author

A-440Hz commented Dec 2, 2022

the bug was in L218 of the worker listeners.go file: the listener in httpServer.Serve() has to return a *tls.Conn

@A-440Hz
Copy link
Contributor Author

A-440Hz commented Dec 2, 2022

diff.txt

@A-440Hz A-440Hz merged commit fbd0a82 into main Dec 6, 2022
@A-440Hz A-440Hz deleted the hz-active-conns-9999 branch December 6, 2022 18:13
@@ -249,13 +250,13 @@ func (c *Controller) configureForCluster(ln *base.ServerListener) (func(), error
}
}()
go func() {
err := handleSecondaryConnection(c.baseContext, multiplexingReverseGrpcListener, c.downstreamRoutes, -1)
err := handleSecondaryConnection(c.baseContext, metric.InstrumentClusterTrackingListener(reverseGrpcListener, "reverse-grpc"), c.downstreamRoutes, -1)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This should have wrapped multiplexingReverseGrpcListener and not reverseGrpcListener

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants