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

2.9 KiB

SignalR

Signalr Attributes

SignalR attributes

Attribute Type Description Examples Stability
signalr.connection.status string SignalR HTTP connection closure status. normal_closure; timeout; app_shutdown Stable
signalr.transport string SignalR transport type server_sent_events; long_polling; web_sockets 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
normal_closure The connection was closed normally. Stable
timeout The connection was closed due to a timeout. Stable
app_shutdown The connection was closed because the app is shutting down. 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
server_sent_events ServerSentEvents protocol Stable
long_polling LongPolling protocol Stable
web_sockets WebSockets protocol Stable