semantic-conventions/docs/attributes-registry/signalr.md

1.9 KiB

SignalR

SignalR Attributes

SignalR attributes

Attribute Type Description Examples Stability
signalr.connection.status string SignalR HTTP connection closure status. app_shutdown; timeout Stable
signalr.transport string SignalR transport type web_sockets; long_polling Stable

signalr.connection.status has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

Value Description Stability
app_shutdown The connection was closed because the app is shutting down. Stable
normal_closure The connection was closed normally. Stable
timeout The connection was closed due to a timeout. Stable

signalr.transport has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.

Value Description Stability
long_polling LongPolling protocol Stable
server_sent_events ServerSentEvents protocol Stable
web_sockets WebSockets protocol Stable