Skip to content

Commit acfee8a

Browse files
add middleware name const
1 parent 30188d4 commit acfee8a

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

sentry_sdk/consts.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,12 @@ class SPANDATA:
863863
The messaging system's name, e.g. `kafka`, `aws_sqs`
864864
"""
865865

866+
MIDDLEWARE_NAME = "middleware.name"
867+
"""
868+
The name of the middleware.
869+
Example: "AuthenticationMiddleware"
870+
"""
871+
866872
NETWORK_PEER_ADDRESS = "network.peer.address"
867873
"""
868874
Peer address of the network connection - IP address or Unix domain socket name.

0 commit comments

Comments
 (0)