-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
General feedback on kestrel connection metrics #52437
Comments
@JamesNK Please let me know if you're not the right person to look at this. |
How would a connection go from queued to active? Would you need to subtract it and then add it again? e.g. |
yes, that'd be the way. Still, the cost (breaking change) may be much higher than the benefit, so I've created this issue only for bookkeeping reasons. |
Is there an existing issue for this?
Is your feature request related to a problem? Please describe the problem.
Not related to any functional problem.
Describe the solution you'd like
Several kestrel connection metrics could be grouped together to better align with otel recommendations.
See the original discussion in open-telemetry/semantic-conventions#283 (comment)
TL;DR:
kestrel.active_connections
,kestrel.queued_connections
could be measured with something likekestrel.current.connections
orkestrel.connections
and additional attribute likekestrel.connection.state
=active
|queued
.kestrel.upgraded_connections
might also be measured with the same counter using an attribute that captures original protocol version (e.g.http.protocol.initial_version
).Additional context
No response
The text was updated successfully, but these errors were encountered: